On Mon, Oct 26, 2009 at 9:52 AM, Jeppe Nejsum Madsen <[email protected]>wrote:

>
> David Pollak <[email protected]> writes:
>
> > The ajax rendering is not done in the same SiteMap context as the full
> page
> > request, so the page-specific snippets are not being accessed.  This is
> an
> > interesting problem and deserves a ticket.  I'll capture the current
> custom
> > snippet context when ajax requests for a given page are executed.
>
> Do you want me to create a ticket or?
>

Yes.


>
> Is there a workaround for this (or perhaps a better way to solve the
> problem :-)
>

If I understand your issue, the best thing to do is capture the special
snippet state in ajax requests.


>
> I guess I can always extract the body of the snippet into a method and
> just invoke this from the ajax call as well as the snippet......
>

You won't be the first person to experience this.


>
> /Jeppe
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to