Title: Webwork2: Select Tag (Newbie)

hi,

i'm trying tofigure out how to use the select tag:

i have an action with a searchmodel class contaiing another model (partnermodel) class.

now in jsp i use following statement:
<ww:select label="'Partnername'" name="'partnerNameList'"
           list="searchModel.partnerModelList" listValue="partnerName"
           value="partnerId" listKey="partnerId" />

the listing of the partnernames works but i would like to have the partnerid as the <option>-value property.

i just can't find out what exactly listkey and value are supposed to be...

can someone please help me?

thanks
patrick

Reply via email to