Re: Parameter Mapping with Set elements

2007-09-12 Thread Nicolás Pace
On 6/10/07, Dave Newton [EMAIL PROTECTED] wrote: --- Nicolás Pace [EMAIL PROTECTED] wrote: The point here is that Sets are not indexable, so i can't name elements by their unique id... Let me rephrase: I don't know how you'd be able to use a Set directly on a web page simply because it's

Parameter Mapping with Set elements

2007-06-10 Thread Nicolás Pace
Hi!, I'm having a problem trying to map elements from a Set Collection in my Action to form components, and to generate form components dinamically and have them inserted in this set. Any suggestions? The main problem is that the only way to access collection elements with ognl is like accessing

Re: Parameter Mapping with Set elements

2007-06-10 Thread Dave Newton
--- Nicolás Pace [EMAIL PROTECTED] wrote: The main problem is that the only way to access collection elements with ognl is like accessing an array, and when i generate those dinamic components with javascript, i don't know how to name those elements to have them mapped to the Set. Name

Re: Parameter Mapping with Set elements

2007-06-10 Thread Nicolás Pace
The point here is that Sets are not indexable, so i can't name elements by their unique id... On 6/10/07, Dave Newton [EMAIL PROTECTED] wrote: --- Nicolás Pace [EMAIL PROTECTED] wrote: The main problem is that the only way to access collection elements with ognl is like accessing an array,

Re: Parameter Mapping with Set elements

2007-06-10 Thread Dave Newton
--- Nicolás Pace [EMAIL PROTECTED] wrote: The point here is that Sets are not indexable, so i can't name elements by their unique id... Well, if there's nothing to uniquely identify them at all then you'd be doomed no matter what, wouldn't you? d.

Re: Parameter Mapping with Set elements

2007-06-10 Thread Dave Newton
--- Nicolás Pace [EMAIL PROTECTED] wrote: The point here is that Sets are not indexable, so i can't name elements by their unique id... Let me rephrase: I don't know how you'd be able to use a Set directly on a web page simply because it's *not* indexable. My guess is that you'd have to