[gwt-contrib] Re: Comment on IE8Support in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by ankur@gmail.com:

Dear All,

Our organization is considering GWT, one of the most critical aspect is  
X-Browser support. I read in FAQs that GWT supports IE8. But here its a  
different story. Can someone confirm latest update on IE8 support in GWT  
2.4.

Any help in this regard is much appreciated.

For more information:
http://code.google.com/p/google-web-toolkit/wiki/IE8Support

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

I was getting all excited about something that wasn't broken.
MobileWebApp is the troubled sample, blessed with being at the
intersection of m2e, gpe and gae.

Anyway, I think these are done now.

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

On 2011/09/15 19:48:26, rjrjr wrote:

Okay, ready. Best bet is to diff against v1:
http://gwt-code-reviews.appspot.com/1547804/diff2/1:6/samples/dynatablerf/pom.xml

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

Oops, haven't posted patch thee yet, one sec…

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

On 2011/09/15 19:35:38, rjrjr wrote:

Rajeev and I decided to go with two pom's. The default one is pretty
much what was in place already, cleaned up a bit. It uses the command
line validation tool, and seems to import into Indigo J2EE just fine.

pom-eclipse-import.xml is much simpler and works at the command line. In
theory, when m2e gets its act together it should also work for importing
into eclipse. Until that happy day, I'm leaving it in the project for
reference.

So did you notice the buried lead? ** I am importing this into Eclipse
J2EE and running it without incident from GPE  2.4.0.r37v201108301710 **


I've been very careful to ensure that nothing was run at the command
line first. mvn clean eclipse:clean, git clean -f -d, rm -f .settings.
Find reveals no .class files lurking anywhere and no sneaky generated
.java.

Why is this working for me? About the only thing of substance that I've
changed is importing both requestfactory-server (for json deps) and
gwt-servlet (for ValidationTool), instead of only importing the latter
and dealing with its json deps by hand.

Dave and Rajeev, can you patch and reproduce the success?


http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Makes the @GwtTransient mechanism work for any annotation with that (issue1544803)

2011-09-15 Thread cromwellian

http://gwt-code-reviews.appspot.com/1544803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10650 committed - Use LinkedHashMap instead of HashMap so that the methods returned by g...

2011-09-15 Thread codesite-noreply

Revision: 10650
Author:   stephenle...@google.com
Date: Thu Sep 15 09:09:17 2011
Log:  Use LinkedHashMap instead of HashMap so that the methods returned  
by getAllInterfaceMethods() are in their declaration order, so that the  
generated methods will be in their declaration order.


Review at http://gwt-code-reviews.appspot.com/1549803

Review by: r...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10650

Modified:
  
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java


===
---  
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java	 
Tue Apr 26 08:02:24 2011
+++  
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java	 
Thu Sep 15 09:09:17 2011

@@ -28,6 +28,7 @@

 import java.util.HashMap;
 import java.util.Iterator;
+import java.util.LinkedHashMap;
 import java.util.Map;
 import java.util.Set;

