Hi Sony, 

Your <html:select> block should include the 'value=""' part. 
The first equal value in the list will be selected. 
Please note that it's the value, not the presented text that's compared.


Mvh
  Thor
 

> -----Original Message-----
> From: Sony Thomas [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 15, 2006 3:14 PM
> To: Struts Users Mailing List
> Subject: Drop Down List Problem - Bit Urgent
> 
> Hi Friends,
> 
> It will be greateful if anyone can help me out to solve this problem.
> 
> I have an ActionForm called SopForm. There is a property 
> called "authoriserList" . This list contains a list of 
> another ActionForm called PersonForm. I am displaying the 
> name of the persons from PersonForm.
> 
> The problem is while editing I am not able to focus to the 
> name selected while saving the person.
> 
> Example.  The list contains "Mark","Antony",P"Paul". While 
> saving I have selected Paul. When I edit I must get the drop 
> downlist focused to Paul. 
> what to do for that.
> 
> Please it is very urgent and can anyone help me with some 
> code examples.
> 
> 
> This is the code i m using in Jsp:
> 
> <html:select name="SopForm" property="authoriser"  
> styleClass="listfeature">
>                         <html:optionsCollection name="SopForm" 
> property="authoriserList" label="fullName" value="id" /> 
> </html:select>
> 
> 
> Thanks
> 
> Sony
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to