You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by André Böhlke <ab...@vitras.de> on 2008/02/21 10:54:44 UTC

defining an action's dependencies on interceptors by annotation

Hallo,

if you use the e.g. jFreeChart plugin, you write actions, which
implement "getChart()". This action would not make sense without the
jFreeChart plugin. In this scenario, wouldn't it be great to define the
action's dependency on jFreeChart by annotation? Struts could then
check, if the action has the right context.

(The documentation of the jFreeChart plugin notes, that the described
dependency should not exist. But if Struts 2 providers the proposed
annotations for actions, then plugin developers had more possibilities.)

Cheers,
André



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