Remember:
Look at following two usages of button tag of liferay-aui tag library:
(A)
<aui:button onclick="<%=target%>" value="some value" />
(B)
<aui:button onClick="<%=target%>" value="some value" />
On the first sight there is no difference, as it is no difference in HTML. But lets dig deeper.
In (A) we set the 'onclick' attribute. Quick look into the aui TLD tell us that there is no such attribute; instead there is 'onClick'. Now, what (some?) servlet containers will do? They will assume that 'onclick' is a dynamic attribute; it will be set dynamically in the tag instance; not using the existing setter method. Obvious drawback is performance loss, since no simple setter method is used. Therefore, execution of (A) is slower.
But its not only the performance what is hurt. On some servers, such as Websphere 6, usage of tag when dynamic attribute is used (as in example A) is encapsulated in separated method of the generated jsp class. Unfortunately, scriplet variable will not be passed to this method, although it will be used in the methods code for setting the value - that combination gives us the compile error! I agree, this might be the app server bug, but we still have the jsp compile error to deal with.
To summarize the drawbacks of not using the proper attribute name case:
- execution is slower
- jsp will not compile on some servers if scriptlet is used as attribute(s) value.
So, please, stick with the (B) 


