>>>>> On Mon, 09 Aug 2010 12:21:27 PDT, webtier_at_javadesktop.org said:
BH> The sort of thing I'm trying to do is just pass information from one
BH> page to another, an analogy would be to select a department from page 1,
BH> click on the manage employees button, go to page 2 which shows a list of
BH> employees. The problem I'm experiencing is that sometimes page 2
BH> successfully knows which department it's supposed to be listing
BH> employees for, sometimes not.
Right, this "master/detail" use-case is exactly the rationale for the
flash scope.
BH> I've written a test application consisting of 4 files, index.xhtml,
BH> next.xhtml, template.xhtml & BackingBean.java. the index.xhtml has an
BH> input field, you type some text in which is stored directly in the
BH> flash, it also has a preRenderView event, the listener which puts two
I'm going to spend the next 30 minutes debugging this and I'll get back
to you.
Ed
--
| edburns_at_oracle.com | office: +1 407 458 0017
| homepage: | http://ridingthecrest.com/
| 03 work days until JSF 2.1 Milestone 2