You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2007/11/11 19:57:39 UTC

[s2] LabelValueBean

Is there a corollary to the Struts 1 LabelValueBean in Struts 2?

 * http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/util/LabelValueBean.java

-Ted.

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


Re: [s2] LabelValueBean

Posted by Ted Husted <hu...@apache.org>.
Quite right. A map works just fine. (Wish I could say the same for
some other platforms I know!)

On Nov 11, 2007 4:19 PM, Tom Schneider <sc...@gmail.com> wrote:
>
> Ted,
> I think in webwork, were you only needed name value pairs, you would
> typically use a Map.  All tags have built-in support for dealing with maps.
> Is there a specific use case that you've encountered where you needed that?
> Tom
>
>
>
> Ted Husted wrote:
> >
> > Is there a corollary to the Struts 1 LabelValueBean in Struts 2?
> >
> >  *
> > http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/util/LabelValueBean.java
> >
> > -Ted.

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


Re: [s2] LabelValueBean

Posted by Tom Schneider <sc...@gmail.com>.
Ted,
I think in webwork, were you only needed name value pairs, you would
typically use a Map.  All tags have built-in support for dealing with maps. 
Is there a specific use case that you've encountered where you needed that?
Tom


Ted Husted wrote:
> 
> Is there a corollary to the Struts 1 LabelValueBean in Struts 2?
> 
>  *
> http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/util/LabelValueBean.java
> 
> -Ted.
> 
> ---------------------------------------------------------------------
> 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/-s2--LabelValueBean-tf4787015.html#a13696029
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