Hi,

Thanks for the info, I can understand this type of program would suit a static 
multibox, I need some coding for a dynamic array of multiboxes with the same property 
value, how do I set the values in the action class?

Thanks in advance

Regards
H.Rajesh

-----Original Message-----
From: Mark Lowe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 24, 2003 5:00 PM
To: Struts Users Mailing List
Subject: Re: Problem with multibox check state


The checkboxes are selected depending on whether the value and the 
property value match..

<html:multibox property="myprop" value="foo" />

if myprop is set to foo it will be ticked..



On 24 Dec 2003, at 11:11, Rajesh, Harikrishnan (H.) wrote:

> Hi,
>
> I have a jsp input form with dynamically generated multibox, I need to
> fill these boxes with checked and unchecked state once the user 
> selects a previously saved record. I need to know how to resolve this 
> problem.
>
> I have done the same with a single multibox, using the set('property
> name', value) in the action component. But for dynamically generated 
> multibox what need to be done.
>
> I have set the component name in the 'form bean' tag as
> 'java.lang.string'.
>
> This is a very urgent requirement and might be a simple problem for
> you gurus.
>
> Thanks for any help on this issue.
>
> Regards
> H.Rajesh
>


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

Reply via email to