You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by James Mitchell <jm...@apache.org> on 2004/11/02 21:23:35 UTC

Re: ActionErrors

Just getting back around to these....

> I figured we would remove ActionErrors, ActionMessages, and
> ActionMessage in 2.0 and replace them with commons-resources.

did you mean commons-i18n?



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message ----- 
From: "David Graham" <gr...@yahoo.com>
To: "Struts Developers List" <de...@struts.apache.org>
Sent: Friday, October 29, 2004 10:51 AM
Subject: Re: ActionErrors


> ActionError has been deprecated for some time so we could remove it in
> 1.3.  ActionErrors only exists because of ActionForm.validate().  I
> figured we would remove ActionErrors, ActionMessages, and ActionMessage in
> 2.0 and replace them with commons-resources.
>
> I wouldn't be opposed to deprecating ActionErrors and changing the
> ActionForm.validate() signature to return ActionMessages in the 1.x series
> though.  Seems like it would reduce confusion even if it's a minor API
> breakage.
>
> David
>
>
> --- Ted Husted <hu...@apache.org> wrote:
>
>> On Fri, 29 Oct 2004 08:35:11 -0500, Joe Germuska wrote:
>> > This may be Ted's question asked in different words.
>>
>> My question in different words :) is:
>>
>> What is the roadmap for ActionMessage/ActionMessages and
>> ActionError/ActionErrors for 1.3 and beyond?
>>
>> The endgame has been to migrate to Commons Resources, so people could
>> use the same classes in the backend and pass them directly out to
>> Struts.
>>
>> * http://jakarta.apache.org/commons/sandbox/resources/
>>
>> But we have to bring it up from the sandbox first.
>>
>> I'd imagine that any message handling support for Shale would also be
>> based on Commons Resources.
>>
>> -Ted.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
> 



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


Re: ActionErrors

Posted by James Mitchell <jm...@apache.org>.
Yes, sorry, I see what you are saying now.  I'm familiar with that class, 
but I didn't really think it would replace ActionErrors/ActionMessages.


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message ----- 
From: "David Graham" <gr...@yahoo.com>
To: "Struts Developers List" <de...@struts.apache.org>
Sent: Tuesday, November 02, 2004 5:31 PM
Subject: Re: ActionErrors


