Hi Matthias,

the to property is used by the redirect element. Each element has its  
own set up properties it supports.

Using RIFE at the backend for authentication and OpenLaszlo on the  
frontend is a good idea, look at blablalist to see how it can be  
implemented.

HTH,

Geert

On 30 Apr 2008, at 10:33, Matthias Barmeier wrote:

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

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


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