Per Newgro wrote:
Hi *,

i would like to implement a testing issue for me. I add three panels with a 
link on every panel. If i click one panel-link all panels should become green. 
But i dont get that to work. The model in the AttributeModifier cant be 
refreshed. What am i missing here?

IMHO your code is toooo complex for this simple task :-) And the main issue here is that you don't need to create a lot of models and then try to refresh them. Just have one shared Model instance for all of your panels and use it in your AttributeModifier also. Then in onClick() you'lll have to get the model object and call the setter - that's all, when the page will be rendered, all of your panels will use the same instance of model object.

Thank you for helping me understanding this great framework.
Per

<code>
package de.yhd.buma.refreshtests;

...

</code>


--
Andrew Klochkov


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

Reply via email to