On Thu, Aug 30, 2012 at 3:01 PM, Matt Farmer <
matt....@openstudy.com> wrote:
> Hey everybody,
>
> I know that we're nearing a code freeze for the 2.5-M1 release, so I wanted
> to make sure I brought this to everyone's attention. I updated the copy of
> the Lift snapshot that I'm running today to find that there were some
> compile bugs when attempting to pass NodeSeqs directly into CSS selector
> functions. So, for example, a line like this:
>
> ("script [src]" #> jQueryUrl)(xhtml)
This is due to the new type class based css transform, if memory
serves well, you can get around this by using:
("script [src]" #> jQueryUrl).apply(xhtml)
I wish I could find the email where I saw that, I'll keep looking just in case.
Thanks
Diego
>
> Yields a type mismatch error:
>
> [error] found : scala.xml.NodeSeq
> [error] required: net.liftweb.util.ComputeTransformRules[String]
>
> Of course, String is the type of the jQueryUrl variable. However, when I
> roll back to commit aae6082bcea0420b9d2cbc87a7cc85e4b74a6c30, where
> Antonio's AJAX stuff was merged, everything compiles fine. So it was
> introduced in the recent batch of commits. Is this a known side effect of an
> intentional change or no? I'm also seeing other errors that seem to imply
> that something may be wrong. Among them...
>
> [error] found : Int with scala.xml.NodeSeq => scala.xml.NodeSeq
> [error] required: scala.xml.NodeSeq
>
> I don't have time right this second to work up an example project, but if
> whoever reads this feels like I should I am certainly able to. All the same,
> I wanted to make sure this at least got mentioned regardless of my insane
> schedule so that it doesn't catch anybody by surprise when the M1 rolls.
>
> Cheers,
>
> Matt Farmer
>
> --
> --
> Lift, the simply functional web framework:
http://liftweb.net
> Code:
http://github.com/lift
> Discussion:
http://groups.google.com/group/liftweb
> Stuck? Help us help you:
>
https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>
--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com