> Commons i18n was just started and has no relation to Struts so far.
> Commons Resources was started some time ago and contains the Struts
> equivalents to MessageResources, ActionMessages, and ActionMessage.
>
> http://jakarta.apache.org/commons/sandbox/resources/apidocs/org/apache/commons/resources/Message.html
>
> David
>
>
> --- James Mitchell <jm...@apache.org> wrote:
>
>> Perhaps I'm misunderstanding you.
>>
>> [0] commons-resources is basically like MessageResources, only better.
>> [1] ActionError(s), ActionMessage(s) deal with messaging.
>>
>> If we move 1.3 to use [0], that has little to no impact on how [1] are
>> used,
>> maybe how the values are accessed, but not with depracation/removal/etc
>>
>> .....can you see why I'm a bit confused?
>>
>>
>>
>> --
>> James Mitchell
>> Software Engineer / Open Source Evangelist
>> EdgeTech, Inc.
>> 678.910.8017
>> AIM: jmitchtx
>>
>> ----- Original Message ----- 
>> From: "David Graham" <gr...@yahoo.com>
>> To: "Struts Developers List" <de...@struts.apache.org>
>> Sent: Tuesday, November 02, 2004 5:00 PM
>> Subject: Re: ActionErrors
>>
>>
>> > Last I knew it was called commons-resources; I'm not sure what
>> > commons-i18n is.
>> >
>> > David
>> >
>> > --- James Mitchell <jm...@apache.org> wrote:
>> >
>> >> Just getting back around to these....
>> >>
>> >> > I figured we would remove ActionErrors, ActionMessages, and
>> >> > ActionMessage in 2.0 and replace them with commons-resources.
>> >>
>> >> did you mean commons-i18n?
>> >>
>> >>
>> >>
>> >> --
>> >> James Mitchell
>> >> Software Engineer / Open Source Evangelist
>> >> EdgeTech, Inc.
>> >> 678.910.8017
>> >> AIM: jmitchtx
>> >>
>> >> ----- Original Message ----- 
>> >> From: "David Graham" <gr...@yahoo.com>
>> >> To: "Struts Developers List" <de...@struts.apache.org>
>> >> Sent: Friday, October 29, 2004 10:51 AM
>> >> Subject: Re: ActionErrors
>> >>
>> >>
>> >> > ActionError has been deprecated for some time so we could remove it
>> in
>> >> > 1.3.  ActionErrors only exists because of ActionForm.validate().  I
>> >> > figured we would remove ActionErrors, ActionMessages, and
>> >> ActionMessage in
>> >> > 2.0 and replace them with commons-resources.
>> >> >
>> >> > I wouldn't be opposed to deprecating ActionErrors and changing the
>> >> > ActionForm.validate() signature to return ActionMessages in the 1.x
>> >> series
>> >> > though.  Seems like it would reduce confusion even if it's a minor
>> API
>> >> > breakage.
>> >> >
>> >> > David
>> >> >
>> >> >
>> >> > --- Ted Husted <hu...@apache.org> wrote:
>> >> >
>> >> >> On Fri, 29 Oct 2004 08:35:11 -0500, Joe Germuska wrote:
>> >> >> > This may be Ted's question asked in different words.
>> >> >>
>> >> >> My question in different words :) is:
>> >> >>
>> >> >> What is the roadmap for ActionMessage/ActionMessages and
>> >> >> ActionError/ActionErrors for 1.3 and beyond?
>> >> >>
>> >> >> The endgame has been to migrate to Commons Resources, so people
>> could
>> >> >> use the same classes in the backend and pass them directly out to
>> >> >> Struts.
>> >> >>
>> >> >> * http://jakarta.apache.org/commons/sandbox/resources/
>> >> >>
>> >> >> But we have to bring it up from the sandbox first.
>> >> >>
>> >> >> I'd imagine that any message handling support for Shale would also
>> be
>> >> >> based on Commons Resources.
>> >> >>
>> >> >> -Ted.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> >> >> For additional commands, e-mail: dev-help@struts.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > __________________________________
>> >> > Do you Yahoo!?
>> >> > Yahoo! Mail Address AutoComplete - You start. We finish.
>> >> > http://promotions.yahoo.com/new_mail
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> >> > For additional commands, e-mail: dev-help@struts.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: dev-help@struts.apache.org
>> >>
>> >>
>> >
>> >
>> >
>> >
>> > __________________________________
>> > Do you Yahoo!?
>> > Check out the new Yahoo! Front Page.
>> > www.yahoo.com
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: dev-help@struts.apache.org
>> >
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
> 



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


Re: ActionErrors

Posted by David Graham <gr...@yahoo.com>.
Commons i18n was just started and has no relation to Struts so far. 
Commons Resources was started some time ago and contains the Struts
equivalents to MessageResources, ActionMessages, and ActionMessage.

http://jakarta.apache.org/commons/sandbox/resources/apidocs/org/apache/commons/resources/Message.html

David


--- James Mitchell <jm...@apache.org> wrote:

