Hello there! I have a simple question on Tiles usage, hope I get some
advice here.
I know this is not the best usage for it, but we have a kinda of
emergency here...

I have a list that is going to be iterated, and the bean inside it
will be checked, depending on a certain flag a tiles definition will
be used to display the content, kinda like this:

<logic:iterate name="someList" id="someBean'>
<logic:equal value="SIMPLE" name="someBean" property="displayType">
<tiles:insert definition="def.simple"/>
</logic:equal>
<logic:equal value="COMPLEX" name="someBean" property="displayType">
<tiles:insert definition="def.complex"/>
</logic:equal>
And the list goes on ...
</logic:iterate>

Now, inside my tiles I need to access someBean. But I'm not being able
to do so, I get an exception: Cannot find bean: "someBean" in any
scope

Is it possible to do such thing? If not, would be nice to hear some ideas.

Best Regards

--
IBM Certified SOA Solution Designer
IBM Database Associate - DB2 UDB V8.1 Family
Sun Certified Enterprise Architect (Part I)

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

Reply via email to