@@ -44,7 +45,7 @@
* @return interface methods.
*/
   public static JMethod[] getAllInterfaceMethods(JClassType type) {
-Map methods = new HashMap();
+Map methods = new LinkedHashMap();
 getAllInterfaceMethodsAux(type, methods);
 return methods.values().toArray(new JMethod[methods.size()]);
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread Jeff Larsen
eclipse run as webapp. 

I just spent a few hours debugging problems with this around the office and 
I know where the problem is now. I just haven't implemented the solution.

When you do both of these things (note I cut useless bits for clarity)



${basedir}/generated-sources/annotations




org.codehaus.mojo
build-helper-maven-plugin
1.7


add-source
generate-sources

add-source



generated-sources/annotations






what happens is the m2e eclipse plugin has a conflict. It wants to exclude 
** from the eclipse directories when you do ...

when you use the build-helper-connector it wants to make the source 
directory a source directory without the exclude. The exclude ** wins. 

I know there are other ways of including the java source in the application 
so I'm going to research those so I don't end up fighting with the m2e 
plugin. 


They made some *interesting* design decisions when going to m2e.

I can go into more depth on this later if needed, but I've got a demo to 
prepare for in an hour. 

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Hosted mode without plugin

2011-09-15 Thread John Tamplin
On Thu, Sep 15, 2011 at 2:44 PM, Marcin Wiśnicki wrote:

> Is this blocking strictly necessary or would it suffice to simulate it
> with continuation passing ?
>

The problem is the original call site is written as a blocking call, and
ultimately may have originated from Java.  Ie:

void foo() {
  x = bar();
}

native int bar() /*-{
   var x = @Foo::baz()();
   return 2 * x;
}

int baz() {
  return 42;
}

Sure, you might could theoretically rewrite bar to pass a continuation to
baz, but baz is Java code, so you would have to rewrite that as well as
anything it calls, which may include JRE code.  Then that passes the other
way as foo() has to know that bar doesn't return the value directly.

I really don't think this is feasible.

-- 
John A. Tamplin
Software Engineer (GWT), Google

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Use LinkedHashMap instead of HashMap so that the methods returned by getAllInterfaceMethods() ar... (issue1549803)

2011-09-15 Thread rice

LGTM

http://gwt-code-reviews.appspot.com/1549803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Hosted mode without plugin

2011-09-15 Thread Marcin Wiśnicki
On Thu, Sep 15, 2011 at 20:19, John Tamplin  wrote:
> The problem is you have to block the executing JS while it makes a
> synchronous call to the Java code executing in the code server.  As you
> can't allow execution to return to the browser event loop, I don't see how
> you could implement that in JS.

Is this blocking strictly necessary or would it suffice to simulate it
with continuation passing ?

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Hosted mode without plugin

2011-09-15 Thread John Tamplin
On Tue, Sep 13, 2011 at 9:06 AM, Marcin Wiśnicki wrote:

> Would it be technically possible to implement hosted mode without
> using browser plugin ?
> I'm thinking about sending messages straight from JavaScript over XHR/
> Comet/WebSocket to embedded Jetty server and interacting with JS
> engine using eval().
> Is there something that would be impossible to implement this way ?
>

The problem is you have to block the executing JS while it makes a
synchronous call to the Java code executing in the code server.  As you
can't allow execution to return to the browser event loop, I don't see how
you could implement that in JS.

-- 
John A. Tamplin
Software Engineer (GWT), Google

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread Ray Ryan
Jeff, how are you launching your app under eclipse? Are you making m2e fire
gwt:run, or are you using Google Plugin for Eclipse > Run as Web App?

On Thu, Sep 15, 2011 at 2:58 AM, Jeff Larsen  wrote:

> I know I would like it if the RequestFactory stuff was pushed into maven
> central.
>
> Don't make gwt-servlet into a real dependency, add it to the list of
> dependencies in your plugin.
>
>
>   
> org.bsc.maven
> maven-processor-**plugin
> 2.0.5
> 
>   
> process
> 
>   process
> 
> generate-sources
> 
>   
>   
>
> com.google.web.**bindery.requestfactory.apt.**
> RfValidator
>   
> 
>   
> 
> 
>   
> com.google.gwt
>gwt-servlet
>${gwt-version}
> 
> 
> 
>   
>
>
> When you switch that to requestfactory-apt, you should be able to get rid
> of the explicit binding as well, but I have it in mine for documentation
> purposes.
>
> I was just working on this last week for some annotation processors I've
> written for my application to get around writing the proxies for
> RequestFactory, building the columns that map to those proxies then also
> building the constantswithlookup to map the values in there.
>
> I needed to do some additional steps when doing this with m2e aswell. Since
> there are no m2e connectors for any of the annotation processor maven
> plugins, I worked around that with the build-helper plugin.
>
> The build helper plugin allows you to specify additional source folders, so
> I just mapped a new source folder to where my maven annotation processor was
> going. I think I found a bug in build-helper-connector where you can't
> specify source folders under target, but maybe you'll have better luck.
>
> Then because I added a new source folder, I needed to add the maven clean
> plugin to make sure the generated artifacts were getting removed every time
> a maven clean happened.
>
> tl;dr
>
> here are the relevant bits of the pom that I was using to get all this
> working together.
> 
> org.codehaus.mojo
>  build-helper-maven-plugin
> 1.7
>  
> 
> add-source
>  generate-sources
> 
> add-source
>  
> 
> 
>  ${basedir}/generated-sources/annotations
> 
> 
>  
> 
> 
> 
> maven-clean-plugin
> 2.4.1
>  
> 
> 
>  generated-sources/annotations
> 
> **/*
>  
> 
> 
>  
> 
> 
>
> org.bsc.maven
> maven-processor-plugin
>  
> 
> process
>  
> process
> 
>  generate-sources
> 
> 
>  
> 
> com.ecologic
>  rfprocessor
> 0.0.1-SNAPSHOT
> 
>  
>
> 
> ${basedir}/generated-sources/annotations
>  
> com.ecologic.rfprocessor.CreateDefaults
> 
>  
>
>
>
>
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] During row mouseout events, only consider it as row unhovering if the (issue1546803)

2011-09-15 Thread pengzhuang

Reviewers: jlabanca,

Description:
During row mouseout events, only consider it as row unhovering if the
event coordinates are outside the hovering row. Previously, if there's a
popup
dialog floating on top of a table row, moving into this element will
cause a row unhover event. This is particularly a problem if the element
is shown/dismissed based on row hovering (causing a flickring effect).

Also include the original browser event in the RowHoverEvent in case the
user needs more information about the original event.


Please review this at http://gwt-code-reviews.appspot.com/1546803/

Affected files:
  M user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
  M user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java


Index: user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
===
--- user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
(revision 10636)
+++ user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
(working copy)

@@ -44,6 +44,7 @@
 import com.google.gwt.safehtml.shared.SafeHtmlUtils;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.Event;
+import com.google.gwt.user.client.Window;
 import  
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant;
 import  
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant;

 import com.google.gwt.user.client.ui.Widget;
@@ -1777,13 +1778,26 @@
   if ("mouseover".equals(eventType)) {
 // Unstyle the old row if it is still part of the table.
 if (hoveringRow != null &&  
getTableBodyElement().isOrHasChild(hoveringRow)) {

-  setRowHover(hoveringRow, false);
+  setRowHover(hoveringRow, event, false);
 }
 hoveringRow = targetTableRow;
-setRowHover(hoveringRow, true);
+setRowHover(hoveringRow, event, true);
   } else if ("mouseout".equals(eventType) && hoveringRow != null) {
-setRowHover(hoveringRow, false);
-hoveringRow = null;
+// Ignore events happening directly over the hovering row. If  
there are floating element
+// on top of the row, mouseout event should not be triggered. This  
is to avoid the flickring
+// effect if the floating element is shown/hide based on hover  
event.

+int clientX = event.getClientX() + Window.getScrollLeft();
+int clientY = event.getClientY() + Window.getScrollTop();
+int rowLeft = hoveringRow.getAbsoluteLeft();
+int rowTop = hoveringRow.getAbsoluteTop();
+int rowWidth = hoveringRow.getOffsetWidth();
+int rowHeight = hoveringRow.getOffsetHeight();
+int rowBottom = rowTop + rowHeight;
+int rowRight = rowLeft + rowWidth;
+if (clientX < rowLeft || clientX > rowRight || clientY < rowTop ||  
clientY > rowBottom) {

+  setRowHover(hoveringRow, event, false);
+  hoveringRow = null;
+}
   }

   // If the event causes us to page, then the physical index will be  
out

@@ -2410,11 +2424,12 @@
* Set a row's hovering style and fire a {@link RowHoverEvent}
*
* @param tr the row element
+   * @param event the original event
* @param isHovering false if this is an unhover event
*/
-  private void setRowHover(TableRowElement tr, boolean isHovering) {
+  private void setRowHover(TableRowElement tr, Event event, boolean  
isHovering) {
 setRowStyleName(tr, style.hoveredRow(), style.hoveredRowCell(),  
isHovering);

-RowHoverEvent.fire(this, tr, !isHovering);
+RowHoverEvent.fire(this, tr, event, !isHovering);
   }

   /**
Index: user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java
===
--- user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java	 
(revision 10636)
+++ user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java	 
(working copy)

@@ -19,6 +19,7 @@
 import com.google.gwt.event.shared.EventHandler;
 import com.google.gwt.event.shared.GwtEvent;
 import com.google.gwt.event.shared.HasHandlers;
+import com.google.gwt.user.client.Event;

 /**
  * Represents a row hover event.
@@ -54,8 +55,8 @@
* @return the {@link RowHoverEvent} that was fired
*/
   public static RowHoverEvent fire(HasHandlers source, TableRowElement  
hoveringRow,

-  boolean isUnHover) {
-RowHoverEvent event = new RowHoverEvent(hoveringRow, isUnHover);
+  Event browserEvent, boolean isUnHover) {
+RowHoverEvent event = new RowHoverEvent(hoveringRow, browserEvent,  
isUnHover);

 if (TYPE != null) {
   source.fireEvent(event);
 }
@@ -73,6 +74,8 @@
 }
 return TYPE;
   }
