Ok .. I think I know what it is ... I'll try to fix it tomorrow
(unless Dave thinks of something sooner). The attributes or surround
are temporary added inside processSurroundAndInclude and for lift
builtin snippets using S.attrs or S.attrsToMetaData etc. the surround
attributes are merged with lift:a attributes for some reason.
Dave did you add this recently ? ... I mean the call to S.setVars
(elm.attributes) {processSurroundAndInclude(...) } inside
LiftSession.processSurroundAndInclude (LiftSession line 935)
Br's,
Marius
On Aug 17, 11:14 pm, "marius d." <[email protected]> wrote:
> Looks like a bug to me....
>
> Br's,
> Marius
>
> On Aug 17, 11:04 pm, harryh <[email protected]> wrote:
>
> > Further information:
>
> > Stripping things down to almost nothing, a test.html:
>
> > <lift:surround with="chrome" at="content">
> > <lift:a key="xxx">ignore</lift:a>
> > </lift:surround>
>
> > Generates the following HTML:
>
> > <a onclick="liftAjax.lift_ajaxHandler("xxx=true", null,
> > null, null)" href="javascript://" with="chrome" at="content"
> > key="xxx">ignore</a>
>
> > Still confused on how the "with" and "at" attributes are getting added
> > to the <a> tag.
>
> > -harryh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---