RE: Ignorant multibox question.

2005-11-16 Thread bsimonin
Actually I got it to work elegantly with the following code:





 

 





But thanks for the link anywaysI will use it in the future.

Have you stumbled on this link:  http://husted.com/struts/tips/007.html

I think it's almost verbatim out of the Struts in Action Book

hth,

On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Lets say I have the following multibox:
>
> 
> 
> 
>
> 
>  
>
> 
> 
> 
>
>
> I have a List of POJOs with a name and a boolean value for each POJO.  I want 
> to change the boolean value to true if a user check marks a specific item in 
> the List.
>
> If I wasn't in struts I could easily do this if I were using a Servlet. But 
> how and where do I read through each POJO in the List changing the POJO 
> instance variable to true if someone check marks it?


--
Keith Sader
[EMAIL PROTECTED]
http://www.saderfamily.org/roller/page/ksader
http://www.jroller.com/page/certifieddanger

-
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]



Re: Ignorant multibox question.

2005-11-11 Thread Keith Sader
Have you stumbled on this link:  http://husted.com/struts/tips/007.html

I think it's almost verbatim out of the Struts in Action Book

hth,

On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Lets say I have the following multibox:
>
> 
> 
> 
>
> 
>  
>
> 
> 
> 
>
>
> I have a List of POJOs with a name and a boolean value for each POJO.  I want 
> to change the boolean value to true if a user check marks a specific item in 
> the List.
>
> If I wasn't in struts I could easily do this if I were using a Servlet. But 
> how and where do I read through each POJO in the List changing the POJO 
> instance variable to true if someone check marks it?


--
Keith Sader
[EMAIL PROTECTED]
http://www.saderfamily.org/roller/page/ksader
http://www.jroller.com/page/certifieddanger

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