Hi Geert,
It works fine. What is the purpose of template.clear()?
Thanks,
Erik
On Jan 10, 2007, at 11:40 PM, Geert Bevin wrote:
Hi Erik,
I looked into your example and I can reproduce the behavior.
Adding a template.clear(); call after the pause() call solves the
problem though. It's probably something with template data being
cached somewhere in the template instance. I'll have to trace it,
but that will take a while. This should help you along though.
Take care,
Geert
On 10 Jan 2007, at 15:22, Erik Bogghed wrote:
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
--
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