+
+  private Event browserEvent;

   private TableRowElement hoveringRow;

@@ -83,10 +86,12 @@
*
* @param hoveringRow the currently hovering {@link TableRowElement}. If  
isUnHover is false, this

*  should

[gwt-contrib] Hosted mode without plugin

2011-09-15 Thread Marcin Wiśnicki
Would it be technically possible to implement hosted mode without
using browser plugin ?
I'm thinking about sending messages straight from JavaScript over XHR/
Comet/WebSocket to embedded Jetty server and interacting with JS
engine using eval().
Is there something that would be impossible to implement this way ?

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Unable to compile GWT 2.4

2011-09-15 Thread Marcin Wiśnicki
I'm trying to compile GWT 2.4 from SVN (tags/2.4.0) in Eclipse 3.7 on
Win7/x64.
I have followed http://code.google.com/webtoolkit/makinggwtbetter.html
and eclipse/README.txt, unfortunately there are thousands of errors in
core projects.

For example in gwt-servlet:

BaseConfigurationState cannot be resolved to a type
GwtConfigurationState.java  /gwt-servlet/core/src/com/google/gwt/
validation/super/com/google/gwt/validation/client/spi

- shouldn't **/super/ be excluded ?

ConstraintViolationImpl cannot be resolved to a type
ConstraintViolationImpl_CustomFieldSerializer.java  /gwt-servlet/core/
src/org/hibernate/validator/engine

- even though such type exists in same project and has no compilation
errors

Many (but not all) types from referenced libraries and projects like
json-1.5.jar, gwt-user, gwt-dev are unresolved.

Can anyone help ?

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Add support for additional header styles for CellTable. (issue1538803)

2011-09-15 Thread pengzhuang


http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java
File
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java
(right):

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java#newcode107
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java:107:

On 2011/09/01 23:10:19, jlabanca wrote:

remove extra spaces


Done.

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java#newcode150
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java:150:

On 2011/09/01 23:10:19, jlabanca wrote:

remove extra spaces


