Background at: http://jira.opensymphony.com/browse/XW-559

Basically, Struts 2 sucks. ;-)

When prototyping a project with Struts 2, I found it annoying that
when I fat-fingered a property or method in my JSP, I was never given
an error by Struts. For people that are brand-new to Struts, I'd
imagine this would be even more frustrating. I believe we need to
fail-fast in most circumstances, particularly when "struts.devMode" is
on.

Sidenote: Currently "devMode" doesn't do me much good because it gives
me warnings for missing setters, which I generally don't care about.
It's the getters I care about.

So what's the best way to go about fixing this? I don't really care
about *all* the variables in the ValueStack, just the ones on my
immediate Action, and maybe it's parent.

XW-559 did have a patch against CompoundRootAccessor. However, after
running "svn up" this morning, that class no longer exists.

Also, I tried to use XWork 2.1-SNAPSHOT with Struts 2.0.9, but I get
the following error:

java.lang.ClassNotFoundException:
com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer

Should I be using the latest version of Struts with the latest version
of XWork to attempt to fix this issue?

Thanks,

Matt

-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to