[Lift] Re: bind(): suppress automatic attribute mixin

2010-02-25 Thread Marius
1. what Lift version are you using?
2. Can you try with other attribute name or with multiple attributes?



On Feb 25, 6:53 pm, jasper jasper.raedi...@gmail.com wrote:
 val xml = t:node attr=some/t:node

 with

 val processed = bind(t,xml, node - a /)

 becomes

 a attr=some/a

 How do I suppress the mixin of attr?

 Thank you,

 Jasper

-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: bind(): suppress automatic attribute mixin

2010-02-25 Thread jasper
I am using version 1.03. The name and amount of attributes does not
matter. All attributes are being passed on.

-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: bind(): suppress automatic attribute mixin

2010-02-25 Thread jasper
I have also just realized that I forgot to prefix for the attributes
above:

val xml = t:node attr=some/t:node

should have been:

val xml = t:node t:attr=some/t:node

The result stays the same (without the prefix):

a attr=some/a

Sorry for the mistake and the additional mail traffic!

-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] Re: bind(): suppress automatic attribute mixin

2010-02-25 Thread Ross Mellgren
The mixin behavior is a bug, and is fixed in 1.1 and 2.0. You should switch to 
2.0-SNAPSHOT (or 2.0-M2 if you don't like SNAPSHOTs) unless you have a 
compelling reason to stay at 1.0

-Ross

On Feb 25, 2010, at 12:13 PM, jasper wrote:

 I have also just realized that I forgot to prefix for the attributes
 above:
 
 val xml = t:node attr=some/t:node
 
 should have been:
 
 val xml = t:node t:attr=some/t:node
 
 The result stays the same (without the prefix):
 
 a attr=some/a
 
 Sorry for the mistake and the additional mail traffic!
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Lift group.
 To post to this group, send email to lift...@googlegroups.com.
 To unsubscribe from this group, send email to 
 liftweb+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/liftweb?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.