Hello. I'm new into JSF, and I already have a problem
I display a list(using a DataTable).When I press the Upload Button, a popup windows appears, containing a form, where I fill in the data.In the backingBean of the popup I create an Object from the readed data. This far everything is good.
Now I don't know how to pass this Object to my list, which is in the Backing Bean of the MainWindow.
I hope I was clear, I know my english is perfectible...
i'm also quite new to Faces. My first thought is to define a link between your both backing beans over the faces-config.xml, where you create in one <managed-bean> an sub-element <managed-property> which references your popup-backing bean.
Just use the usual declarations for a JSF page for the popup and the usual path configuration for JSF if its simply a call to
...did you have the fish?!............................ No.
Joined: Nov 06, 2009
I'm not sure I understood you
In first.jsf I have
In msPopupHandler.java I have:
and my popupWindow.jsf
I know, maybe the design is not the best, maybe I could have done it better, but as I sayed, I'm new with Jsf and with JavaEE also
Any suggestions and advices would be appreciated.Thanks