I am studying the Comet example from developerworks.
But encounter below problems.
I build the code with Lift 1.0 release
a. Compatible problem in AuctionActor.scala
Line29 val button = <button type="button">{S.?("Bid Now!")}</button> %
("onclick" -> ajaxCall(JsRaw("$('#newBid').attr('value')"),
bid _))
It could not generate the onclick. I modified it as:
val button = <button type="button">{S.?("Bid Now!")}</button> %
("onclick" -> ajaxCall(JsRaw("$('#newBid').attr('value')"),
bid _)._2)
b. Seems a JQuery problem with FireFox(3.0.8)
I could not submit Bid after click "Bid Now!" button. But it works in IE8,
IE6.
Seems $('#newBid').attr('value') could not get correct value.
2009/3/27 etorreborre <[email protected]>
>
> Anyone can comment the ServerSide article:
> http://www.theserverside.com/news/thread.tss?thread_id=54079?
>
> There are questions on accessibility and a template engine.
>
> Eric.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---