This content has been marked as final.
Show 3 replies
-
1. Re: s:link linkStyle is now throwing a
norman.richards Dec 16, 2006 3:12 PM (in response to smokingapipe)No - it's a change. Use s:button for buttons now.
-
2. Re: s:link linkStyle is now throwing a
smokingapipe Dec 16, 2006 4:02 PM (in response to smokingapipe)Ah, ok, I'll look into that. I guess it makes sense because you can use a s:link anywhere (ie, outside a form) but buttons require an HTML form or JavaScript to make them work. I'm guessing that s:button needs to be in a h:form?
-
3. Re: s:link linkStyle is now throwing a
gavin.king Dec 16, 2006 4:07 PM (in response to smokingapipe)s:button can appear anywhere s:link can appear.
The reason for the change is that HTML has different attributes for a button compared to a link.