Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9006

Popup panel: syntax error when id contains prefix

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone1
    • Fix Version/s: 4.0.0.Milestone2
    • Component/s: component-output
    • Labels:
      None
    • Environment:

      version v.4.0.0-SNAPSHOT SVN r.18238

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  amarkhel Andrey Markhel
                  Reporter:
                  ppitonak Pavol Pitoňák
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: