struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shashi_struts" <shashipahw...@hotmail.com>
Subject Re: html:multibox and bean:write
Date Mon, 03 Mar 2003 04:57:27 GMT
hi
i tried this but this gives a error that the getKey() method not found.
In my code styleData is hashtable and i tried to put a key value in the
checkbox value.

Please help me to find out the solution


----- Original Message -----
From: "Sri Sankaran" <Sri.Sankaran@sas.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Friday, February 28, 2003 9:50 PM
Subject: RE: html:multibox and bean:write


You cannot emded a tag inside another tag.  You can achieve what you are
trying as follows

  value="<%=styleData.getKey()%>"

Sri

-----Original Message-----
From: shashi_struts [mailto:shashipahwa79@hotmail.com]
Sent: Friday, February 28, 2003 7:23 AM
To: Struts Users Mailing List
Subject: html:multibox and bean:write


hi

hi i am using multibox and in the value i want a data comes from the
logic:iterate and write through the bean:write

but it gives a problem
 <logic:iterate id="styleData" name="style" property="styleData"
indexId="index">
     <tr>
        <td valign="middle" width="83">
              <html:multibox name="style" property="styleID" value=
"<bean:write name="styleData" property="key"/>"/>
      </td>
       <td width="167"> <br>
            <bean:write name="styleData" property="value"/></td>
              </tr>
    </logic:iterate>
---------

this is my code
please consider this and help me

Shashi


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message