Re: JPA alternatives?

2011-09-13 Thread maticpetek
Last three year we are using iBatis and MyBatis with GWT project and we are 
very happy with it. Just must be a programmer that loves writing SQL.. 

Regards,
   Matic
--
GWT stuff twitter  - http://twitter.com/#!/gwtstuff

-- 
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/-/qus0FZHhUlIJ.
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: JSNI to Java type conversion

2011-09-13 Thread Thomas Broyer
var xRadians = 
this.@test.client::toRadians(Ljava/lang/Double;)(@java.lang.Double.valueOf(D)(x));
xRadians = xradia...@java.lang.Double::doubleValue()();

But can't you really add a toRadians overload that accepts 'double's?
private double toRadians(double degrees) { return 
toRadians(Double.valueOf(degrees)); }
(and keep your JSNI code as you have it now)

(I suspect that this toRadians method is only for demonstration purpose; 
otherwise you could do the x * Math.PI / 180 in JS, or use 
@java.lang.Math::toRadians(D)(x) from JSNI)

-- 
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/-/Mg-6eyNoYfUJ.
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: Was the Lightweight Collections in GWT effort killed off?

2011-09-13 Thread Thomas Broyer
I think you should ask in the contributors 
group: https://groups.google.com/forum/#!forum/google-web-toolkit-contributors

-- 
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/-/8B-hVkKg_WUJ.
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: DateBox parseStrict

2011-09-13 Thread irene
Thanks you Thomas!!
It works but only in the first setter of the widget. When the blur
event  occurs the function used to parse the date is other and it is
not strict. Any more idea??

Thank you!!

On 12 sep, 14:07, Thomas Broyer t.bro...@gmail.com wrote:
 AFAICT, all you need is implement your own DateBox.Format, possibly
 extending DateBox.DefaultFormat, and set it on the DateBox (either passing
 it to the constructor, or using setFormat).

 Something like:
 class MyFormat extends DefaultFormat {
   @Override
   public Date parse(DateBox dateBox, String dateText, boolean reportError) {
     Date date = null;
     try {
       if (!dateText.isEmpty()) {
         date = getDateTimeFormat().parseStrict(dateText);
       }
     } catch (IllegalArgumentException iae) {
       if (reportError) {
         dateBox.addStyleName(dateBoxFormatError);
       }
     }
     return date;
   }







 }

-- 
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: How to send mail using Google App Engine?Very Urgent, I have been waiting for your reply.

2011-09-13 Thread Abraham
Thank you Mr.shawn Brown. I override the dopost method it works.


On Sep 12, 4:05 pm, Shawn Brown big.coffee.lo...@gmail.com wrote:
 On Mon, Sep 12, 2011 at 8:00 PM, Shawn Brown big.coffee.lo...@gmail.com 
 wrote:
         public void init(ServletConfig config) throws ServletException {
                 super.init(config);
                 System.out.println(Mail Servlet is called);
                 Properties properties = new Properties();
                 Session session = Session.getDefaultInstance(properties, 
  null);
                 String message = Welcome to WWW.DataStoreGwt.com;
                 try

  Will you really have active session within the init method of a
  servlet?  I would think not.

 try

 @Override public void doPost(HttpServletRequest req,
 HttpServletResponse resp) throws IOException {
 //in here

 }



-- 
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: DateBox parseStrict

2011-09-13 Thread irene
Sorry, it was my fault and it works perfectly.
Thank you very much Thomas!

On 12 sep, 14:07, Thomas Broyer t.bro...@gmail.com wrote:
 AFAICT, all you need is implement your own DateBox.Format, possibly
 extending DateBox.DefaultFormat, and set it on the DateBox (either passing
 it to the constructor, or using setFormat).

 Something like:
 class MyFormat extends DefaultFormat {
   @Override
   public Date parse(DateBox dateBox, String dateText, boolean reportError) {
     Date date = null;
     try {
       if (!dateText.isEmpty()) {
         date = getDateTimeFormat().parseStrict(dateText);
       }
     } catch (IllegalArgumentException iae) {
       if (reportError) {
         dateBox.addStyleName(dateBoxFormatError);
       }
     }
     return date;
   }







 }

-- 
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 RepeatingCommand not repeating due to FireBug console ?!?

2011-09-13 Thread geert3
Hi,
This was hard to pinpoint, so I thought I post a message in case anyone else 
hits it.

Situation:
I have a RepeatingCommand launched via a 
Scheduler.get().scheduleIncremental.
It runs fine the first time, clearly returns true (indicating it wants to be 
rescheduled), yet the command isn't being invoked a second time.
Only happens in compiled mode, not in development mode.
Only happens in firefox, not in internet explorer or chrome.
The firefox error console shows no javascript errors.

The solution: turn off the firebug console (click the little arrow in the 
console tab, then select deactivate).
The issue was with firefox 5.0 and firebug 1.8.2
I checked my other firefox/firebug installation and there it didn't happen.
So not sure why or how, but it's good enough for now..
Hope this helps anyone.
Geert


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



TextArea problem?urgent

2011-09-13 Thread John
TextArea content prefilled with text. When the user not select the
text usgin click and drag?I hope provide good solution for me.

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



what is the differences between Event and GwtEvent?

2011-09-13 Thread wahaha
what is the differences between Event and GwtEvent?

-- 
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: Handy Bit of Code for Integrating GWT and Google Maps v3

2011-09-13 Thread Alberto
I solved creating my streetview panorama in a widget after its loading
(override of onLoad).

Probably the container wasn't already loaded when i tried to assign it
my panorama...

Thanks for your help anyway!!! :)

On 6 Set, 20:52, DartmanX fergusonja...@gmail.com wrote:
 I'm not sure, since most of the features I display in my app are
 geographic, so StreetView isn't much help to me.

 Does it work again if you clear your cache?

 On Sep 2, 3:44 am, Alberto sturialb...@gmail.com wrote:







  Hi, I had your same idea and I tried to write a function (looking at
  the api v3 documentation) to integrate a StreetView custom panorama:

          /**
           * @param e: element to use for the Street View panorama
           * @param path: image path
           * @param heading: horizontal angle
           * @param zoom: panorama zoom
           * @param pitch: vertical angle
           * @param imageName: panorama image name
           * @param forceSpheric: force panorama to be always spheric
           * @return
           */
          final public native JavaScriptObject streetView(Element e, String
  path, int heading, int zoom, int pitch, String imageName, boolean
  forceSpheric)/*-{

            var panorama;
            var mode='html4';

            if (forceSpheric){
                  mode='html5';
            }

            // Return a pano image given the panoID.
            function getCustomPanoramaTileUrl(pano,zoom,tileX,tileY) {

              // Note: robust custom panorama methods would require tiled pano
  data.
              // Here we're just using a single tile, set to the tile size and
  equal
              // to the pano world size.

              return path+imageName;
            }

            // Construct the appropriate StreetViewPanoramaData given
            // the passed pano IDs.
            function getCustomPanorama(pano,zoom,tileX,tileY) {

               switch(pano) {

                case 'reception':
                  return {
                    location: {
                      pano: 'reception',
                      description: 
                    },
                    links: [],
                    // The text for the copyright control.
                    copyright: ,
                    // The definition of the tiles for this panorama.
                    tiles: {
                      tileSize: new $wnd.google.maps.Size(e.offsetWidth,
  e.offsetHeight),
                      worldSize: new $wnd.google.maps.Size(e.offsetWidth,
  e.offsetHeight),
                      // The heading in degrees at the origin of the panorama
                      // tile set.
                      centerHeading: 105,
                      getTileUrl: getCustomPanoramaTileUrl
                    }
                  };
                  break;
              }
            }

            // Set up Street View and initially set it visible. Register the
            // custom panorama provider function. Set the StreetView to 
  display
            // the custom panorama 'reception' which we check for below.
            var panoOptions = {
              pano: 'reception',
              visible: true,
              mode: mode,
              addressControl: false,
              panoProvider: getCustomPanorama
            }

  //        panorama = new
  $wnd.google.maps.StreetViewPanorama($doc.getElementById('panorama'),panoOpt 
  ­ions);
  //        panorama = new
  $wnd.google.maps.StreetViewPanorama(th...@dominio.sito.museov3.client.MapContainer::getElement()
  (), panoOptions);
            panorama = new $wnd.google.maps.StreetViewPanorama(e,panoOptions);

            panorama.setPov({
          heading: heading,
                  zoom: zoom,
                  pitch: pitch
            });

            return panorama;

          }-*/;

  *

  SimplePanel svPanel=new SimplePanel();
  svPanel.setSize(300px, 200px);

  JavaScriptObject pano= streetView(svPanel.getElement(),/sv/, 200, 0,
  0,img.jpg, true);

  But there's a problem:

  it works only once! When I try to create a new panorama (after the
  first time), I see a blank panorama and controls don't work.

  What could be the error???

  Thanks for your time and help! :)

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



Transition problem in useing AutoBean

2011-09-13 Thread jinker jiang
Before gwt 2.3 use autoBean, import com.google.gwt.autobean.shared,
and my autobean worked.

But in 2.4, this packege is removed, so import
com.google.web.bindery.autobean.shared, but the old code not work any
more,

Any one encountered this problem, and any suggestion.
Tks!

-- 
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: Bing Maps in a GWT project

2011-09-13 Thread Alberto
Why not Google Maps?

On 31 Ago, 23:05, Jésica cuello.jes...@gmail.com wrote:
 Hi all, I just want to know if someone is currently using Bing API in
 a GWT project. I'm on the path of doing It but I haven't found any
 clue of working implementations.
 Thanks,
 Jésica.

-- 
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: Transition problem in useing AutoBean

2011-09-13 Thread Thomas Broyer
Hard to tell without an error message.

Did you think about changing the inherits/ in your gwt.xml too?

-- 
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/-/u2QJdDUCK1oJ.
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: Transition problem in useing AutoBean

2011-09-13 Thread jinker jiang
This is usage:

*BeanFactory:*
public interface BeanFactory extends AutoBeanFactory {
AutoBeanIUser user();
}

*IUser:*
public interface IUser extends Serializable {

public abstract Long getId();

public abstract void setId(Long id);

public abstract String getName();

public abstract void setName(String name);

}

*toJson :*
BeanFactory factory = GWT.BeanFactory create(BeanFactory.class);

IUser user = factory.user().as();
user.setId(0l);
user.setName(abc);

String userJson =
AutoBeanCodex.encode(AutoBeanUtils.getAutoBean(user)).getPayload();

*exception :*
java.lang.NoClassDefFoundError: org/json/JSONException
at
com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58)
at
com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.init(AbstractAutoBean.java:71)
at com.conlect.test.shared.IUserAutoBean.init(IUserAutoBean.java:32)
at com.conlect.test.shared.BeanFactoryImpl.user(BeanFactoryImpl.java:16)
at
com.conlect.test.client.TestAutoBean.onModuleLoad(TestAutoBean.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: null
at
com.google.gwt.dev.shell.CompilingClassLoader$MultiParentClassLoader.findClass(CompilingClassLoader.java:365)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at
com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58)
at
com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.init(AbstractAutoBean.java:71)
at com.conlect.test.shared.IUserAutoBean.init(IUserAutoBean.java:32)
at com.conlect.test.shared.BeanFactoryImpl.user(BeanFactoryImpl.java:16)
at
com.conlect.test.client.TestAutoBean.onModuleLoad(TestAutoBean.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)

-- 
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: Transition problem in useing AutoBean

2011-09-13 Thread jinker jiang
I add this inherits name=com.google.web.bindery.autobean.AutoBean/ in my
project gwt.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.



Re: TextArea problem?urgent

2011-09-13 Thread John
Through browser I can't select the content from textArea.

On Sep 13, 2:20 pm, John gan.tan...@gmail.com wrote:
 TextArea content prefilled with text. When the user not select the
 text usgin click and drag?I hope provide good solution for me.

-- 
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: Drag n drop 2.4

2011-09-13 Thread Sean
If there really is Drag and Drop support, I'd love to see some examples!

-- 
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/-/mDvcAxXFX4QJ.
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: Drag n drop 2.4

2011-09-13 Thread ciosbel
Check this out: http://www.youtube.com/watch?v=KEkR1ox_K10
The MobileWebApp example in 2.4 should be a starting point.

Docs still not exists.

-- 
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/-/_lzVgQnbOEcJ.
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: Transition problem in useing AutoBean

2011-09-13 Thread Mauro Bertapelle
add gwt-servlet-deps.jar to your classpath

On 13 Set, 12:31, jinker jiang jinkerji...@gmail.com wrote:
 I add this inherits name=com.google.web.bindery.autobean.AutoBean/ in my
 project gwt.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.



Re: Cell List: add non-data rows

2011-09-13 Thread Jens
Have you (or anybody else) found a solution for this?

-- J.

-- 
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/-/ZrSRCZtEvisJ.
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: Cell List: add non-data rows

2011-09-13 Thread Thomas Broyer
GWT 2.5 will add a CellTableBuilder that, I think, should allow for those 
exact use cases (in CellTable only though, not CellList).
You can read more about it at 
http://code.google.com/p/google-web-toolkit/source/detail?r=10476 (and note 
that the code has changed a bit since this commit)

-- 
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/-/Bd-_k5VKRFAJ.
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: Overriding themes

2011-09-13 Thread Tobias
For the sake of completeness: I got an answer in another thread, see
http://groups.google.com/group/google-web-toolkit/msg/c2686706b45b8f60

On 8 Sep., 17:50, Tobias to.s...@gmail.com wrote:
 Hi Sudhakar,

 thanks for your reply. Yes, that is how you can assign a style to a
 single button. I was wondering what is the best way to set a style for
 ALL buttons in my application.

 Tobias

 On 8 Sep., 09:48, Sudhakar Abraham s.abra...@datastoregwt.com wrote:







  To specify your own style in uibinder.xml file, edit  ui:style/
  ui:style tag as follows

  ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
  ui:style
          .buttonSave
          {
          float: left;
          background:#E8E8E8;
          margin-left: 200px;
          }
  /ui:style
  g:DockLayoutPanel ui:field=dock unit=PX width=700px
  height=600px
  g:Button ui:field=save styleName={style.buttonSave}
  /g:DockLayoutPanel
  /ui:UiBinder

  S. Abrahamwww.DataStoreGwt.com

  On Sep 7, 6:53 pm, Tobias to.s...@gmail.com wrote:

   Hi,

   I am trying to customize the look of my application. My plan was to
   keep one of the default themes and override just those styles that I
   want to change.

   My first attempt was to add the overridden styles to the CSS file that
   I am including in my HTML host page using link ... But
   unfortunately this does not work because that CSS file is loaded
   before the theme CSS file. And then the theme CSS takes precedence.

   This blog [1] explains an alternative solution which includes a custom
   CSS file located in a public folder using stylesheet
   src=... (inside the *.gwt.xml file). Is this the intended approach
   for overriding themes? I am a bit surprised because stylesheet ..
   is marked as deprecated and this public folder is not mentioned in
   the documentation (?).

   And I am not sure how I could use CssRessource/UiBinder, because I do
   not want to apply my custom style just to e.g. one button but to all
   buttons.

   Any hint would be appreciated!

   Thanks,
   Tobias

   [1]:http://www.jeanhsu.com/2010/04/29/overriding-gwts-default-stylesheet/
   [2]:http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideUiCss...

-- 
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: IE keeps reloading the EntryPoint

2011-09-13 Thread Sudhakar Abraham
Your observation is independent of browser. To check, clear your
buffer cache of  Firefox or chrome  click  ctrl+F5.

S. Abrahma
www.DataStoreGwt.com


On Sep 12, 3:23 pm, Joey Jallorina joey.jallor...@gmail.com wrote:
 Hi Guys,

 I'm using GWT 2.3 implemented in MVP with AppController. Problem is
 when using IE7 or IE8 everytime I change the token (via hyperlink or
 typing directly in the address bar), the application reloads starting
 from the EntryPoint. This is not happening in Firefox or Chrome.
 Anybody who has the same experience?

 Appreciate any help.

 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.



Re: Transition problem in useing AutoBean

2011-09-13 Thread jinker jiang
Yeah, that's right, should add the gwt-serlet-deps.jar to class path.
Thank you very much!

2011/9/13 Mauro Bertapelle mauro.bertape...@gmail.com

 add gwt-servlet-deps.jar to your classpath



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



How to avoid user select the text from TextArea Using Mouse and KeyBord? Please help me.

2011-09-13 Thread John
TextArea content not selected by user While click and drag. I refer
the gwt 2.4.0 documentation, I used the setReadOnly() method. It is
used to content not edited by the user, but the user select the text.
how to avoid user select the text from textArea.

-- 
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: Sb. uses the Unit Test pattern w/ GWT?

2011-09-13 Thread Raphaël Brugier
Google I/O 2010 and 2011 gwt session are also definitely a must see If you 
want to learn how to test your gwt code

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



Locale does not change?

2011-09-13 Thread Ahmed
Hello,

To make my GWT application internationalizable, I created a message
interface as follow:

@DefaultLocale(fr)
@Generate(format =
   { com.google.gwt.i18n.rebind.format.PropertiesFormat }, fileName
= Messages, locales =
   { fr, en })
public interface MessageResources extends Messages
{

   public static final MessageResources MR =
GWT.create(MessageResources.class);

   @DefaultMessage(Identifiant)
   public String login();

   @DefaultMessage(Mot de passe)
   public String password();
}

Then I configured my project to support the English and French as
follow:

inherits name='com.google.gwt.i18n.I18N' /
extend-property name=locale values=fr /
extend-property name=locale values=en /

I compiled my project with the option -extra extra, and I copied the
two files. properties in the same package as the interface. But when I
run my application the parameter ?Locale=en has no effect and the
application remains in French!
Thanx in advance for your helps

-- 
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: IE keeps reloading the EntryPoint

2011-09-13 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=2152

-- 
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/-/HhW7cmXYy90J.
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: Cell List: add non-data rows

2011-09-13 Thread Marcin Biegan
Well, you can always wrap your data object and render non-data rows
depending on that:

class Wrapper{
private Data data;
}

CellListWrapper cellList = new CellListWrapper(new MyCell());

class MyCell extends AbstractCellWrapper{
private SomeCellData somecell = ...
@Override
public void render(Cell.Context context, Wrapper value,
SafeHtmlBuilder sb) {
if(value.getData() == null){
// render header into sb, maybe using a cell
}else{
somecell .render(context, value.getData(), db);
}
}
}

You also need to delegate onBrowserEvent to mycell and I think it
should work.


On Sep 13, 2:11 pm, Jens jens.nehlme...@gmail.com wrote:
 Have you (or anybody else) found a solution for this?

 -- J.

-- 
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: IE keeps reloading the EntryPoint

2011-09-13 Thread david
Yup..  You'll have to change the token with an anchor event handler
or InlineHyperlink with targetHistoryToken= ...

On Sep 12, 6:23 am, Joey Jallorina joey.jallor...@gmail.com wrote:
 Hi Guys,

 I'm using GWT 2.3 implemented in MVP with AppController. Problem is
 when using IE7 or IE8 everytime I change the token (via hyperlink or
 typing directly in the address bar), the application reloads starting
 from the EntryPoint. This is not happening in Firefox or Chrome.
 Anybody who has the same experience?

 Appreciate any help.

 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.



Re: Quartz and slf4j in Eclipse

2011-09-13 Thread Thomas Broyer


On Tuesday, September 13, 2011 3:19:42 PM UTC+2, MadOtis wrote:

 Thanks for the suggestion, but that doesn't seem to help.  I've added the 
 suggested dependencies both to the project's pom file, and as explicit User 
 Entries on the Classpath tab of the Run configuration for Web 
 Application in Eclipse.  I've confirmed that the version of slf4j I'm using 
 is the same as the requirement for Quartz, too (via mvn dependency:tree). 
  Here's some output and a screen-print:


Server-side dependencies should be in your WEB-INF/lib when you launch the 
DevMode.

As you're working with Maven, see 
http://code.google.com/eclipse/docs/faq.html#gwt_with_maven (and follow the 
“If you're *not* able to use Eclipse for Java EE” steps for the best 
experience; believe me on this!)

[WARN] Server class 'org.quartz.ee.servlet.QuartzInitializerServlet' could 
 not be found in the web app, but was found on the system classpath

[WARN] Adding classpath entry 
 'file:/Volumes/Disk_2/home/cobbr/.m2/repository/org/quartz-scheduler/quartz/2.0.2/quartz-2.0.2.jar'
  
 to the web app classpath for this session

[WARN] failed QuartzInitializer


This is a sign of the above: quartz-2.2.0.jar should be in your WEB-INF/lib 
at the time you launch the DevMode.
 

 java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

 at org.quartz.impl.StdSchedulerFactory.init(StdSchedulerFactory.java:274
 )


And this is likely a side-effect of the above.

-- 
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/-/6GEXC2TbD9gJ.
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: Locale does not change?

2011-09-13 Thread Thomas Broyer
Answered on 
StackOverflow: 
http://stackoverflow.com/questions/7403322/gwtlocale-does-not-change

(when you cross-post that way, please cross-link too!)

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



Hyperlink Map 2 GWTPanel

2011-09-13 Thread Navindian
I have a gwt panel where I wish to go when i click a hyperlink in map
infowindow.How to cover this scenario. Any comments?

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



Java and HTML file

2011-09-13 Thread obesga
Hello

I would like to know if it is possible in GWT to make something like
this


/src/org.example.gwt.client
MyComposite.java
MyComposite.html

and make MyComposite.java load HTML code into the webpage

/**BEGIN CLASS**/
public class MyComposite extends Composite {


interface MyCompositeResource extends ClientBundle {
MyCompositeResource INSTANCE =
GWT.create(MyCompositeResource.class);

@Source(MyComposite.html)
TextResource html();
}

   public Inicio(){
initWidget(new HTML(INSTANCE.html().getText()));
}
}
/**END CLASS**/

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.



Re: Quartz and slf4j in Eclipse

2011-09-13 Thread randal cobb
Yes, and that was indeed one of the issues.  I actually had a couple of jars
in the WEB-INF/lib folder that SHOULDN'T have been there as well.  I believe
the steps outlined in the link you provided are what I did, I just hadn't
found or read that section previously (my bad).  And that link is now
bookmarked for when I make the same mistake in the future.  ;)

Again, thanks, all!


On Tue, Sep 13, 2011 at 10:43 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On Tuesday, September 13, 2011 3:19:42 PM UTC+2, MadOtis wrote:

 Thanks for the suggestion, but that doesn't seem to help.  I've added the
 suggested dependencies both to the project's pom file, and as explicit User
 Entries on the Classpath tab of the Run configuration for Web
 Application in Eclipse.  I've confirmed that the version of slf4j I'm using
 is the same as the requirement for Quartz, too (via mvn dependency:tree).
  Here's some output and a screen-print:


 Server-side dependencies should be in your WEB-INF/lib when you launch the
 DevMode.

 As you're working with Maven, see
 http://code.google.com/eclipse/docs/faq.html#gwt_with_maven (and follow
 the “If you're *not* able to use Eclipse for Java EE” steps for the best
 experience; believe me on this!)

 [WARN] Server class 'org.quartz.ee.servlet.**QuartzInitializerServlet'
 could not be found in the web app, but was found on the system classpath

