Tapestry 5
  1. Tapestry 5
  2. TAP5-1949

Alerts component does not show alerts added from a component that occurs later in the template

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3.3, 5.3.4, 5.4
    • Fix Version/s: 5.3.5, 5.4
    • Component/s: tapestry-core
    • Labels:

      Description

      Consider the following snippet:

      <t:alerts />
      <t:componentthataddsanalert />

      The alert will not be shown as the JS for the alerts is generated in the beginRender phase of the alerts component. and alerts that are added later are ignored until its next rendering.

        Activity

        Jochen Kemnade created issue -
        Jochen Kemnade made changes -
        Field Original Value New Value
        Attachment 0001-defer-the-alerts-JS-initialization-to-allow-for-aler.patch [ 12531077 ]
        Jochen Kemnade made changes -
        Affects Version/s 5.4 [ 12316401 ]
        Jochen Kemnade made changes -
        Affects Version/s 5.3.4 [ 12320774 ]
        Massimo Lusetti made changes -
        Assignee Massimo Lusetti [ mlusetti ]
        Massimo Lusetti made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.3.5 [ 12322440 ]
        Fix Version/s 5.4 [ 12316401 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Massimo Lusetti
            Reporter:
            Jochen Kemnade
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development