Reply To: [Solved] Hello worlds fails.

Splash Forums Rewrite Users [Solved] Hello worlds fails. Reply To: [Solved] Hello worlds fails.

#25450

hcubyc
Participant

@up
Indeed, there is 😉 However I’ve got following problem:
I can’t (using NavigationHandler or your Nagivate) redirect/forward to any page from my exception factory class and from one of my managed beans – it doesn’t work from @PostConstruct init(). Any ideas? Everything else works great.
There’s no error in console, e.g. my init method:

@PostConstruct
	public void init() {
		user = Users.findByUsername(username);
		if (user == null) {
			navigator.forward("pretty:404"); // tried to put everything here.
		}
	}
  • This reply was modified 8 years, 1 month ago by  hcubyc.