/struts2examples/themes and Struts2-3-16

2013-12-13 Thread Chris
Hello, Problem since 2013-12-12 with the new version themes and Struts2.3.16 https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/themes in Struts-2.3.16 The new version A    struts2examples\themes\src\main\webapp\template\KUTheme_simple\theme.properties A   

Struts Validation

2013-12-13 Thread Vibhuti Pithwa
Hello, I had successfully written a conditional visitor validator for a ListEmployee in a validation.xml for a list of Object say Employee. Then I wrote a validation.xml of the type Employee-validation.xml where i wrote the validation to be

Fwd: Struts Validation

2013-12-13 Thread Vibhuti Pithwa
Hello, I had successfully written a conditional visitor validator for a ListEmployee in a validation.xml for a list of Object say Employee. Then I wrote a validation.xml of the type Employee-validation.xml where i wrote the validation to be done for say First Name , Last Name. Now the

Re: /struts2examples/themes and Struts2-3-16

2013-12-13 Thread Lukasz Lenart
Hi, I'm not sure if I get what you mean, but I have updated that example few hours ago - please update and check again. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/12/13 Chris christal...@yahoo.fr: Hello, Problem since 2013-12-12 with the new version themes and

paramsPrepareParamsStack only populates pojo, neither String nor int

2013-12-13 Thread jotpe
Hello List, I build myself a custom interceptorstack. The core part has to be the paramsPrepareParamsStack, because i work with an or-mapper. interceptor-stack name=accessNavigationDialog interceptor-ref name=checkRoles / interceptor-ref name=navigation /

Re: /struts2examples/themes and Struts2-3-16

2013-12-13 Thread Chris
Hello, The problem was already with the updated example ( 2013-12-12 ) I update again, today, and again error. ( unhandled exception head.ftl ) See Struts Problem Report Struts has detected an unhandled exception: Messages: 1. Template /template/KUTheme/head.ftl not found.

Re: paramsPrepareParamsStack only populates pojo, neither String nor int

2013-12-13 Thread Chris Pratt
I'm guessing that the user fields aren't actually getting set (since that's done by the params interceptor that hasn't run yet), but you're seeing the existing values of the object. The passwordRepetition is showing null, but it similarly hasn't been set by the params interceptor. You can either

Re: In which action, do i write boolean tests ( SGBD or LDAP )

2013-12-13 Thread Ken McWilliams
Write an interceptor then apply it to the actions, assuming that the rules for what to access can be encoded in the url. If not it then probably belongs in the service tier. On Thu, Dec 12, 2013 at 3:01 AM, Chris christal...@yahoo.fr wrote: Hello, How to organize the actions, when you just

Re: Struts Validation

2013-12-13 Thread Ken McWilliams
Have the action extend ActionSupport and have the class implement its own: public validate(void). Look at the code of ActionSupport (or JavaDoc) for how to set error messages, if an error is set, after validate() executes, Struts2 will assume an error has occurred and the action will return