Hi

So, short answer: NO :)

Hermod

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 25, 2006 2:47 PM
To: Struts Developers List
Subject: Re: [Shale] Full HTML Clay and JSPs


>From: <[EMAIL PROTECTED]> 
>
> Hi 
> 
> Before diving off on the deep end: Can one mix full HTML Clay and jsp's? 
> Reson 
> for asking is if I somehowe am unable to do a fullt HTML version of a 
> component 
> and do not want to do the decorator hack. 
> 

Yes you can but it requires a Shale preprocess filter command  that interecpts 
the view id before it's normalized.  You can include a Clay html template in a 
JSP or a html template from another html template or a html template from a 
full xml template but not a jsp from a full html or xml template.  I have not 
figured out how to make this work across JSF run times yet.

/WEB-INF/chain-config.xml
<!-- This command is only needed for full clay html views  -->
<command className="org.apache.shale.clay.faces.ClayViewHandlerCommand" />

> Hermod 
> 

Gary

> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> 
> 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] 
> 

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

Reply via email to