Tapestry 5
  1. Tapestry 5
  2. TAP5-236

Implement a progressive enhancement component that loads its content via Ajax

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.1
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      A very useful component would be one that used an Ajax callback to get its content. In this way we could have easy progressive display of a complex page.

      The component should differentiate between its initial (temporary) content, and its proper content. The former should be specified via a block parameter, the latter as the body of the component.

        Activity

        Hide
        Konstantin Miklevskiy added a comment -

        Consider another use case for Defer component (Lazy load on some event, not only page load):
        1. You open page.
        2. You click on ajax-enabled eventLink button and it loads some zone content via ajax.
        3. Then, next clicks on your link would only toggle zone content visibility without updating it's content from server.

        Show
        Konstantin Miklevskiy added a comment - Consider another use case for Defer component (Lazy load on some event, not only page load): 1. You open page. 2. You click on ajax-enabled eventLink button and it loads some zone content via ajax. 3. Then, next clicks on your link would only toggle zone content visibility without updating it's content from server.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development