voyent
dropdowns are not disabled after ice submit  XML
Forum Index -> Portals & Portlets
Author Message
javaji.maruthi

Joined: 13/Dec/2011 04:35:28
Messages: 3
Offline


Hi Everybody,

As per the requirement in my project, I have to disable dropdowns and input text boxes on click of submit button which internally submitting the form using java script. drop downs are not disabled through js. Pls find the js snipet which I am using for ice:form submittion.

[code]

iceSubmit(form, componentObj, event);


my jsp contains below code to call js function on form submittion

Ice.onSendReceive('document:body', enableDisableCockpit , enableDisableCockpit );
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


What version of ICEfaces are you working with?

Not entirely sure what you're asking for but do you need to prevent interaction with the page once a submission is made? Perhaps this is what you are looking for:

http://wiki.icefaces.org/display/ICE/blockUIOnSubmit

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team