Hello,
You can try this one, maybe i can help you... Timo suggested it to me and it
work great..

http://www.nabble.com/How-to-update-parent-component-from-a-panel--td17748294.html

Cheers...


ZedroS wrote:
> 
> Hi
> 
> I've the following issue : in a panel a checkbox needs to be disabled
> depending on a "ajax updated" list in a sub panel (if there is something
> in the list the checkbox is disabled).
> 
> Currently I give the checkbox reference to the other panel and then use it
> in the sub panel "add" AjaxLink.  
> 
> However, I will have soon more components on which this checkbox will
> depend for its state (lists in other sub panels). 
> 
> As such, I wonder if there is a way for this checkbox to be updated each
> time one of the sub panels list is changed, knowing that they all share
> the same model.
> 
> What do you think of it ?
> 
> NB : I saw this discussion
> http://www.nabble.com/Updating-distant-(unrelated)-components-via-Ajax-when-a-shared-model-changes-to13165777.html#a13165777
> but I'm not sure it's the only way...
> 
> Let's see if Wicket surprises me one more time ;)
> 
> ++
> zedros
> 

-- 
View this message in context: 
http://www.nabble.com/Component-self-updating-when-Ajax-call-changed-a-commun-model---tp18355808p18437336.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]

Reply via email to