aspose file tools
The moose likes JSF and the fly likes How to call JSF action method in by popping up new window (JSF+ExtJs) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to call JSF action method in by popping up new window (JSF+ExtJs)" Watch "How to call JSF action method in by popping up new window (JSF+ExtJs)" New topic
Author

How to call JSF action method in by popping up new window (JSF+ExtJs)

Praveen Yendluri
Greenhorn

Joined: Apr 13, 2011
Posts: 27
Hi,

I am new to EXT JS, I am using JSF+ExtJs in my project.
I have a requirement like when clicking on Jsf command link (just a link in xhtml) , it should open new window in ext js and calls action method of Managed bean (JSF Managed bean). Managed beans fetches data from DB and displays those data in xhtml (front end) in tabular format.

That xhtml should be opened in the earlier pop up.

It would be great if any helps me in ths regard.

Thanks,
Praveen
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14456
    
    7

You've got it backwards. You can do a commandLink that invokes an action method to prepare your table display and put a "target" on it to cause the results to open in a new window.

Although personally, I hate apps that open windows.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call JSF action method in by popping up new window (JSF+ExtJs)
 
Similar Threads
Implicit navigation redirect causing new session
DWR/JSF integeration
<h:commandLink> is not working in JSF 2.0
jsf problem go from jsp page to another jsp in new window
Struts action mappings not working correctly