Cell<Cartella> cell = new AbstractCell<Cartella>("click")
{
@Override
public void render(Context context,
Cartella value,
SafeHtmlBuilder sb)
{
sb.appendEscaped(value.getDescCartella());
}
@Override
public void onBrowserEvent(Context
context, Element parent,
Cartella value,NativeEvent event, ValueUpdater<Cartella>
valueUpdater)
{
if
("click".equals(event.getType()))
{
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.