[WARN] Adding classpath entry 'file:/Volumes/Disk_2/home/**
 cobbr/.m2/repository/org/**quartz-scheduler/quartz/2.0.2/**quartz-2.0.2.jar'
 to the web app classpath for this session

[WARN] failed QuartzInitializer


 This is a sign of the above: quartz-2.2.0.jar should be in your WEB-INF/lib
 at the time you launch the DevMode.


 java.lang.**NoClassDefFoundError: org/slf4j/LoggerFactory

 at org.quartz.impl.**StdSchedulerFactory.init(Std**
 SchedulerFactory.java:274)


 And this is likely a side-effect of the above.

  --
 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/-/6GEXC2TbD9gJ.

 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.


-- 
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: Was the Lightweight Collections in GWT effort killed off?

2011-09-13 Thread David Chandler
Yes, the LWC effort was abandoned. After a lot of benchmarking, it was
determined that the GWT implementation of Java libraries perform reasonably
well, even when compared to a simple encapsulation of Javascript
datastructures. HashMap even provides specialized behavior for string keys.

The main performance gain was determined to be getting rid of boxing of
primitive types, but that had little to do with Lightweight Collections and
more to do with deeper changes to the compiler.

/dmc

On Mon, Sep 12, 2011 at 9:48 PM, Blackberet ramonjsanti...@gmail.comwrote:

 I'm referring to what is described at
 http://code.google.com/p/google-web-toolkit/wiki/LightweightCollections

 Was this effort killed off?

 If not, where can I get the most current version?
 Is the code in the lwc-gwt-migration branch the latest?
 Can anyone recommend the LWC code in that branch for client code as it
 stands today?

 I find myself with a UI with many instances of java.util.HashMap
 and java.util.ArrayList and was wondering if replacing them with their LWC
 counterparts would payoff in a reduction of memory usage on the client.

 thanks

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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



can't attach text with mail using Google App engine? please help me

2011-09-13 Thread John
I don't know what mistake i did in the server side code of google app
engine, I send my code segment to you. Thanks for advance .

//server side code
public class MailServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

public void doPost(HttpServletRequest req, HttpServletResponse resp)
{

Properties properties = new Properties();

Session session = Session.getDefaultInstance(properties, null);

String message = Welcome to www.datastoregwt.com;

String attachement = attachementString for testing ;

try
{

Message msg = new MimeMessage(session);

Multipart mp = new MimeMultipart();

MimeBodyPart bodyPart = new MimeBodyPart();

bodyPart.setContent(attachement, text/plain);

mp.addBodyPart(bodyPart);

msg.setFrom(new
InternetAddress(rajaganapathiv...@gmail.com));
msg.addRecipient(Message.RecipientType.TO, new
InternetAddress(gan.tan...@gmail.com));

msg.setSubject(Invitation from www.datastoregwt.com);

msg.setText(message);

msg.setContent(mp);

Transport.send(msg);

}
catch (AddressException e1)
{

}
catch (MessagingException e2)
{

}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
}
}

-- 
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: JSNI to Java type conversion

2011-09-13 Thread Jésica
First of all, thanks both for your answers.

For this particular case, I followed Thomas suggestion about using:

var xRadians = @java.lang.Math::toRadians(D)(i);

Due to that, the extra method toRadians is not necessary anymore, and
I don't have conversion problems.

As Thomas mentioned, I'm having this problem with toRadians method but
I wanted to have a generalized idea of how to manage this kind of
conversion type error in JSNI. For general cases, I'll take a look to
methods for converting from primitive type to Object and viceversa.

Jésica.

On Sep 13, 5:26 am, Thomas Broyer t.bro...@gmail.com wrote:
 var xRadians =
 th...@test.client::toRadians(Ljava/lang/Double;)(@java.lang.Double.valueOf(D)(x));
 xRadians = xradia...@java.lang.Double::doubleValue()();

 But can't you really add a toRadians overload that accepts 'double's?
 private double toRadians(double degrees) { return
 toRadians(Double.valueOf(degrees)); }
 (and keep your JSNI code as you have it now)

 (I suspect that this toRadians method is only for demonstration purpose;
 otherwise you could do the x * Math.PI / 180 in JS, or use
 @java.lang.Math::toRadians(D)(x) from JSNI)

-- 
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: JSNI to Java type conversion

2011-09-13 Thread Jésica
First of all, thanks both for your answers.

For this particular case, I followed Thomas suggestion about using:

var xRadians = @java.lang.Math::toRadians(D)(i);

Due to that, the extra method toRadians is not necessary anymore, and
I don't have conversion problems.

As Thomas mentioned, I'm having this problem with toRadians method but
I wanted to have a generalized idea of how to manage this kind of
conversion type error in JSNI. For general cases, I'll take a look to
methods for converting from primitive type to Object and viceversa.

Jésica.

On Sep 13, 5:26 am, Thomas Broyer t.bro...@gmail.com wrote:
 var xRadians =
 th...@test.client::toRadians(Ljava/lang/Double;)(@java.lang.Double.valueOf(D)(x));
 xRadians = xradia...@java.lang.Double::doubleValue()();

 But can't you really add a toRadians overload that accepts 'double's?
 private double toRadians(double degrees) { return
 toRadians(Double.valueOf(degrees)); }
 (and keep your JSNI code as you have it now)

 (I suspect that this toRadians method is only for demonstration purpose;
 otherwise you could do the x * Math.PI / 180 in JS, or use
 @java.lang.Math::toRadians(D)(x) from JSNI)

-- 
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: Was the Lightweight Collections in GWT effort killed off?

2011-09-13 Thread Thomas Broyer
Thanks a lot for the feedback, David!

And this is good news for all GWT users (well, unless they determine that 
Java collections' emulation is the bottleneck, but they probably wouldn't 
have made anything better using pure JS, without GWT)

-- 
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/-/OEt_7sU_9EsJ.
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: Java and HTML file

2011-09-13 Thread Ben Imp
While I'm not sure GWT allows you to do exactly what you are asking, you 
should be able to use a ui binder template to accomplish the same goal.

http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html

-Ben

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



Setting A Bookmark

2011-09-13 Thread Bill Morrison
This is a simple question, but one I can't seem to find the answer to
(all searches return how-to's on implementing History)

I'm looking for the code needed to have my GWT application set a
bookmark in the users browser.

Thanks in advance!


Bill

-- 
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: Setting A Bookmark

2011-09-13 Thread Jens
You should let the user decide to bookmark a page or not.

In general you have to use GWT's JSNI feature and wrap some native 
JavaScript to add a bookmark. As far as I know, Chrome and Opera do not 
support adding bookmarks via JavaScript.

-- J.

-- 
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/-/62aRHCWfQ3AJ.
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: can't attach text with mail using Google App engine? please help me

2011-09-13 Thread skly
You can print  the exceptions to view details

2011/9/13 John gan.tan...@gmail.com

 I don't know what mistake i did in the server side code of google app
 engine, I send my code segment to you. Thanks for advance .

 //server side code
 public class MailServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

public void doPost(HttpServletRequest req, HttpServletResponse resp)
{

Properties properties = new Properties();

Session session = Session.getDefaultInstance(properties,
 null);

String message = Welcome to www.datastoregwt.com;

String attachement = attachementString for testing ;

try
{

Message msg = new MimeMessage(session);

Multipart mp = new MimeMultipart();

MimeBodyPart bodyPart = new MimeBodyPart();

bodyPart.setContent(attachement, text/plain);

mp.addBodyPart(bodyPart);

msg.setFrom(new
 InternetAddress(rajaganapathiv...@gmail.com));
msg.addRecipient(Message.RecipientType.TO, new
 InternetAddress(gan.tan...@gmail.com));

msg.setSubject(Invitation from www.datastoregwt.com);

msg.setText(message);

msg.setContent(mp);

Transport.send(msg);

}
catch (AddressException e1)
{

}
catch (MessagingException e2)
{

}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
}
 }

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



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



render image using clientbundle problem?

2011-09-13 Thread Stephen Fleming
I am unable to render image on my application  using clientbundle.
Provide solution for me.

-- 
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: Sb. uses the Unit Test pattern w/ GWT?

2011-09-13 Thread Gael Lazzari
I don't like MVP pattern in GWT, because it envolves useless boilerplate 
code just to be able to run plain JUnit test, without the slow 
GWTTestCase. 

The gwt-test-utils project (http://code.google.com/p/gwt-test-utils/) is a 
good alternative since it also to run GWT client code in JUnit tests without 
GWTTestCase. And it's way more faster (it was designed to make GWT compliant 
with TDD.

It also is more complete that just testing your presenter : it enables you 
to test your bindings and can even simulate any web browser event (click, 
blur, change...)

-- 
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/-/3HjVOuTB2ngJ.
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 - GIN - GWTP Problem with Dispatchers

2011-09-13 Thread Asfak
Hello Friendz,

I am in a situation where someone might be already in. I am using GWTP
in my application. GWTP is using GIN as a client side
dependency injection. GWTP also uses Dispatcher mechanism for sending
request to server side.

Now, There are some classes (PRESENTERS) which is injected by GWTP, I
have some other classes which are created runtime without injection
that means using new keywork. Let's have an example :

// Injected
class Dispatcher {
}

// Injected
Class A {
@Inject // I can do this and access the disp without any hurdle.
Dispatcher disp;
}

// Created using new keywork
class B {
//@Inject I can't do this because of B is not an injected class.
Correct me if I am wrong here
Dispatcher disp;
}

So, I need to access Injected class in non injected classes. You might
think I havn't tried GWT.Create(Injector.class) method. I have tried
that and I am able to get that object in non inected classes but the
object Dispatcher is something different it increments(adds) /
dispatch/ to its base url. That means i need to have the same object
which GWTP internally using. And GWTP creates the GIN INJECTOR at the
entry point.

One solution is to put the same GIN INJECTOR to client side session
(Static Hashmap) and use it in non injected classes (I have also tried
this solution and it is working like charm).

I need more perfect solution which can work.

Thank you in advance.

-- 
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: Setting A Bookmark

2011-09-13 Thread Eric Metcalf
Check out this documentation on history.
http://code.google.com/webtoolkit/articles/mvp-architecture.html#history

You want to set the 'state' of you application with your URL.  You
append to the URL some data such as page to display and state of the
page and then call a method that will read the URL and display the
correct page with the correct state.  In this way you can copy and
paste the URL into a different browser and it will show the current
page and state (bookmarked).  Also make the method choose a default
page if no URL info has been appended.

http://myapp.com
AppController called
AppController checks the URL has no appended so appends #home
AppContoller calls fireCurrentHistoryState
fireCurrentHistoryState sees #home so displays home page
user clicks on setup link (use Hyperlink with setup as target
history token)
fireCurrentHistoryState sees #home so displays setup page

If someone bookmarks the setup page the AppController will call
fireCurrentHistoryState on load and display the setup page.




On Sep 13, 11:40 am, Bill Morrison hipgno...@gmail.com wrote:
 This is in response to the user pressing a 'Bookmark' button on the
 page of course.

 I'll dig into the Javascript side, thanks for the hint. If anyone has
 any JSNI that shows this I'd love to not reinvent the wheel!

 On Sep 13, 9:37 am, Jens jens.nehlme...@gmail.com wrote:







  You should let the user decide to bookmark a page or not.

  In general you have to use GWT's JSNI feature and wrap some native
  JavaScript to add a bookmark. As far as I know, Chrome and Opera do not
  support adding bookmarks via JavaScript.

  -- J.

-- 
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 Developer Plugin for Firefox 6

2011-09-13 Thread snayrb99

Thank you for a very illuminating answer. It seems rather sad that FF
plugins MUST link against a library that is browser version dependent.
Most products I have dealt with provide some kind of adapter layer to
allow older versions of plugins to be used with newer versions of
software. I suppose they must have there reasons though.

-- 
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: How to mock Listbox when testing the Presenter class?

2011-09-13 Thread Gael Lazzari
Did you have a look to the gwt-test-utils framework ? (
http://code.google.com/p/gwt-test-utils/)

It enables you to launch GWT client side code in a standard JUnit test, 
without GWTTestCase. It's way faster than GWTTestCase and doesn't expect you 
to mock every HasXXX widgets since they are really instanciated. 

Also, it enables you to write more complete test in java, not only tests 
that stick with your Presenters : it enables you to test your bindings and 
can even simulate any web browser event (click, blur, change...)

-- 
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/-/tPsMCdZuoXQJ.
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 Developer Plugin for Firefox 6

2011-09-13 Thread Alan Leung
FYI:

I have pushed the xpi out:
https://dl.google.com/dl/gwt/plugins/firefox/1.0.10582/gwt-dev-plugin.xpi

Once I finish testing it with all the browser once more I'll make that the
default for the missing plugin page.

-Alan


On Tue, Sep 13, 2011 at 10:17 AM, snayrb99 bryan...@comcast.net wrote:


 Thank you for a very illuminating answer. It seems rather sad that FF
 plugins MUST link against a library that is browser version dependent.
 Most products I have dealt with provide some kind of adapter layer to
 allow older versions of plugins to be used with newer versions of
 software. I suppose they must have there reasons though.

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



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



Problem with multiple CellTables on one page

2011-09-13 Thread Pedro Perez
Hello,

I'm having an issue with 2 CellTables on the same page using the same
CellTableResource. 1st table is defined like this:

CellTableResource resource = GWT.create(CellTableResource.class);
CellTableDataRecord table1 = new CellTableDataRecord(100,
resource);

where CellTableResource is an interface that extends
CellTable.Resources that successfully maps to our custom css and
styles our first table correctly.

The issue is with table 2, which is defined like this:
CellTable.Resources tableResources =
GWT.create(CellTable.Resources.class);
CellTableAddressRecord table2 = new CellTableAddressRecord(25,
tableResources);

table2 seems to inherit table1's styling. I was expecting in this case
that table2 would use GWT's stock CellTable styling.

Can someone perhaps show me where I'm wrong/correct my
misunderstanding of how CellTables use Resources? Is there a way to
have multiple cellTables on one page that use different stylings?

One last thing, we are using GWT 2.2. It is difficult for us to
upgrade 2.3 at this point.

Thanks so much for your help,
Pedro

-- 
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: Problem with multiple CellTables on one page

2011-09-13 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6144#c3

-- 
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/-/g9FtMoo05lUJ.
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 [spring roo] client side validation

2011-09-13 Thread Surya
I'm trying to add client side validations in GWT (using Spring too) to
the sample expenses project, and in file
AbstractProxyEditActivity.java the following is the code, method -
saveClicked()

RequestContext request = editorDriver.flush();
if (editorDriver.hasErrors()) {
return;
}

But it is not throwing any errors, could you please tell me how this
works, and any useful  important links on the same would be great !!

How does .flush  .hasErrors work, and where are they checked in the
code !!

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



Paging table in GWT 2.4

2011-09-13 Thread Khvu Nguyen
Is the incubator paging table available in GWT latest release 2.4?

Khv

-- 
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: Paging table in GWT 2.4

2011-09-13 Thread Aidan O'Kelly
CellTable does paging, check the showcase which has nice clean examples:

http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable


On Tue, Sep 13, 2011 at 10:15 PM, Khvu Nguyen khvngu...@gmail.com wrote:
 Is the incubator paging table available in GWT latest release 2.4?

 Khv

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



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



what is the usage of hosted.html

2011-09-13 Thread wahaha
in every module,there is a file.html,what is the usage of it ?

-- 
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: what is the usage of hosted.html

2011-09-13 Thread wahaha
sorry,i write wrong,the file name is hosted.html.



On 9月14日, 下午1时51分, wahaha il...@yahoo.com.cn wrote:
 in every module,there is a file.html,what is the usage of it ?

-- 
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-contrib] Re: Makes the @GwtTransient mechanism work for any annotation with that (issue1544803)

2011-09-13 Thread cromwellian

LGTM


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

--
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-13 Thread rjrjr

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

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


[gwt-contrib] [google-web-toolkit] r10644 committed - When -XdisableClassMetadata is used, Class.getName() can return Class$...

2011-09-13 Thread codesite-noreply

Revision: 10644
Author:   cromwell...@google.com
Date: Tue Sep 13 11:22:30 2011
Log:  When -XdisableClassMetadata is used, Class.getName() can return  
Class$SseedNumber as a class name. However, there are other modes where  
it can return Class$obfuscated function name. In some rare cases, these  
two could collide of if an obfuscated name of a class ended up as something  
like 'S123'. This patch changes the WebModeClientOracle to treat Class$S123  
differently than 'S123' when deobfuscating class names.


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

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

Modified:
 /trunk/user/src/com/google/gwt/rpc/server/WebModeClientOracle.java

===
--- /trunk/user/src/com/google/gwt/rpc/server/WebModeClientOracle.java	Thu  
Jul 28 15:01:32 2011
+++ /trunk/user/src/com/google/gwt/rpc/server/WebModeClientOracle.java	Tue  
Sep 13 11:22:30 2011

@@ -383,12 +383,14 @@
   @Override
   public String getTypeName(String seedName) {
 // TODO: Decide how to handle the no-metadata case
+ClassData data = null;
 if (seedName.startsWith(Class$)) {
   seedName = seedName.substring(6);
-}
-ClassData data = seedNamesToClassData.get(seedName);
+  data = seedIdsToClassData.get(seedName);
+}
+
 if (data == null) {
-  data = seedIdsToClassData.get(seedName);
+  data = seedNamesToClassData.get(seedName);
 }
 return data == null ? null : data.typeName;
   }

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


[gwt-contrib] [google-web-toolkit] r10645 committed - Makes the @GwtTransient mechanism work for any annotation with that...

2011-09-13 Thread codesite-noreply

Revision: 10645
Author:   rj...@google.com
Date: Tue Sep 13 11:23:09 2011
Log:  Makes the @GwtTransient mechanism work for any annotation with  
that

simple name.

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

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

Added:
 /trunk/user/test/com/google/gwt/user/rebind/rpc/GwtTransient.java
Modified:
 /trunk/user/src/com/google/gwt/user/client/rpc/GwtTransient.java
  
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
  
/trunk/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java
  
/trunk/user/test/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilderTest.java


===
--- /dev/null
+++ /trunk/user/test/com/google/gwt/user/rebind/rpc/GwtTransient.java	Tue  
Sep 13 11:23:09 2011

@@ -0,0 +1,24 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.user.rebind.rpc;
+
+/**
+ * Used to test that any annotation named @GwtTransient gets the job done.  
Need
+ * to define both a real class (TypeOracleMediator uses reflection) and a  
Java

+ * source resource (for TypeOracle itself).
+ */
+public @interface GwtTransient {
+}
===
--- /trunk/user/src/com/google/gwt/user/client/rpc/GwtTransient.java	Mon  
May 18 11:47:32 2009
+++ /trunk/user/src/com/google/gwt/user/client/rpc/GwtTransient.java	Tue  
Sep 13 11:23:09 2011

