Thanks;) From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner Disableding/Enableing can
be done with pull (attributemodifiers on C/D that are looking at A/B) On 7/14/06, Nino
Wael <[EMAIL PROTECTED]>
wrote: Ok scratch what I send previously. I'll try to
explain more clearly what Im trying to do. This picture describes show what I have, I'll now
try to describe the flow http://www.badongo.com/pic/237253 This is what I got currently: The component which contains B are based on the
Palette component from wicket extensions. A populates the component below as C does D So this is the functionality I need: When A or B is changed C needs to be repopulated
and D needs to be emptied If B.size are different from 1 then C and D needs
to be disabled If E is clicked then C and D needs to be disabled
(this is partly working with an If C is changed then D needs to be repopulated
(this is working already with an My original idea was to make the components A/B
aware of C/D and make A/B make an direct repopulation on C/D. However looking
at all the facilities with models I thought that I could make the C/D model
aware of A/B instead. Would the correct thing to do make A/B
model notify C/D model that a change had happend? Or would it be that the A/B component needs to be
aware of the C/D component and make A/B call a populate on C/D? The last idea I got now and what I think should
work is that the A/B model needs to be aware of the C/D component and
repopulate/disable/enable when appropriate. Hopes this makes a bit sense? Regards Nino From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] On Behalf Of Johan Compagner
ok you just want to prefill it everytime
the page/textarea is rendered? If for example you used a normal detachable
model (so not readonly) On
7/14/06, Nino Wael < [EMAIL PROTECTED]> wrote: So heres what I do, code is possibly
flawed. I've tried with the abstractmodel instead which works but gets multiple
hits pr request which makes it hard to detect if I should repopulate, actually
it seems as it hits on modelchanging and onmodelchanged...
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user