[
http://jira.jboss.com/jira/browse/JBSEAM-446?page=all ]
Gavin King closed JBSEAM-446.
-----------------------------
Fix Version/s: 1.1.0.CR1
Resolution: Done
fixed by introducing s:button
s:link linkStyle="button" not rendering all attributes
------------------------------------------------------
Key: JBSEAM-446
URL:
http://jira.jboss.com/jira/browse/JBSEAM-446
Project: JBoss Seam
Issue Type: Bug
Components: Core, JSF
Affects Versions: 1.1.0.BETA1
Reporter: Bradley Smith
Assigned To: Gavin King
Fix For: 1.1.0.CR1
The s:link tag is not rendering javascript event-handler attributes correctly:
Example:
<s:link action="/index.xhtml" propagation="end"
linkStyle="button" value=" Home "
buttonClass="xsmallButton"
onmouseover="this.className='xsmallButton2'"
onmouseout="this.className='xsmallButton'"/>
Produces:
<input type="button" id="_id20"
onclick="location.href='/access/WEB-INF/views/error_template.seam?actionOutcome=%2Findex.xhtml&conversationPropagation=end'"
value=" Home " class="xsmallButton" />
notice the onmouseover and onmouseout event-handler attributes are missing in the
rendered markup.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira