Hi Lars,

indeed, and you took the logout version that is specifically meant to be used in between other elements (hence the passthrough in the name).

There is another version of the logout element: rife/logout/template/ database.xml. This is meant to be used with an url and will show a template after the logout action.

Best regards,

Geert

On 8-dec-05, at 15:11, Lars Grupe wrote:

Oh, now I think I have it, the 'LOGOUT' element has no url.

Sorry!

Cheers,
Lars

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars Grupe
Sent: 08 December 2005 15:08
To: RIFE users list : questions, bug reports and suggestions.
Subject: [Rife-users] logout problems


Hi,

Could someone give me an explanation, why a link to the
LOGOUT element doesn't work?

I will tell the story from the beginning:

I have a embedded Element 'LOGON_INFO', that show the
username of the logged on user. These element has a link that
should logout the user. Here are the important lines of the site file:

<globalvar name="authid"/>


<globalexit name="home" destid="HOME"/>


<element id="LOGOUT" file="rife/logout/passthrough/database.xml">
        <property name="datasource">
                <datasource>derby</datasource>
                </property>

        <flowlink srcexit="logged_out" destid="HOME"/>
</element>


<element id="LOGON_INFO"
implementation="com.acrolinx.portal.login.elements.LogonInfo"
inherits="IDENTIFIED">
        <exit name="logout"/>

      <flowlink srcexit="logout" destid="LOGOUT"/>
</element>


<element id="IDENTIFIED" file="elements/identified.xml">
        <property name="authElementId">AUTH_ADMIN</property>
</element>


<element id="AUTH_ADMIN"
file="elements/authentication/administration.xml"/>


<element id="HOME"
implementation="com.acrolinx.portal.login.elements.Home"
url="/home" inherits="AUTH_ADMIN">
        <exit name="termmanagement"/>
        <flowlink srcexit="termmanagement"
destid="TERMMANAGEMENT"/> </element>


When I select the logout link that is taken from the exit
'logout' of the LOGON_INFO element no logout is done. Only
the element that is actually shown will be repainted.


Thank in advance for telling me the story!

Cheers,
Lars
_______________________________________________
Rife-users mailing list
[email protected] http://www.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to