Hi,

 Have you tried:

<tiles:insert path="/WEB-INF/customer/form/CurrentCustomerSummaryForm.jsp" flush="true">
 <tiles:put name="actionTarget"  value="/papChangeCurrentCustomer.do" />
</tiles:insert>

And in the inserted jsp:
<tiles:useAttribute name="actionTarget" />

 In the inserted jsp (here CurrentCustomerSummaryForm.jsp), the tiles attribute is originally in the tiles context. You can import it in any jsp context with <importAttribute>, or declare it as a java variable (<useAttribute>).

 Hope this help,
       Cedric



[EMAIL PROTECTED] wrote:

Greetings:
I am in the early stages of converting some of my page to use tiles
framework.

I am hoping that the conversion will go smooth as many of my pages
are build with reusable includes,
however I have the several jsp:include files that depend on an input
parameter.
I have checked the archives and documentation but could not find a
direct answer.

Question:
How can I replace this call:
<jsp:include page
="/WEB-INF/customer/form/CurrentCustomerSummaryForm.jsp" flush="true">
<jsp:param name="actionTarget" value
="/papChangeCurrentCustomer.do" />
</jsp:include>

with something like this:
<tiles:put name="summaryForm" value
="/WEB-INF/customer/form/CurrentCustomerSummaryForm.jsp" />

How can I ensure that the parameter: <jsp:param name="actionTarget"
value="/papChangeCurrentCustomer.do" />
is found the included file?



** I have tried <tiles:useAttribute .. it works in my main layout page but
not the include.

Any help would be appreciated

Thanks.


--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to