Skip to content Skip to sidebar Skip to footer

Smartclient: How To Use Modal Window

I want to develop an application in SmartClient using javascript. In that application, it takes inputs like price range and category. On form submit, without reloading the page it

Solution 1:

They have attached JavaScript associated with the code. Two basic properties of Window are applied to get a Window having Modality:

  1. IsModal = true;
  2. ShowModalMask = true.

Solution 2:

That's javascript(I guess JSNI Code impl) based implementation. For java code implementation of similar example refer: http://www.smartclient.com/smartgwt/showcase/#layout_windows_modality. You can achieve the modality by simply setting setIsModal(Boolean) of the corresponding dialog box to true.

Solution 3:

Well the programming done here is very simple. If you are good in java-script then try to learn JSON (java script object notation) and you would find it simple.

JSON is becoming popular data interchange medium. It's light weight, easy to parse, and consumes less traffic.

Post a Comment for "Smartclient: How To Use Modal Window"