Hi Lev,

> along those lines, is there a way to add formatting to
> the 'title' within a <s:layout-render> tag? for example:
> 
> <s:layout-render name="/WEB-INF/jsp/common/layout_main.jsp"
>                  title="Matchups -- ${actionBean.date}">
> 
> is there a way for me add a formatPattern to
> ${actionBean.date} within the 'title'?
> 
> thank you for your time and help.

Yes, <c:set> is your friend here:

<c:set var="title">
  Matchups -- 
  <s:format value="${actionBean.date}" formatPattern="yyyy-MM-dd" />
</c:set>
<s:layout-render name="/WEB-INF/jsp/common/layout_main.jsp">
                 title="${title}">

Cheers,
Freddy

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to