Hi all,
  I want to display a user 'age' if it is not empty. I've tried the
following code but it gives the exception :

javax.servlet.ServletException: You must specify the value attribute or
nested tag content

What could be the reason for this?

The code is:

      <logic:iterate id="user" name="resList">
        <tr>
          <td class="commonFont">
            <html:multibox property="selectedUser">
              <bean:write name="user" property="userName"/>
              
              <logic:notEmpty name="user" property="age">
                 <bean:write name="user" property="age"/>
              </logic:notEmpty>
            </html:multibox>
          </td>
          <td class="standard">
            <bean:write name="user" property="userName"/>/
            <bean:write name="user" property="age"/>
          </td>
        </tr>
      </logic:iterate>



Regards,
Vinod

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

Reply via email to