And thank you for your infinite patience and help. I greatly
appreciate it. I apologize for my poorly worded questions. I have
trouble expressing myself at times in these matters.
On Thu, Sep 4, 2008 at 7:14 PM, Daniel Green <[EMAIL PROTECTED]> wrote:
>> S.attr("columns") = Full("2")
>>
>> When a
> S.attr("columns") = Full("2")
>
> When a Snippet is invoked, the attributes of the tag are made
> available in S.attr()
>
Two major questions of mine are finally solved :-). I'm off to make widgets!
On Thu, Sep 4, 2008 at 6:53 PM, David Pollak <[EMAIL PROTECTED]> wrote:
> S.attr("columns") = F
S.attr("columns") = Full("2")
When a Snippet is invoked, the attributes of the tag are made
available in S.attr()
Daniel Green wrote:
>> Because Elem is a subclass of NodeSeq, NodeSeq => NodeSeq and Elem =>
>> NodeSeq mean the same thing.
>>
>>
> This is at the heart of my misunderstanding
> Because Elem is a subclass of NodeSeq, NodeSeq => NodeSeq and Elem =>
> NodeSeq mean the same thing.
>
This is at the heart of my misunderstanding. I had wrongfully assumed
that the function was being passed a sequence of the children, which
seemed strange to me so I asked. I was looking for th
> Because Elem is a subclass of NodeSeq, NodeSeq => NodeSeq and Elem =>
> NodeSeq mean the same thing.
I think the variance goes the other way around:
NodeSeq => Elem <: NodeSeq => NodeSeq
--j
--~--~-~--~~~---~--~~
You received this message because you are sub
On Thu, Sep 4, 2008 at 6:43 AM, Daniel Green <[EMAIL PROTECTED]> wrote:
>
> Well, not exactly. I'm looking for this but on the top level. Instead
> of getting getting the attributes of its parent.
>
> so if there's I want access to attribute1,
> while binding. Right now you can pass a (NodeSeq)=
Well, not exactly. I'm looking for this but on the top level. Instead
of getting getting the attributes of its parent.
so if there's I want access to attribute1,
while binding. Right now you can pass a (NodeSeq)=>NodeSeq, I guess
what I desire is a (Elem)=>NodeSeq. More useful would to be able
I was more or less trying to describe the issue outlined here:
http://groups.google.com/group/liftweb/browse_thread/thread/1a601c402deebecf
I'll follow up in that thread.
On Tue, Sep 2, 2008 at 1:05 PM, David Pollak
<[EMAIL PROTECTED]> wrote:
> Please provide a complete example including how yo
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:
>
> > \ "@size"
> >
> Understood. However, I was wondering ab
> \ "@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:
>
> \ "@size"
>
> Daniel Green wrote:
>> When binding names to NodeSeq, is there a way to get a hold of th
\ "@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
>
>
>
> how would I retrieve the size of bar?
>
> bind("foo", , "bar" -> )
>
> I know you can get a NodeSeq of its childre
11 matches
Mail list logo