Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Ned Collyer
I'm not sure how to get the textfield editor working on the property name of the user object - I am aware the CPM is trying to look at the id editor which is wrong :). -- View this message in context: http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20698456

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Nino Saturnino Martinez Vazquez Wael
Hi Ned you can call bind on the compound property model.. labelText = new Label(labelText, CPM.bind(propertyname)); You can also do this for your property models btw... Ned Collyer wrote: I'm trying to throw together some components for easily creating accessible forms. I'm a fair bit along

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Ned Collyer
(propertyname)); You can also do this for your property models btw... -- View this message in context: http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20699724.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Nino Saturnino Martinez Vazquez Wael
ahhh, didnt catch that you were doing that.. Ned Collyer wrote: I'm going to be sourcing the labelText from a properties file relatve to the class of the modelObject (in this case it will be the User - eg, user.properties). If I use the binding, then I need to have scope to the CPM in java

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Igor Vaynberg
://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20697019.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Ned Collyer
java.lang.String expression: name Rgds Ned igor.vaynberg wrote: String.format(model.object.%s, id))); -- View this message in context: http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20709911.html Sent from the Wicket - User mailing list archive

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Igor Vaynberg
-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20709911.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Using CompoundPropertyModel with FormComponentPanel

2008-11-26 Thread Ned Collyer
FYI, you are awesome. Always obvious what the problem is after its fixed hey ;) igor.vaynberg wrote: then justmodel.object will do :) -igor -- View this message in context: http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20710669.html Sent from