How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Carlo Camerino
HI, I was just wondering, what mechanism does Wicket uses to get values from Java beans? Is reflection used or does wicket use a library to do this? I had a very slow experience when using Reflection, how does Wicket do it? Thanks Carlo

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Carlo Camerino
Does wicket use reflection for this purpose? On Sun, Apr 3, 2011 at 8:50 PM, Carlo Camerino carlo.camer...@gmail.comwrote: HI, I was just wondering, what mechanism does Wicket uses to get values from Java beans? Is reflection used or does wicket use a library to do this? I had a very slow

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Sven Meier
Yes, take a look at org.apache.wicket.util.lang.PropertyResolver Sven On 04/03/2011 03:01 PM, Carlo Camerino wrote: Does wicket use reflection for this purpose? On Sun, Apr 3, 2011 at 8:50 PM, Carlo Camerinocarlo.camer...@gmail.comwrote: HI, I was just wondering, what mechanism does Wicket

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread James Carman
That's not entirely correct. Wicket uses the models to populate form components On Apr 3, 2011 9:11 AM, Sven Meier s...@meiers.net wrote: Yes, take a look at org.apache.wicket.util.lang.PropertyResolver Sven On 04/03/2011 03:01 PM, Carlo Camerino wrote: Does wicket use reflection for this

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Carlo Camerino
hi, through what mechanism does it do it? i was wondering if wicket uses reflection or it generates code on the fly thanks On Mon, Apr 4, 2011 at 12:21 AM, James Carman ja...@carmanconsulting.comwrote: That's not entirely correct. Wicket uses the models to populate form components On Apr

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Michael O'Cleirigh
Hi Carlo, Look at the wicket interface wicket.model.IModel public interface IModelT extends IDetachable { public T getObject(); public void setObject(T value); } Every component in wicket has a default model. Think of the textfield case where the model contains the string being entered.

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Alexander Morozov
-Populate-Form-Components-And-Other-Stuff-tp3423534p3424513.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h