When you view the page on the first place, you are using the get method and
consequently the public page parameter. After that, on submit, you are
using the post method and consequently the hidden field defined on your
form.
You set the hidden field of your form with the public parameter on the get
method and get it back (the hidden field) on the submit action.


2013/8/7 Kristian Lind <[email protected]>

> How can this help me.. ?
> The first method called when the save button is pressed if the OnInit()
> method.. and the productId is null.
>
> Don't quit understand how I can use the post method...
>
>
>
> On Wed, Aug 7, 2013 at 11:54 AM, Gilberto <[email protected]> wrote:
>
>>
>>
>> You can use the browser's View Page Source to check the hidden[1] fields
>> before submitting the page. And increase the trace as well [2] .
>>
>> Regards,
>>
>> Gilberto
>>
>> [1]
>> http://click.apache.org/docs/click-api/org/apache/click/control/HiddenField.html
>> [2]
>> http://click.apache.org/docs/user-guide/htmlsingle/click-book.html#application-mode
>>
>
>
>
> --
> Best regards
>
> Kristian Lind
>

Reply via email to