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 world... within the LabelledTextField - which is a shame, because it just makes it less convenient to use like other regular form components where you do not have to pass in the model if the form has CPM (eg, standard TextField) Nino.Martinez wrote: > > 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... > -- 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]