RE: [S2] How to separate Action from "FormBean"

2007-01-08 Thread Wesslan
>To answer that part: not that I know of, but the existing WebWork in Action from Manning is very good, and applies equally well to Struts 2 with minor adjustments for package renaming etc. Maybe it's time to create a web forum for Struts 2 and make a sticky thread that says "Read Webwork in Actio

Re: [S2] How to separate Action from "FormBean"

2007-01-08 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Further, is are there any plans/release dates for a book on Struts 2? To answer that part: not that I know of, but the existing WebWork in Action from Manning is very good, and applies equally well to Struts 2 with minor adjustments for package renaming etc. L. --

Re: [S2] How to separate Action from "FormBean"

2007-01-08 Thread cilquirm
Dariusz Wojtas wrote: > > Want to have a bean separate from the action and just reference it? > Define your bean (whatever you want) and just declare it as a variable > on your action. > Nothing more. > Add getter and setter. > > class MyAction ... { >private MyBeanClass myBean; > > } >

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread Dariusz Wojtas
I work with struts2 for about a month and it is perfectly stable. The only 'issues' I could see were related to it's ajax support - but it already works perfectly in most areas, and the issues being found are quickly examined by the struts team. It's definitely worth to try it. It's simpler than

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread uni
Dariusz Wojtas <[EMAIL PROTECTED]> wrote: > Want to have a bean separate from the action and just reference it? > Define your bean (whatever you want) and just declare it as a variable > on your action. Thanks Dariusz. That's exactly what I was looking for. Looks like I should definitely give S2 a

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread Dariusz Wojtas
Want to have a bean separate from the action and just reference it? Define your bean (whatever you want) and just declare it as a variable on your action. Nothing more. Add getter and setter. class MyAction ... { private MyBeanClass myBean; } in your JSP just prefix bean components with the b