Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Praveen Yendluri
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!