Hi Igor, No that didn't work. You have just added a new constructor signature, but not fixed the real problem. The problem is that when Palette is constructed, it tries to make a new RecorderComponent which reads the model at construction time. Since I am using the 1.x wicket, Palette does not know its parent container at construction time and hence it cannot find the compound property model set on the palette's container. To fix this, you'll have to make the Palette's components read from the model at render time and remove the logic from the constructors, like the other FormComponents are already doing. Please give it another try and I'll check again once you are done.
Thanks, Samyem igor.vaynberg wrote: > > and its patched, let me know if it works. > > -Igor > > > On 10/14/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >> >> it is a limitation, i will patch it soon. >> >> -Igor >> >> >> On 10/14/06, samyem <[EMAIL PROTECTED]> wrote: >> > >> > >> > Since the Palette does not allow you to implicitly use the container's >> > compound model, there does not appear to be an obvious way for Palette >> > to >> > behave the same way as the other FormComponents. So I was wondering if >> > this >> > is a limitation of Palette or it was done this way by design? >> > >> > >> > samyem wrote: >> > > >> > > Is it possible for a Palette to take the CompoundPropertyModel set on >> > the >> > > form? >> > > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6812005 >> > >> > Sent from the Wicket - User mailing list archive at Nabble.com. >> > >> > >> > >> > >> ------------------------------------------------------------------------- >> > 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 >> > >> >> > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6885413 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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