yes this works now, however i am finding it difficult to achieve my objective. When the user selects an item i want to be able to find out the value that has been selected and use this to control what is rendered on the screen..
i assumed that
<h:selectOneMenu value="#{jobManagerHome.selectedJobType}">
would set the value of selectedJobType on my Home class but it does not seem to be working..
can anyone advise
thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061614#4061614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061614
"luuzz" wrote : It's working great but i don't understand why i have to expose the setters and getters in the bean interface...
| Thanks
if my understanding is correct, you have to the declare getters and setters in the so-called "business interface" of your EJBs because with the EJB(3) architecture you're never accessing EJB bean instances directly. Technically, when a EJBean is called, a container-generated proxy/stub object is called which in turn delegates to the EJB instance. These container-generated proxy/stub objects implement the same methods as declared in the business interface of your EJB, that's why you need to define a business interface.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061609#4061609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061609