Wicket
  1. Wicket
  2. WICKET-1177

partial ajax updates on repeater components

    Details

    • Type: Wish Wish
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0-rc2
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None

      Description

      I try to explain the problem using an example:

      Imagine having a guestbook page where you can add new user entries via ajax post...

      Assume we are using RefreshingView to display the user entries. Once a user submits a new post the view should not be re-rendered in the ajax response completely but only the new user entry.

      Technically it's easy to address the view items by using e.g. ListItem#setOutputMarkupId(true).

      However, things are more complicated.

      When the user clicks on the submit button a background ajax request is created and a form submit listener is invoked. There the new guestbook post is saved in the data model. Then you want to update the list with the new entry using target.addComponent(..) . Also, applying a yellow fade effect to the component would be cool as an visual indication for the user. However, there is no way I can think of to get the proper view item(s) for the model object (=new user entry).

        Activity

        Peter Ertl created issue -
        Peter Ertl made changes -
        Field Original Value New Value
        Issue Type Improvement [ 4 ] Wish [ 5 ]
        Johan Compagner made changes -
        Fix Version/s 1.4.0-alpha [ 12312523 ]
        Assignee Matej Knopp [ knopp ]
        Affects Version/s 1.3.0-rc2 [ 12312513 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.4-M2 [ 12312911 ]
        Fix Version/s 1.4-M1 [ 12312523 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.4-M3 [ 12312912 ]
        Fix Version/s 1.4-M2 [ 12312911 ]
        Martijn Dashorst made changes -
        Fix Version/s 1.4-M4 [ 12313295 ]
        Fix Version/s 1.4-M3 [ 12312912 ]
        Matej Knopp made changes -
        Fix Version/s 1.4-M4 [ 12313295 ]
        Fix Version/s 1.5-M1 [ 12313078 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-M2 [ 12315237 ]
        Fix Version/s 1.5-M1 [ 12313078 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-M3 [ 12315329 ]
        Fix Version/s 1.5-M2 [ 12315237 ]
        Jeremy Thomerson made changes -
        Fix Version/s 1.5-M4 [ 12315483 ]
        Fix Version/s 1.5-M3 [ 12315329 ]
        Martin Grigorov made changes -
        Fix Version/s 1.5-M4 [ 12315483 ]

          People

          • Assignee:
            Matej Knopp
            Reporter:
            Peter Ertl
          • Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:

              Development