Tapestry 5
  1. Tapestry 5
  2. TAP5-1065

Non-visual mixin to generate events as it begins/ends rendering (useful for generating matching JavaScript)


    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:


      Often when dealing with Blocks and Ajax, you can't rely on a container's afterRender render phase event, since the container itself doesn't render (just blocks or components within the container). This can make it difficult to generate matching JavaScript when that is itself necessary. A kludgey approach involves
      delegating to an inner class that implements Renderable, but that is most ugly.

      A RenderNotifier mixin could fire a "beginRender" and "afterRender" event from the corresponding phases. A container could add handlers for those phases to handle the events.


        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]


          • Assignee:
            Howard M. Lewis Ship
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: