aspose file tools
The moose likes JSF and the fly likes h:commandLink issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "h:commandLink issue" Watch "h:commandLink issue" New topic
Author

h:commandLink issue

Richard Roszak
Greenhorn

Joined: Jan 06, 2009
Posts: 27
I'm having an issue it opening a popup using h:commandLink. The first time I clink on the commandLink the browser creates the popup goes out to the server to my MyBean.generatePdf method and creates the pdf in the popup. If I don't manually close the popup and click on the link again the main browser gets replicated in the popup.


Here is the jsp code:



I followed it in debugger on server and I see the first time it directly goes into my MyBean.generatePdf method but the second click only takes me into the getter for MyBean.generate and just returns.

Another thing I found is that if I try a third click it works correctly as it did the first time. Why wouldn't it see the action correctly the second time in?

Thanks,
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: h:commandLink issue
 
Similar Threads
Simple list table
Commandlink problem
Popup window question
Popup window question
I need to open a popup from a jsf page.