On Monday, October 8, 2012 2:28:59 PM UTC+2, Jacek Podkanski wrote:
When I create new application I get a blank page with Happy hacking
written on it. If I edit the source to show Hello World I need to
restart the server to see the changes on the web page.
Ah, I see. RESET-SESSIONS should work properly. If it doesn't then you can just delete the session cookie on the client side. An alternative would be defining your own widget that renders the string on a per-request basis. Ex.:
(defwidget show-my-string nil nil)
(defmethod render-widget-body ((widget show-my-string) &rest args)
(with-html
"Hello world")) ; changing this to another string and updating your Lisp image should be reflected instantly on a page reload.
Thanks for your interest in Weblocks!
Leslie