[richfaces-issues] [JBoss JIRA] (RF-12245) Adding to org.richfaces.model.TreeNodeImpl's map of children whose keys contain whitespace produce invalid JSF IDs

Karsten Wutzke (JIRA) jira-events at lists.jboss.org
Sat May 12 12:03:17 EDT 2012


Karsten Wutzke created RF-12245:
-----------------------------------

             Summary: Adding to org.richfaces.model.TreeNodeImpl's map of children whose keys contain whitespace produce invalid JSF IDs
                 Key: RF-12245
                 URL: https://issues.jboss.org/browse/RF-12245
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.2.0.Final
         Environment: JBoss AS 7.1.1.Final + Mojarra 2.1.7
            Reporter: Karsten Wutzke


Adding to org.richfaces.model.TreeNodeImpl's map of children whose keys contain whitespace/spaces produce invalid JSF IDs (they break <f:ajax> but not <a4j:ajax> for really strange effects). Generating JSF IDs containing spaces is defined to be invalid.

I had asked this in the forum without any answers here: https://community.jboss.org/thread/199142

Also note the original question/example over at SO: http://stackoverflow.com/a/10413232/396732

Also note the answer http://stackoverflow.com/a/10412444/396732

<a4j:ajax> should not really be able to handle these invalid IDs (if you ask me), since the implementation is said to fully based on JSF 2 <f:ajax>, which can't handle the wrong generated IDs. But ultimately that's something for the developer team to figure out.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list