You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Major Peter (JIRA)" <ji...@apache.org> on 2010/08/15 10:12:18 UTC
[jira] Updated: (WICKET-2988) Ajax updated ListChoice can't find
its model
[ https://issues.apache.org/jira/browse/WICKET-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Major Peter updated WICKET-2988:
--------------------------------
Attachment: wicket-2988.tar.gz
This quickstart project demonstrates the problem. I've tried to create a test case for this, but it was working for some reason, I couldn't find a way to reproduce this with a test, only with a browser.
So basically open homepage -> type 'aaaa' in textfield, click on one of the new listchoice item and submit the form.
This project is working on 1.4.10 without a problem.
> Ajax updated ListChoice can't find its model
> --------------------------------------------
>
> Key: WICKET-2988
> URL: https://issues.apache.org/jira/browse/WICKET-2988
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M1
> Reporter: Major Peter
> Attachments: wicket-2988.tar.gz
>
>
> If you have a form like this:
> <form wicket:id="form">
> <input type="text" wicket:id="name" />
> <div wicket:id="wmc">
> <select wicket:id="chooser" />
> </div>
> <input type="submit" value="Save" />
> </form>
> The ListChoice component is updated via OnChangeAjaxBehavior on the TextField. When you submit this form, the validation for 'chooser' will fail, because it can't find it's model.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.