Home
> ICEfaces, JavaScript > Preventing multiple form submits in ICEFaces by disabling commandButton
Preventing multiple form submits in ICEFaces by disabling commandButton
This post has moved here: http://javaskeleton.blogspot.com/2011/01/preventing-multiple-form-submits-in.html
Categories: ICEfaces, JavaScript
A really smart way to handle the double click issue. Thanks!
Could you provide the steps for fileentry tag to use
santhosh
Hi Santosh,
The documentation for the fileentry component can be found here: http://wiki.icefaces.org/display/ICE/FileEntry. Basically you add the tag to your facelet and then you add a listener to your backing bean that will be called when a file is uploaded. Please note that this is for ICEFaces 2.x. For ICEFaces 1.x please see http://component-showcase.icefaces.org/component-showcase/showcase.iface and selet “file upload”.
Hi
Thanks for your reply
I am using icefaces 2 and i have tried the same which you have mentioned and getting session expired exception
When are you getting the session expired? After you have uploaded a file? Could it be that you are uploading a very big file which takes a lot of time? If so, you should probably increase the session-timeout in the web.xml file, like this:
<session-config>
<session-timeout>120</session-timeout>
</session-config>
This sets the timeout to 120 minutes.
Mathiasdegroof
Thanks for your quick response and i could resolve. File uploading is successfull. The session problem was not due to file.
I did mistake in calling backing bean
Santhosh