Hi,
I have a list with several elements (templates)… and i have some links in that template thar fires when onclick…
The action linked to that onclick opens a window and i want to pass the obj from the list element to that window…
this is my code:
onclick event:
function verDetallePublicacion(listItemObject) {
_ventana.verDetallePublicacion();
$$(“winDetallePublicacion”).show();
}
window.js (where i implement window views)
var _ventana = {};
_ventana.elements = {};
_ventana.verDetallePublicacion = function () {
dhx.ui(_ventana.elements.winDetallePublicacion);
};
_ventana.elements.winDetallePublicacion = {
view: “window”,
id: “winDetallePublicacion”,
head:
{
view: “template”,
id: “winHeadDetallePublicacion”,
template: “
height: 40
},
body:
{
view: “template”,
template: “
}
}
and i want to have the object of the list item in the view “ventana.elements.winDetallePublicacion”
how can i do this?
thanks and greetings!