cannot display server exception message

2012-02-17 Thread tong123123
I know gwt has no SQLException and NamingException, so I create a
class called ServerException in shared folder and has just one
property message and corresponding setter and getter.

in server, DBConnection.class, if there is NamingException, I copy the
message to ServerException message property

catch(NamingException e){
  ServerException se = new ServerException();
  se.setMessage(e.geteMessage());
  throw se;
}

then in client side, I want to display this exception message

public void onFailure(Throwable caught){
  if (caught instanceof ServerException){
 System.out.println(((ServerException)caught).getMessage());
  }
}

but out of my expectation, null is shown!!
in debug mode, I see the caught message property is not null, but I do
not know why when call ((ServerException)caught).getMessage(), will
return null!!

any idea?

-- 
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: cannot display server exception message

2012-02-17 Thread tong123123
sorry, I found the error come from typos in the message property, I
write messSage instead of message.

On Feb 17, 6:36 pm, tong123123 tong123...@gmail.com wrote:
 I know gwt has no SQLException and NamingException, so I create a
 class called ServerException in shared folder and has just one
 property message and corresponding setter and getter.

 in server, DBConnection.class, if there is NamingException, I copy the
 message to ServerException message property

 catch(NamingException e){
   ServerException se = new ServerException();
   se.setMessage(e.geteMessage());
   throw se;

 }

 then in client side, I want to display this exception message

 public void onFailure(Throwable caught){
   if (caught instanceof ServerException){
      System.out.println(((ServerException)caught).getMessage());
   }

 }

 but out of my expectation, null is shown!!
 in debug mode, I see the caught message property is not null, but I do
 not know why when call ((ServerException)caught).getMessage(), will
 return null!!

 any idea?

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



RequestFactory and query by example with a Proxy

2012-02-17 Thread Cristian Rinaldi
I am developing a filter to search for an entity.
The filter creates a proxy for the entity to seek, and then use this proxy 
with RequestFactory.
The problem is that the entity being validated do not know why.

The request is:
*Request List EntityBaseProxy findByProxy (EntityBaseProxy proxy);*

Their counterpart on the server is:
*public List EntityBase findByProxy (EntityBase proxy) {
   Query query = em.get (). CreateQuery (from EntityBase and WHERE 
e.namelike: arg1);
   query.setParameter (arg1 proxy.getName ());
   List list = query.getResultList EntityBase ();
   return list;
}*

The error I am getting is as follows:

*Caused by: java.lang.RuntimeException: The call failed on the server due 
to aConstraintViolation 
atcom.google.web.bindery.requestfactory.shared.Receiver.onFailure 
(Receiver.java: 44) at com.google.web.bindery . 
requestfactory.shared.Receiver.onViolation(Receiver.java: 66)

*
*
*
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/-/ZwKqWqLB9UQJ.
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 identify if any values in screen is changed by user

2012-02-17 Thread Rajin Das
Hi,

I want to alert the user to save the form, if he has changed any
value
in the form and not saved that, in this case when the user leave the
page with out saving i want to show him an alert message asking him
to
save the data.

it can be done with the help of onUnload method, but how we can
identify if the user has changed any value in the screen or not,
please is any one have found a solution for this or got any idea it
will be of great help

thanks in advance
Rajin

-- 
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 identify if any values in screen is changed by user

2012-02-17 Thread Kanagaraj M
This can done through Editor Framework.

Refer http://code.google.com/p/google-web-toolkit/wiki/Editors#Driver_types

-- 
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/-/g-Mzsl2YzHwJ.
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: RequestFactoryEditorDriver example?

2012-02-17 Thread poseidonjm
I have a tutorial in spanish
http://vivagwt.blogspot.com/2012/02/basic-grid-with-ext-gwt-30-beta2.html
and the source code is in eclipse 
http://www.2shared.com/file/__WFqp_Z/ExampleRF.html
Greetings

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



[Help] GChart has encountered a problem

2012-02-17 Thread Yellow013
Compiling module com.jp.gwt.HelloGWT
   Validating newly compiled units
  Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see
all errors.
   [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
730)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:
814)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
$700(BuildTypeMap.java:99)
at com.google.gwt.dev.jjs.impl.BuildTypeMap
$BuildDeclMapVisitor.process(BuildTypeMap.java:325)
at com.google.gwt.dev.jjs.impl.BuildTypeMap
$BuildDeclMapVisitor.visit(BuildTypeMap.java:244)
at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
1198)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
687)
at
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
637)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:
514)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:
523)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
599)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
88)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
  [ERROR] no source info: public class
