|
Does anyone know what aspects of the view are
evaluated every time the page is invoked? I am trying to use the following as
my “view” element in the page flow: <xsl:if test="true()"> <xsl:variable name="myRandNum"
select="math:random()"
xmlns:math="java:java.lang.Math"/> <xsl:variable name="myDate"> <xsl:value-of
select="current-dateTime()"/> </xsl:variable> <xhtml:input type="hidden"
id="gen_rand_num" value="{$myRandNum}_{$myDate}"/> </xsl:if> It works, but it only seems to be evaluated once every so
many hours instead of every time the page is called/invoked. That is, the
random number and date are generated then every subsequent call to the page
gives the same random number and date. Obviously, this isn’t what I want
to happen, I would prefer it generate a new random number and the current time
every time the page is visited/called/invoked/refreshed. Any ideas? Greg |
- [orbeon-user] model item properties question Gregory Blajian
- [orbeon-user] model item properties question David Sinclair
- RE: [orbeon-user] model item properties questio... Matt Allen
- Re: [orbeon-user] model item properties que... Alessandro Vernet
- Re: [orbeon-user] model item properties... David Sinclair
- [orbeon-user] Exposing a web service Matthew J. Graham
- Re: [orbeon-user] Exposing a web s... Alessandro Vernet
- Re: [orbeon-user] Exposing a w... Matthew J. Graham
- Re: [orbeon-user] Exposing... Erik Bruchez
- Re: [orbeon-user] Exposing... Alessandro Vernet
- Re: [orbeon-user] Exposing... Matthew J. Graham
