dcsimg
JSF navigation and more problems: Urgent
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rachana_patel
Posted On:   Thursday, February 15, 2007 09:11 PM

Hi everyone, I am new to jsf, as my new project will roll out on jsf, I am trying to learn it and put various elements of jsf into respective places. however I hv come across major doubts related to action listeners and more. As per the requirement of my application I wrote down the flow as follows 1) jsp through action listeners calls a listener method in managed beans 2) action listener method in the bean delegates the job to a action handler and passes it a reference of managed beans. 3) action handler uses managed beans to populate DAO objects. here I carry out some more stuff to convert this dAO into xml and sending it to a server (http po   More>>

Hi everyone,

I am new to jsf, as my new project will roll out on jsf, I am trying to learn it
and put various elements of jsf into respective places. however I hv come
across major doubts related to action listeners and more. As per the
requirement of my application I wrote down the flow as follows






1) jsp through action listeners calls a listener method in managed beans

2) action listener method in the bean delegates the job to a action handler and
passes it a reference of managed beans.

3) action handler uses managed beans to populate DAO objects. here I carry out
some more stuff to convert this dAO into xml and sending it to a server
(http post) which again sends an xml as response. I format this
xml into DAO objects. So handler has access to dAO objects which I
need to use in JSP page.




Now where do i say that after all this my control goes to this jsp. (some jsp) I
dont figure out how faces-config.xml will help me here.




also in jsf what will be the proper way to make available my DAO objects in
JSP.


replies awaited

Thanks in advance...    <<Less

Re: JSF navigation and more problems: Urgent

Posted By:   Anonymous  
Posted On:   Thursday, April 26, 2007 04:52 AM

Hi Rachna,

The soln which I can see is mapping in faces-config file like:



some String returned from your handler
some.jsp

About | Sitemap | Contact