com.googlecode.gchart.client.GChart
extends com.google.gwt.user.client.ui.Composite
implements : com.google.gwt.user.client.ui.SourcesClickEvents
/*   fields   */
private static final [unresolved] double
CHARHEIGHT_TO_FONTSIZE_UPPERBOUND
private static final [unresolved] double
CHARWIDTH_TO_FONTSIZE_UPPERBOUND
public static final [unresolved] int DEFAULT_ANNOTATION_FONTSIZE
public static final [unresolved] double DEFAULT_BAR_FILL_SPACING
public static final [unresolved] java.lang.String
DEFAULT_BLANK_IMAGE_URL
public static final [unresolved] java.lang.String
DEFAULT_BLANK_IMAGE_URL_FULLPATH
public static final [unresolved] int DEFAULT_BRUSH_HEIGHT
public static final [unresolved] int DEFAULT_BRUSH_WIDTH
public static final [unresolved] java.lang.String DEFAULT_FONT_COLOR
public static final [unresolved] java.lang.String DEFAULT_FONT_STYLE
public static final [unresolved] java.lang.String DEFAULT_FONT_WEIGHT
public static final [unresolved] int DEFAULT_FOOTNOTES_THICKNESS
public static final [unresolved] java.lang.String DEFAULT_GRID_COLOR
private static final [unresolved] int DEFAULT_GRID_HEIGHT
private static final [unresolved] int DEFAULT_GRID_WIDTH
public static final [unresolved] Unresolved type
com.googlecode.gchart.client.GChart$AnnotationLocation
DEFAULT_HBARLEFT_HOVER_LOCATION
public static final [unresolved] Unresolved type
com.googlecode.gchart.client.GChart$AnnotationLocation
DEFAULT_HBARRIGHT_HOVER_LOCATION
public static final [unresolved] Unresolved type
com.googlecode.gchart.client.GChart$AnnotationLocation
DEFAULT_HBAR_BASELINE_HOVER_LOCATION
public static final [unresolved] java.lang.String
DEFAULT_HOVERTEXT_TEMPLATE
public static final [unresolved] Unresolved type
com.googlecode.gchart.client.GChart$AnnotationLocation
DEFAULT_HOVER_LOCATION
public static final [unresolved] java.lang.String
DEFAULT_LEGEND_BACKGROUND_COLOR
public static final [unresolved] java.lang.String
DEFAULT_LEGEND_BORDER_COLOR
public static final [unresolved] java.lang.String
DEFAULT_LEGEND_BORDER_STYLE
public static final [unresolved] int DEFAULT_LEGEND_BORDER_WIDTH
public static final [unresolved] int DEFAULT_LEGEND_FONTSIZE
public static final [unresolved] int DEFAULT_LINE_FILL_SPACING
public static final [unresolved] int DEFAULT_LINE_FILL_THICKNESS
public static final [unresolved] double DEFAULT_PIE_SLICE_FILL_SPACING
public static final [unresolved] int DEFAULT_PIE_SLICE_FILL_THICKNESS
public static final [unresolved] java.lang.String
DEFAULT_PIE_SLICE_HOVERTEXT_TEMPLATE
public static final [unresolved] Unresolved type
com.googlecode.gchart.client.GChart$AnnotationLocation
DEFAULT_PIE_SLICE_HOVER_LOCATION
public static final 

Re: Error on JettyLogger?

2012-02-17 Thread MagusDrk
Hi Lothar.

Thanks a lot by your suggestion. Actually, my project had several jars
and it's probably a couple of them were being on conflict or something
like that. I've just removed all my jars and re-added only the needed
ones. My app run again with some css/skin diferences (I don't know why
yet) but it is finally running.

May be after the last update some jars where updated with conflict
wich generates the issue. After removing all those unnedded jars, I
suppose I'll get some error on excecution time, etc. but I've solved
them before (I guess).

So, the solution was remove all jars and use a clean version of only
needed jars.

I am very grateful, Lothar. some related issue I'll be asking.


On 16 feb, 11:00, Lothar Kimmeringer j...@kimmeringer.de wrote:
 Am 16.02.2012 16:51, schrieb MagusDrk:

  java.lang.ClassCastException:
  com.google.appengine.tools.development.ApiProxyLocalImpl cannot be
  cast to com.google.appengine.tools.development.ApiProxyLocal

 Sounds a bit like multiple gwt-Jars loaded by different ClassLoaders.

 Regards, Lothar

-- 
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: WARNING: failed _ah_ServeBlobFilter: java.lang.ClassCastException:

2012-02-17 Thread MagusDrk
Hi all.

If someone of you are still waiting for a response, I've got a
solution in the next thread.

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/15726363d7c3af84/dc25bb11241f2d6d?lnk=gstq=JettyLogger+error#dc25bb11241f2d6d

