Babu Subburathinam

Greenhorn
+ Follow
since Sep 03, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

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.

15 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}?
15 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.


15 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?
15 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.
15 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.
15 years ago
JSF
The tag library documentation does not list onchange as a attribute of h:commandLink.

Which documentation are you referring to?
15 years ago
JSF