Done.

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java#newcode170
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java:170:
private  String getExtraStyles(Header header) {
On 2011/09/01 23:10:19, jlabanca wrote:

It might be slightly more efficient to pass the classesBuilder into

this method

(rename to appendExtraStyles) and append the styles directly.  That

way, you

wouldn't have to append the empty string in the case where there

aren't extra

styles.


Done.

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/Header.java
File user/src/com/google/gwt/user/cellview/client/Header.java (right):

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/Header.java#newcode63
user/src/com/google/gwt/user/cellview/client/Header.java:63: public
String getHeaderStyleNames(H object) {
On 2011/09/01 23:10:19, jlabanca wrote:

Do we need object?  You can call getValue() from this method if the

object is

needed.


Done.

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/Header.java#newcode83
user/src/com/google/gwt/user/cellview/client/Header.java:83:
On 2011/09/01 23:10:19, jlabanca wrote:

remove extra spaces


Done.

http://gwt-code-reviews.appspot.com/1538803/diff/1/user/src/com/google/gwt/user/cellview/client/Header.java#newcode113
user/src/com/google/gwt/user/cellview/client/Header.java:113: * @param
styleNames the extra style names to applyin a space-separated list,
On 2011/09/01 23:10:19, jlabanca wrote:

/s/applyin/apply in


Done.

http://gwt-code-reviews.appspot.com/1538803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Add support for additional header styles for CellTable. (issue1538803)

2011-09-15 Thread pengzhuang

Reviewers: jlabanca,

Description:
Add support for additional header styles for CellTable.


Please review this at http://gwt-code-reviews.appspot.com/1538803/

Affected files:
  M  
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java

  M user/src/com/google/gwt/user/cellview/client/Header.java


Index:  
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java

===
---  
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java	 
(revision 10598)
+++  
user/src/com/google/gwt/user/cellview/client/DefaultHeaderOrFooterBuilder.java	 
(working copy)

@@ -20,6 +20,8 @@
 import com.google.gwt.dom.builder.shared.TableRowBuilder;
 import com.google.gwt.user.cellview.client.AbstractCellTable.Style;
 import com.google.gwt.user.cellview.client.ColumnSortList.ColumnSortInfo;
+import  
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant;
+import  
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant;


 /**
  * Default implementation of {@link HeaderBuilder} that renders columns.
@@ -102,10 +104,11 @@
 if (isSorted) {
   classesBuilder.append(sortedStyle);
 }
-
+
 // Render the header.
 TableCellBuilder th =
- 
tr.startTH().colSpan(prevColspan).className(classesBuilder.toString());
+ 
tr.startTH().colSpan(prevColspan).className(classesBuilder.toString()

++ getExtraStyles(prevHeader));
 enableColumnHandlers(th, column);
 if (prevHeader != null) {
   // Build the header.
@@ -144,9 +147,10 @@
 // The first and last columns could be the same column.
 classesBuilder.append(" ").append(
 isFooter ? style.lastColumnFooter() : style.lastColumnHeader());
-
+
 // Render the last header.
-TableCellBuilder th =  
tr.startTH().colSpan(prevColspan).className(classesBuilder.toString());
+TableCellBuilder th =  
tr.startTH().colSpan(prevColspan).className(classesBuilder.toString()

++ getExtraStyles(prevHeader));
 enableColumnHandlers(th, column);
 if (prevHeader != null) {
   Context context = new Context(0, curColumn - prevColspan,  
prevHeader.getKey());

@@ -159,4 +163,20 @@

 return true;
   }
+
+  /**
+   * Return the extra style names for the header.
+   */
+  private  String getExtraStyles(Header header) {
+if (header == null) {
+  return "";
+}
+H headerValue = header.getValue();
+String headerStyleNames = header.getHeaderStyleNames(headerValue);
+if (headerStyleNames != null) {
+  return " " + headerStyleNames;
+} else {
+  return "";
+}
+  }
 }
Index: user/src/com/google/gwt/user/cellview/client/Header.java
===
--- user/src/com/google/gwt/user/cellview/client/Header.java	(revision  
10598)

+++ user/src/com/google/gwt/user/cellview/client/Header.java(working copy)
@@ -31,6 +31,7 @@

   private final Cell cell;

+  private String headerStyleNames = null;
   private ValueUpdater updater;

   /**
@@ -52,6 +53,18 @@
   }

   /**
+   * Get extra style names that should be applied to a cell in this header.
+   *
+   * @param value the value of the header that needs to be updated
+   * @return the extra styles of the given row in a space-separated list,  
or
+   * {@code null} if there are no extra styles for the cells in  
this

+   * header
+   */
+  public String getHeaderStyleNames(H object) {
+return headerStyleNames;
+  }
+
+  /**
* Get the key for the header value. By default, the key is the same as  
the

* value. Override this method to return a custom key.
*
@@ -67,7 +80,7 @@
* @return the header value
*/
   public abstract H getValue();
-
+
   /**
* Handle a browser event that took place within the header.
*
@@ -90,6 +103,21 @@
   }

   /**
+   * Set extra style names that should be applied to every cell in this  
header.

+   *
+   * 
+   * If you want to apply style names based on the header value, override
+   * {@link #getHeaderStyleNames(Object)} directly.
+   * 
+   *
+   * @param styleNames the extra style names to applyin a space-separated  
list,

+   *  or {@code null} if there are no extra styles for this cell
+   */
+  public void setHeaderStyleNames(String styleNames) {
+this.headerStyleNames = styleNames;
+  }
+
+  /**
* Set the {@link ValueUpdater}.
*
* @param updater the value updater to use


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] GWT - Visualization - CandlestickChart Support

2011-09-15 Thread Croys
I did a simple Class to support this chart, but this chart could be at
the default package.

My Class that works fine.

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.dom.client.Element;
import com.google.gwt.visualization.client.AbstractDataTable;
import
com.google.gwt.visualization.client.visualizations.corechart.CoreChart;
import
com.google.gwt.visualization.client.visualizations.corechart.Options;

public class CandleStickChart extends CoreChart {

public CandleStickChart(AbstractDataTable data, Options options) {
super(data, options);
}

/**
 * @see CoreChart#createJso(Element)
 */
@Override
protected native JavaScriptObject createJso(Element parent) /*-{
return new 
$wnd.google.visualization.CandlestickChart(parent);
}-*/;
}

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Fix a bug where header/footer events are not fired with the correct parent. (issue1534808)

