Ajax Loader demo

This page shows an AjaxLoader loaded on demand, and disabling the loading panel.
Notice the attribute autoLoad set to false, as the showPanel one.
Also, a button allow the content reloading on demand.

In Action

TML Source code

		<ex:ajaxLoader t:id="ajaxLoader" autoLoad="false" showPanel="false">
			This text is loaded on demand.<br/>
			No time server side.<br/>
			Curent Datetime : ${date}
		<input type="button" onclick="ajaxLoader.load()" value="Load"/>

Java code

    private String date;

    public void onActivate()
        date = new SimpleDateFormat("MM-dd-yyyy HH:mm:ss").format(new Date());