Foros de discusión
Datatable with selectionMode in alloy:dialog
Nicola Sar, modificado hace 7 años.
Datatable with selectionMode in alloy:dialog
New Member Mensajes: 7 Fecha de incorporación: 12/02/16 Mensajes recientes
Hi all,
I am trying to rerender an alloy:dialog that render an alloy:datatable in selectionMode="radio",
when I click on alloy:button to open dialog, It doesn't open dialog.
But if I remove from datatable the selectionMode, It works. Any idea?
My environment:
liferay-faces-alloy/bridge-impl/portal/faces-util/bridge-api --> 3.2.5-ga6
jsf-api/impl --> 2.1.29
Thank you for your help
Nicola
I am trying to rerender an alloy:dialog that render an alloy:datatable in selectionMode="radio",
when I click on alloy:button to open dialog, It doesn't open dialog.
But if I remove from datatable the selectionMode, It works. Any idea?
My environment:
liferay-faces-alloy/bridge-impl/portal/faces-util/bridge-api --> 3.2.5-ga6
jsf-api/impl --> 2.1.29
Thank you for your help
Nicola
Kyle Joseph Stiemann, modificado hace 7 años.
RE: Datatable with selectionMode in alloy:dialog
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Hi Nicola,
Can you post the shortest code necessary to reproduce your issue? Also, are there any errors in the server or browser logs?
- Kyle
Can you post the shortest code necessary to reproduce your issue? Also, are there any errors in the server or browser logs?
- Kyle
Nicola Sar, modificado hace 7 años.
RE: Datatable with selectionMode in alloy:dialog
New Member Mensajes: 7 Fecha de incorporación: 12/02/16 Mensajes recientes
Hi Kyle,
I've no errors on server, but that on browser console:
I've attached simple files to reproduce errors.
Thank you for your help
Nicola
I've no errors on server, but that on browser console:
onclick="Liferay.component('dialog1').toggle();" onfocus="this.className+=' btn-focus';return false;" onblur="this.className=this.clas...Can not retrieve the property ' toggle ' to a reference zero or undefined
I've attached simple files to reproduce errors.
Thank you for your help
Nicola
Archivos adjuntos:
Kyle Joseph Stiemann, modificado hace 7 años.
RE: Datatable with selectionMode in alloy:dialog
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Hi Nicola,
I think you might be running into FACES-2580. Please try either changing h:head and h:body to alloy:head and alloy:body or adding alloy.js to h:head:
<alloy:outputScript library="liferay-faces-alloy" name="alloy.js" target="head" />
- Kyle
I think you might be running into FACES-2580. Please try either changing h:head and h:body to alloy:head and alloy:body or adding alloy.js to h:head:
<alloy:outputScript library="liferay-faces-alloy" name="alloy.js" target="head" />
- Kyle
Nicola Sar, modificado hace 7 años.
RE: Datatable with selectionMode in alloy:dialog
New Member Mensajes: 7 Fecha de incorporación: 12/02/16 Mensajes recientes
Thank you so much Kyle!
Now it works.
Nicola
Now it works.
Nicola
Kyle Joseph Stiemann, modificado hace 7 años.
RE: Datatable with selectionMode in alloy:dialog
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Glad it's working for you! Thanks for using Liferay Faces!
- Kyle
- Kyle