Yui 8
YUI Asynchronous Data Table Load
YUI Data Table can be loaded From Asynchronous Servlet Response. “datatable” module can be included by using YUI.use() function. “yui3-datatable-table” is the class for wrapping the table element. Project Structure:- This demo uses a Gson jar library for creating json data . This json data can be called using a Java servlet. The Stucture of […]
Asynchronous File Upload Using YUI IO
YUI IO can be used for asynchronous file uploading. YUI ‘io’, ‘io-form’,’io-upload-iframe’ modules are used for handling asynchronous request. The attribute that makes it asynchronous is upload: true. In Servlet Apache file upload library is used (commons-fileupload-1.1.1.jar, commons-io-2.4.jar) . The Download links are:- http://commons.apache.org/fileupload/ http://commons.apache.org/io/download_io.cgi […]
Ajax Queue For Servlet Using YUI IO
“YUI IO” Queue feature provides control above series of Ajax request to server. It supports FIFO transactions for request while each request is non-blocking type. Different methods:- start : Starts the queue for the requests. stop: Stops the queue fir making request. promote: Promotes the queue .Changes the priority of the execution remove: Removes […]
YUI IO And Servlet Ajax Request
YUI (Yahoo User Interface) Library is based on JavaScript language. YUI3 has many individual modules which offers different features. “IO” is the module for asynchronous request to server. YUI can be downloaded from :- http://yuilibrary.com/download/yui3/ Different IO events are:- start: event handler for ajax request. complete: event […]