[richfaces-issues] [JBoss JIRA] (RF-12794) Using the same name for id and name for this tag triggers an error with IE

Jan Papousek (JIRA) jira-events at lists.jboss.org
Mon Feb 18 06:55:56 EST 2013


    [ https://issues.jboss.org/browse/RF-12794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754729#comment-12754729 ] 

Jan Papousek commented on RF-12794:
-----------------------------------

I've successfully reproduced the issue. The problem is location of h:form. When a4j:jsFunction is inside the h:form (see the code snippet above), everything works correctly. The following code doesn't work using IE 7, IE 8, but it works in Firefox and IE 9:

{code}
<a4j:jsFunction name="setText2" id="setText2" render="showText2">
    <a4j:param name="text" assignTo="#{testBean.text}" />
</a4j:jsFunction>

<h:form>
    Output: <h:outputText id="showText2" value="#{testBean.text}" />
    <br />
    <span onmouseover="setText2('TEXT')" onmouseout="setText2('')">ACTIVE TEXT</span>
</h:form>
{code}
                
> Using the same name for id and name for this tag triggers an error with IE
> --------------------------------------------------------------------------
>
>                 Key: RF-12794
>                 URL: https://issues.jboss.org/browse/RF-12794
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Jean ANDRE
>            Assignee: Jan Papousek
>
> Using the same name for id and name for this tag triggers an error with IE.
> We need to:
> # Confirm that this is an issue
> # Determine if this is an RF issue, an upstream JSF issue, or purely a IE issue
> # Document this _somehwere_

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list