Hi Chris,
Thank for your reply, but this doesn't solve my problem. The parameters
to my layout is the name of the field like, <stripes:layout-render
name="mylayout.jsp" value="customer.description" readonly="true" />
The layout need to work for any text field I send as a parameter, not
just customer.description. Is this possible?
/Roland
Chris Herron wrote:
> Roland,
>
> The ActionBean is available to you as a regular request attribute. In a
> plain EL reference, you can use "actionBean" to access it:
>
> <c:when test="${readonly == true}">
> ${actionBean.customer.description}
> </c:when>
> <c:otherwise>
> <stripes:text name="${customer.description}" />
> </c:otherwise>
>
> On Jun 13, 2008, at 8:59 AM, Roland Bali wrote:
>
>> <c:when test="${readonly == true}">
>> ${value}
>> </c:when>
>> <c:otherwise>
>> <stripes:text name="${value}" />
>> </c:otherwise>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users