This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!

Babu Subburathinam

Greenhorn
+ Follow
since Sep 03, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Babu Subburathinam

Rejo Varghese wrote:but i wanna know if it can be used only in a MVC framework or can it be used for java applicaitons.



Spring can be used in any application. The application does not have to be a web application.

Rejo Varghese wrote:
I want to know about dependency injection.



Learn from here.

10 years ago
JSF
When you use #{agsws0} it is going to start looking for a <key>agsws0</key>. Which is in the process of getting defined. So there is a cyclical dependency.

So what is the value of #{agsws0}?
10 years ago
JSF
One more observation on your code

tito couto wrote:



The <h:commandLink ..> is embedded inside the <h:commandButton..>. I do know if this is valid and necessary. Instead try giving this a shot. This may or may not be the cause of your issue, but will be good to get it straight.


10 years ago
JSF

tito couto wrote:
This actual code disables the button and goes to the server, but the button is never "automatically enabled"



Since you say "goes to the server", I presume your exportPDF.exportPDF method is getting invoked. Is that right?

If so, after the method has completed execution, what does the browser status indicate? Is the browser still waiting for a response or is it gets a response but the button is disabled?
10 years ago
JSF
Everything seems to be all right.

Would you please do a view source on the browser and copy paste the contents here.
10 years ago
JSF
To disable the button on click, the discussion here details the how to.

To enable the button back
1. If you are not using AJAX, then the button will be automatically enabled when the response in posted back to the browser
2. If you are using AJAX, the way to enable the button will depend on how (e.g. 3rd party libraries that you may be using) you achieve AJAX.
10 years ago
JSF
The tag library documentation does not list onchange as a attribute of h:commandLink.

Which documentation are you referring to?
10 years ago
JSF