Hi,

well, I'm not using the CVS HEAD, I'm only using the 1.0 Tarball from
the SF page.
And yes, that is what I mean. My problem was this: I had a ListView and
within that another ListView and within that a DropDownChoice. I set
certain ListViewItems to invisible, but not the dropdownchoice that is
attached to that ListViewItem. And it seems as if that DropDownChoice,
although it doesn't even get displayed, updates it's Model when I submit
the form. And then I get an OGNL illegalArgumentException because it
tries to set a short value to null.

The problem seems to be that the visibilty property of actual
FormComponents are checked, but not the visibility of the parents of
FormComponents.

- Johannes.


Eelco Hillenius wrote:

> Ah, wait a minute... we do check whether the form component itself is
> visible, but that component might have children that are visible. They
> should not be included in updating and validating, but they might in
> the current situation. Is that what you mean Johannes?
>
> Eelco
>
> Juergen Donnerstag wrote:
>
>> I thought we fixed that in HEAD. Which version are you using?
>>
>> Juergen
>>
>> On 7/13/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote:
>>  
>>
>>> Hi,
>>>
>>> It seems that updateModel() is called for invisible child components.
>>> This causes an exception in the attached use case.
>>>
>>> An IMHO crude workaround is to make all children explicitly invisible
>>> instead of just setting the invisible state on the parent. However, the
>>> FormComponent.IVistor in Form#updateModels shouldn't visit children of
>>> invisible components at all.
>>>
>>> Regards,
>>>
>>> Johannes
>>>
>>>
>>>
>>>
>>>
>>>   
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
>> happening
>> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
>> core and dual graphics technology at this free one hour event hosted
>> by HP,
>> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>  
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted
> by HP,
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to