On Mon, Feb 22, 2010 at 3:15 PM, Arie <[email protected]> wrote:

> Hi,
>
> Can I clarify, is this a general issue to do with 2.8 Scala/Comet
> Actors?  I think I may be having the same problem.
>

It's not CometActors that are causing the issue.  In Scala 2.8, XML Node
equality testing is changed and supplying a label method that returns a
String (rather than Nothing) is a requirement.  The fix for this issue is on
Review Board and has been approved.  I'll likely get it rolled into
master/280_port_refresh tomorrow.


>
> Arie
>
> On Feb 22, 12:02 pm, Indrajit Raychaudhuri <[email protected]>
> wrote:
> > Understood, just wanted to ensure.
> >
> > Cheers, Indrajit
> >
> > On 22/02/10 4:25 PM, tbje wrote:
> >
> >
> >
> > > Hi Indrajit,
> > > I was a little bit lazy and updated an old pom by hand.
> >
> > > Just pushed a new pom.xml using the following mvn
> > > archetype:generate :
> >
> > > mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -
> > > DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=2.0-
> > > scala280-SNAPSHOT -DarchetypeRepository=http://scala-tools.org/repo-
> > > snapshots -DremoteRepositories=http://scala-tools.org/repo-snapshots
> >
> > > Didn't solve the problem :(
> >
> > > Best regards
> > > Trond
> >
> > > On 19 Feb, 16:32, Indrajit Raychaudhuri<[email protected]>  wrote:
> > >> Trond,
> >
> > >>   From cursory glance it appears that some old form of archetype (pre
> > >>Lift2.0) had been used to generate the project. What command line
> > >> option did you use in "mvn archetype:generate" to create the project?
> >
> > >> This is just a request for qualification.
> >
> > >> Cheers, Indrajit
> >
> > >> On 19/02/10 8:22 PM, tbje wrote:
> >
> > >>> Thank you for rapid replies and a great framework. I opened ticket
> > >>> #357 for this issue.
> >
> > >>> Best regards
> > >>> Trond
> >
> > >>> On 19 Feb, 15:22, Marius<[email protected]>    wrote:
> > >>>> Yeah AFAIK Scala 2.8 integration is not 100% done and fully tested.
> >
> > >>>> Br's,
> > >>>> Marius
> >
> > >>>> On Feb 19, 3:52 pm, tbje<[email protected]>    wrote:
> >
> > >>>>> Hi Marius,
> > >>>>> I discovered the issue while porting a working application from
> 2.7.7
> > >>>>> tolift2.0-scala280-SNAPSHOT and scala 2.8.0.Beta1.
> >
> > >>>>> In the example application I provided it's possible to change the
> > >>>>> pom.xml by replacing
> > >>>>>     <scala.version>2.8.0.Beta1</scala.version>
> > >>>>>     <lift.version>2.0-scala280-SNAPSHOT</lift.version>
> > >>>>> with
> > >>>>>     <scala.version>2.7.7</scala.version>
> > >>>>>     <lift.version>2.0-SNAPSHOT</lift.version>
> > >>>>> and the application is working as I'd like it to :)
> >
> > >>>>> I therefor believe it's alift2.0-scala280 issue.
> >
> > >>>>> Best regards
> > >>>>> Trond
> >
> > >>>>> On 19 Feb, 14:12, Marius<[email protected]>    wrote:
> >
> > >>>>>> Can you also try with Scala 2.7.7 ?
> >
> > >>>>>> On Feb 19, 2:26 pm, tbje<[email protected]>    wrote:
> >
> > >>>>>>> Hi,
> > >>>>>>> I've been testing out theLift-2.0-scala280-SNAPSHOT a little bit
> and
> > >>>>>>> found a issue with Cometactor, setHtml and ajaxInvoke.
> >
> > >>>>>>> When trying to invoke the following partial update nothing seems
> to
> > >>>>>>> happen:
> > >>>>>>> partialUpdate(SetHtml("field",<input type="button"
> > >>>>>>> onclick={ajaxInvoke(() =>    JsRaw("alert('hi')"))._2} value="Say
> hi" /
> >
> > >>>>>>>> ))
> >
> > >>>>>>> This works as expected however:
> > >>>>>>> partialUpdate(SetHtml("field", a(() =>    JsRaw("alert('hi')"),
> > >>>>>>> <span>Link</span>)))
> >
> > >>>>>>> I've created a example app to illustrate the problem if someone
> is
> > >>>>>>> interested:
> >
> > >>>>>>> git://github.com/tbje/Lift-2.0-scala280-SNAPSHOT-issue.git
> >
> > >>>>>>> Best regards
> > >>>>>>> Trond
>
> --
> 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]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

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

Reply via email to