Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1949

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

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.3.3, 5.3.4, 5.4
    • 5.3.5, 5.4
    • tapestry-core

    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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mlusetti Massimo Lusetti
            jkemnade Jochen Kemnade
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment