getValue() is the rawinput or the value of the model as a string.
 and rawinput is pretty much the same ais getInput

getInput() is really just getting the input that the browser did sent
And a developer really doesn't really have to call this method in normal cases.

and that also answers your next question: Use getValue()
Because that will return the rawinput which is set when defaultFormProcessing is set to false.

johan


On 8/18/06, Tymur Porkuyan <[EMAIL PROTECTED]> wrote:
I have two questions. First one is what is the difference between
getValue and getInput? Second one is how can I retrieve the value
entered to the form component if defaultFormProcessing is set to
false?

These questions have arisen when I was trying to implement an editable
multi-page table that was remembering changes while user navigates
across the pages. I created page navigation links as SubmitLinks with
defaultFormProcessing set to false. After each navigation values are
read from inputs (although I'm not sure if I do read them in a right
way) and models are updated manually.

This was necessary because the table's form has lots of validation on
it and this validation shouldn't pop up when navigationg between
pages.

Maybe, there is an easier way to do this?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to