PDA

View Full Version : A doubt about options tag


jpiersanti
Jun 7th, 2006, 08:57 AM
Hi all, i have a little question about how does this tag works ....

Supose i have a form object ... let's say a of class A, and has a many to one relationship with another object b of class B ... i have created a PropertyEditor bounded to the class B in order to fill and retrieve as text the field "id" for all the objects of class B ....

When i want to display a select list of objects of type B ... the tags displays the list fine but always print "selected" for every option it displays ... how does it compare the values?? I don't have any clue ....

Regards.

J.G.