> Perhaps I'm misunderstanding you.
> 
> [0] commons-resources is basically like MessageResources, only better.
> [1] ActionError(s), ActionMessage(s) deal with messaging.
> 
> If we move 1.3 to use [0], that has little to no impact on how [1] are
> used, 
> maybe how the values are accessed, but not with depracation/removal/etc
> 
> .....can you see why I'm a bit confused?
> 
> 
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> 
> ----- Original Message ----- 
> From: "David Graham" <gr...@yahoo.com>
> To: "Struts Developers List" <de...@struts.apache.org>
> Sent: Tuesday, November 02, 2004 5:00 PM
> Subject: Re: ActionErrors
> 
> 
> > Last I knew it was called commons-resources; I'm not sure what
> > commons-i18n is.
> >
> > David
> >
> > --- James Mitchell <jm...@apache.org> wrote:
> >
> >> Just getting back around to these....
> >>
> >> > I figured we would remove ActionErrors, ActionMessages, and
> >> > ActionMessage in 2.0 and replace them with commons-resources.
> >>
> >> did you mean commons-i18n?
> >>
> >>
> >>
> >> --
> >> James Mitchell
> >> Software Engineer / Open Source Evangelist
> >> EdgeTech, Inc.
> >> 678.910.8017
> >> AIM: jmitchtx
> >>
> >> ----- Original Message ----- 
> >> From: "David Graham" <gr...@yahoo.com>
> >> To: "Struts Developers List" <de...@struts.apache.org>
> >> Sent: Friday, October 29, 2004 10:51 AM
> >> Subject: Re: ActionErrors
> >>
> >>
> >> > ActionError has been deprecated for some time so we could remove it
> in
> >> > 1.3.  ActionErrors only exists because of ActionForm.validate().  I
> >> > figured we would remove ActionErrors, ActionMessages, and
> >> ActionMessage in
> >> > 2.0 and replace them with commons-resources.
> >> >
> >> > I wouldn't be opposed to deprecating ActionErrors and changing the
> >> > ActionForm.validate() signature to return ActionMessages in the 1.x
> >> series
> >> > though.  Seems like it would reduce confusion even if it's a minor
> API
> >> > breakage.
> >> >
> >> > David
> >> >
> >> >
> >> > --- Ted Husted <hu...@apache.org> wrote:
> >> >
> >> >> On Fri, 29 Oct 2004 08:35:11 -0500, Joe Germuska wrote:
> >> >> > This may be Ted's question asked in different words.
> >> >>
> >> >> My question in different words :) is:
> >> >>
> >> >> What is the roadmap for ActionMessage/ActionMessages and
> >> >> ActionError/ActionErrors for 1.3 and beyond?
> >> >>
> >> >> The endgame has been to migrate to Commons Resources, so people
> could
> >> >> use the same classes in the backend and pass them directly out to
> >> >> Struts.
> >> >>
> >> >> * http://jakarta.apache.org/commons/sandbox/resources/
> >> >>
> >> >> But we have to bring it up from the sandbox first.
> >> >>
> >> >> I'd imagine that any message handling support for Shale would also
> be
> >> >> based on Commons Resources.
> >> >>
> >> >> -Ted.
> >> >>
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> >> For additional commands, e-mail: dev-help@struts.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >> > __________________________________
> >> > Do you Yahoo!?
> >> > Yahoo! Mail Address AutoComplete - You start. We finish.
> >> > http://promotions.yahoo.com/new_mail
> >> >
> >> >
> ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> > For additional commands, e-mail: dev-help@struts.apache.org
> >> >
> >> >
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: dev-help@struts.apache.org
> >>
> >>
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Check out the new Yahoo! Front Page.
> > www.yahoo.com
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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


Re: ActionErrors

Posted by James Mitchell <jm...@apache.org>.
Perhaps I'm misunderstanding you.

[0] commons-resources is basically like MessageResources, only better.
[1] ActionError(s), ActionMessage(s) deal with messaging.

If we move 1.3 to use [0], that has little to no impact on how [1] are used, 
maybe how the values are accessed, but not with depracation/removal/etc

.....can you see why I'm a bit confused?



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message ----- 
From: "David Graham" <gr...@yahoo.com>
To: "Struts Developers List" <de...@struts.apache.org>
Sent: Tuesday, November 02, 2004 5:00 PM
Subject: Re: ActionErrors