I hoppe to be helpful.

regards.


On 14 feb, 12:35, MagusDrk magus@googlemail.com wrote:
 Additionally. I've got an error on the browser:

 =
 HTTP ERROR: 503

 Problem accessing /MyApp.html. Reason:

     SERVICE_UNAVAILABLE
 Powered by Jetty://

 =

 On Feb 14, 12:21 pm, MagusDrk magus@googlemail.com wrote:







  Hi. I've just faced the same issue just after install some GWT
  updates... Anyone knows can it be solved, its really important. Thanks
  a lot.

-- 
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: Using capturing groups in GWT regexp

2012-02-17 Thread Joseph Lust
Use the GWT RegExp class. The following gets all the matching strings:

// does what I think you were looking for
String pattern = (abc)|(def);
String input = abczdefzabc;

RegExp regExp = RegExp.compile(pattern, g);
MatchResult matcher = regExp.exec(input);

// could probably use a doWhile to make it simpler
while(matcher!=null) {
   System.out.println( Found match str: 
+matcher.getGroup(0) );
   matcher = regExp.exec(input);
}


Sincerely,
Joe


On Feb 15, 2:43 pm, Dominic Hudon dominic.hu...@gmail.com wrote:
 I have some code using Oracle regex that I want to port to GWT.

 public static void main( String[] args )
 {
     String expression = (abc)|(def);
     String source = abcdef;

     Pattern pattern = Pattern.compile(expression);
     Matcher matcher = pattern.matcher(source);

     while (matcher.find())
     {
         if (matcher.start(1) != -1)
         {
             // it's an abc match
         }
         else if (matcher.start(2) != -1)
         {
             // it's a def match
         }
         else
         {
             // error
             continue;
         }

         int start = matcher.start();
         int end = matcher.end();

         String substring = source.substring(start, end);
         System.out.println(substring);
     }

 }

 I’ve tried porting it to the GWT regexp library, but it uses capturing
 groups through the start(int) method, which doesn’t seem to be supported in
 GWT regexp.

 Is there a way to simulate this behaviour?

 Oracle 
 regex:http://docs.oracle.com/javase/1.5.0/docs/api/java/util/regex/package-...

 GWT 
 regexp:http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...

-- 
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: Private versus Protected definitions

2012-02-17 Thread Tony Edgin
I can understand your frustration, but moving most implementation
details of library to its interface would put a chokehold on the
library's development.  Most of the implementation would become locked
down for fear of breaking client code.

I know its painful, but if you need access to a field or a private
method of a class, first reconsider your design.  You are attempting
to use the class in a way the designer of the class didn't intend.
After reconsidering your design.  If you still think the class's
interface needs to be extended, put in a change request.  Then the
designer of the class can see if it makes sense to have in the
internal functionality exposed through the class's interface.

On Thu, Feb 16, 2012 at 07:28, Bob Lacatena b...@lacatena.net wrote:
 I invariably find that GWT doesn't do exactly what I need.  Too often,
 however, I'm frustrated in my efforts to extend a class because too
 many elements or methods are private (rather than protected) and such
 private fields are not even exposed by getters and setters.

 Please go through all of your code and change private to
 protected.  In the rare case where you really don't want someone
 touching something (e.g. deprecated methods) that's fine, but think
 ten times about having a private field without a getter/setter, or a
 private method of any sort.  Such a situation should be very, very
 rare in a toolkit that's meant to be extensible, and is obviously
 limited in functionality and absolutely will require that the
 programmer roll up his sleeves.

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




-- 
Tony Edgin
Software Architecture and Design Leader
LBT Observatory
933 N. Cherry Ave., Tucson AZ 85721-0065
p:520-626-8951, c:520-419-8821, f:520-626-9333

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



Highlight a div

2012-02-17 Thread Deepak Singh
Hi All,

I need to highlight a particular div area after a certain event somewhere
else.
I can  change the background color but i need to achieve it by highlighting
the div only for few milliseconds.

How can i do this?

Thaks
Deepak Singh

-- 
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: Highlight a div

2012-02-17 Thread Alfredo Quiroga-Villamil
After you add the style, give it a few seconds and remove it. You can try
something like:

new Timer() {
@Override

public void run() {
// Remove the CSS that was added after 5
seconds for example.
}
   }.schedule(5000);
Regards,

Alfredo

On Fri, Feb 17, 2012 at 2:41 PM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi All,

 I need to highlight a particular div area after a certain event somewhere
 else.
 I can  change the background color but i need to achieve it by
 highlighting the div only for few milliseconds.

 How can i do this?

 Thaks
 Deepak Singh

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




-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



REST style URis with GWT

