Just completing my last message... The code bellow actually works in the
sense of adding the component to the form, but it doesn't work with
compoundpropertymodels. I mean the value of the text field is never setted
in the model.


Ricardo Mayerhofer wrote:
> 
> Hi all,
> I'm trying to autoAdd form components using componentResolver, but as far
> as I know it doesn't work nor is the recommended aproach:
> http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html#LifecycleofaWicketApplication-Rendering
> 
> My intent is something like this:
> if ( componentTag.getName().equals( "input" ) )
> {
>       markupContainer.autoAdd( new TextField( componentTag.getId() ),
> markupStream );
> }
> 
> Is it posssible to acomplish this using wicket? Any input is appreciated.
> Thanks.
> 

-- 
View this message in context: 
http://www.nabble.com/ComponentResolver-and-CompoundPropertyModels-tp21209434p21216923.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to