« Return to Thread: Forwarding a login page ?
Re: Forwarding a login page ?
Hi Matthias,
I think you're confusing several things here.
First of all you should serve lzx pages through RIFE. OpenLaszlo is
client-side only so the lzx files should be converted through the
Laszlo servlet or standalone compiler to dhtml/flash.
Second, you seem to be inventing element properties (like the 'to').
RIFE doesn't work like this, you should read up on exits and
flowlinks. For a login page, you should look at the documentation
about authentication.
Third, OpenLaszlo expects RESTful XML responses, so you have to create
the appriate templates for that. For a full-featured example about how
to do everything you try to do here you should look at http://blablalist.com
and the sources of if (see the developers section). This demostrates
everything you try to do in Laszlo/RIFE and much more.
Hope this helps,
Geert
On 29 Apr 2008, at 16:33, Matthias Barmeier <matthias.barmeier@...
> wrote:
>
> Hi,
>
> I am stuck when trying the following: I installed rife and
> openlaszlo in
> a tomcat6 container. Now I want to login by using a openlaszlo login
> page.
>
> But how can I deliver Openlaszlo LZX-pages via Rife ? I tried:
>
> <element id="AuthAdmin" extends="rife/authenticated/
> memory.xml">
> <property name="role">admin</property>
> <property name="authvar_type">cookie</property>
> <property name="to">/ms2w3gui/kunden/login/login.jsp</
> property>
> <childtrigger name="authid"/>
> </element>
>
> <element id="CustomerList"
>
> implementation="de.mypages.rife.customer.InactiveCustomerListElement"
> url="/rife/inactivecustomers"
> inherits="AuthAdmin"/>
>
> ,but this throws an empty template exception.
>
> Any hints ?
>
> Ciao
> Matze
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---
« Return to Thread: Forwarding a login page ?
| Free Forum Powered by Nabble | Forum Help |
