Joe:
Well, I implemented this entire concept without the parameters and
using the MappingDispatchAction too.
And , after all that I am ending up with the same dam problem.
It is only showing one of the <tiles:include when more than one should
show up.
This was the original problem when using <jsp:include

here is a snippet....


<logic:present name="basicInfoPDF">
<table><tr><td>
<a name="Basic Info"></a>
<tiles:insert page="/BasicInfoReport.do" flush="false" />
<pd4ml:page.break/></td></tr></table>
</logic:present>

<logic:present name="interestsPDF">
<table><tr><td>
<a name="Interests"></a>
<tiles:insert page="/InterestsReport.do" flush="false" />
<pd4ml:page.break/></td></tr></table>
</logic:present>

<logic:present name="referencesPDF">
<table><tr><td>
<a name="References"></a>
<tiles:insert page="/ReferencesReport.do" flush="false" />
<pd4ml:page.break/></td></tr></table>
</logic:present>


..................................

Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111 
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]


>>> Joe Germuska <[EMAIL PROTECTED]> 2/17/2005 3:46:56 PM >>>
At 10:30 PM +0000 2/17/05, Eric Lemle wrote:
>Tried
>
><tiles:insert page="/InterestsAction.do?dispatch=display"
flush="false"
>/>
>
>but nothing shows up.  Is this what you meant?
>
>So if I get the latest struts.. this might work?

You definitely can't pass parameters through a <tiles:insert> call; 
the end result of the insert tag is a call to 
requestDispatcher.include(...), which doesn't accept parameters.  If 
you need something like this, you should use the 
MappingDispatchAction, which allows you to use the Struts Config to 
specify a dispatch method instead of passing it as a request 
parameter.

Joe

-- 
Joe Germuska            
[EMAIL PROTECTED]  
http://blog.germuska.com    
"Narrow minds are weapons made for mass destruction"  -The Ex

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

Reply via email to