Hey Marco, 
I just sat down and tried this in 10g, with a page like this:

<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Binding Test</title>
</head>
<body>
  <tiles:insert page="layout.jsp" flush="true">
    <tiles:put name="header" value="/db.do"/>
    <tiles:put name="content" value="/db1.do"/>
    <tiles:put name="footer" value="footer.jsp"/>
  </tiles:insert>
</body>
</html>

Where db.do and db1.do are both DataActions servicing different JSPs - It all worked 
fine, with the correct table data being merged into the page.  
What does not work for you? do you get an error, have you set up the Tiles Plug-in in 
your struts-config?

Regards

Duncan Mills
----- Original Message ----- 
From: Marco Rossi 
To: Struts Users Mailing List 
Sent: Thursday, October 16, 2003 10:06 AM
Subject: Re: struts include


Yes, I use ADF bindings to create the menu and to create the "body-page". In practice 
I have to include two DataAction in the same jsp page.
Have you any suggestion?

Thanks,
Marco

> Da: "Duncan Mills" <[EMAIL PROTECTED]>
> Data: Thu, 16 Oct 2003 09:58:13 +0100
> A: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Oggetto: Re: struts include
>
> Marco - are you using ADF bindings on the Tile to create the menu? Is this where the 
> problem lies...
> 
> Regards
> 
> Duncan Mills
> ----- Original Message ----- 
> From: Marco Rossi 
> To: Struts Users Mailing List 
> Sent: Thursday, October 16, 2003 9:33 AM
> Subject: Re: struts include
> 
> 
> Tiles is the only solution? If you want create a web application, with a dynamic 
> menu (the user sees the menu item based on its permission written on db) without 
> frames you have to use Tiles? My problem is that I have to use JDeveloper 10g, and 
> the integration with Tiles seems not very good ....
> 
> Marco
> 
> > Da: Dirk Markert <[EMAIL PROTECTED]>
> > Data: Thu, 16 Oct 2003 10:10:53 +0200
> > A: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Oggetto: Re: struts include
> >
> > Hello Marco,
> > 
> >   have a look at tiles.
> > 
> > ***************************************************************
> > 
> > MR> Hi, 
> > MR> I want to create a single jsp page with more "dynamic" include inside. 
> > Something like 
> > MR> <html>
> > MR> ... 
> > MR> .....
> > MR> <jsp:include page="myAction1.do"/>
> > MR> .. 
> > MR> ... 
> > MR> <jsp:include page="myAction2.do"/>
> > MR> </html>
> > 
> > MR> but with jsp tsg it doesn't work.
> > MR> How can i do?
> > 
> > MR> Thanks
> > 
> > 
> > 
> > MR> ---------------------------------------------------------------------
> > MR> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > MR> For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> > Regards,
> > Dirk
> > 
> > +------- Quality leads ---------------------------------------+
> > | Dirk Markert                     [EMAIL PROTECTED] |
> > | Dr. Markert Softwaretechnik AG                              |
> > | Joseph-von-Fraunhofer-Str. 20                               |
> > | 44227 Dortmund                                              |
> > +---------------------------------->>>>>>> to success! <<<<<<-+ 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to