Hi,

I'm sure someone has an easy answer to this.  I'm using the 
<logic:iterate> tag, and depending on the value of an attribute of one 
of the beans the iterate returns (i.e. the value of an attribute of one 
of the objects in the collection I'm iterating through), I want to do 
something.  The code snippet...

-------------------------------------------
<logic:iterate id="app" name="user" property="applications">
        <image src="blank.gif" width="10" height="1">
        
        <logic:equal name="app" property="populated" scope="request" 
value="true">
                [populated]
        </logic:equal>

        <bean:write name="app" property="name" filter="true"/><br>
        <logic:iterate id="prodList" name="app" property="productLists">
                <image src="blank.gif" width="30" height="1">
                <bean:write name="prodList" property="name" filter="true"/>
                <logic:iterate id="prod" name="prodList" property="products">
                        <image src="blank.gif" width="50" height="1">
                        <bean:write name="prod" property="name" filter="true"/>
                </logic:iterate>
        </logic:iterate>
</logic:iterate>
-------------------------------------------

The code above returns:
        javax.servlet.ServletException: No bean found under attribute key app
at request time.  Any ideas?

Regards,

   Ric Searle
   Web Application Developer
   --
   Dialogue Communications Ltd

   http://www.dialogue.co.uk
   +44 (0) 114 221 0307


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to