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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] 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: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] 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: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Help needed with Indexed Tags, Contributor taglib by Dave Hays
hello, where r u , no mail i will finish all the formalities today - Original Message - From: Linnea Ahlbeck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] 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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] 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: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org