On 11/7/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
The form tag is as follows in the JSP: <s:form action="register">...

There are only a few fields, and using either register!* or register_*
gives me the same in the debugger. Each of the setters/getters is called
(for setting values, then re-displaying the values), but the execute
method is never called. It is as if, my execute method signature is
wrong because it is not invoked, it appears that another method is
invoked that returns "input". The <s:actionerror /> never generates any
output, and validation appears to pass.

Valiation isn't passing. That's why "input" is being returned, and why
the Action class is never invoked. If the messages are not displaying,
the most likely cause is that a property is being validated that is
not present on the page (so there is no where to display the message).
If the validator is being attached to the Action class, note that a
subclass will inherit the validations of its superclass.

You might want to try the new debugging mode to see if there are any
orphan field validation errors.

* http://cwiki.apache.org/WW/debugging.html

One note about the wildcards and the exclamation point. If you use the
exclamation point as a wildcard separator, in struts.properties be
sure to set

* struts.enable.DynamicMethodInvocation = false

Better yet, stick with the underscore. I find it to be an
easier-to-read separator.

-Ted.

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

Reply via email to