I have been looking at that today but I am still lost.
Basically what I want to do is have a form with panels in it. the panel will
add a textfield everytime it is called. and it will set the markupId to a
unique id that I am generating and well as setOutputMarkupId to true.
Then when the user has submitted the form I want to pass all the form values
to another page for processing.
Is there a way to get the form to submit to a new page by using
setResponsePage or is there a was to get all the form information into a
PageParameters variable and pass it that way in the onSubmit() call?
Thanks for the help
T
igor.vaynberg wrote:
>
> when a form is posted all the values the user entered are pushed into
> the model. i suggest you read the models page on the wiki and look at
> forminput example. in wicket you do not have a "post" page, the form
> submits to itself...
>
> -igor
>
>
> On Tue, Feb 26, 2008 at 12:52 PM, taygolf <[EMAIL PROTECTED]>
> wrote:
>>
>> ok I know I am missing something simple but I do not know what. I have a
>> form
>> with a CompoundPropertyModel. I am creating several textfields using
>> panels
>> so it is all on the fly and can be created from a query.
>>
>> Anyway I now want to submit my form and get the values in the Post page
>> but
>> I am not sure how to do this. I am guessing it has something to do with
>> PageParameters but I have not gotten the right call yet.
>>
>> SO the question is simple. How do I get all the values from a form after
>> it
>> is posted on another page. in JSP I would call
>> request.getParameter("filedname"); What do I do for wicket?
>>
>> I am really not sure where to look but i have been playing with
>> PageParameters and form.getMarkupAttributes with no luck so far. Please
>> point me in the right direction
>>
>> Thanks for the help
>>
>> T
>> --
>> View this message in context:
>> http://www.nabble.com/get-Form-information-after-submit-tp15699234p15699234.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/get-Form-information-after-submit-tp15699234p15715751.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]