Okay Guys, So sorry for taking so long to do the changes but I got sidetracked by a few personal issues that came up last week. Okay so the changes are done (I think ;)). The added changes have the jquery functionality added. At this point I would like to point out that one of the reasons that it took so long for me to finish the change is that there was quite a bit of hard-coding of prototype inside the weblocks lisp code that I was unaware of initially. I have fixed all of these including the tests but I have a little request from those adding code to the core. Basically make sure that if you add any javascript code that it is only generic code that is using the bare metal javascript/DOM manipulation functions. Later in your backend specific functionality you can use all the functionality you want. Also my second request would be either to always make changes to all backends when we do a change or to mark clearly that the change is not available for a certain backend.
Leslie, I am not sure if this is a pressing issue but maybe we should have a document with all the rules for changes that should be followed so that people know what is expected from core code additions (that probably applies to me first :D) On Jul 22, 5:30 pm, "Leslie P. Polzer" <[email protected]> wrote: > Mackram wrote: > > > I am not sure Leslie what i am missing but I am unable to see what is > > requested or to debug the flow of the code. The trace shows something > > like > > 0: (HUNCHENTOOT:PROCESS-REQUEST #<HUNCHENTOOT:REQUEST {B63CF79}>) > > 1: (WEBLOCKS:HANDLE-CLIENT-REQUEST #<WEBLOCKS-DEMO::WEBLOCKS-DEMO > > {AAF9A19}>) > > 1: WEBLOCKS:HANDLE-CLIENT-REQUEST returned > > "{\"widgets\":null,\"before-load\":null,\"on-load\":null}" > > 0: HUNCHENTOOT:PROCESS-REQUEST returned > > #<SB-SYS:FD-STREAM for "a socket" {B1FA989}> > > > which does not tell me anything more then I already know. > > You've asked for two things: (1) what the browser asks for > (2) what the answer contains. > > The above answers (2). > > As for (1): in Hunchentoot 1.0 it doesn't work as neatly > as in 0.15 because PROCESS-REQUEST just gets a request > object. Use this instead: > > (defmethod weblocks:handle-client-request :before (app) > (format t "uri: ~S~%" (hunchentoot:request-uri*))) > > Leslie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" 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/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
