You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by tim <bs...@insightoutsight.com.au> on 2003/08/04 09:49:47 UTC

extending RequestProcessor for only ONE action mapping

I've just recently began hacking out my own RequestProcessor extension 
and I have
found that my extended versions are not needed very much.  Most of the 
time I would
like to use the default struts provided RequestProcessor and for 
individual action
mappings be able to specify an extended RequestProcessor.  Is this possible?

Also, is there any reasonable documentation/tutorial type information 
regarding
extension of the struts framework I tried googling all afternoon but 
didn't find much
I considered useful.

Thanks

Tim


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


RE: extending RequestProcessor for only ONE action mapping

Posted by Mike Whittaker <mi...@ntlworld.com>.
>I've just recently began hacking out my own RequestProcessor extension
>and I have
>found that my extended versions are not needed very much.  Most of the
>time I would
>like to use the default struts provided RequestProcessor and for
>individual action
>mappings be able to specify an extended RequestProcessor.  Is this
>possible?
>

There may be a simpler alternative, but if needs be you can just call
super.thatMethod() (in all the methods you overide) first when the extended
beheviour isn't required.  Can't remember what the RP gets access to but
likely it gets an Action mapping, perhaps with the use of <set-property> you
can flag when to use this behaviour?

--
Mike W


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