You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Joseph Pachod <jp...@thomas-daily.de> on 2010/12/02 11:18:17 UTC

Re: nested form in FormComponentPanel validation issue

On 11/26/2010 05:41 PM, Igor Vaynberg wrote:
> quickstart, jira issue.
>
> -igor

hi igor

I've created a quickstart for it (cf attachement)

however, it may be linked to self made DecoratedEdit/TextFieldEdit 
classes (cf attachement again).

As such, I'm not sure if it's a wicket bug or not, so I prefered not to 
create an issue for it. Let me know if I should.

Anyway, when you run the quick start, you will have a form. If you input 
something in its structured part, you'll need to do 2 submits on the 
"ok" for the structured part content to be taken in account (there's a 
display of the backing bean on each submit, so it's easy to spot).

thanks again

best
joseph

Re: nested form in FormComponentPanel validation issue

Posted by Joseph Pachod <jp...@thomas-daily.de>.
On 12/05/2010 09:21 AM, Igor Vaynberg wrote:
> the problem is in DecoratedEdit classs, the tmp variable is not
> updated with converted input of the inner textfield, so
> composeConvertedInput() incorrectly returns null when it should return
> the converted input of the inner text component.
>    

hi igor

thanks a lot

actually that was an error I made. Our original TextFieldEdit didn't 
have this issue.

Yet, since it's proper again, I don't manage to reproduce the issue 
anymore... So I'm digging in again...

thanks
best
joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: nested form in FormComponentPanel validation issue

Posted by Igor Vaynberg <ig...@gmail.com>.
the problem is in DecoratedEdit classs, the tmp variable is not
updated with converted input of the inner textfield, so
composeConvertedInput() incorrectly returns null when it should return
the converted input of the inner text component.

-igor

On Thu, Dec 2, 2010 at 2:18 AM, Joseph Pachod <jp...@thomas-daily.de> wrote:
> On 11/26/2010 05:41 PM, Igor Vaynberg wrote:
>>
>> quickstart, jira issue.
>>
>> -igor
>
> hi igor
>
> I've created a quickstart for it (cf attachement)
>
> however, it may be linked to self made DecoratedEdit/TextFieldEdit classes
> (cf attachement again).
>
> As such, I'm not sure if it's a wicket bug or not, so I prefered not to
> create an issue for it. Let me know if I should.
>
> Anyway, when you run the quick start, you will have a form. If you input
> something in its structured part, you'll need to do 2 submits on the "ok"
> for the structured part content to be taken in account (there's a display of
> the backing bean on each submit, so it's easy to spot).
>
> thanks again
>
> best
> joseph
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org