vendredi 27 mars 2015

How to create anchorage with on click?

I have a form built with ZK. This is the code:



<template name="model:group">
<group label="@load(each)" onClick="@command('viewGraph', self=self)" onCreate="self.setOpen(false)" />
</template>


In the bottom of the page I have a chart with an ID. In html if I write


Link


The focus of the page should be the element with id = chartID.


How can I do the same with zk and with onclick?


Aucun commentaire:

Enregistrer un commentaire