[Lift] Re: How do you get Jorge's LinkShare Comet example to work?
Hi there, Please allow me to continue this thread, which nobody may be interested in. I found a reason(or solution) for that problem. On Wed, Mar 4, 2009 at 12:31 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: By the way, I found the problem in running it on IE6/7; I mean that the page must not be updated automatically on IE6/7. The index.html had following html tags, p lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /p I found that, by wrapping lift:comet with div tag, it will works well on IE6/7; I mean that pdiv lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /div/p You can reproduce a similar phenomenon easily. For example, http://demo.liftweb.net/ has following tags in src/main/webapp/templates-hidden/default.html, div class=widget style=text-align: center lift:comet type=ClockCurrent Time: clk:timeMissing Clock/clk:time/lift:comet /div If div is replaced with p, the clock will not be updated on IE6/7. Anyway, I think this is not a problem from liftweb. This is just a tips or know-how, which we should keep in our mind in using lift:comet. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@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: How do you get Jorge's LinkShare Comet example to work?
On Wed, Mar 4, 2009 at 10:17 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, Please allow me to continue this thread, which nobody may be interested in. I found a reason(or solution) for that problem. On Wed, Mar 4, 2009 at 12:31 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: By the way, I found the problem in running it on IE6/7; I mean that the page must not be updated automatically on IE6/7. The index.html had following html tags, p lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /p I found that, by wrapping lift:comet with div tag, it will works well on IE6/7; I mean that pdiv lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /div/p You can reproduce a similar phenomenon easily. For example, http://demo.liftweb.net/ has following tags in src/main/webapp/templates-hidden/default.html, div class=widget style=text-align: center lift:comet type=ClockCurrent Time: clk:timeMissing Clock/clk:time/lift:comet /div If div is replaced with p, the clock will not be updated on IE6/7. Anyway, I think this is not a problem from liftweb. This is just a tips or know-how, which we should keep in our mind in using lift:comet. Thanks you for this pointer. I was unaware of IEs breakage when changing the contents of a p tag. Useful knowledge. IE does also have a problem with replace of content in td tags irrespective of Comet or plain or JavaScript. One cannot set innerHTML on a td tag. One has to put a span inside the td tag and then change the innerHTML of the span. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@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: How do you get Jorge's LinkShare Comet example to work?
Anyone for registering IEateMyhtml.com ? On Thu, Mar 5, 2009 at 6:26 AM, David Pollak feeder.of.the.be...@gmail.comwrote: - Show quoted text - On Wed, Mar 4, 2009 at 10:17 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, Please allow me to continue this thread, which nobody may be interested in. I found a reason(or solution) for that problem. On Wed, Mar 4, 2009 at 12:31 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: By the way, I found the problem in running it on IE6/7; I mean that the page must not be updated automatically on IE6/7. The index.html had following html tags, p lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /p I found that, by wrapping lift:comet with div tag, it will works well on IE6/7; I mean that pdiv lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /div/p You can reproduce a similar phenomenon easily. For example, http://demo.liftweb.net/ has following tags in src/main/webapp/templates-hidden/default.html, div class=widget style=text-align: center lift:comet type=ClockCurrent Time: clk:timeMissing Clock/clk:time/lift:comet /div If div is replaced with p, the clock will not be updated on IE6/7. Anyway, I think this is not a problem from liftweb. This is just a tips or know-how, which we should keep in our mind in using lift:comet. Thanks you for this pointer. I was unaware of IEs breakage when changing the contents of a p tag. Useful knowledge. IE does also have a problem with replace of content in td tags irrespective of Comet or plain or JavaScript. One cannot set innerHTML on a td tag. One has to put a span inside the td tag and then change the innerHTML of the span. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@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: How do you get Jorge's LinkShare Comet example to work?
scarred.by.ie6.com ;) On Thu, Mar 5, 2009 at 2:55 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Anyone for registering IEateMyhtml.com ? On Thu, Mar 5, 2009 at 6:26 AM, David Pollak feeder.of.the.be...@gmail.com wrote: - Show quoted text - On Wed, Mar 4, 2009 at 10:17 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, Please allow me to continue this thread, which nobody may be interested in. I found a reason(or solution) for that problem. On Wed, Mar 4, 2009 at 12:31 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: By the way, I found the problem in running it on IE6/7; I mean that the page must not be updated automatically on IE6/7. The index.html had following html tags, p lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /p I found that, by wrapping lift:comet with div tag, it will works well on IE6/7; I mean that pdiv lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /div/p You can reproduce a similar phenomenon easily. For example, http://demo.liftweb.net/ has following tags in src/main/webapp/templates-hidden/default.html, div class=widget style=text-align: center lift:comet type=ClockCurrent Time: clk:timeMissing Clock/clk:time/lift:comet /div If div is replaced with p, the clock will not be updated on IE6/7. Anyway, I think this is not a problem from liftweb. This is just a tips or know-how, which we should keep in our mind in using lift:comet. Thanks you for this pointer. I was unaware of IEs breakage when changing the contents of a p tag. Useful knowledge. IE does also have a problem with replace of content in td tags irrespective of Comet or plain or JavaScript. One cannot set innerHTML on a td tag. One has to put a span inside the td tag and then change the innerHTML of the span. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp -- Viktor Klang Senior Systems Analyst --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@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: How do you get Jorge's LinkShare Comet example to work?
doesiestillsuck.com On Thu, Mar 5, 2009 at 5:59 AM, Viktor Klang viktor.kl...@gmail.com wrote: scarred.by.ie6.com ;) On Thu, Mar 5, 2009 at 2:55 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Anyone for registering IEateMyhtml.com ? On Thu, Mar 5, 2009 at 6:26 AM, David Pollak feeder.of.the.be...@gmail.com wrote: - Show quoted text - On Wed, Mar 4, 2009 at 10:17 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, Please allow me to continue this thread, which nobody may be interested in. I found a reason(or solution) for that problem. On Wed, Mar 4, 2009 at 12:31 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: By the way, I found the problem in running it on IE6/7; I mean that the page must not be updated automatically on IE6/7. The index.html had following html tags, p lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /p I found that, by wrapping lift:comet with div tag, it will works well on IE6/7; I mean that pdiv lift:comet type=LinkActor links:viewLoading.../links:view /lift:comet /div/p You can reproduce a similar phenomenon easily. For example, http://demo.liftweb.net/ has following tags in src/main/webapp/templates-hidden/default.html, div class=widget style=text-align: center lift:comet type=ClockCurrent Time: clk:timeMissing Clock/clk:time/lift:comet /div If div is replaced with p, the clock will not be updated on IE6/7. Anyway, I think this is not a problem from liftweb. This is just a tips or know-how, which we should keep in our mind in using lift:comet. Thanks you for this pointer. I was unaware of IEs breakage when changing the contents of a p tag. Useful knowledge. IE does also have a problem with replace of content in td tags irrespective of Comet or plain or JavaScript. One cannot set innerHTML on a td tag. One has to put a span inside the td tag and then change the innerHTML of the span. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp -- Viktor Klang Senior Systems Analyst -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@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: How do you get Jorge's LinkShare Comet example to work?
On Sun, Mar 1, 2009 at 2:01 PM, Ikai Lan ikai@gmail.com wrote: I realize this is two years old: http://scala-blogs.org/2007/12/dynamic-web-applications-with-lift-and.html First things first, S is now SHtml, but now I am having problems with this line: [WARNING] error: wrong number of parameters; expected = 0 [WARNING] { SHtml.submit(Submit, ignore = (LinkStore ! AddLink (url, title))) } Try: { SHtml.submit(Submit, () = LinkStore ! AddLink(url, title)) } I'm trying to look for API documentation, but the API Documentation link is not terribly helpful (http://scala-tools.org/mvnsites/ liftweb/). Does anyone have any tips on how I can get all the code in this example to work or what else might have changed between when the post was written and now? -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@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 -~--~~~~--~~--~--~---