Ajax Loader demo

This page shows an AjaxLoader loaded on demand, disabling the loading panel, and highlighting the result.
Notice the attribute highlight set to true.
Also, a button allow the content reloading on demand.

In Action

TML Source code

		<ex:ajaxLoader t:id="ajaxLoader" autoLoad="false" showPanel="false" highlight="true">
			This text is loaded on demand and highlighted at the end of the loading.<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());