Hi

I took a look at your ShaleNShark1 app. This is not doing what I am talking 
about. 

Lets take an example. You have a index.jsp that forwards to logon.jsf. This 
will then load logon.jsp which in turn insert a /logon tiles-definition.

In my (working) case I have a index.jsp that forwards to /jsp/home.jsf. With 
Myfaces&Tiles this will load a /jsp/home.tiles definition (this is how the 
Myfaces Tiles integration works: create definitions as xxx.tiles). See the 
difference?

Doing it your way, means having to create 2 jsp's: One containing the 
tiles:insert and one containing the content. Doing it my way, I have one 
template jsp for all pages and need only create the contentpage for each new 
page to display. 

When a request comes in, the JspTilesViewHandlerImpl will first see if there is 
any xxxx.tiles definition matching xxxx.jsf, and if so load that definition.

Hermod

-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 19. oktober 2005 15:59
Til: Struts Users Mailing List
Emne: Re: SV: SV: SV: [Shale] JspTilesViewHandlerImpl and Shale


<[EMAIL PROTECTED]> wrote on 10/19/2005 09:53:55 AM:

> Hi
> 
> Weird. I just took one of my working MyFaces/Tiles projects, and 
> introduced Shale/Clay/Spring configuration to it along with the 
> approprate .jar files. After that the tiles definitions stopped working.
> 
> I'll try to make myself a simple sample based on the shale usecases 
> and see if I can get that working.
> 
> Hermod

Hermod, when i first started working with tiles and shale I got a simple 
sample working. You can download it here:

http://www.sightsoftware.com/shale/

This was one of my very first attempts to get *anything* working with 
shale, so use at your own risk..:)

Geeta


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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

Reply via email to