Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Deepali
We are seeing a huge increase in the compilation time after upgrading
from GWT version 1.7 to 2.3. Given below is a comparison of the
compile time that we are seeing for one language and one browser.
It does not seem to be related to code splitting or IE9 support.

Has anyone else noticed such an increase with the version change? And
do you have any suggestions for reducing it?

(We are doing this compilation for our integrated test, UAT and
Production environments. So draftcompile or optimize 0 cannot be
used.)

GWT Ver Code Splitting Local workersBrowser Time taken
2.3 Yes default IE  23 minutes 55  seconds
1.7 No  default IE  10 minutes 25  seconds
2.3 No  default IE  21 minutes 22 seconds
1.7 No  2   IE  10 minutes 14 seconds
2.3 No  2   IE  21 minutes 29 seconds
1.7 No  2   FF  9 minutes 38 seconds
2.3 No  2   FF  20 minutes 24 seconds
2.3 No  4   FF  20 minutes 18 seconds

-- 
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: gwt button cell

2011-03-20 Thread Deepali Bhandari


On Mar 17, 9:34 pm, Deepali Bhandari deepalib...@yahoo.com wrote:
 Hi
 I have a cell table in which the first column, is a button cell. I
 need to be able to add style to it. I am unable to find code samples
 for it.
 I would also like to be able to click on the button cell. Somewhere I
 saw usage of fieldupdater but am unclear on it/

 --thanks.

I finally figured out how to add style for button cell. Essentially a
button cell renders an htm button. All you need to do is to extend a
ButtonCell class, then override the render method. In the render
method implementation append the html string on the SafehtmlBuilder.
Like so  with style attribute on the html button, basically yes
intercepting the html.
 private class MyButtonCell extends ButtonCell
{
/**
 * Constructor.
 */
public MyButtonCell()
{
super();

}

/*
 * (non-Javadoc)
 * @see
com.google.gwt.cell.client.ButtonCell#render(com.google.gwt.cell.client.Cell.Context,
 * com.google.gwt.safehtml.shared.SafeHtml,
com.google.gwt.safehtml.shared.SafeHtmlBuilder)
 */
@Override
public void render(final Context context, final SafeHtml data,
final SafeHtmlBuilder sb)
{

sb.appendHtmlConstant(button type=\button\ style=
\width=30px;text-align:center;border-radius:50px;font-family:
Helvetica, Verdana, sans-serif; font-size: 0.9em;font-weight: bold;
font-weight: bold;\
+ tabindex=\-1\);

if (data != null)
{
sb.append(data);
}
sb.appendHtmlConstant(/button);
}

}

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



gwt button cell

2011-03-18 Thread Deepali Bhandari
Hi
I have a cell table in which the first column, is a button cell. I
need to be able to add style to it. I am unable to find code samples
for it.
I would also like to be able to click on the button cell. Somewhere I
saw usage of fieldupdater but am unclear on it/

--thanks.

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