I have the following form in my JSP.  The hidden field in this form,
which I have verified with the documentation as having correct syntax
as far as Struts 2 goes, is being marked by Eclipse with this error
message: "Invalid attribute (value)."  Can anybody help me with this?
Thanks.

<c:forEach var="bulletins" items="${bulletins}">
        <c:if test="${bulletins.approved == false}">
                <s:form action="ApproveBulletin" method="post">
                        <table>
                                <tr>
                                        <td colspan="2"><b>From:</b> <c:out 
value="${bulletins.name}" /></td>
                                </tr>
                                <tr>
                                        <td colspan="2"><b>Subject:</b> <c:out 
value="${bulletins.subject}" /></td>
                                </tr>
                                <tr>
                                        <td colspan="2"><b>Date:</b> <c:out 
value="${bulletins.date}" /> <br>
                                        </td>
                                </tr>
                                <tr>
                                        <td colspan="2"><c:out 
value="${bulletins.note}" />
<!-- Error here -->                     <s:hidden name="id" 
value="${bulletins.id}" /></td>
                                </tr>
                                <tr>
                                        <td><s:submit type="button" 
value="approve" label="Approve"
                                                action="ApproveBuletin" /></td>
                                        <td><s:submit type="button" 
value="deny" label="Deny"
                                                action="DenyBulletin" /></td>
                                </tr>
                        </table>
                        <br />
                </s:form>
        </c:if>
</c:forEach>

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

Reply via email to