Wizard reset all values less last step.

UI Components for JSF
Post Reply
tatodasti
Posts: 5
Joined: 25 May 2017, 10:20

27 May 2017, 22:50

I have a problem with Wizard. Bean only Collect the values of last step. Previous are null.

Thanks


Edit: I check this problem again and all values are null. I renember that before the last step values are good, but i cant recover achieve code.
Does anyone know what happens?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

28 May 2017, 14:08

What is the scope of your bean collecting all the values?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

tatodasti
Posts: 5
Joined: 25 May 2017, 10:20

02 Jun 2017, 13:30

Melloware wrote:
28 May 2017, 14:08
What is the scope of your bean collecting all the values?
Scope variables is private, should be public?

Jan Eckert
Posts: 84
Joined: 11 Sep 2014, 10:13
Location: Brussels, Belgium

06 Jun 2017, 12:33

Melloware was referring to the scope of the bean in terms of
@RequestScoped, ..., @ApplicationScoped because (s)he suspected that data collected earlier might get lost due to a too short lifespan.
Primefaces 6.1+
Wildfly 11

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 42 guests