Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3282

WidgetVar should different from Id on Dialogs to avoid errors with Primefaces 3.2+

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Complete
    • 1.2.2.RELEASE
    • 1.2.3.RELEASE
    • JSF
    • None
    • Primefaces 3.4

    Description

      After upgrading Primefaces to 3.4 version I started to experience javascript errors (Object #<HTMLDivElement> has no method 'refresh' ) on Chrome and IE, and the dialogs would only open on Firefox.

      On Primefaces forums, I found that starting at version 3.2, component id and widgetVar cannot have the same name:

      http://forum.primefaces.org/viewtopic.php?f=3&t=18830

      Indeed, after changing the dialog's widgetVar, the Roo generated application worked fine.

      Suggested improvement: use a widgetVar different from the id on create, edit and view dialogs.

      This will make upgrade to Primefaces easier.

      Attachments

        Activity

          People

            stewarta Alan Stewart
            figura Murilo Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: