Hi Runar,
Runar schrieb:
Hi,
I have seen earlier answers on this list about including a login form on
other pages.
However those answers seem to pertain to earlier versions, I am using
Lenya 2.0 / 2.0.1 now.
-Description-
However, I have a problem using this - since trying to log in will
redirect to another page with the ac.login usecase.
This usecase has a continuation parameter, which I don't know if is
necessary to actually perform the login.
I would like very much to get the login effectuated immediately from the
included login form, and not having to step
via the full screen login form from the ac.login usecase.
-Questions-
What is missing from my login form to accomplish this?
you can declare a non-view version of the ac.login usecase (it's located
in the acusecases module):
http://lenya.apache.org/docs/2_0_x/reference/usecase-framework/index.html#Implement+the+View
"The view of a usecase is optional. If you omit the view declaration, no
screen is presented to the user."
Here's some info how to declare a usecase:
http://lenya.apache.org/docs/2_0_x/tutorials/usecase/part2.html
Also, if I wanted the ac.logout to be immediate in stead of stepping
into the full screen/page of the session history,
but rather just have a direct logout?
You can use the same approach as above.
HTH,
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]