You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Youssef Mohammed <yo...@gmail.com> on 2004/11/17 11:50:32 UTC

Tiles or Sitemesh support ?

Any one here knows if there tiles and/or sitemesh integrated into J1 and J2

-- 
Regards, Youssef

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Tiles or Sitemesh support ?

Posted by Trey Drake <tr...@yahoo.com>.
I'm using tiles with the myfaces JSF implementation
atop J2.  It works without a hitch after a slight
modification to JspTileViewHandlerImpl. 

Modify JspTileViewHandlerImpl: 

  (ServletContext) externalContext.getContext() >> 
ServletContext servletContext =
((JetspeedPortletContext)
externalContext.getContext()).getServletContext();

Modify tiles-faces-config.xml so that it references
the above class; e.g., 

<application>
<view-handler>com.foo.Jetspeed'ifiedJspTilesViewHandlerImpl</view-handler>
</application>

trey
  

--- Youssef Mohammed <yo...@gmail.com>
wrote:

> Any one here knows if there tiles and/or sitemesh
> integrated into J1 and J2
> 
> -- 
> Regards, Youssef
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-dev-help@jakarta.apache.org
> 
> 




		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org