--- Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
> For example on a search form we would add a not
> applicable object to the start of our collection.
>
> No Image
> label="fileName"
> value="fileName"/>
>
>
> I'd love to be able to do something similar in S2,
d.
I can give you a simple use case we have which annoys the crap out of me:
In S1 we used our business layer to get a collection of objects. Depending
on how that collection was used we might need to add an object to it. For
example on a search form we would add a not applicable object to the start
: Re: [s2] Collection, array and tag.
I logged this ticket for it:
https://issues.apache.org/struts/browse/WW-1971
musachy
On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
>
> Looking at the code, only String[] is transformed into parameters. For
> anything else, its toString()
ruts Users Mailing List
Objet : Re: [s2] Collection, array and tag.
I logged this ticket for it:
https://issues.apache.org/struts/browse/WW-1971
musachy
On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
>
> Looking at the code, only String[] is transformed into parameters. Fo
I logged this ticket for it:
https://issues.apache.org/struts/browse/WW-1971
musachy
On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
Looking at the code, only String[] is transformed into parameters. For
anything else, its toString() will be called and used as the value of the
parameter
Looking at the code, only String[] is transformed into parameters. For
anything else, its toString() will be called and used as the value of the
parameter.
I think Lists and Sets should be processed as String[] are (calling the
toString() on each element). Maps should be converted to parameters
Hi,
I have been using struts 2 since a while and there is some things about
the tag i don't understant.
Let's say we have an array in our action (with the getters and setters):
private String[] myArray;
public String[] getMyArray() {
return myArray;
}
pu
7 matches
Mail list logo