Hi Gert,

Ok, I will do that.

Thanks,
Erik

On Jan 9, 2007, at 11:42 PM, Geert Bevin wrote:

Hi Erik,

that sounds weird indeed, any chance of getting a small, fully functional example with both the element code, the declaration and the template? Like that I can try out what goes wrong.

Best regards,

Geert

On 09 Jan 2007, at 22:20, Erik Bogghed wrote:


Hi,

If I have a template looking like this

<html>
...
<ul id="menu">
<li id="link1"><a href="[!V EXIT:QUERY:somechoice/]">Some choice</ a></li>
       <r:v name="OGNL:ROLEUSER:admin"></r:v>
       <r:b name="OGNL:ROLEUSER:admin:[[ isInRole['admin') ]]">
<li id="link2"><a href="[!V EXIT:QUERY:adminonly/]">Admin only</></li>
       </r:b>
</ul>

  <form action="whatever" method="post">

  <form>
...
</html>

and both exit queries are defined as global exits, then after a submission in a continuation only the exit query outside the OGNL block tag will be processed. The link inside the block
will tag remain [!V EXIT:QUERY:adminonly/]. Am I missing something?

Thanks,
Erik


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


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


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

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

Reply via email to