2011-09-15 Thread pengzhuang

Reviewers: jlabanca,

Description:
Fix a bug where header/footer events are not fired with the correct
parent.


Please review this at http://gwt-code-reviews.appspot.com/1534808/

Affected files:
  M user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java


Index: user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
===
--- user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
(revision 10598)
+++ user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
(working copy)

@@ -1744,7 +1744,7 @@
 .getHeader(footerParent);
 if (header != null && cellConsumesEventType(header.getCell(),  
eventType)) {

   Context context = new Context(0, col, header.getKey());
-  header.onBrowserEvent(context, cellParent, event);
+  header.onBrowserEvent(context, headerParent, event);
 }
   }



--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread rjrjr

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Add RowHoverEvent for the CellTable. This can come in handy if the user want to have special han... (issue1534804)

2011-09-15 Thread pengzhuang


http://gwt-code-reviews.appspot.com/1534804/diff/1/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
File user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
(right):

http://gwt-code-reviews.appspot.com/1534804/diff/1/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java#newcode1884
user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java:1884:
setRowStyleName(hoveringRow, style.hoveredRow(), style.hoveredRowCell(),
false);
On 2011/08/30 14:08:07, jlabanca wrote:

You should fire an unhover event here as well.  You can create a

private

setHoveringRow() method if you want to abstract some of the duplicate

code out

to one method.


Done.

http://gwt-code-reviews.appspot.com/1534804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Add RowHoverEvent for the CellTable. This can come in handy if the user want to have special han... (issue1534804)

2011-09-15 Thread pengzhuang

Reviewers: jlabanca,

Description:
Add RowHoverEvent for the CellTable. This can come in handy if the user
want to have special handling logic when a row is hovered. For example,
the style of only a few cells can be updated, or one cell can show/hide
a child element.


Please review this at http://gwt-code-reviews.appspot.com/1534804/

Affected files:
  M user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
  A user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10649 committed - Changed the interface used to send metrics to a dashboard application....

2011-09-15 Thread codesite-noreply

Revision: 10649
Author:   jhumphr...@google.com
Date: Thu Sep 15 04:20:36 2011
Log:  Changed the interface used to send metrics to a dashboard  
application. The

change allows the notifier implementation to do something at the start of an
event.

Review at http://gwt-code-reviews.appspot.com/1499811

http://code.google.com/p/google-web-toolkit/source/detail?r=10649

Modified:
 /trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannelServer.java
  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/DashboardNotifier.java
  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/NoOpDashboardNotifier.java
  
/trunk/dev/core/src/com/google/gwt/dev/util/log/speedtracer/SpeedTracerLogger.java

 /trunk/dev/core/test/com/google/gwt/dev/shell/BrowserChannelServerTest.java
  
/trunk/dev/core/test/com/google/gwt/dev/util/log/dashboard/DashboardNotifierFactoryTest.java
  
/trunk/dev/core/test/com/google/gwt/dev/util/log/dashboard/SpeedTracerLoggerTestMockNotifier.java


===
--- /trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannelServer.java	 
Wed Jun  8 11:36:57 2011
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannelServer.java	 
Thu Sep 15 04:20:36 2011

@@ -381,7 +381,7 @@
* @throws IOException
*/
   public void shutdown() throws IOException {
-getDashboardNotifier().devModeSessionEnded(devModeSession);
+getDashboardNotifier().devModeSessionEnd(devModeSession);
 QuitMessage.send(this);
   }

