People ... I'll be doing some work for this GC stuff. Speaking with Dave yesterday he had a nifty idea of sending up just the page ID and update the functions on server side only. We still need to handle cases where nodes having lift:gc are removed from the DOM tree and the code needs to be aware of that. Perhaps sending up the page ID and also send the unseen-delta as those must be GC-ed.
Br's, Marius On Feb 13, 1:49 am, David Pollak <feeder.of.the.be...@gmail.com> wrote: > I just pushed up some fixes for ie8. Please let me know if they work. > > On Thu, Feb 12, 2009 at 12:46 PM, Charles F. Munat <c...@munat.com> wrote: > > > > > > > I don't know if this is related, but my Lift pages do not display in IE8 > > unless I click the "broken page" button. A run through the HTML > > validator produces the following: > > > Line 42, Column 62: there is no attribute "lift:gc". > > > …ber" name="F743081847476BRR" lift:gc="F743081847476BRR" type="text" > > size="24" > > > Or is this still a validator issue? Or maybe it's because IE is being > > served the page as text/html? > > > Those guys on the other side of the lake just can't seem to figure this > > browser thing out. If it's not one thing, it's something else. > > > Chas. > > > David Pollak wrote: > > > Joachim, > > > > I've found and fixed the "key" problem. > > > > The Namespace problem looks like a Firefox bug. I'm still working > > > through it. > > > > Thanks, > > > > David > > > > On Wed, Feb 11, 2009 at 4:25 PM, Joachim A. > > > <wallaby.po...@googlemail.com <mailto:wallaby.po...@googlemail.com>> > > wrote: > > > > Hi, > > > I'm using the jQuery plugin ModalDialog in a page. The message which > > is > > > displayed in a dialog contains a lift ajax form. The xhtml of the > > > form is: > > > > <form lift:gc="F470696901035FZU" id="F470696901035FZU" action="#" > > > onsubmit="lift_ajaxHandler(jQuery('#'+'F470696901035FZU').serialize(), > > > null, > > > null);return false;"><div class="dialog"><div class="question">Do > > > you really > > > want to break up this friendship?</div><div> <button > > > onclick="lift_ajaxHandler('F470696901033BXG=true', null, null); > > > return false;" > > > lift:gc="F470696901033BXG">Yes</button> <button > > > onclick="lift_ajaxHandler('F470696901034CAZ=true', null, null); > > > return false;" > > > lift:gc="F470696901034CAZ">No</button> </div></div></form> > > > > Basically the plugin calls $(<html from above>). > > > This works fine in Opera. But it doesn't in Firefox. Firefox 3 > > > complains about > > > the lift:gc attribute and gives an error that the prefix is not > > defined. > > > > My page has xmlns:lift="http://liftweb.net" in the html tag. But > > > obviously > > > this is not used in the jQuery call. > > > > Is it possible to get an additional xmlns:lift namespace declaration > > > in the > > > tags which use the lift:gc attribute? > > > > Or is there another way to fix this? > > > > Another problem: > > > Also, Lift outputs html like <a lift:gc="F470696901031JE3" > > > onclick="lift_ajaxHandler('F470696901031JE3=true', null, null)" > > > href="javascript://" key="F470696901031JE3"> > > > > The key attribute is not prefixed by lift: and thus is invalid > > > xhtml, I think. > > > > Thanks a lot. Looking forward to the great 1.0 version, > > > Joachim > > > > -- > > > Lift, the simply functional web frameworkhttp://liftweb.net > > > Beginning Scalahttp://www.apress.com/book/view/1430219890 > > > Follow me:http://twitter.com/dpp > > > Git some:http://github.com/dpp > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://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 -~----------~----~----~----~------~----~------~--~---