RE: Struts2 Cookbook Question
There's nothing preventing you from adding back commons-beanutils or OSCore ( http://www.opensymphony.com/oscore/ ) to get back to that level of functionality. I'm not 100% sure why this mechanism is necessary. If you name your getter on your TestBean appropriately, S2 should take care of it. Whitmire, Tracy Carroll wrote: Your memory serves you well. WebWork did have the appropriate class and method. But I don't see it any longer. So how are people doing it now? Migrating an existing project from Struts1 and it seems like it would be a logical step in the process. Maybe not. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 2:41 PM To: Struts Users Mailing List Subject: RE: Struts2 Cookbook Question BeanUtil, however, was part of WebWork, IIRC. --- Rod Bollinger [EMAIL PROTECTED] wrote: BeanUtils is part of Apache Commons: http://commons.apache.org/beanutils/ HTH, -Rod -Original Message- From: Whitmire, Tracy Carroll [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 13:17 To: user@struts.apache.org Subject: Struts2 Cookbook Question I'd like to use some of the information found in the cookbook http://struts.apache.org/2.x/docs/how-do-i-populate-a-form-bean-and-get- the-value-using-the-taglib.html But I don't see what/where is BeanUtil.setProperties Thanks in advance - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Struts2-Cookbook-Question-tf4549654.html#a13000112 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts2 Cookbook Question
I'd like to use some of the information found in the cookbook http://struts.apache.org/2.x/docs/how-do-i-populate-a-form-bean-and-get- the-value-using-the-taglib.html But I don't see what/where is BeanUtil.setProperties Thanks in advance
RE: Struts2 Cookbook Question
BeanUtil, however, was part of WebWork, IIRC. --- Rod Bollinger [EMAIL PROTECTED] wrote: BeanUtils is part of Apache Commons: http://commons.apache.org/beanutils/ HTH, -Rod -Original Message- From: Whitmire, Tracy Carroll [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 13:17 To: user@struts.apache.org Subject: Struts2 Cookbook Question I'd like to use some of the information found in the cookbook http://struts.apache.org/2.x/docs/how-do-i-populate-a-form-bean-and-get- the-value-using-the-taglib.html But I don't see what/where is BeanUtil.setProperties Thanks in advance - 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]
RE: Struts2 Cookbook Question
Your memory serves you well. WebWork did have the appropriate class and method. But I don't see it any longer. So how are people doing it now? Migrating an existing project from Struts1 and it seems like it would be a logical step in the process. Maybe not. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 2:41 PM To: Struts Users Mailing List Subject: RE: Struts2 Cookbook Question BeanUtil, however, was part of WebWork, IIRC. --- Rod Bollinger [EMAIL PROTECTED] wrote: BeanUtils is part of Apache Commons: http://commons.apache.org/beanutils/ HTH, -Rod -Original Message- From: Whitmire, Tracy Carroll [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 13:17 To: user@struts.apache.org Subject: Struts2 Cookbook Question I'd like to use some of the information found in the cookbook http://struts.apache.org/2.x/docs/how-do-i-populate-a-form-bean-and-get- the-value-using-the-taglib.html But I don't see what/where is BeanUtil.setProperties Thanks in advance - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts2 Cookbook Question
I tend to just make my bean a getter/setter on the action and let the framework take care of it. However, if you are looking for the equivalent to setProperties/copy etc look at xwork's com.opensymphony.xwork2.util.OgnlUtil Matt Whitmire, Tracy Carroll wrote: I'd like to use some of the information found in the cookbook http://struts.apache.org/2.x/docs/how-do-i-populate-a-form-bean-and-get- the-value-using-the-taglib.html But I don't see what/where is BeanUtil.setProperties Thanks in advance -- View this message in context: http://www.nabble.com/Struts2-Cookbook-Question-tf4549654.html#a12992186 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]