struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinicius Carvalho <carvalho.vinic...@superig.com.br>
Subject retreiving the labelProperty of an option tag
Date Fri, 23 Jan 2004 12:29:46 GMT
Hi there! I have a code to render a select/option that looks like this :

<html:options collection="Objectives" property="objCode" 
labelProperty="objDescription"/>

In my form I have the getter for this, that returns the code for the 
desired Objective.
So in my action, when I fill the VO, I add the code by:
ModelVO.setObjective(form.getObjective());

Ok, so far so good. But how do I get the labelProperty for this objective? 
Once my form gets only the property ....

Thanks

Vinicius 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message