Unfortunately, set-property is processed at config parsing time,
rather than runtime, so it is not possible to use wildcard replacement
in it.
Don
On Thu, 30 Sep 2004 14:59:17 -0300 (ART), Jose Alecio Carvalho
<[EMAIL PROTECTED]> wrote:
> Hi! I'm having some troubles using WildCards. I have
> a Action declaration like this:
>
> <action path="/*OperationAction"
> type="alecio.presentation.web.action.{1}OperationAction"
>
> name="OperationForm"
> validate="true"
> scope="request"
> input="{1}HomePage"
> parameter="operation"
> className="alecio.tech.presentation.web.struts.OperationActionMapping">
> <!-- initial properties -->
> <set-property property="structureName"
> value="structure{1}Model"/>
> <!-- forwards -->
> <forward name="createPage" path="{1}CreatePage"/>
> <forward name="editPage" path="{1}EditPage" />
> </action>
>
> The WildCard for this declaration works fine with all
> the items, except the one which is into the
> <set-property>:
>
> "<set-property property="structureName"
> value="structure{1}Model"/>"
>
> It doesn't replace the flag. How can i do such a
> thing?
>
> thanks!
>
> Alecio
>
>
> _______________________________________________________
> Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis. Instale o discador agora!
> http://br.acesso.yahoo.com/
>
> ---------------------------------------------------------------------
> 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]