Yeah, AFAIK, no one has tried to make this work with Facelets, so that could
be the problem.  Both the SiteMesh filter and Facelets require you specify a
view handler, so which one wins?

You're basically on the bleeding edge here, but don't let that stop you.  If
you can get this to code to work with Facelets - you'll be a here! Then
again, Facelets already supports a similar type of templating and
composition, so you may just get that working.  Here's a link to the AppFuse
project that was originally converted to Facelets w/o any SiteMesh
integration.

http://static.appfuse.org/downloads/appfuse-facelets.zip

Matt

On 3/2/07, sionsmith <[EMAIL PROTECTED]> wrote:


Matt followed the instructions from this link:
http://raibledesigns.com/rd/entry/sitemesh_works_with_jsf

changed the mapping and added the JSFPageParser to my project but still
get
the same problem if with a standard JSF tag. I'm using Appfuse 2 M3 with
Maven is there a chance i have the wrong versions? Any help advice would
be
very greatful! :)

Many Thanks Again



sionsmith wrote:
>
> Thanx for the quick awesome reply Matt! Much appreciate! I think i sorta
> get it now, hence why i could get any of those tags to work! lol. Think
> i'll try that jsf handler and see where i get with that - failing that i
> think i may ditch the Ajax menu and search around for another
collapsible
> menu solution which works with siteMesh - any ideas anyone?
>
> Thanks again Sion
>
>
> mraible wrote:
>>
>> SiteMesh isn't JSF Aware - so you can't really do this.  Someone wrote
>> a SiteMesh View Handler that will allow you to do this, but I don't
>> know if it works with Facelets.
>>
>> http://raibledesigns.com/rd/entry/sitemesh_works_with_jsf
>>
>> I'd recommend you use Facelets composition feature where you specify
>> the template to use at the top of each page.  It's not that pretty
>> IMO, but using it or Tiles are the only ones that are JSF-aware in the
>> base layout AFAIK.
>>
>> Matt
>>
>> On 3/2/07, sionsmith <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi everyone - hope some maybe able to shed some light on this. I'm
>>> trying to
>>> edit the default.jsp to use Exadel RichFaces ajax solution. (i.e.
>>> collapsible menu on the left which is Ajax based) however when i
simply
>>> add
>>> the following code in the default.jsp i get a:
>>>
>>> "UIComponentTag.setupResponseWriter(926) | Faces context not found.
>>> getResponseWriter will fail."
>>>
>>> i get this error if i add any jsf/core, jsf/html, ajax4jsf, or facelet
>>> tag.
>>> I guess i'm not meant to be placing these in the decorator file...
>>> RIGHT?
>>> What i'm i meant to be placing this code? I have created a separate
>>> .xhtml
>>> files for the menu using this example:
>>>
http://livedemo.exadel.com/richfaces-demo/products/vcp/panelMenu/index.jsf
>>> although i have no idea how to plug this into the existing appfuse
stuff
>>> :(
>>>
>>> Any ideas about how to go about this or information would be greatful
:)
>>>
>>> Many Thanks
>>>
>>> Sion (Matt Keep up the hard work!)
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Editing-default.jsp-tf3332942s2369.html#a9267623
>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>> --
>> http://raibledesigns.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/Editing-default.jsp-tf3332942s2369.html#a9270609
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

Reply via email to