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 - 
      <html:multibox property="stringMultibox">
        String 0
      </html:multibox>

But if  I write      <html:multibox property="stringMultibox" /> 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

Reply via email to