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

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Mon Aug 2 04:12:49 EDT 2010


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

Pavol Pitonak commented on RF-9006:
-----------------------------------

I don't think it's a problem in componentControl because the following doesn't work as well

<h:outputLink value="#" onclick="#{rich:component('popupPanel')}.show(); return false;">
    Show popup panel
</h:outputLink>

> 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
>            Assignee: Anton Belevich
>             Fix For: 4.0.0.Milestone2
>
>
> 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