You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Linnea Ahlbeck <li...@appium.com> on 2002/10/29 11:25:58 UTC
Help needed with Indexed Tags, Contributor taglib by Dave Hays
Hi!
I'm using the indexed tag lib written by Dave Hays.
On my jsp page I have the following code:
<logic:iterate id="mondayEvent" name="calendarForm"
property="mondayEventList">
<td class="input" width="30%"><html:text name="mondayEvent"
property="subject" indexed="true"/></td>
</logic:iterate>
In my formbean I have a the following getters:
public List getMondayEventList() {
return mondayEventList;
}
public CalendarEvent getMondayEvent(int index) {
return (CalendarEvent) mondayEventList.get(index);
}
In my CalendarEvent class I have the following getter:
public String getSubject() {
return subject;
}
Still, I get the following error message:
javax.servlet.ServletException: No getter method for property subject of
bean mondayEvent
The 'mondayEvent' is found correctly I guess but the subject getter can't be
reached.
Have anyone experienced the same problem?? Thankful for help!!
/Linnéa
________________________________________
Linnéa Ahlbeck - Software Engineer
phone +46 40 664 29 70
fax +46 40 30 32 62
mobile +46 708 96 14 56
Appium AB - Adelgatan 5, SE-211 22 Malmö, Sweden
www.appium.com
Re: Help needed with Indexed Tags, Contributor taglib by Dave Hays
Posted by deepank <de...@sasken.com>.
hello, where r u , no mail
i will finish all the formalities today
----- Original Message -----
From: "Linnea Ahlbeck" <li...@appium.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, October 29, 2002 6:48 PM
Subject: RE: Help needed with Indexed Tags, Contributor taglib by Dave Hays
> Hi!
>
> Thanks for your tip! Unfortunaltey it did not solve my problem.
> The line:
>
> <bean:define id="txtSubject" name="mondayEvent" property="subject"/>
>
> causes the same error as before:
>
> javax.servlet.ServletException: No getter method for property subject of
> > bean mondayEvent
>
> In the class the mondayEvent is an instance of - should there be anything
> else than a setter and a getter for the value I want to show on my jsp
page?
>
> Thanks!
>
> /Linnéa
>
> -----Original Message-----
> From: deepak [mailto:deepak@ltp.soft.net]
> Sent: Tuesday, October 29, 2002 12:48 PM
> To: Struts Users Mailing List
> Subject: Re: Help needed with Indexed Tags, Contributor taglib by Dave
> Hays
>
>
> Try doing this
>
> <logic:iterate id="mondayEvent" name="calendarForm"
> property="mondayEventList">
> <bean:define id="txtSubject" name="mondayEvent" property="subject"/>
> <td class="input" width="30%">
> <html:text property="txtSubject" indexed="true"/>
> </td>
> </logic:iterate>
>
>
> ----- Original Message -----
> From: "Linnea Ahlbeck" <li...@appium.com>
> To: "Struts-User@Jakarta.Apache.Org" <st...@jakarta.apache.org>
> Sent: Tuesday, October 29, 2002 3:55 PM
> Subject: Help needed with Indexed Tags, Contributor taglib by Dave Hays
>
>
> > Hi!
> >
> > I'm using the indexed tag lib written by Dave Hays.
> >
> > On my jsp page I have the following code:
> >
> > <logic:iterate id="mondayEvent" name="calendarForm"
> > property="mondayEventList">
> > <td class="input" width="30%"><html:text name="mondayEvent"
> > property="subject" indexed="true"/></td>
> > </logic:iterate>
> >
> >
> > In my formbean I have a the following getters:
> >
> > public List getMondayEventList() {
> > return mondayEventList;
> > }
> >
> > public CalendarEvent getMondayEvent(int index) {
> > return (CalendarEvent) mondayEventList.get(index);
> > }
> >
> > In my CalendarEvent class I have the following getter:
> >
> > public String getSubject() {
> > return subject;
> > }
> >
> >
> > Still, I get the following error message:
> >
> > javax.servlet.ServletException: No getter method for property subject of
> > bean mondayEvent
> >
> > The 'mondayEvent' is found correctly I guess but the subject getter
can't
> be
> > reached.
> > Have anyone experienced the same problem?? Thankful for help!!
> >
> > /Linnéa
> >
> >
> > ________________________________________
> > Linnéa Ahlbeck - Software Engineer
> > phone +46 40 664 29 70
> > fax +46 40 30 32 62
> > mobile +46 708 96 14 56
> >
> > Appium AB - Adelgatan 5, SE-211 22 Malmö, Sweden
> > www.appium.com
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Help needed with Indexed Tags, Contributor taglib by Dave Hays
Posted by Linnea Ahlbeck <li...@appium.com>.
Hi!
Thanks for your tip! Unfortunaltey it did not solve my problem.
The line:
<bean:define id="txtSubject" name="mondayEvent" property="subject"/>
causes the same error as before:
javax.servlet.ServletException: No getter method for property subject of
> bean mondayEvent
In the class the mondayEvent is an instance of - should there be anything
else than a setter and a getter for the value I want to show on my jsp page?
Thanks!
/Linnéa
-----Original Message-----
From: deepak [mailto:deepak@ltp.soft.net]
Sent: Tuesday, October 29, 2002 12:48 PM
To: Struts Users Mailing List
Subject: Re: Help needed with Indexed Tags, Contributor taglib by Dave
Hays
Try doing this
<logic:iterate id="mondayEvent" name="calendarForm"
property="mondayEventList">
<bean:define id="txtSubject" name="mondayEvent" property="subject"/>
<td class="input" width="30%">
<html:text property="txtSubject" indexed="true"/>
</td>
</logic:iterate>
----- Original Message -----
From: "Linnea Ahlbeck" <li...@appium.com>
To: "Struts-User@Jakarta.Apache.Org" <st...@jakarta.apache.org>
Sent: Tuesday, October 29, 2002 3:55 PM
Subject: Help needed with Indexed Tags, Contributor taglib by Dave Hays
> Hi!
>
> I'm using the indexed tag lib written by Dave Hays.
>
> On my jsp page I have the following code:
>
> <logic:iterate id="mondayEvent" name="calendarForm"
> property="mondayEventList">
> <td class="input" width="30%"><html:text name="mondayEvent"
> property="subject" indexed="true"/></td>
> </logic:iterate>
>
>
> In my formbean I have a the following getters:
>
> public List getMondayEventList() {
> return mondayEventList;
> }
>
> public CalendarEvent getMondayEvent(int index) {
> return (CalendarEvent) mondayEventList.get(index);
> }
>
> In my CalendarEvent class I have the following getter:
>
> public String getSubject() {
> return subject;
> }
>
>
> Still, I get the following error message:
>
> javax.servlet.ServletException: No getter method for property subject of
> bean mondayEvent
>
> The 'mondayEvent' is found correctly I guess but the subject getter can't
be
> reached.
> Have anyone experienced the same problem?? Thankful for help!!
>
> /Linnéa
>
>
> ________________________________________
> Linnéa Ahlbeck - Software Engineer
> phone +46 40 664 29 70
> fax +46 40 30 32 62
> mobile +46 708 96 14 56
>
> Appium AB - Adelgatan 5, SE-211 22 Malmö, Sweden
> www.appium.com
>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Help needed with Indexed Tags, Contributor taglib by Dave Hays
Posted by deepak <de...@ltp.soft.net>.
Try doing this
<logic:iterate id="mondayEvent" name="calendarForm"
property="mondayEventList">
<bean:define id="txtSubject" name="mondayEvent" property="subject"/>
<td class="input" width="30%">
<html:text property="txtSubject" indexed="true"/>
</td>
</logic:iterate>
----- Original Message -----
From: "Linnea Ahlbeck" <li...@appium.com>
To: "Struts-User@Jakarta.Apache.Org" <st...@jakarta.apache.org>
Sent: Tuesday, October 29, 2002 3:55 PM
Subject: Help needed with Indexed Tags, Contributor taglib by Dave Hays
> Hi!
>
> I'm using the indexed tag lib written by Dave Hays.
>
> On my jsp page I have the following code:
>
> <logic:iterate id="mondayEvent" name="calendarForm"
> property="mondayEventList">
> <td class="input" width="30%"><html:text name="mondayEvent"
> property="subject" indexed="true"/></td>
> </logic:iterate>
>
>
> In my formbean I have a the following getters:
>
> public List getMondayEventList() {
> return mondayEventList;
> }
>
> public CalendarEvent getMondayEvent(int index) {
> return (CalendarEvent) mondayEventList.get(index);
> }
>
> In my CalendarEvent class I have the following getter:
>
> public String getSubject() {
> return subject;
> }
>
>
> Still, I get the following error message:
>
> javax.servlet.ServletException: No getter method for property subject of
> bean mondayEvent
>
> The 'mondayEvent' is found correctly I guess but the subject getter can't
be
> reached.
> Have anyone experienced the same problem?? Thankful for help!!
>
> /Linnéa
>
>
> ________________________________________
> Linnéa Ahlbeck - Software Engineer
> phone +46 40 664 29 70
> fax +46 40 30 32 62
> mobile +46 708 96 14 56
>
> Appium AB - Adelgatan 5, SE-211 22 Malmö, Sweden
> www.appium.com
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>