struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <jeromy.ev...@blueskyminds.com.au>
Subject Re: question on mapping
Date Mon, 04 Feb 2008 16:02:10 GMT
Will CodeBehind give what you need?  I'm not sure with your use of 
wildcards.
It gives "pages with no mapping": a default do-nothing action that 
provides access to s2 tags & resources...but not to a default tile AFAIK

http://struts.apache.org/2.0.11/docs/codebehind-plugin.html

Giovanni Azua wrote:
> hi,
>
> Suppose you have a struts.xml mapping that looks like:
>
> <action name="Form*" 
> class="com.sag.optimizer.ui.web.action.form.Form{1}Action">
>   <result name="input" type="tiles">webui.form{1}</result>
>   <result name="error" type="tiles">webui.failed</result>
> </action>      
> In several cases I will probably want to provide a valid non empty 
> implementation of a corresponding Form{1}Action.class but in some 
> cases I don't want to have to provide any but a default implementation 
> e.g. FormGenericAction that just extends ActionSupport. Is there any 
> way to do that?
>
> My coverage reports are getting uglier and this is one of the reasons :)
>
> regards,
> Giovanni
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message