Hey, thanks!! I solved the issue using Iain advice. Thanks for your help! Best regards.
On Wed, Oct 21, 2009 at 9:15 AM, James Carman <jcar...@carmanconsulting.com>wrote: > Do you have to use CompoundPropertyModel? Why not use explicit models > instead? This is one reason why I don't like to use > CompoundPropertyModels. > > On Tue, Oct 20, 2009 at 2:57 PM, Manuel Corrales > <manuelcorra...@gmail.com> wrote: > > Hello. I have a (i hope) reusable panel. This panel has a textField, a > > hiddenField and a link that open up a modalWindow. Then you can select an > > item from a list in the modal window and the field and hidden field > > completes according to the selected value. I want the hidden field to be > > "binded" with a property of the model I am using in a form (using > > CompoundPropertyModel). I intend to use this panel in several forms in my > > application, the problem I have is that the field name of the model > object > > is different on every form, and the wicket:id is the same (because it is > the > > same hiddenField). > > How can I solve this? Is there a way of having a wicket:id with a > different > > name than a model property name? > > > > Please ask for anything you need to help me, I don't know if I was clear > on > > my problem. > > > > Thanks in advance! > > Manuel. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >