Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread smallufo
I think it is a bug , and already submitted to JIRA https://issues.apache.org/jira/browse/WICKET-2694 2010/1/21 Chuck Brinkman > I looked some more and found the following: > > When it works, with my modification, FormComponent.getInputAsArray

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread Chuck Brinkman
I looked some more and found the following: When it works, with my modification, FormComponent.getInputAsArray tries to get parameters for the TextField named "more:moreForm:textfield". I looked in the parameter map or the RequestFacade object and found these: wicket:interface, wicket:ignoreIfNot

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread smallufo
Yes , indeed , if the form is in the second row (default invisible) , it works , But I cannot get the first row's data (such as radioGroup's model object will become null ). Moreover , Form with multiple row , with something visible and something extensible (default invisible), it is not so rare.

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread Chuck Brinkman
I stepped through the code and found that the convertedInput is null when processing submit. I didn't see anything that looked like an error message from wicket.I look forward to seeing what the wicket developers have to say. I'm just a new wicket user but was interested in this issue. I als

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-20 Thread smallufo
This is a full functional Page : I found this problem only occurs when the form is in the listView : If I move the form out of the listView , it works like a charm. Bug ? I am not sure... The link is the screen capture : http://xs.to/image-B859_4B57CDD0.gif MyPage.html name more ?

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-20 Thread Jered Myers
What do you mean by "cannot get their values"? I am wondering if the model's value is not showing in the TextField when it become visible or if the model's value is not getting set based on what you type into the TextField. If your problem is that the value you type into the TextField is not

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-20 Thread smallufo
To make it more clear : When the radio button is clicked , by implement AjaxEventBehavior("onClick") , a default-invisible WebMarkupContainer is set visible , The WebMarkupContainer contains other TextFields , which I cannot get their values at all I've stuck with this problems for half day

Cannot get default invisible TextField's ModelObject ?

2010-01-20 Thread smallufo
I have a form , which contains a radio button. When user clicks the radio button , a default-invisible textfield is set visible. But I cannot get the textfield's Model Object , it is null What's the problem ? Did I miss anything ?