[ 
https://issues.apache.org/jira/browse/WICKET-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466105
 ] 

Jean-Baptiste Quenot commented on WICKET-222:
---------------------------------------------

No, I'm not resetting the flag.  Maybe that would be cleaner to override 
onDetach() and reset the flag, but the main idea is to avoid computing the 
Palette values until the component is attached, and resetting the flag doesn't 
appear to be strictly needed.

> Palette tries to initialize values in constructor
> -------------------------------------------------
>
>                 Key: WICKET-222
>                 URL: https://issues.apache.org/jira/browse/WICKET-222
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Jean-Baptiste Quenot
>         Assigned To: Igor Vaynberg
>             Fix For: 1.3
>
>         Attachments: 20070118-wicket-1.x-Palette-initialization, 
> 20070118-wicket-1.x-Palette-initialization
>
>
> When using a CompoundPropertyModel, the model is defined in the parent 
> widgets.  However Palette tries to initialize its values in the constructor.  
> See patch attached.  Note that the model is read in onAttach() already.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to