Hi Jeromy!

The Convention plugin looks very interesting! Does it work
with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend.

What about mixing it with tiles?
Would it require specifying tiles results thus breaking
the convenience of conventions?

--
Robi



Jeromy Evans wrote:
Roberto Nunnari wrote:


2) action names with wildcards and '!' (ie '*!*') are not usable for declarative action-alias validation. No idea why.

This works:

<action name="manageAccount!*" method="do{1}" class="package.ManageAccountAction">

matches the XML validation:
ManageAccountAction-manageAccount!ChangePassword-validation.xml

where doChangePassword is the name of the method to be invoked in ManageAccountAction

The following setting is important as the ! is just a separator char (nothing special) # disable the old (bang) XWorks2 notation of dynamic invocation of actions. Wildcards are still permitted
struts.enable.DynamicMethodInvocation = false

My advice is not to use this feature of Struts2 and instead keep it simple (follow the convention of the Convention plugin, even if not in use yet).

regards,
Jeromy Evans.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to