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 [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.

Reply via email to