BaTien,

here is an updated MyFaces Tiles sample:
http://www.apache.org/~matzew/myfaces-tiles-example.war

It includes some <h:commandLink/>(with action) and one
<h;commandButton/> with action AND <f:actionListener/>

It is working for me. Perhaps you give it a try.

Btw. to the logfile you sent, I saw net.sourceforge.***
packages there. Could you please try the myfaces.jar
from the sample? It contains apache_packages;
It includes also the JSF_API and all extentions
from MyFaces

Thanks,
Matthias

> Matthias:
> 
> Could you please put <h:commandButton> or <h:commandLink> with 
> actionListener and action attributes in header.jsp (or 
> menu.jsp) of the 
> template layout and in page1.jsp of page1.tiles and see if 
> the commands 
> under the inserted page1.jsp properly picks up the action attribute.
> 
> Thanks. This is the minimum solution i need to get page1.tiles as a 
> portal page. Any suggestion to make jsf UI working throughout 
> page1.tiles?
> 
> BaTien
> DBGROUPS
> 
> >
> >  
> >
> >>-----Original Message-----
> >>From: Sean Schofield [mailto:[EMAIL PROTECTED]
> >>Sent: Tuesday, December 21, 2004 4:12 PM
> >>To: MyFaces Discussion
> >>Subject: Question about JspTilesViewHandlerImpl
> >>
> >>
> >>So far I've had some success using JspTilesViewHandlerImpl
> >>but I think I might be running into a problem.  I'd like to 
> >>use a series of "nested" tiles.  See my sample 
> >>tiles-defnitions.xml below ...
> >>
> >>  <definition name="simple.view"
> >>path="/jsp/layouts/simple-layout.jsp">
> >>    <put name="header" value="/jsp/header.jsp" />
> >>    <put name="status" value="/jsp/version.jsp" />
> >>    <put name="main" value="document.view" />
> >>  </definition>
> >>
> >>  <definition name="document.view"
> >>path="/jsp/layouts/document-layout.jsp">
> >>    <put name="summarySection" 
> >>value="/jsp/sections/summary-section.jsp" />
> >>    <put name="detailSection" 
> >>value="/jsp/sections/detail-section.jsp" />
> >>  </definition>
> >>
> >>Basically, the "main" section of my one tile refers to another tile.
> >>I'm having problems getting this working.  Should this be 
> >>possible with JspTilesViewHandlerImpl?  Does is matter if the 
> >>pages contained in the secondary view contain faces tags or not?
> >>
> >>Thanks,
> >>sean
> >>
> >>    
> >>
> >
> >.
> >
> >  
> >
> 

Reply via email to