struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <>
Subject Re: Problem with s:hidden
Date Sat, 26 Feb 2011 08:27:42 GMT
As far as I can remember every struts tag support dynamic attributes, hence,
even if you write foo="bar" there is any tag library violation.
With that said, it should be work.

Maurizio Cucchiara

Il giorno 25/feb/2011 23.17, "Frank Serkland" <> ha
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?

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

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message