Reply To: Can I pass an Object to a viewscoped bean?

Splash Forums Rewrite Users Can I pass an Object to a viewscoped bean? Reply To: Can I pass an Object to a viewscoped bean?

#26541

cilf
Participant

Yeah, just FYI, typically what you are doing would be done (in JSF) by simply using a join, then handling this using the tag of the XHTML page itself. Then you can forward/send to 404/or handle navigation a little more smoothly, since you’re already in an initialized JSF environment:

Yup I ended up doing exactly that. Thanks for the advice.

As for passing the object to the viewscoped bean I managed to get it running just by simply injecting the bean into a @RewriteConfiguration class via CDI and using it as I needed. Thanks for the help 🙂