RE: [OT] Re: Bean Question

2006-04-09 Thread Neil Meyer
Thanks, The following worked. PropertyUtils.getSimpleProperty(bean,propertyName) Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 April 2006 02:56 PM To: Struts Users Mailing List Subject: [OT] Re: Bean Question One, or both, of these may help: 1

[OT] Re: Bean Question

2006-04-07 Thread DGraham
One, or both, of these may help: 1. http://jakarta.apache.org/commons/beanutils/ 2. http://cglib.sourceforge.net/ -Dennis "Neil Meyer" <[EMAIL PROTECTED]> 04/07/2006 01:31 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing L

[OT] Re: Bean Question

2006-04-07 Thread Dave Newton
Neil Meyer wrote: > Value=test1,test2 > > So I want to dynamically tell the system to get > > testBean.getTest1 > testBean.getTest2 > > I really hope there is somebody that can give me some pointers here. > If you want to invoke a method named by a string from a class that instantiates that me

Bean Question

2006-04-06 Thread Neil Meyer
Good day, I have a bean something like this public class testBean implements Serializable { private String test1; private String test2; private String test3; private String test4; public String getTest1 () { return test1; } public void setTest1 (String test

Re: Form Bean Question

2005-09-30 Thread Wendy Smoak
From: "Tamas Szabo" <[EMAIL PROTECTED]> http://struts.apache.org/faqs/indexedprops.html In my oppinion this page contains an error. I already reported this (wrote a mail about it on this list (don't know if this is a way to report an error in the docs)), http://struts.apache.org/faqs/helpin

Re: Form Bean Question

2005-09-30 Thread Tamas Szabo
> > However, before you do that, have a look at this page: > > http://struts.apache.org/faqs/indexedprops.html In my oppinion this page contains an error. In the List-Backed Indexed Properties the method public java.util.List getStringIndexed(int index) { return java.util.Arrays.asL

Re: Form Bean Question

2005-09-29 Thread Frank W. Zammetti
Yes, you absolutely can use Struts with ActionForms. You will have to take responsibility for getting values out of request, and for validatation, etc., but the answer is yes. However, before you do that, have a look at this page: http://struts.apache.org/faqs/indexedprops.html If you want to s

Re: Form Bean Question

2005-09-29 Thread Murray Collingwood
You could write lots of jsp code to handle it: As you can imagine this is pretty silly. In your action form, when preparing the display (ie when you put the text fields into the request scope) instead of adding them as separate entries it would be better to create a collecti

Form Bean Question

2005-09-29 Thread Troy Bull
Hello: I have a question about how to setup a "situation" I have. I want to have a jsp page that has a variable number of text fields on it, named qty1, qty2, ... qtyN where N is some unknown number. I tried to set it up and use no form bean at all so I could just pull them from the reque

Re: [OT]java bean question

2005-07-02 Thread Dave Newton
Leon Rosenberg wrote: You must be scott ambler fan :-) Or maybe not, he suggests words like a, an, some public void setValue(int aValue){ value = aValue; } I ended up doing the public class Foo { private int _bar; public void setBar(final int bar_) { _bar = bar_; } }

Re: [OT]java bean question

2005-07-01 Thread Frank W. Zammetti
Ursprüngliche Nachricht- >> Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >> Gesendet: Freitag, 1. Juli 2005 21:19 >> An: Struts Users Mailing List >> Cc: Struts Users Mailing List >> Betreff: Re: [OT]java bean question >> >> Since this thread was

Re: [OT]java bean question

2005-07-01 Thread Leon Rosenberg
it's often generated by ides, even eclipse did it in one of the versions. > -Ursprüngliche Nachricht- > Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 1. Juli 2005 21:19 > An: Struts Users Mailing List > Cc: Struts Users Mailing List > Betreff

Re: [OT]java bean question

2005-07-01 Thread Leon Rosenberg
it's often generated by ides, even eclipse did it in one of the versions. > -Ursprüngliche Nachricht- > Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 1. Juli 2005 21:19 > An: Struts Users Mailing List > Cc: Struts Users Mailing List > Betreff

Re: [OT]java bean question

2005-07-01 Thread Wendy Smoak
From: "Ashish Kulkarni" <[EMAIL PROTECTED]> > I have java bean where in there is one property as > below > private java.lang.String P813NAME ; > public void setP813NAME (java.lang.String P813NAME ) > { this.P813NAME = P813NAME; } > public java.lang.String getP813NAME () > { return this.P813NAME ;

Re: [OT]java bean question

2005-07-01 Thread Frank W. Zammetti
user@struts.apache.org > 07/01/2005 02:54 cc > PM > Subject >[OT]java bean question > Please res

Re: [OT]java bean question

2005-07-01 Thread BHansard
sers Mailing List" To user@struts.apache.org cc Subject [OT]java bean question Hello I have java bean where in there is one property as below private java.lang.String P813NAME ; public void setP813NAME (java.lang.String P813NAME ) { this.P813NAME = P813NAME; } public java.l

[OT]java bean question

2005-07-01 Thread Ashish Kulkarni
Hello I have java bean where in there is one property as below private java.lang.String P813NAME ; public void setP813NAME (java.lang.String P813NAME ) { this.P813NAME = P813NAME; } public java.lang.String getP813NAME () { return this.P813NAME ; } is this valid or not? if not why not and where i c

Re: form-bean question - help

2005-05-26 Thread croffman
Correct. Is the compress filter help anyway, to reduce problems? Croff - Original Message - From: "Larry Meadors" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 25, 2005 10:59 PM Subject: Re: form-bean question - help So, you hav

Re: form-bean question - help

2005-05-25 Thread Larry Meadors
So, you have a form bean with a total of ~300 properties? Yes, that could be a bit heavy in a high load environment. Larry On 5/25/05, croffman <[EMAIL PROTECTED]> wrote: > I have a form bean which has few form-bean properties (less than 10) each of > type customized class, which contains arou

form-bean question - help

2005-05-25 Thread croffman
I have a form bean which has few form-bean properties (less than 10) each of type customized class, which contains around 30 attributes. Does any one have any idea is there any impact on high volume testing? Your suggestions are helpful. Thanx in advance.