Geert,

Thank you for your help. It runs fine now.

May I make some comments on Guide's chapter 8. I was confused by 3 points:
- example 8.3: for element DISPLAY, the flowlink given is "admin" but it's "menu" which is expected by the template display.html - example 8.4: for element MENU, the flowlink given is "back_to_display" but it's "display" which is expected by menu.html - in "Inheriting the auth element", there is no indication to create an AUTH element

I know that learning by testing and breaking is a good idea, but it's quite hard so soon in the learning curve :-)

Regards

Pierre

Bevin a écrit :

OK, now I arrive directly on the menu. But all the links are still  with

       <a href="[!V 'EXIT:QUERY:xxxxx'/]">XXXXX</a>"


The logout and display exit links are not replaced since the menu.xml element doesn't contain these exits, and there are no such global exits. There is thus no information available to replace these tags.

Regards

Pierre

PS :  why

<element id="DISPLAY" implementation="tutorial.friends.Display" url="/display"/>


This is a convenience declaration if you don't want to reuse your element declarations.

is good enough in friends.xml with 5_friends_basic, but

   <element id="DISPLAY" file="display.xml" url="/display">


This means that you externalize the element declaration for reuse.

in friends.xml and

  <element implementation="tutorial.friends.Display">
      <property name="name">Display</property>

in display.xml is wrong with 5_friends + authentication ?


It's not *wrong*, you specified the implementation that provides the Display functionality for the MENU element declaration. This thus means that the wrong thing happens according to what you want it to do.

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







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

Reply via email to