>
> ;;; what is exactyl pushed to the :on-login? I guess default is
> "email/password" data?
>     :on-login #'autentikacija-korisnika
>     :on-success
>

Yes, but hashed iirc. Easy to find out using &rest args and inspecting them!

Or M-. on the login class to find out more.

;; can I use here weblocks:reset-session or similar? What exactly
> ;; do I gain with this other than perhaps resetting unsuccessfull login?
> ;    :on-cancel (reset-user-session)
>
>
Whatever you wish. For example you could use redirect. Or replace the main
page with another. Or do nothing..


> ;;; I have read a bit about continuations before, and I have basic
> understanding about
> ;;; the subject. But, the question is, if I comment out the following
> ;;; setf and lambda, the site works, but did I lose something in the logic
> ;;; of weblocks functionality? My guess is that here this continuation is
> beeing pushed
> ;;; into children list of the root (main) widget? So commenting out I'm
> actually breaking
> ;;; that structure?
> ;  (setf (weblocks:widget-children root)
> ; (lambda (&rest args)
> (with-html
>   (:strong "pocetna stranica blabla")
>   (answer k)))
>

You need to set the widget-children of root at least. That's how you make
your own root/top-level page/widget to display!

-- 
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.

Reply via email to