You can't put jsp tag as value of another jsp tag attribute. But there is a
solution.
  Try
  <template:put name='addbutton' >
       <mytag:button prodid="001"/>
   </template:put>

  Cedric



Michael Stacey wrote:

> Is it possible to somehow use a custom JSP tag as content in a page template?
>
> For example, in a template:
>
> <table  border="1" cellspacing="0" cellpadding="0" width="610">
>     <tr>
>        <td><template:get name='image'/></td>
>        <td><template:get name='prodinfo'/></td>
>     </tr>
>     <tr><td colspan="2"><template:get name='marketingcontent'/></td></tr>
>     <tr><td colspan="2" align='center'><template:get
> name='addbutton'/></td></tr>
>
> </table>
>
> The, in a page using the template:
>
> <template:put name='marketingcontent' content='/foo.html'/>
>
> I can't seem to get it to work...
>
> -- Michael
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to