Re: GWT CELLTABLE : How to set descending icon to column on celltable header ?

2011-10-05 Thread Claude
Just call you method twice and the icon will be DESC :)

table.getColumnSortList().push(testColumn); = ASC
table.getColumnSortList().push(testColumn); = DESC

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/FSX3ueWLRK0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory + collectios

2011-07-29 Thread Claude
Here :) 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5524q=mapscolspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/sGU0BY-EdN0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: adding code to RequestFactory Proxy

2011-05-24 Thread Claude
Hey, 
You can define and implement your methods on the server side, and then 
simply add them in your Proxy class, that's all.

class Meeting  { 
 
public boolean isStarted() { return getStartTime() != null  );
public boolean isFinished() { return getStopTime() != null ); 
 
} 

class MeetingProxy extends EntityProxy { 
   public Date getStartTime(); 
   public Date getStopTime(); 
    
   public boolean isStarted();
   public boolean isFinished();
} 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory: Find out which exception was thrown at serverside

2011-05-24 Thread Claude
Hey, 

You can implement the interface ExceptionHandler, and use it in your own 
implementation of RequestFactoryServlet

public class MyExceptionHandler implements ExceptionHandler {

@Override
public ServerFailure createServerFailure( final Throwable throwable ) {
 // Create your ServerFailure from the Throwable
 ...
}
}

public class MyRequestFactoryServlet extends RequestFactoryServlet {
  
public CommonRequestFactoryServlet() {
super( new MyExceptionHandler(), ... );
}
}

Don't forget to declare MyRequestFactoryServlet in the web.xml
 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.