You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ho...@hackhofer.at on 2001/09/25 17:32:38 UTC

templates

Hi,

is it possible to use an template parameter as a parameter of a struts-tag ?
for example, something like this:

jsp:
 <template:insert template="thetemplate.jsp">
  <template:put name="name" content="Mike" direct="true" />
 </template:insert>
template.jsp:

<html:form action="somethingto.do" >
 Name: <html:text property="name" value="<template:get name="name" />"/>
</html:form>

thanks,
horst