It doesn't, but I think it should. (Yes, Ted, I should do it then. ;))

Bob

On 7/25/06, tm jee <[EMAIL PROTECTED]> wrote:

Just out of curiosity, the "invoice/{method}" and "{method}" pair, does
the current implementation of Struts2 wildcard supports this? Looks a lot
more clearer than the "invoice/*" and "{1}" pair.

rgds

----- Original Message ----
From: Bob Lee <[EMAIL PROTECTED]>
To: Struts Developers List <dev@struts.apache.org>
Sent: Wednesday, 26 July, 2006 12:01:50 PM
Subject: Re: Returning Result directly (was Re: DefaultActionMapper
compatablity

On 7/25/06, Don Brown <[EMAIL PROTECTED]> wrote:
> <action name="invoice/*"
> class="com.eplus.app.invoice.action.InvoiceCrudAction" method="{1}">
>   <result name="list"
> type="freemarker">/template/eplus/metaDataList.ftl</result>
>   ...
> </action>

Or:

<action name="invoice/{method}"
    class="com.eplus.app.invoice.action.InvoiceCrudAction"
method="{method}">
<result name="list"
type="freemarker">/template/eplus/metaDataList.ftl</result>
...
</action>

Bob

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







Reply via email to