will try to do it asap :) only missing will be "relogin" as i still didn't look into session issue. You would have to open new window(tab) and login there untill i find some nice solution for session timeout.
On Mon, Feb 23, 2009 at 7:16 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > ok but can you send me a patch that does 1,2,3? > > On Feb 23, 9:59 am, Boris Manojlovic <boris.manojlo...@gmail.com> > wrote: > > hello, > > 1) what exactly you need is very simple to achive as putting with JS > value > > into some <div> (or I'm missing your point, which i think is case here) > > 2) this is done already trough javascript (ajax_editor.js) as that was > > needed for successful "save" functionality (or resolve redirect is > received > > if it is not sent) > > 3) that is still to be done on client side - server side is same (and > > implemented) code as it was before for /edit/ control,JSON should contain > > standard errors you receive by HTML as you can see in patch > > > > > > > > On Mon, Feb 23, 2009 at 4:41 AM, mdipierro <mdipie...@cs.depaul.edu> > wrote: > > > > > Boris. I really like this but we need > > > > > 1) make hash value visible and readonly > > > 2) return the same when it was saved as well > > > 3) some kind of notification (possibly in the form of flash) that > > > informs the user if the file was saved or not. > > > > > Massimo > > > > > On Feb 22, 12:43 pm, Boris Manojlovic <boris.manojlo...@gmail.com> > > > wrote: > > > > Please try this patch last one was non working... > > > > > > On Sun, Feb 22, 2009 at 7:16 PM, Boris Manojlovic < > > > > > > boris.manojlo...@gmail.com> wrote: > > > > > Hello to All, > > > > > > > i have started to work on something called "ajax" code editor. > > > > > What exactly does it mean? > > > > > > > 1. No need for reloads on editor page (just think about undo > redo in > > > > > editor window) > > > > > 2. No "terrible loss of code" if you are logged out (application > > > > > timeout... with that "great" redirect to login page...) > > > > > 3. speed gain > > > > > > > Current implementation has "save" functionality only and it works > just > > > from > > > > > firefox (konqueror ignores my jquery code and same for opera...). > > > > > Most coding as it would be expected should (and is) done on client > side > > > and > > > > > will degrade depending if user use javascript at all - no script no > > > ajax > > > > > anyway. > > > > > All messages in current stage are json passed to client. > > > > > Patch against latest SVN from google code > > > > > > > P.S. Comments welcome and needed (to continue on this idea or not) > > > > > -- > > > > > "Only two things are infinite, the universe and human stupidity, > and > > > I'm > > > > > not sure about the former."-Albert Einstein > > > > > > -- > > > > "Only two things are infinite, the universe and human stupidity, and > I'm > > > not > > > > sure about the former."-Albert Einstein > > > > > > ajax_editor.patch > > > > 7KViewDownload > > > > -- > > "Only two things are infinite, the universe and human stupidity, and I'm > not > > sure about the former."-Albert Einstein > > > -- "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."-Albert Einstein --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---