Hi Geert,

I thoght that I've seen the "to" property somewhere to redirect to an 
external location, but as you mentioned it does not work. The general 
processingog Laszlo is something I had already understood, maybe my 
english is not good enough to express what I want.

What I want is to use a OpenLaszlo login screen and make the 
authentication and access control  to different OpenLaszlo RIAs via RIFE.

Is this a bad idea ?

Ciao
    Matthias

Geert Bevin schrieb:
> 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 <[EMAIL PROTECTED] 
>  > 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to