You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by shashi_struts <sh...@hotmail.com> on 2003/03/03 05:57:27 UTC

Re: html:multibox and bean:write

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" <Sr...@sas.com>
To: "Struts Users Mailing List" <st...@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