Hello,

So I'm stuck. I can't get a working "go to menu" link:
- first try I get in the html page
        <a href="[!V 'EXIT:QUERY:menu'/]">go to menu</a>"
- second one: I move
      <globalexit name="menu" destid="MENU"/>
 from admin.xml to friends.xml and I changed it to
      <globalexit name="menu" destid="ADMIN.MENU"/>

Then I get a valid link as <p><a href="/05_friends_auth/admin/menu?authid=82fe57e7604f0a67e908de8de11f4979">go to menu</a></p>
 but it comes back to the list of data...

I  don't see what I did wrong. See my files admin.xml and friends.xml below.

Pierre

==== friends.xml =====

<?xml version="1.0" encoding="UTF-8"?>
<!--
 -  Copyright 2001-2005 Geert Bevin <gbevin[remove] at uwyn dot com>
 -  Distributed under the terms of either:
 -  * the common development and distribution license (CDDL), v1.0; or
 -  * the GNU Lesser General Public License, v2.1 or later
 -  $Id: friends.xml 2501 2005-09-23 12:40:19Z gbevin $
 -->

<!DOCTYPE site SYSTEM "/dtd/site.dtd">

<site>
   <globalvar name="authid"/>

   <arrival destid="DISPLAY"/>
<globalexit name="menu" destid="ADMIN.MENU"/> <element id="DISPLAY" file="display.xml" url="/display">
       <flowlink srcexit="admin" destid="ADMIN"/>
   </element>
<element id="LOGOUT" file="rife/logout/passthrough/memory.xml" url="/logout">
       <flowlink srcexit="logged_out" destid="DISPLAY"/>
   </element>
<element id="AUTH" file="authentication.xml"/> <subsite id="ADMIN" file="admin.xml" urlprefix="/admin" inherits="AUTH" />

</site>

==== admin.xml =====

<?xml version="1.0" encoding="UTF-8"?>
<!--
 -  Copyright 2001-2005 Geert Bevin <gbevin[remove] at uwyn dot com>
 -  Distributed under the terms of either:
 -  * the common development and distribution license (CDDL), v1.0; or
 -  * the GNU Lesser General Public License, v2.1 or later
 -  $Id: friends.xml 2501 2005-09-23 12:40:19Z gbevin $
 -->

<!DOCTYPE site SYSTEM "/dtd/site.dtd">

<site>
   <arrival destid="MENU"/>
<element id="MENU" file="admin/menu.xml" url="/menu">
       <flowlink srcexit="install"         destid="INSTALL"/>
       <flowlink srcexit="add"             destid="ADD"/>
       <flowlink srcexit="remove"          destid="REMOVE"/>
       <flowlink srcexit="back_to_display" destid=".DISPLAY"/>
   </element>
<element id="INSTALL" file="admin/install.xml" url="/install"/>
   <element id="ADD"     file="admin/add.xml"     url="/add"/>
   <element id="REMOVE"  file="admin/remove.xml"  url="/remove"/>
</site>



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

Reply via email to