> Last I knew it was called commons-resources; I'm not sure what
> commons-i18n is.
>
> David
>
> --- James Mitchell <jm...@apache.org> wrote:
>
>> Just getting back around to these....
>>
>> > I figured we would remove ActionErrors, ActionMessages, and
>> > ActionMessage in 2.0 and replace them with commons-resources.
>>
>> did you mean commons-i18n?
>>
>>
>>
>> --
>> James Mitchell
>> Software Engineer / Open Source Evangelist
>> EdgeTech, Inc.
>> 678.910.8017
>> AIM: jmitchtx
>>
>> ----- Original Message ----- 
>> From: "David Graham" <gr...@yahoo.com>
>> To: "Struts Developers List" <de...@struts.apache.org>
>> Sent: Friday, October 29, 2004 10:51 AM
>> Subject: Re: ActionErrors
>>
>>
>> > ActionError has been deprecated for some time so we could remove it in
>> > 1.3.  ActionErrors only exists because of ActionForm.validate().  I
>> > figured we would remove ActionErrors, ActionMessages, and
>> ActionMessage in
>> > 2.0 and replace them with commons-resources.
>> >
>> > I wouldn't be opposed to deprecating ActionErrors and changing the
>> > ActionForm.validate() signature to return ActionMessages in the 1.x
>> series
>> > though.  Seems like it would reduce confusion even if it's a minor API
>> > breakage.
>> >
>> > David
>> >
>> >
>> > --- Ted Husted <hu...@apache.org> wrote:
>> >
>> >> On Fri, 29 Oct 2004 08:35:11 -0500, Joe Germuska wrote:
>> >> > This may be Ted's question asked in different words.
>> >>
>> >> My question in different words :) is:
>> >>
>> >> What is the roadmap for ActionMessage/ActionMessages and
>> >> ActionError/ActionErrors for 1.3 and beyond?
>> >>
>> >> The endgame has been to migrate to Commons Resources, so people could
>> >> use the same classes in the backend and pass them directly out to
>> >> Struts.
>> >>
>> >> * http://jakarta.apache.org/commons/sandbox/resources/
>> >>
>> >> But we have to bring it up from the sandbox first.
>> >>
>> >> I'd imagine that any message handling support for Shale would also be
>> >> based on Commons Resources.
>> >>
>> >> -Ted.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: dev-help@struts.apache.org
>> >>
>> >>
>> >
>> >
>> >
>> >
>> > __________________________________
>> > Do you Yahoo!?
>> > Yahoo! Mail Address AutoComplete - You start. We finish.
>> > http://promotions.yahoo.com/new_mail
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: dev-help@struts.apache.org
>> >
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
> 



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


Re: ActionErrors

Posted by David Graham <gr...@yahoo.com>.
Last I knew it was called commons-resources; I'm not sure what
commons-i18n is.

David

--- James Mitchell <jm...@apache.org> wrote:

> Just getting back around to these....
> 
> > I figured we would remove ActionErrors, ActionMessages, and
> > ActionMessage in 2.0 and replace them with commons-resources.
> 
> did you mean commons-i18n?
> 
> 
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> 
> ----- Original Message ----- 
> From: "David Graham" <gr...@yahoo.com>
> To: "Struts Developers List" <de...@struts.apache.org>
> Sent: Friday, October 29, 2004 10:51 AM
> Subject: Re: ActionErrors
> 
> 
> > ActionError has been deprecated for some time so we could remove it in
> > 1.3.  ActionErrors only exists because of ActionForm.validate().  I
> > figured we would remove ActionErrors, ActionMessages, and
> ActionMessage in
> > 2.0 and replace them with commons-resources.
> >
> > I wouldn't be opposed to deprecating ActionErrors and changing the
> > ActionForm.validate() signature to return ActionMessages in the 1.x
> series
> > though.  Seems like it would reduce confusion even if it's a minor API
> > breakage.
> >
> > David
> >
> >
> > --- Ted Husted <hu...@apache.org> wrote:
> >
> >> On Fri, 29 Oct 2004 08:35:11 -0500, Joe Germuska wrote:
> >> > This may be Ted's question asked in different words.
> >>
> >> My question in different words :) is:
> >>
> >> What is the roadmap for ActionMessage/ActionMessages and
> >> ActionError/ActionErrors for 1.3 and beyond?
> >>
> >> The endgame has been to migrate to Commons Resources, so people could
> >> use the same classes in the backend and pass them directly out to
> >> Struts.
> >>
> >> * http://jakarta.apache.org/commons/sandbox/resources/
> >>
> >> But we have to bring it up from the sandbox first.
> >>
> >> I'd imagine that any message handling support for Shale would also be
> >> based on Commons Resources.
> >>
> >> -Ted.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: dev-help@struts.apache.org
> >>
> >>
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Address AutoComplete - You start. We finish.
> > http://promotions.yahoo.com/new_mail
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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