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
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
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
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
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 /
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.
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
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
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
9 matches
Mail list logo