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
--
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/weblocks/-/KqNkkD_QbP8J.
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.