Re: What are Pros and Cons for Struts 2?

2008-11-09 Thread Néstor Boscán
I'm not an expert in Struts 2 but I will respond based on my experience: 1.- Themes. They make the framework harder to understand and slower, and to me adds little value. MG>How would you differentiate between ajax and simple themed controls? NB> Personally, when I started to work on Struts 2, t

RE: What are Pros and Cons for Struts 2?

2008-11-09 Thread Martin Gainty
1.- Themes. They make the framework harder to understand and slower, and to me adds little value. MG>How would you differentiate between ajax and simple themed controls? 2.- Validation is OK, but need better validation support like validation of list items. And the ability to validate a specific

Re: What are Pros and Cons for Struts 2?

2008-11-09 Thread ryan webb
Thanks to all replies! I really appreciated all replies all are really helpful and informative. On Sat, Nov 8, 2008 at 9:02 AM, Gabriel Belingueres <[EMAIL PROTECTED]>wrote: > Pros: > Easy to learn and start with (some free books available.) > Great community (mailing list.) > Very extensible. >

Re: Cannot find bean in any scope when form contains errors

2008-11-09 Thread Burton Rhodes
Can't help you there. Sorry. On 11/9/08, Amrinder Sandhu <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for your response. It seems like Preparable is for Struts 2. I am > using Struts 1.3.8. Any ideas for Struts 1.x? > > Regards, > Amrinder Sandhu > > > On Sun, Nov 9, 2008 at 3:51 PM, Burton Rhod

Re: Cannot find bean in any scope when form contains errors

2008-11-09 Thread Amrinder Sandhu
Hi, Thank you for your response. It seems like Preparable is for Struts 2. I am using Struts 1.3.8. Any ideas for Struts 1.x? Regards, Amrinder Sandhu On Sun, Nov 9, 2008 at 3:51 PM, Burton Rhodes <[EMAIL PROTECTED]>wrote: > You need to have your action object implement Preparable (and perhaps

update for struts-2.0.dtd: missing package/default-class-ref attribute

2008-11-09 Thread Jim Walmsley
Hi, Struts issue number WW-1851 is concerned with the default-class-ref attribute being missing from the package element. The bug has been fixed as of 2.0.9 and the fix appears in more recent versions of the struts-core jar. However, the latest dtd at http://jakarta.apache.org/struts/dtds/s

Re: Cannot find bean in any scope when form contains errors

2008-11-09 Thread Burton Rhodes
You need to have your action object implement Preparable (and perhaps ModelDriven depending on your implementation) and set your action member variables (or bean) in the Prepare method. If there are validation errors, this method will take care of your issue before that error is recognized and sin

Cannot find bean in any scope when form contains errors

2008-11-09 Thread Amrinder Sandhu
Hi, I have an ExecuteTest action which returns a view. The action also sets up some beans that the view will use to display data to the user. The view also contains a form. Everything works when I go to the action, which shows me the view. The page contains the data from the beans and the textbox

Struts 2 and Tiles 2.1.0

2008-11-09 Thread stanlick
I would like to use EL in tiles definitions. Is it supported by Struts 2.x and is there a recipe for this? I downloaded Tiles 2.1.0 and reviewed the changes, but the web.xml has undergone radical change and I thought I'd do a little fact finding before performing open heart surgery on my working

WARN OgnlValueStack - Could not find property

2008-11-09 Thread Felippe Scheidt
Recently, i migrate from struts 2.0.11 to 2.1. When webapp launches, on my eclipse enviroment, a lot of warnings appears in console, even when i disable the devMode to false. Below is just a few lines of this messages: WARN OgnlValueStack:46 - Could not find property [theme] WARN OgnlValueStack:46