On Thu, Mar 01, 2001 at 10:37:29AM -0500, Mike Bell wrote:
> Hello,
> Is there a way to pass a bean property to a template:put content?
> I've tried using a <bean:write...> in the content parameter but it just
> passes it straight through (with or without direct set).
> I've also tried:
> 
> <bean:define id="xyz" name="theForm" property="theProperty"/>
> <template:insert template='/corePageHeader.jsp'>
>   <template:put name="title" content='xyz' />
> </template:insert>
>
The current template implementation let's you non-empty template:put
(like exput and it should work:

<bean:define id="xyz" name="theForm" property="theProperty"/>
<template:insert template='/corePageHeader.jsp'>
  <template:put name="title">
    <bean:write name="xyz" />
  </template:put>
</template:insert>
                                                     incze

Reply via email to