@@ -27,6 +27,10 @@
  * codetransient/code keyword should be used in preference to this
  * annotation. However, for types used with multiple serialization  
systems, it

  * can be useful.
+ * p
+ * Note that GWT will actually accept any annotation named GwtTransient  
for this
+ * purpose. This is done to allow libraries to support GWT serialization  
without

+ * creating a direct dependency on the GWT distribution.
  */
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
===
---  
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java	 
Thu Aug  4 06:02:26 2011
+++  
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java	 
Tue Sep 13 11:23:09 2011

@@ -451,6 +451,15 @@

 return (JRealClassType) type;
   }
+
+  static boolean hasGwtTransientAnnotation(JField field) {
+for (Annotation a : field.getAnnotations()) {
+  if  
(a.annotationType().getSimpleName().equals(GwtTransient.class.getSimpleName()))  
{

+return true;
+  }
+}
+return false;
+  }

   /**
* @param type the type to query
@@ -607,7 +616,7 @@
   return false;
 }

-if (field.isAnnotationPresent(GwtTransient.class)) {
+if (hasGwtTransientAnnotation(field)) {
   return false;
 }

===
---  
/trunk/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java	 
Fri Aug 26 07:32:45 2011
+++  
/trunk/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java	 
Tue Sep 13 11:23:09 2011

@@ -25,6 +25,7 @@
 import com.google.gwt.user.server.rpc.ServerCustomFieldSerializer;

 import java.io.UnsupportedEncodingException;
+import java.lang.annotation.Annotation;
 import java.lang.reflect.Field;
 import java.lang.reflect.GenericArrayType;
 import java.lang.reflect.Modifier;
@@ -462,6 +463,18 @@
   public static void resolveTypes(Type methodType,  
DequeMapTypeVariable?, Type resolvedTypes) {
 SerializabilityUtil.resolveTypesWorker(methodType, resolvedTypes,  
true);

   }
+
+  /**
+   * Returns true if this field has an annotation named GwtTransient.
+   */
+  static boolean hasGwtTransientAnnotation(Field field) {
+for (Annotation a : field.getAnnotations()) {
+  if  
(a.annotationType().getSimpleName().equals(GwtTransient.class.getSimpleName()))  
{

+return true;
+  }
+}
+return false;
+  }

   static boolean isNotStaticTransientOrFinal(Field field) {
 /*
@@ -470,7 +483,7 @@
  */
 int fieldModifiers = field.getModifiers();
 return !Modifier.isStatic(fieldModifiers)  
 !Modifier.isTransient(fieldModifiers)
- !field.isAnnotationPresent(GwtTransient.class)  
 !Modifier.isFinal(fieldModifiers);
+ !hasGwtTransientAnnotation(field)  
 !Modifier.isFinal(fieldModifiers);

   }

   /**
===
---  

[gwt-contrib] Update the checkstule path for validation sample (issue1547803)

2011-09-13 Thread nchalko

Reviewers: rjrjr,

Description:
Update the checkstule path for validation sample
Fix the @NotSupported count


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

Affected files:
  M samples/common.ant.xml
  M user/build.xml


Index: samples/common.ant.xml
===
--- samples/common.ant.xml  (revision 8405)
+++ samples/common.ant.xml  (working copy)
@@ -189,8 +189,8 @@
   target name=checkstyle description=Static analysis of source
 gwt.checkstyle outputdirectory=${sample.build}
   fileset dir=src 
-exclude name=org/**/super/org/**/*.java/
-exclude  
name=com/google/gwt/sample/validation*/**/ValidationMessages.java /

+exclude name=main/java/org/**/super/org/**/*.java/
+exclude  
name=main/java/com/google/gwt/sample/validation*/**/ValidationMessages.java  
/

   /fileset
 /gwt.checkstyle
   /target
Index: user/build.xml
===
--- user/build.xml  (revision 8405)
+++ user/build.xml  (working copy)
@@ -803,13 +803,14 @@
   countfilter match=@Failing  property=jsr303.marked.Failing  
init=0/
   countfilter match=@NonTckTest   
property=jsr303.marked.NonTckTest init=0/
   countfilter match=@NotSupported   
property=jsr303.marked.NotSupported init=0/
-  countfilter match=@TestNotCompatible   
property=jsr303.marked.NotSupported init=0/
+  countfilter match=@TestNotCompatible   
property=jsr303.marked.TestNotCompatible init=0/

 /filterchain
   /scan

   !-- force to zero if not set above --
   property name=jsr303.marked.Failing value=0/
   property name=jsr303.marked.NonTckTest value=0/
+  property name=jsr303.marked.NotSupported value=0/
   property name=jsr303.marked.TestNotCompatible value=0/

   echo message=Marked Failing = ${jsr303.marked.Failing} /


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