itself.
But in my case, the tree item contains a CellTable and that CellTable
contains some clickable cells.
In such a case, I can't make it work.
On May 2, 5:13 pm, lamre <erm...@gmail.com> wrote:
> Cell<Cartella> cell = new AbstractCell<Cartella>("click")
> {
> @Override
> public void render(Context context, Cartella value,
> SafeHtmlBuilder sb)
> {
> sb.appendEscaped(value.getDescCartella());
> }
> //gestiamo gli eventi
> @Override
> public void onBrowserEvent(Context context, Element parent,
> Cartella value,NativeEvent event, ValueUpdater<Cartella>
> valueUpdater)
> {
> if (value == null) { return; }
> super.onBrowserEvent(context, parent, value, event,
> valueUpdater);
> if ("click".equals(event.getType()))
> {
>
> ControllerPqm.getInstance().loadCartella(value.getIdCartella());
> // Window.alert("Click sulla cartella "+
> value.getDescCartella());
> }
> }
> };
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment