Re: [S2] - LabelValueBean in struts2

2009-05-15 Thread Dave Newton

Rama Roshni wrote:

I am converting an app from Struts1 to Struts2. It is using LabelValueBean.

I would like to know is it available in Struts2 / or any other class or
interface instead of LabelValueBean.


Not really. It's largely unnecessary, though.

Dave

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



Re: [S2] - LabelValueBean in struts2

2009-05-15 Thread Zoran Avtarovski
We use them for the ajax calls, by having a standard structure across all
ajax calls it makes life easier. It¹s simple enough to construct your own.
You can even grab the source from S1.

Z.
 
 Hi,
 
 I am converting an app from Struts1 to Struts2. It is using LabelValueBean.
 
 I would like to know is it available in Struts2 / or any other class or
 interface instead of LabelValueBean.
 
 Thankx




Re: [s2] LabelValueBean

2007-11-11 Thread Tom Schneider

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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s2] LabelValueBean

2007-11-11 Thread Ted Husted
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]