I've upgraded Xwork from 2.0.4 to 2.0.6 (struts version is 2.0.11.1). The field validation is working correctly, however the keys for the errors are not. For example, I have a required field called profile.name.firstName. The field error key is now coming up as profile.profile.name.firstName. The first value in the dot-notation is al...
Can we use xwork validation framework to validate pojo in service layer? It seems we have to extend ActionSupport class which is part of presentation layer to use xwork validations.
...
Hi All,
I m working for service side POJO validation using xwork.
I am having an action say ValidationAction.java and i have a corresponding xml file named
ValidationAction-validation.xml having validation rules on fields.
As per specification and wherever i cud find,i have come to know that this xml file should be kept in the same pac...
How can I access a list of all active Webwork actions (as defined in actions.xml or xwork.xml) programmatically (in java) during runtime? Note: The application may be extended by plugins which may also 'register' their own actions to the application.
Thanks a bunch
...