[richfaces-issues] [JBoss JIRA] Created: (RF-9006) Popup panel: syntax error when id contains prefix

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Thu Jul 29 09:26:33 EDT 2010


Popup panel: syntax error when id contains prefix
-------------------------------------------------

                 Key: RF-9006
                 URL: https://jira.jboss.org/browse/RF-9006
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-output
    Affects Versions: 4.0.0.Milestone1
         Environment: version v.4.0.0-SNAPSHOT SVN r.18238
            Reporter: Pavol Pitonak


When a rich:popupPanel is defined inside a form, it cannot be opened using #{rich:component('popupPanel')}.show() nor using componentControl. When I set prependId="false" fo form, everything works fine.

<h:form id="from">
    <h:commandButton value="Call the popup">
        <rich:componentControl target="popupPanel" operation="show" />
    </h:commandButton>

    <rich:popupPanel id="popupPanel" modal="false"> ... </rich:popupPanel>
</h:form>

Chrome shows the following message in console:
    Uncaught Syntax error, unrecognized expression: Syntax error, unrecognized expression: popupPanel

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list