[richfaces-issues] [JBoss JIRA] (RF-12129) mobile showcase - rich:contextMenu - selecting an item from menu causes JS error

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Apr 4 05:27:47 EDT 2012


     [ https://issues.jboss.org/browse/RF-12129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč resolved RF-12129.
-----------------------------

    Resolution: Done


There was used absolute addressing of {{form:pic}} element, which worked for desktop browsers, but in case of phoneHome, t elements were nested in unnamed container.

Replaced with {{#{rich:element('pic')}} to generate absolute locator from relative component ID.
                
> mobile showcase - rich:contextMenu - selecting an item from menu causes JS error
> --------------------------------------------------------------------------------
>
>                 Key: RF-12129
>                 URL: https://issues.jboss.org/browse/RF-12129
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: mobile, showcase
>    Affects Versions: 4.2.1.CR1
>         Environment: mobile devices: Motorola Xoom, iPad
>            Reporter: Juraj Huska
>            Assignee: Lukáš Fryč
>             Fix For: 4.2.1.Final
>
>
> Selecting an item from rich:contextMenu causes a JS error, and the expected action is not done. 
> The error:
> {code}
> JavaScript Error on Line 4
> http://[myIPAddress]:8080/showcase/#contextMenu:simple
> TypeError: Result of expresion 'pic' [null] is not a object.
> {code}

--
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