Re: Type conversion of arrays of complex objects

"Jason Carreira" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <[email protected]>
You shouldn't need 1.5 features if you specify in the
MyAction-conversion.properties the type that goes in the List. You could
have your Action convert the list to an Array as needed...

On 4/18/06, Jason Boutwell <[email protected]> wrote:
>
> > Jason,
> > Arrays don't work, but List<YourPojo> should work
> > fine. Have you tried that?
>
>
> I can't use 1.5 features until we get WLS upgraded to 9.2, and this won't
> happen for some time, so I'm stuck with the old ways for a while longer.
>
> In a nutshell, I execute these WW actions from both FTL UI templates and
> SOAP services, and the SOAP side of the equation restricts me from using
> Java collections and maps in my request POJO's. I also generate my requests
> via an XSD generator, and it prefers to generate arrays as well.
>
> Like I said, I've got a hacked up way of converting XW Lists to the arrays
> I need, but it would be nice if XWork could convert these by default, either
> through a temp List or a size parameter. The XW conversion engine seems to
> have most other scenarios covered but this one.
>
> Jason
> ---------------------------------------------------------------------
> Posted via Jive Forums
>
> http://forums.opensymphony.com/thread.jspa?threadID=24993&messageID=51964#51964
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.