Re: Component self updating when Ajax call changed a commun model ?

2008-07-13 Thread Timo Rantalaiho
On Thu, 10 Jul 2008, ZedroS wrote:
 Were you thinking of this discussion :
 http://www.nabble.com/AJAX-validation-and-multiple-requests-td15546309.html

Maybe this one

  http://www.nabble.com/generics-td18083910i60.html#a18347087

but it's a good idea to browse other messages on the list
about the ajax updates, there are several different ways
that people have come up with.

Best wishes,
Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Component self updating when Ajax call changed a commun model ?

2008-07-13 Thread freak182

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]



Re: Component self updating when Ajax call changed a commun model ?

2008-07-10 Thread ZedroS

Hi

Thanks again !

Were you thinking of this discussion :
http://www.nabble.com/AJAX-validation-and-multiple-requests-td15546309.html
?

If so it looks like there is no real feature for this need in the
framework and that it should be done by hand each time, do we agree ?

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



Component self updating when Ajax call changed a commun model ?

2008-07-09 Thread ZedroS

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---tp18355808p18355808.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]



Re: Component self updating when Ajax call changed a commun model ?

2008-07-09 Thread Johan Compagner
see the post Timo did in the other thread about this.


On Wed, Jul 9, 2008 at 9:15 AM, ZedroS [EMAIL PROTECTED] 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#a13165777http://www.nabble.com/Updating-distant-%28unrelated%29-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---tp18355808p18355808.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]