[
https://issues.apache.org/jira/browse/WICKET-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Drozdov updated WICKET-99:
---------------------------------
Attachment: RefreshingListView.java
I had exactly the same problem with ListView.
Googled for the exact example of using RefreshingView instead of ListView and
found almost none, so for others who are looking for it I'm attaching an
appeared to be very simple extension that I called RefreshingListView. Works
fine for me.
> Using ListView with a SubmitLink with setDefaultFormProcessing(false) drops
> user input
> --------------------------------------------------------------------------------------
>
> Key: WICKET-99
> URL: https://issues.apache.org/jira/browse/WICKET-99
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.2.3
> Reporter: Jean-Baptiste Quenot
> Attachments: 20061120-wicket-FormInput-removeItem,
> RefreshingListView.java
>
>
> Please find attached a patch that replaces the Link in the example
> with a SubmitLink. Note that I setDefaultFormProcessing(false) on
> purpose, and use a RequiredTextField, to illustrate that it is
> allowed to remove an empty line.
> Before clicking the Remove button, please change one of the values
> of the other lines. You will notice that the right line is
> removed, even if the field is empty, but the other changed values
> are lost.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.