Hi Pierre,

Everything works correctly, however in the menu.xml element you specify this:
<element implementation="tutorial.friends.Display">

This means that you will use the Display element implementation instead of printing the menu template. If you use this instead it will work:
<element extends="rife/template/print.xml">
<property name="name">menu</property>

Best regards,

Geert

On 31-okt-05, at 10:55, Raoul Pierre wrote:

Geert,

Here is a zip file of my WEB-INF (2d try without jar and class files in the zip)

I work with Windows XP Pro SP1, j2sdk1.4.2_04, Tomcat 5.0.28 (not Jetty)

Pierre


Hi Pierre,

I tried this out and couldn't reproduce your problem. Can you zip your example directory and send it as an attachment, like that I'm sure we have exactly the same files.

Best regards,

Geert

On 31-okt-05, at 01:31, Raoul Pierre wrote:


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
Rife-users@uwyn.com
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
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users






<Web-inf.zip>
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
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
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to