Re: No getter method for property: "productName" of bean: "product"

2009-10-19 Thread Alessio Mereu
According the code You've posted in your first email (and trimming off not relevant parts): public final class Product extends SourceControlObject { > > > > public static synchronized ArrayList getProducts(Env env) throws > Exception { >*ArrayList* nodes = new ArrayList(); >

Re: No getter method for property: "productName" of bean: "product"

2009-10-19 Thread Hanen Ben Rhouma
Hello, @Alessio: I don't think so. Actually, I'm using ArrayList in my form so it's assumed that it would contain any Object (no restriction there) so when I fill it with Product It can cast it (well, that's what I think at least). @Marco: I'll try that maybe it's one reason Thanks a lot for al

Re: No getter method for property: "productName" of bean: "product"

2009-10-19 Thread Alessio Mereu
Product.getProducts(Env ) returns an ArrayList not an ArrayList as U're supposing according your jsp. So that the iteration is made over a list of Strings and Strings has no property nor getters for ProductName Is it correct? Alessio 2009/10/19 mlivro79 > > Hi, > > i think that if you call

Re: No getter method for property: "productName" of bean: "product"

2009-10-19 Thread mlivro79
Hi, i think that if you call property productname the getter should be getProductname() and not getProductName(). Is it correct? Bye, Marco Hanen Ben Rhouma wrote: > > Hello, > > Please I have a problem to which I'm stuck since this morning: I am trying > to render the product list in a

Re: "No getter method for property foo of bean bar" --really?

2008-02-23 Thread mfrancillon
newton.dave wrote: > > > If it were me I'd try running under a different JVM first, because it's > easy, > I see the same behavior under java 5 on OS X. > it's still an unknown (to me), etc. It surprises me a little that the > weird > behavior is on both Win and OSX. If you can isolate the

Re: "No getter method for property foo of bean bar" --really?

