You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by doktora <do...@gmail.com> on 2007/03/28 21:54:05 UTC
Zero-config and annotations
Zero-config will be quite some fun if we had some more annotations.
Are there any plans on adding Interceptor and onther annotations?
All we have now is org.apache.struts2.config.Result.
-- doktora
--
View this message in context: http://www.nabble.com/Zero-config-and-annotations-tf3481752.html#a9718432
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Zero-config and annotations
Posted by Ted Husted <hu...@apache.org>.
On 3/29/07, alkira <al...@gmail.com> wrote:
> As far as feedback, in my opinion it would be nice if I can use the same
> result type String in the annotations as they are in the XML files, as this
> would provide better consistency and I wouldn't need to remember all the
> Result class names (such as type=ServletActionRedirectResult.class). The
> classes probably provide additional compile time check for the annotation,
> but I would prefer the simplicity of the shorter result types.
You should open a ticket for that in the issue tracker.
Though, it's more likely to be addressed if someone provides a patch.
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Zero-config and annotations
Posted by alkira <al...@gmail.com>.
I like the result annotations along with codebehind/zero config, but I'm
looking forward to the Interceptor annotation to have a completely usable
implementation, and will check out the patch.
As far as feedback, in my opinion it would be nice if I can use the same
result type String in the annotations as they are in the XML files, as this
would provide better consistency and I wouldn't need to remember all the
Result class names (such as type=ServletActionRedirectResult.class). The
classes probably provide additional compile time check for the annotation,
but I would prefer the simplicity of the shorter result types.
Alex
Ted Husted-4 wrote:
>
> There's a patch, but I'm not using annotations myself, and some
> feedback from a couple of other people who are using annotations would
> be helpful.
>
> * https://issues.apache.org/struts/browse/WW-1796
>
> There is also suppose to be some work being done a ZC MailReader,
> which should turn up some things.
>
> -T.
>
> On 3/28/07, doktora <do...@gmail.com> wrote:
>>
>> Zero-config will be quite some fun if we had some more annotations.
>>
>> Are there any plans on adding Interceptor and onther annotations?
>>
>> All we have now is org.apache.struts2.config.Result.
>>
>> -- doktora
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Zero-config-and-annotations-tf3481752.html#a9731736
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Zero-config and annotations
Posted by Ted Husted <hu...@apache.org>.
There's a patch, but I'm not using annotations myself, and some
feedback from a couple of other people who are using annotations would
be helpful.
* https://issues.apache.org/struts/browse/WW-1796
There is also suppose to be some work being done a ZC MailReader,
which should turn up some things.
-T.
On 3/28/07, doktora <do...@gmail.com> wrote:
>
> Zero-config will be quite some fun if we had some more annotations.
>
> Are there any plans on adding Interceptor and onther annotations?
>
> All we have now is org.apache.struts2.config.Result.
>
> -- doktora
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org