On Mon, 26 Nov 2007, Franklin Antony wrote: > I have a situation where in which I have a FormComponentPanel. This > FormComponentPanel is placed on Form and the Form in turn placed on a Page. > Now when I instantiate the page I set a model on the page using setModel(new > CompoundPropertyModel(myModel)). Further I DO NOT pass this model in to my > Form or FormComponentPanel. The problem I am facing is that I cannot access > the model in the FormComponentPanel but I can access it on the Form . On > the mailing list I have come across the convertInput() but not sure what it > actually does. Can someone please help in this context.
Maybe you should read and try things out more -- or tell more about what are you trying to achieve, as at least I don't completely understand it here :) If you want to use a model in a component, just pass the model there. CompoundPropertyModel is one of the more automagic-containing models that come with Wicket, so at the beginning it might be better to use the more barebones-models to see better what's going on. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]