2008-02-23 Thread Dave Newton
--- mfrancillon <[EMAIL PROTECTED]> wrote: > newton.dave wrote: > > Have you tested under a different JVM version? Are the libraries on the > > classpath (both your apps and Tomcat's) precisely identical across > > environments? > The VM that I've used is (some sub-version of) 1.4.2 in all cases.

Re: "No getter method for property foo of bean bar" --really?

2008-02-23 Thread mfrancillon
newton.dave wrote: > > Have you tested under a different JVM version? Are the libraries on the > classpath (both your apps and Tomcat's) precisely identical across > environments? > The VM that I've used is (some sub-version of) 1.4.2 in all cases. The libraries on the app's classpath are pr

Re: "No getter method for property foo of bean bar" --really?

2008-02-23 Thread Dave Newton
Have you tested under a different JVM version? Are the libraries on the classpath (both your apps and Tomcat's) precisely identical across environments? Dave --- Mark Francillon <[EMAIL PROTECTED]> wrote: > Hi, > > I'm gnashing my teeth over the following, and solicit help. > > I'm involved in

Re: No getter method for property

2007-01-31 Thread Martin Gainty
Augustin are you perhaps working with a collection where you need to specify an index? Saludos Cordiales desde EEUU M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or ent

Re: No getter method for property

2007-01-31 Thread Laurie Harper
Original Message - From: "Taras Puchko" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 4:36 PM Subject: Re: No getter method for property > You've got String getNombre() but it should return an array of Stringsand

Re: No getter method for property

2007-01-31 Thread Taras Puchko
- Mantenimiento J2EE - Treelogic Tel: 985 73 27 32 Edificio Centroastur, 2ª planta Polígono SIA Copper 33420, Lugones - Asturias - España - Original Message - From: "Taras Puchko" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednes

Re: No getter method for property

2007-01-31 Thread Agustín
astur, 2ª planta Polígono SIA Copper 33420, Lugones - Asturias - España - Original Message - From: "Taras Puchko" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 4:36 PM Subject: Re: No getter method for property You&#

Re: No getter method for property

2007-01-31 Thread Taras Puchko
astur, 2ª planta Polígono SIA Copper 33420, Lugones - Asturias - España - Original Message - From: "Taras Puchko" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 2:47 PM Subject: Re: No getter method for property > Hi, > I

Re: No getter method for property

2007-01-31 Thread Agustín
: "Taras Puchko" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 2:47 PM Subject: Re: No getter method for property Hi, I think Struts is confused to see a simple and an indexed propertywith the same name. If you have an indexed pr

Re: [OT] Re: No getter method for property

2007-01-31 Thread Agustín
73 27 32 Edificio Centroastur, 2ª planta Polígono SIA Copper 33420, Lugones - Asturias - España - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 2:46 PM Subject: [OT] Re: No

Re: No getter method for property

2007-01-31 Thread Taras Puchko
opper 33420, Lugones - Asturias - España - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 1:14 PM Subject: Re: No getter method for property > --- Agustín <[EMAIL PROTECTED]> w

[OT] Re: No getter method for property

2007-01-31 Thread Dave Newton
--- Agustín <[EMAIL PROTECTED]> wrote: > If I only have two methods the application runs > perfectly: > > getNombre() > setNombre(String) That makes sense. > I don't know why the application runs on one server > (on localhost) and not runs on other server (on other > host). Are they the same se

Re: No getter method for property

2007-01-31 Thread Agustín
t;[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 1:14 PM Subject: Re: No getter method for property --- Agustín <[EMAIL PROTECTED]> wrote: I have the get and set method fot the property nombre, but I have more than one method. I have:

Re: No getter method for property

2007-01-31 Thread Dave Newton
--- Agustín <[EMAIL PROTECTED]> wrote: > I have the get and set method fot the property > nombre, but I have more than one method. I have: > > getNombre() > getNombre(int) > setNombre() > setNombre(int) I'm not sure that this is a legal JavaBean; does it work if you remove one set of accessors? (

Re: No getter method for property

2007-01-31 Thread Agustín
Yes, I'm sure. When I deploy the application in other server the application runs perfectly, but when I deploy it in local I see this error. Agustín González García - Mantenimiento J2EE - Treelogic Tel: 985 73 27 32 Edificio Centroastur, 2ª planta Polígono S

Re: No getter method for property

2006-08-15 Thread Daoud Abdelmonem Faleh
Hello, Thx Richerd you've pointed the right problem. Infact am using JBuilder and it caches the compiled pakages. Now it's working as expected! thank you all folks that replayed. On 8/15/06, Richard Yee <[EMAIL PROTECTED]> wrote: Make sure you don't have any old versions of your form bean in you

Re: No getter method for property

2006-08-15 Thread Richard Yee
Make sure you don't have any old versions of your form bean in your classpath or in old jar files from previous builds. From what you have sent, things look correct and it should work. What tool are you using to build? Are you using JDeveloper? -Richard Daoud Abdelmonem Faleh wrote: Hello f

Re: No getter method for property

2006-08-15 Thread Puneet Lakhina
On 8/14/06, Daoud Abdelmonem Faleh <[EMAIL PROTECTED]> wrote: Hello folks, I use struts 1.2.9 and deploy to oc4j 10.1.3 My struts-config.xml containes: ... ... ... PersonneEtrangereDetails.jsp has: public class EditPersonneEtrangereF

Re: No getter method for property

2006-08-14 Thread Srinivas_Biragoni
I think you are missing Thanks, Srinivas. "Daoud Abdelmonem Faleh"

Re: No getter Method for property

2004-05-24 Thread Irfandhy Franciscus
For me this is what I usually do: JSP: <% System.our.println("the current status in the loop is = " + currStatus); %> Basically i jsut define a bean currStatus that represents the current status, from the array list. Hope this help, -inoel- Satish Satish wrote: Hi, I have tried a lot of stuff

Re: No getter Method for property

2004-05-18 Thread Nicholas L Mohler
Satish, The problen occurs because of the "indexed" getter/setter. if you change the name from getStatus(int Index) to getOneStatus(int index) (or some different name that you like). The problem will be resolved. The indexed getter is used by Struts when your form is submitted. Nick

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread Daniel H A Lima
Assure the type of the object inside the searched contexts. Don't you have differents attributes (with distincts classes) in each context: A bean in page scope, a different one in request scope, another in session scope, and so on ? Try to use scope attribute when using ... --- [EMAIL PROTECTED]

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread JavaSoft
After i checked the taglib class i found this: ** START // Call the indexed getter method if there is one if (descriptor instanceof IndexedPropertyDescriptor) { Method readMethod =((IndexedPropertyDescriptor) descriptor). getIndexedReadMethod(); if (readMethod != null)

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread xucheng
cc: Subject: Re: No getter method for property p of bean b - getP is public in b's super 04/22/2004 06:

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread JavaSoft
> .com>cc: > > > > Subject: Re: No getter method for property p of > bean

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread xucheng
Hi Daniel - I am sure I am using the latest classes. Also I have tested what you suggested. If I only put in getDealNumber <%=b.getDealNumber%> I can see the property value displayed properly. But if I use bean:write, then the same error happens. To JavaSoft - I changed all attributes to protec

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread Daniel Henrique Alves Lima
Are you sure that you using the up-to-date version of your class ? Maybe a misspelled method name or attribute name ? Try to make this test (in your .jsp): <% B b = new B(); %> getDealNumber <%=b.getDealNumber%> <% pageContext.setAttribute("currTxn",b, PageContext.REQUEST_SCOPE); %> getDea

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread xucheng
TECTED]> .com>cc: Subject: Re: No getter method for property p of bean b - getP is public in b's super

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread JavaSoft
private attribute doesnt inherit to any child. Use protected or higher level. --- [EMAIL PROTECTED] wrote: > I have a bean class B, whose super class is A. > dealNumber is defined as private String in A, and it > has the following > getter/setter > public String getDealNumber() { > return