Please provide a complete example including how you're invoking the Snippet,
the body that's passed to the snippet and the specific attribute you're
looking for.

On Tue, Sep 2, 2008 at 10:03 AM, Daniel Green <[EMAIL PROTECTED]> wrote:

>
> > <foo:bar size="3"/> \ "@size"
> >
> Understood. However, I was wondering about how I could get a hold of
> the size attribute when binding.
>
> On Tue, Sep 2, 2008 at 12:58 PM, David Pollak <[EMAIL PROTECTED]> wrote:
> >
> > <foo:bar size="3"/> \ "@size"
> >
> > Daniel Green wrote:
> >> When binding names to NodeSeq, is there a way to get a hold of the
> >> attributes of the node being rendered?
> >>
> >> For example, say I have
> >>
> >> <foo:bar size="3"/>
> >>
> >> how would I retrieve the size of bar?
> >>
> >>  bind("foo", <foo:bar size="3"/>, "bar" -> ....)
> >>
> >> I know you can get a NodeSeq of its children if you provide a
> >> (NodeSeq) => NodeSeq, but that seems to only contain its children. How
> >> would I get a hold of the parent? This would be useful in widget
> >> making/use.
> >>
> >> >
> >>
> >
> >
> > >
> >
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
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