]
Anton Belevich reassigned RF-9006:
----------------------------------
Assignee: Andrey Markhel (was: Anton Belevich)
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: Andrey Markhel
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: