> <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. >> >> > >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---