This discussion is archived
3 Replies Latest reply: Jul 26, 2012 12:52 PM by user739817 RSS

Javascript variable not getting set subsequent times

user739817 Newbie
Currently Being Moderated
I have a javascript in my jsff like the following

<af:resource>
var blah = "${pageFlowScope.temp}";
alert(blah);
</af:resource>

The first time the page is accessed, this gets set correctly (lets sat pageFlowScope variable right now is "A,B,C"). The alert shows up proper value.
Now, in the same taskflow, lets say I revisit this page. And the pageFlowScope variable is now "D,E,F". The alert still shows A,B,C.

Any ideas?
Thanks,
Vishwesh

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points