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();
>
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
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
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
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
--- 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.
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
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
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
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
-
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
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
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
: "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
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
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
--- 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
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:
--- 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? (
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
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
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
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
I think you are missing
Thanks,
Srinivas.
"Daoud Abdelmonem
Faleh"
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
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
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]
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)
cc:
Subject: Re: No getter method for
property p of bean b - getP is public in b's super
04/22/2004 06:
> .com>cc:
>
>
>
> Subject: Re: No getter method for property p of
> bean
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
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
TECTED]>
.com>cc:
Subject: Re: No getter method for
property p of bean b - getP is public in b's super
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
34 matches
Mail list logo