Trick question, Can I pass multiple values to setter getter methods??

2003-09-29 Thread Shah, Shrihas (OFT)
Hi: In my jsp if I have TDhtml:text property='topping(pepperoni)'//TD And in my form if I have public String getTopping(String t1) { return t1; } public void setTopping(String t1,String value) { } Then it works fine, but

Re: calling getter methods

2001-03-22 Thread Ken Beyer
Also, I found using the debug level (and adding my own debug messages where needed) to be useful in seeing when things are getting called. Ken "Craig R. McClanahan" wrote: On Wed, 21 Mar 2001, G.L. Grobe wrote: I can see that for a radio tag, the property is the name of the bean that was

Re: getter methods ...

2001-03-21 Thread Maya Muchnik
Hi, I think you need to change or property name to view or change getter/setter and other stuff. See below in red. Maya "G.L. Grobe" wrote: I'm new to struts and trying to get my index.jsp to show up, but instead I get the following error: 500 Internal Server Error

Re: calling getter methods

2001-03-21 Thread Craig R. McClanahan
On Wed, 21 Mar 2001, G.L. Grobe wrote: I can see that for a radio tag, the property is the name of the bean that was mapped in the struts-config.xml file. But how does the getter method in the action form bean actually get called, or how does the app know which getter method to use? I

RE: getter methods ...

2001-03-20 Thread Matthew O'Haire
Hi, I think the culprit is in your JSP.. html:radio property="View" value="Master View" The property names are case-sensitive. Try property="view".

Re: getter methods ...

2001-03-20 Thread G.L. Grobe
Thanxs, I thought it was supposed to be the same case as what was in the getter method. Thnxs again. - Original Message - From: "Matthew O'Haire" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 9:56 PM Subject: RE: getter methods ... Hi, I think t

Re: PropertyUtils handling multiple getter methods

2000-12-28 Thread Craig R. McClanahan
See below. Chandan Kulkarni wrote: I had a question about this part of PropertyUtils.java. public static PropertyDescriptor getPropertyDescriptor(Object bean, String name) snipped> PropertyDescriptor descriptors[] =

PropertyUtils handling multiple getter methods

2000-12-27 Thread Chandan Kulkarni
I had a question about this part of PropertyUtils.java. public static PropertyDescriptor getPropertyDescriptor(Object bean, String name) snipped PropertyDescriptor descriptors[] = getPropertyDescriptors(bean); if (descriptors