RE: Multibox problem

2005-07-06 Thread Shyam . Tummala
Hi-

Thanks for the response.

The map is in helper class and i dont want my helper class to know 
anything about struts or actionForm.

Thanks,
Shyam




"Apte, Dhanashree (Noblestar)" <[EMAIL PROTECTED]>
07/06/2005 11:45 AM
Please respond to "Struts Users Mailing List"
 
To: "'Struts Users Mailing List'" 
    cc: 
Subject:RE: Multibox problem



Code where i put the values back:
map.put("districtIds", stringArr);
where stringArr is an array of what the user selected.


-> This is not the same as calling setDistrictIds. You need to call
setDistrictIds(stringArr) explicitly.



RE: Multibox problem

2005-07-06 Thread Apte, Dhanashree (Noblestar)


Code where i put the values back:
map.put("districtIds", stringArr);
where stringArr is an array of what the user selected.


-> This is not the same as calling setDistrictIds. You need to call
setDistrictIds(stringArr) explicitly.


RE: Multibox problem

2004-11-03 Thread Robert Taylor
How many items are in the "func" data structure in request scope?
This is what drives the number of iterations.

robert

> -Original Message-
> From: Roland Carlsson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 03, 2004 5:02 AM
> To: Struts Users Mailing List
> Subject: Multibox problem
> 
> 
> Hi!
> 
> I'm trying to create a set of checkboxes with the MulitBox-tag.
> 
> The problem is that I get an extra checkbox with brackets around its value,
> like in this html-code where I expect two checkboxes but get three:
> 
> 
>[test, prov] 
> 
>prov 
> 
>test 
> 
> 
> My page has this code inside it: ("funk" are a Collection stored in the
> request, "filedata" has the property "functions" that also is a Collection)
> 
> 
>   
>
>
>
> 
> 
> Could you please point out why I get this extra checkbox
> 
> Thanks in advance
> Roland Carlsson
> 
> 
> ps: I have looked in the arcives but it says it doesn't support textsearch
> 
> 
> -
> 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]