Foros de discusión

Alloy datatable (aui-datatable) in Liferay CE 6.1.2 GA3?

Rob Hall, modificado hace 9 años.

Alloy datatable (aui-datatable) in Liferay CE 6.1.2 GA3?

Junior Member Mensajes: 47 Fecha de incorporación: 30/11/11 Mensajes recientes
I've been trying to do some simple datatable usage on a page in a portlet deployed to Liferay CE 6.1.2 GA3. I've tried both using the YUI3 datatable (YUI 3.11.0) and the AUI datatable---I followed the tutorial here (http://alloyui.com/tutorials/datatable/) and set up a simple example.

The behavior I'm seeing is the table is never rendering--I get a blank space in my portlet page. I see in the Chrome browser developer console a message: yui: NOT loaded: aui-datatable

I've used AUI for a couple of years now w/ Liferay portlets, but this is my first time with the datatable. I feel like there is some fundamental Liferay-specific configuration I'm missing. I also tried adding this to the liferay-portlet.xml portlet for YUI:
<header-portlet-javascript>http://yui.yahooapis.com/3.11.0/build/yui/yui-min.js</header-portlet-javascript>

and for AUI:
<header-portlet-javascript>http://cdn.alloyui.com/2.5.0/aui/aui-min.js</header-portlet-javascript>

Neither seems to help. I know the script with the data table is run, because I've tested it with alerts at various points.

Thoughts?

Attached is my simple data table jsp.

Archivos adjuntos:

thumbnail
bhargavi m, modificado hace 9 años.

RE: Alloy datatable (aui-datatable) in Liferay CE 6.1.2 GA3?

Junior Member Mensajes: 47 Fecha de incorporación: 5/04/12 Mensajes recientes
http://alloyui.com/tutorials/datatable/