You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jason Vinson <vi...@mindspring.com> on 2003/03/03 15:02:11 UTC

Accessing a variable inside logic:iterate

I am attempting to access a variable from an ActionForm that is nested in a logic:iterate tag, and I am getting this error:

javax.servlet.jsp.JspException: Exception accessing property queueSelected for bean spgQueuesForm: java.lang.NoSuchMethodException: Unknown property 'queueSelected'

I am using the same tag earlier in the page with no problems.  Any Idea what restriction i may be overlooking?

<JSP>
<logic:iterate id="spgQueuesForm" name="spgQueuesForm" property="queueDataSet">
  <logic:notEqual name="spgQueuesForm" value="My Queue" property="queueSelected">
     <input type=checkbox name=name.<bean:write name="spgQueuesForm" property="objid"/> 
value=<bean:write name="spgQueuesForm" property="objid"/>>
   </logic:notEqual>
.
.
.

TIA,
Jason

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