@@ -664,7 +664,7 @@
   private void createDevModeSession() {
 devModeSession = new DevModeSession(moduleName, userAgent);
 DevModeSession.setSessionForCurrentThread(devModeSession);
-getDashboardNotifier().devModeSession(devModeSession);
+getDashboardNotifier().devModeSessionBegin(devModeSession);
   }

   /**
===
---  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/DashboardNotifier.java	 
Wed Jun  8 11:36:57 2011
+++  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/DashboardNotifier.java	 
Thu Sep 15 04:20:36 2011

@@ -23,32 +23,28 @@
  * information from GWT runtime and compiler instrumentation.
  */
 public interface DashboardNotifier {
-  // First: Compiler related entry points
-
-  // TODO(jhumphries) Add interface methods for collecting data from the
-  // compiler
-
-  // Second: Devmode related entry points
+
+  /**
+   * Notifies the dashboard of a new top-level event starting.
+   */
+  void devModeEventBegin();

   /**
-   * Notifies the dashboard of a top-level event.
+   * Notifies the dashboard of a top-level event ending.
*/
-  void devModeEvent(DevModeSession session, String eventType, long  
startTimeNanos,
+  void devModeEventEnd(DevModeSession session, String eventType, long  
startTimeNanos,

   long durationNanos);

   /**
* Notifies the dashboard of a new session starting.
*/
-  void devModeSession(DevModeSession session);
+  void devModeSessionBegin(DevModeSession session);

   /**
* Notifies the dashboard of a session ending.
*/
-  void devModeSessionEnded(DevModeSession session);
-
-  // Third: Test related entry points
-
-  // TODO(jhumphries) Add interface methods for collecting data from  
automated

-  // tests
+  void devModeSessionEnd(DevModeSession session);
+
+  // TODO(jhumphries) Add instrumentation for compiles and GWT tests, too

 }
===
---  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/NoOpDashboardNotifier.java	 
Wed Jun  8 11:36:57 2011
+++  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/NoOpDashboardNotifier.java	 
Thu Sep 15 04:20:36 2011

@@ -24,18 +24,23 @@
 public class NoOpDashboardNotifier implements DashboardNotifier {

   @Override
-  public void devModeEvent(DevModeSession sesion, String eventType, long  
startTimeNanos,

+  public void devModeEventBegin() {
+// do nothing
+  }
+
+  @Override
+  public void devModeEventEnd(DevModeSession sesion, String eventType,  
long startTimeNanos,

   long durationNanos) {
 // do nothing
   }

   @Override
-  public void devModeSession(DevModeSession session) {
+  public void devModeSessionBegin(DevModeSession session) {
 // do nothing
   }

   @Override
-  public void devModeSessionEnded(DevModeSession session) {
+  public void devModeSessionEnd(DevModeSession session) {
 // do nothing
   }

===
---  
/trunk/dev/core/src/com/google/gwt/dev/util/log/speedtracer/SpeedTracerLogger.java	 
Wed Jun  8 10:02:34 2011
+++  
/trunk/dev/core/src/com/google/gwt/dev/util/log/speedtracer/SpeedTracerLogger.java	 
Thu Sep 15 04:20:36 2011

@@ -38,6 +38,8 @@
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.LinkedBlockingQueue;
 import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.Logger;

 /**
  * Logs performance metrics for internal development purposes. The output  
is

@@ -54,

[gwt-contrib] Re: Comment on ValueStoreAndRequestFactory in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ValueStoreAndRequestFactory

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on CompilationUnit in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CompilationUnit

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryPlusPaths in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryPlusPaths

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on RequestFactorySketch2 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactorySketch2

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on WhenLinkerAdded in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/WhenLinkerAdded

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on CrossSiteRunAsync in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CrossSiteRunAsync

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ControllingPermutationExplosion in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ControllingPermutationExplosion

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on DistributedBuilds in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/DistributedBuilds

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: Comment on SoftPermutations in google-web-toolkit

2011-09-15 Thread Isaac Truett
I know it's early in the work day, but these spam comments are starting to
get annoying. Could someone please ban/enable moderation/etc. after they get
their coffee? :)

Thanks!


On Thu, Sep 15, 2011 at 9:44 AM,  wrote:

> Comment by pclog...@gmail.com:
>
> The best poker blog  
> http://poker-blogs-see.**blogspot.com
>
> Best PokerStars blog 
> http://pokerstars-blogs.**blogspot.com
>
> Sexy, hot girls image
> http://china-sexy-girl-images.**blogspot.com/
>
>
> For more information:
> http://code.google.com/p/**google-web-toolkit/wiki/**SoftPermutations
>
> --
> http://groups.google.com/**group/Google-Web-Toolkit-**Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Comment on SoftPermutations in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/SoftPermutations

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on CodeSplitting in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on JavaSystemPropertiesAndGwt in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/JavaSystemPropertiesAndGwt

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on PrecompressLinker in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/PrecompressLinker

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ImageResource in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ImageResource

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on LightweightCollections in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/LightweightCollections

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on CssResource in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CssResource

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on DefaultLocaleBinding in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/DefaultLocaleBinding

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ApiChecker_User_Guide in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ApiChecker_User_Guide

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UnderstandingMemoryLeaks in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/UnderstandingMemoryLeaks

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on DomEventsAndMemoryLeaks in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactory_2_1_1 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on AutoBean in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ConditionalProperties in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on WebModeExceptions in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on Editors in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/Editors

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on CellBackedWIdgets in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CellBackedWIdgets

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ProtocolBuffers in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ProtocolBuffers

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ScottSoulBinderDesignDoc in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ScottSoulBinderDesignDoc

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on BeanValidation in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/BeanValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on TroubleshootingOOPHM in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryMovingParts in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on RequestFactory_2_5 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_5

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on WorkingWithMaven in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactory_2_4 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread Jeff Larsen
I know I would like it if the RequestFactory stuff was pushed into maven 
central. 

Don't make gwt-servlet into a real dependency, add it to the list of 
dependencies in your plugin. 


  
org.bsc.maven
maven-processor-plugin
2.0.5

  
process

  process

generate-sources

  
  
 
com.google.web.bindery.requestfactory.apt.RfValidator
  

  


  
com.google.gwt
  gwt-servlet
  ${gwt-version}

   

  


When you switch that to requestfactory-apt, you should be able to get rid of 
the explicit binding as well, but I have it in mine for documentation 
purposes. 

I was just working on this last week for some annotation processors I've 
written for my application to get around writing the proxies for 
RequestFactory, building the columns that map to those proxies then also 
building the constantswithlookup to map the values in there. 

I needed to do some additional steps when doing this with m2e aswell. Since 
there are no m2e connectors for any of the annotation processor maven 
plugins, I worked around that with the build-helper plugin. 

The build helper plugin allows you to specify additional source folders, so 
I just mapped a new source folder to where my maven annotation processor was 
going. I think I found a bug in build-helper-connector where you can't 
specify source folders under target, but maybe you'll have better luck. 

Then because I added a new source folder, I needed to add the maven clean 
plugin to make sure the generated artifacts were getting removed every time 
a maven clean happened. 

tl;dr

here are the relevant bits of the pom that I was using to get all this 
working together.  

org.codehaus.mojo
build-helper-maven-plugin
1.7


add-source
generate-sources

add-source



${basedir}/generated-sources/annotations






maven-clean-plugin
2.4.1



generated-sources/annotations

**/*







org.bsc.maven
maven-processor-plugin


process

process

generate-sources




com.ecologic
rfprocessor
0.0.1-SNAPSHOT




${basedir}/generated-sources/annotations

com.ecologic.rfprocessor.CreateDefaults






-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Do RF validation via APT instead of command line. (issue1547804)

2011-09-15 Thread t . broyer

On 2011/09/14 23:37:00, rjrjr wrote:

@drfibonacci, notice that I had to make make gwt-servlet into a real

dependency

instead of just a runtime one. Is that okay?


Not for me. That's the sign that something is missing from gwt-user that
is in gwt-servlet (I guess a few classes that live in gwt-dev –namely
c.g.g.dev.util.Name, c.g.g.dev.util.StringKey and a couple
c.g.g.dev.asm.* classes too–, but we don't have a dependency on gwt-dev,
neither direct not transitive).
Those classes are in requestfactory-apt though.


Also, I tried making dependencies
on just requestfactory-servlet, or requestfactory-apt, but those

artifacts don't

appear to be in maven central. Should they be?


They are: http://search.maven.org/#browse%7C445797198 and
http://search.maven.org/#browse%7C1357029938 (note that it's
requestfactory-server, not servlet)

See also:
http://blog.loxal.net/2011/09/maven-configuration-for-requestfactory.html
(I would have used scope=runtime for requestfactory-server though). This
configuration only works in a Java 6 environment (where javac from Java
6 will automatically run annotation processors found in the classpath
through service discovery; so including requestfactory-apt in
scope=provided is enough to make it work; you'd still have to enable
annotation processing in Eclipse for the other editing goodness)

http://gwt-code-reviews.appspot.com/1547804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors