You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rodrigo di Lorenzo Lopes <rl...@linux.ime.usp.br> on 2003/06/05 17:44:40 UTC

ActionForm with non-simpleProperties

I received this message from jboss-server...
argument type mismatch
(...)
at org.apache.commeons.beanutils.PropertyUtils.setSimpleProperty

I would like to know if ActionForms can have complex properties,
like Collections, and others objects.

Please, if anyone knows, tell me.
-- 
Rodrigo di Lorenzo Lopes

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: ActionForm with non-simpleProperties

Posted by Rodrigo di Lorenzo Lopes <rl...@linux.ime.usp.br>.
Thank you very much.


Mike Jasnowski writes:
> Yes they can, but for things other than Java defined complex types you may
> have to write your own converter.  I'm not sure what the ootb complex Java
> types are.  See the commons beanutils package for more info.
> 
> -----Original Message-----
> From: Rodrigo di Lorenzo Lopes [mailto:rlopes@linux.ime.usp.br]
> Sent: Thursday, June 05, 2003 11:45 AM
> To: Struts Users Mailing List
> Subject: ActionForm with non-simpleProperties
> 
> 
> I received this message from jboss-server...
> argument type mismatch
> (...)
> at org.apache.commeons.beanutils.PropertyUtils.setSimpleProperty
> 
> I would like to know if ActionForms can have complex properties,
> like Collections, and others objects.
> 
> Please, if anyone knows, tell me.
> --
> Rodrigo di Lorenzo Lopes
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

-- 
Rodrigo di Lorenzo Lopes (Mineirinho) - ICQ 52982003

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: ActionForm with non-simpleProperties

Posted by Mike Jasnowski <mj...@bea.com>.
>I'm not sure what the ootb complex Java
>types are

 I should have qualified that with, "What types are supported by commons
Converter "

-----Original Message-----
From: Mike Jasnowski [mailto:mjasnows@bea.com]
Sent: Thursday, June 05, 2003 12:48 PM
To: Struts Users Mailing List
Subject: RE: ActionForm with non-simpleProperties


Yes they can, but for things other than Java defined complex types you may
have to write your own converter.  I'm not sure what the ootb complex Java
types are.  See the commons beanutils package for more info.

-----Original Message-----
From: Rodrigo di Lorenzo Lopes [mailto:rlopes@linux.ime.usp.br]
Sent: Thursday, June 05, 2003 11:45 AM
To: Struts Users Mailing List
Subject: ActionForm with non-simpleProperties


I received this message from jboss-server...
argument type mismatch
(...)
at org.apache.commeons.beanutils.PropertyUtils.setSimpleProperty

I would like to know if ActionForms can have complex properties,
like Collections, and others objects.

Please, if anyone knows, tell me.
--
Rodrigo di Lorenzo Lopes

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: ActionForm with non-simpleProperties

Posted by Mike Jasnowski <mj...@bea.com>.
Yes they can, but for things other than Java defined complex types you may
have to write your own converter.  I'm not sure what the ootb complex Java
types are.  See the commons beanutils package for more info.

-----Original Message-----
From: Rodrigo di Lorenzo Lopes [mailto:rlopes@linux.ime.usp.br]
Sent: Thursday, June 05, 2003 11:45 AM
To: Struts Users Mailing List
Subject: ActionForm with non-simpleProperties


I received this message from jboss-server...
argument type mismatch
(...)
at org.apache.commeons.beanutils.PropertyUtils.setSimpleProperty

I would like to know if ActionForms can have complex properties,
like Collections, and others objects.

Please, if anyone knows, tell me.
--
Rodrigo di Lorenzo Lopes

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org