Hi,
I'm trying to standardize my UI by using layouts as much as possible.
This include using "sub-layouts" (layouts calling outher layouts). What
I would like to do is "forward" some attributes to the sublayout, is
this possible? Or do I have to include every possible attribute that can
be sent to, for example, stripes:text?
Example, I would like the attribute foo to be "forwarded" to the
text.jsp-layout:
mypage.jsp:
<stripes:layout-render name="fieldItem.jsp" property="${property}"
type="text" foo="bar" />
fieldItem.jsp:
<stripes:layout-definition>
<c:if test="${type == 'text'}">
<stripes:layout-render name="text.jsp" property="${property}" />
</c:if>
</stripes:layout-definition>
text.jsp:
<stripes:layout-definition>
<stripes:text name="${property}" foo="${foo}"/>
</stripes:layout-definition>
Kind regards,
Roland
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users