2012-02-17 Thread Monika Solanki
Hello,

When I make a GWT app, the URL is usually associated with an HTML page. 
However I would like to expose a more restful URI style for my web app.
Instead of http://www.xyz.com/myapp/TestApp.html I would like 
http://www.xyz.com/myapp/testapp. I would like to know if there is a way to 
achieve this in GWT.

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/-/77xv7FQ7DDwJ.
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: RequestFactoryEditorDriver example?

2012-02-17 Thread Daniel Mauricio Patino León
Buen ejemplo de GXT 3.0 y GWT 2.4.

Sin duda usar GXT resuelve mucho de lo que con GWT tendrías que codear por
ti mismo.
Espero que la versión completa este lista pronto.


Saludos.

2012/2/16 poseidonjm poseido...@gmail.com

 I have a tutorial in spanish
 http://vivagwt.blogspot.com/2012/02/basic-grid-with-ext-gwt-30-beta2.html
 and the source code is in eclipse
 http://www.2shared.com/file/__WFqp_Z/ExampleRF.html
 Greetings

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




-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

-- 
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: REST style URis with GWT

2012-02-17 Thread Kolban
My thinking is that there might not be as much value in this as you think 
(opinion).  To me, a REST service returns a response in the form of data 
(JSON or XML) while a GWT application returns a HTML stream for direct 
presentation in a browser.  What is it about the TestApp.html termination 
of the URL that you see as something you want to change?

Neil

-- 
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/-/evvIR0C24FYJ.
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: REST style URis with GWT

2012-02-17 Thread András Csányi
On 17 February 2012 22:09, Monika Solanki monika.sola...@gmail.com wrote:
 Hello,

 When I make a GWT app, the URL is usually associated with an HTML page.
 However I would like to expose a more restful URI style for my web app.
 Instead of http://www.xyz.com/myapp/TestApp.html I would like
 http://www.xyz.com/myapp/testapp. I would like to know if there is a way to
 achieve this in GWT.

It depends on your webserver. You should set up your server to do
this, it's called url_rewrite, mod-rewrite or user friendly urls. If
you have only the mentioned url containing TestApp.html file than you
should set up your server to route your requests not only to
index.html but also TestApp.html file. It's kind of default setup.

Anyway, this service doesn't depends on GWT.

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell

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

2012-02-17 Thread Nitheesh Chandran
Hello ,

I want to display a dialog-box component when a user clicks on the
flux table cell. So i just write the code like this. But it is not
working

table.addTableListener(new TableListener() {

@Override
public void onCellClicked(SourcesTableEvents sender, 
int row, int
cell) {

Window.alert(getContent(row,cell));
cell_content=getContent(row,cell);



DialogBox db=new DialogBox();
db.setText(hello);








  }



});


Can anyone tell me why ?

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

2012-02-17 Thread Vasi Sándor
I am not too sure, but i guess the getContent within the inner class refers to 
wrong object.
You should call MyApplication.this.getContent().
Give a try, i think it ll fix your pb.
Sandor


On 2012.02.18., at 7:22, Nitheesh Chandran nithe...@dotentreprise.com wrote:

 Hello ,
 
 I want to display a dialog-box component when a user clicks on the
 flux table cell. So i just write the code like this. But it is not
 working
 
 table.addTableListener(new TableListener() {
 
@Override
public void onCellClicked(SourcesTableEvents sender, int row, int
 cell) {
 
Window.alert(getContent(row,cell));
cell_content=getContent(row,cell);
 
 
 
DialogBox db=new DialogBox();
db.setText(hello);
 
 
 
 
 
 
 
 
  }
 
 
 
 });
 
 
 Can anyone tell me why ?
 
 -- 
 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.



[gwt-contrib] Re: Fix for bad association of errors generated by client-side JSR-303 when using nested, validated ... (issue1644803)

2012-02-17 Thread nchalko

LGTM


http://gwt-code-reviews.appspot.com/1644803/diff/1/user/src/com/google/gwt/editor/client/impl/SimpleViolation.java
File user/src/com/google/gwt/editor/client/impl/SimpleViolation.java
(right):

http://gwt-code-reviews.appspot.com/1644803/diff/1/user/src/com/google/gwt/editor/client/impl/SimpleViolation.java#newcode78
user/src/com/google/gwt/editor/client/impl/SimpleViolation.java:78:
return v.getRootBean();
I originally used leaf bean, because I did not want to force the root
bean to be GWT serializable.  I suppose in the end it would need to be.

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

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


[gwt-contrib] Re: Fix for bad association of errors generated by client-side JSR-303 when using nested, validated ... (issue1644803)

2012-02-17 Thread nchalko

LGTM

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

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