RE: Multibox Question
I was looking into wrong file org.apache.struts.taglib.MultiBoxTag.java Instead of org.apache.struts.taglib.html.MultiBoxTag.java where " value" is checked if it is set in the jsp if not then uses the body content of the multibox tag -Original Message- From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 11:22 AM To: [EMAIL PROTECTED] Subject: FW: Multibox Question Still not clear why it works ? any one wants to clarify this !! Suhas -Original Message- From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 7:51 PM To: [EMAIL PROTECTED] Subject: Multibox Question The below code works - String 0 But if I write does not work I get javax.servlet.ServletException: You must specify the value attribute or nested tag content I checked the struts-html.tld file for the syntax which shows "property" is the only required attribute . Then why is it asked for another attribute called "value " Let me know where I'm doing mistake ? Thanks Suhas
FW: Multibox Question
Still not clear why it works ? any one wants to clarify this !! Suhas -Original Message- From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 7:51 PM To: [EMAIL PROTECTED] Subject: Multibox Question The below code works - String 0 But if I write does not work I get javax.servlet.ServletException: You must specify the value attribute or nested tag content I checked the struts-html.tld file for the syntax which shows "property" is the only required attribute . Then why is it asked for another attribute called "value " Let me know where I'm doing mistake ? Thanks Suhas
FW: Multibox Question
Again String 0 This code is generating I did not understand where is ** value="String 0" ** is coming from ?? The code in the Multibox.java looks something like this results.append(" value=\""); results.append(this.value); Let me know the reason Suhas -Original Message- From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 7:51 PM To: [EMAIL PROTECTED] Subject: Multibox Question The below code works - String 0 But if I write does not work I get javax.servlet.ServletException: You must specify the value attribute or nested tag content I checked the struts-html.tld file for the syntax which shows "property" is the only required attribute . Then why is it asked for another attribute called "value " Let me know where I'm doing mistake ? Thanks Suhas
Multibox Question
The below code works - String 0 But if I write does not work I get javax.servlet.ServletException: You must specify the value attribute or nested tag content I checked the struts-html.tld file for the syntax which shows "property" is the only required attribute . Then why is it asked for another attribute called "value " Let me know where I'm doing mistake ? Thanks Suhas
multibox question
Hi all Struts newbie here. I was wondering if someone could help me out with multibox. Here's a code snippet from my jsp file: When I try to access this, I get the following error: javax.servlet.ServletException: No getter method available for property isSubscribed for bean under name org.apache.struts.taglib.html.BEAN I have tried making a JavaBean that has a getter for getIsSubscribed. I have the jsp:useBean tag for it higher in the page - it looks like this: My bean is only setting a single value for now, I realize I'll need an array eventually. I've tested the boolean value in the multibox tag, it's returning what I want it to. Does anyone see what I'm doing wrong? Thanks in advance! Becky _ Get your FREE download of MSN Explorer at http://explorer.msn.com