struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SUHAS G. KULKARNI" <suha...@ctd.hcltech.com>
Subject RE: Multibox Question
Date Tue, 28 Aug 2001 06:50:37 GMT

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:suhas_k@ctd.hcltech.com]
Sent: Tuesday, August 28, 2001 11:22 AM
To: struts-user@jakarta.apache.org
Subject: FW: Multibox Question


Still not clear why it works ? any one wants to clarify this !!!!!!
Suhas

-----Original Message-----
From: SUHAS G. KULKARNI [mailto:suhas_k@ctd.hcltech.com]
Sent: Monday, August 27, 2001 7:51 PM
To: struts-user@jakarta.apache.org
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


Mime
View raw message