t; validate
>> any data in the action class and set the actionError the error message is
>> displayed along with the user object information. Is there anything I
>> missed why the "user" object information will now show up when XML
>> validation is used? Thanks.
>&g
If if failing to show any data this can only mean the data
is blank (unlikely) or the object is not available on the Value Stack.
If we look at your two use cases:
Case 1.data is posted to your application, the params are set in your
action and your action is invoked. Your code in the action
essage is
displayed along with the user object information. Is there anything I
missed why the "user" object information will now show up when XML
validation is used? Thanks.
--
View this message in context:
http://www.nabble.com/Struts-2-Validation-issue-tp15365657p15365657.html
Thanks, I extended DefaultActionSupport and now it's working
On Feb 3, 2008 12:47 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Martin Castellanos <[EMAIL PROTECTED]> wrote:
> > Oh, it's just a regular bean, doesn't implements or extends anything
>
> That'll be an issue.
>
> The workflow inter
--- Martin Castellanos <[EMAIL PROTECTED]> wrote:
> Oh, it's just a regular bean, doesn't implements or extends anything
That'll be an issue.
The workflow interceptor depends on the ValidationAware interface to decide
if it should modify the result.
Dave
> On Feb 3, 2008 12:32 PM, Dave Newton <
Oh, it's just a regular bean, doesn't implements or extends anything
On Feb 3, 2008 12:32 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Martin Castellanos <[EMAIL PROTECTED]> wrote:
> > Action Class is: com.maca.web.BookAction
> > Validation file is placed next to the class:
> BookAction-save-
--- Martin Castellanos <[EMAIL PROTECTED]> wrote:
> Action Class is: com.maca.web.BookAction
> Validation file is placed next to the class: BookAction-save-validation.xml
> Validation file for the book entity is: Book-validation.xml and it's placed
> next to the Book class
"Signature" means "How i
Action Class is: com.maca.web.BookAction
Validation file is placed next to the class: BookAction-save-validation.xml
Validation file for the book entity is: Book-validation.xml and it's placed
next to the Book class
On Feb 3, 2008 12:20 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Martin Cas
--- Martin Castellanos <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to use the xml validation, the validation is executing and
> detecting errors, but after the validation the method save gets called
> instead of invoking the input action it's executing the 'success' action.
> I've tried several thi
Hi, I'm trying to use the xml validation, the validation is executing and
detecting errors, but after the validation the method save gets called
instead of invoking the input action it's executing the 'success' action.
I've tried several things but still can't see what's missing, I'm using
Spring a
10 matches
Mail list logo