You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Jose Fco. Irles DurĂ¡" <jo...@gmail.com> on 2009/10/19 15:34:41 UTC

Visitor validator problem

Hi, i'm developing a cms application with struts2 (2.1.8), spring as
object factory and jpa for persistence.

I have this struts.xml
http://pastebin.com/f33635250

this BaseCrudAction
http://pastebin.com/f7abb39b6

and its BaseCrudAction-validation.xml
http://pastebin.com/f3eade052

this example model action (Content)
http://pastebin.com/f5de630a1

and the xml file validaiton for the model Content
(Content-validation.xml) (in the same package that the model)
http://pastebin.com/f406ba066


All works until i try to add or edit new content and the
save_content.action is executed, the field error is showed but all is
broked. If i put all required fields and i submit the form, another
error field is showed (the same twice). And if i go to the
list_content.aciton, an error is showed because i don't mapped a
"input" result in my list_content action.

Where is the problem?

Thanks and sorry for my english.

-- 
Jose Fco. Irles DurĂ¡

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org