Re: Master-details panel

2014-03-11 Thread Donald Mteka
You can use DataGrid, to handle events from cells, take a look here
http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html#Rendering_HTML_for_Cells



On Mon, Mar 10, 2014 at 4:46 PM, Amir kessentini
wrote:

> let's go to seriously things ;
> i have created e method in my gwt server which return a list of data
> 
> in my gui i'm using a flextable to display that data and it's works
> perfectly.
> but i thinks it's not good to work with flex table because i have to
> create my column and it's not mapped to the structure for personne
> class.more than that i can't select a row with that flex table.
>
> i'm thinking to use grid data but the problem is that i can't set widget
> to a column.for example i nedd to create a delete button for each row in
> data grid.
> there is also celletab and many other components but i'm really confused.
> help plz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Donald Mteka
+255653105004

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with appendChild

2014-03-11 Thread Sagar Joglekar
hey Ryan, 
how were you able to solve this ? 
I am doing something similar on the client side, also I see this issue only 
with internet explorer. Not with Chorme or Mozilla or Opera. 
Your help is highly appreciated. 
Thanks


On Tuesday, May 15, 2007 1:38:24 AM UTC-7, Ryan wrote:
>
> Don't know what I was thinking on this, but I fixed the stupid
> errors...
>
> Is there any convenient way to convert a Document object to a string
> on the client side? I haven't found away so I have commented it out
> and am now just generating my own string since the Documents are
> simple.
>
> On May 1, 9:12 pm, Ryan  wrote:
> > I am trying to create an XML Document on the client side with the
> > following code, but it doesn't seem to work at appendChild() if I call
> > it consecutively.  I've pasted the code and the error.
> >
> > private Document genRequestMsg(){
> > Document xml = XMLParser.createDocument();
> >
> > Element e = xml.createElement("action");
> > e.setAttribute("type", "request");
> > xml.appendChild(e);
> >
> > e = xml.createElement("constraint");
> > //xml.appendChild(e);  ERROR
> >
> > e = xml.createElement("page");
> > e.appendChild(xml.createTextNode(new 
> Integer(pageNum).toString() ));
> > //xml.appendChild(e);   ERROR
> >
> > e = xml.createElement("numperpage");
> > e.appendChild(xml.createTextNode(new
> > Integer(numPerPage).toString() ));
> > //xml.appendChild(e);   ERROR
> >
> > return xml;
> >
> > [ERROR] Unable to load module entry point class com.myapp.client.MyApp
> > com.google.gwt.xml.client.impl.DOMNodeException: Error during DOM
> > manipulation of: 
> > at 
> com.google.gwt.xml.client.impl.NodeImpl.appendChild(NodeImpl.java:
> > 84)
> > at com.myapp.client.xmlMessage.genRequestMsg(xmlMessage.java:50)
> > at com.myapp.client.xmlMessage.toString(xmlMessage.java:74)
> > at java.lang.String.valueOf(String.java:2615)
> > at java.io.PrintStream.print(PrintStream.java:616)
> > at java.io.PrintStream.println(PrintStream.java:753)
> > at 
> com.myapp.client.ui.ListTabWidget.(ListTabWidget.java:32)
> > at com.myapp.client.MyApp.onModuleLoad(MyApp.java:42)
> > at
> > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 39)
> > at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> > 25)
> > Caused by: com.google.gwt.core.client.JavaScriptException: JavaScript
> > Error exception: HIERARCHY_REQUEST_ERR: DOM Exception 3
> > at
> > 
> com.google.gwt.dev.shell.mac.ModuleSpaceSaf.invokeNative(ModuleSpaceSaf.java:
> > 200)
> > at
> > 
> com.google.gwt.dev.shell.mac.ModuleSpaceSaf.invokeNativeHandle(ModuleSpaceSaf.java:
> > 98)
> > at
> > 
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeHandle(JavaScriptHost.java:
> > 79)
> > at
> > 
> com.google.gwt.xml.client.impl.XMLParserImpl.appendChild(XMLParserImpl.java:
> > 36)
> > at 
> com.google.gwt.xml.client.impl.NodeImpl.appendChild(NodeImpl.java:
> > 80)
> > at com.myapp.client.xmlMessage.genRequestMsg(xmlMessage.java:50)
> > at com.myapp.client.xmlMessage.toString(xmlMessage.java:74)
> > at java.lang.String.valueOf(String.java:2615)
> > at java.io.PrintStream.print(PrintStream.java:616)
> > at java.io.PrintStream.println(PrintStream.java:753)
> > at 
> com.myapp.client.ui.ListTabWidget.(ListTabWidget.java:32)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with appendChild

2014-03-11 Thread Thomas Broyer


On Tuesday, March 11, 2014 12:57:51 AM UTC+1, Sagar Joglekar wrote:
>
> hey Ryan, 
> how were you able to solve this ? 
> I am doing something similar on the client side, also I see this issue 
> only with internet explorer. Not with Chorme or Mozilla or Opera. 
> Your help is highly appreciated.
>

The error here was that he tried to have more than one "document element" 
 (aka "root element").

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Starting app in superdevmode from selenium

2014-03-11 Thread gslender
So nobody tried this?

I'm also thinking about this as getting GWT Developer Plugin working with 
WebDriver has proved to be a failure.

I was wondering if you could just (within the tests) connect to the super 
dev server and automate the compile command directly - and then just load 
the GWT module page as normal.

Should work yeah?

G

On Friday, 31 January 2014 04:28:09 UTC+10, Marteijn Nouwens wrote:
>
> I am testing my application with selenium, This work fine but i want to 
> run tests against a recompiled version So how can I that the test loads the 
> latest comiled version from the superdevmode server.
>
> That would be great.
>
> Marteijn Nouwens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Starting app in superdevmode from selenium

2014-03-11 Thread Klemens Schrage
Hello,

Although we aren't using selenium we had a quite similar problem. We ended 
up in converting the module's html into a jsp (everything that's dynamic 
should work) and replace the url to module.nocache.js with the 
superdev-version.

<% 
  if (request.getParameter("superdev") != null && 
request.getParameter("superdev").equals("on")) {
%>
  http://localhost:9876/module/module.nocache.js";>
<%
  } else {
%>
  
<%
  }
%>

Invoking the compiler should be no problem. Just call
* 
http://localhost:9876/recompile/module?_callback=__gwt_bookmarklet_globals.callbacks.c0*via
 http-get.

Hope this helps.

Regards
Klemens

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: DateBox DatePicker popup is not showing up!

2014-03-11 Thread Muthu Selvam
Hi All,

Can any one help me ???

Here the main widget as GWT PopupPanel inside that we are creating two 
DateBox (com.github.gwtbootstrap.datepicker.client.ui.DateBox) but i'm not 
able to select any date events. This issues happen only in popup. Any one 
knows this issue to fix ?


Advance Thanks




On Thursday, October 3, 2013 2:55:50 PM UTC+5:30, Sandeep Shukla wrote:
>
> Thanks a ton !! This was a life saver :) 
>
> On Monday, June 1, 2009 1:10:35 AM UTC+5:30, John_Idol wrote:
>>
>> my BAD --> had a look with firebug and it was there behind the rest of 
>> the stuff, I just had to define the following css class: 
>>
>> .dateBoxPopup { 
>> z-index: 100; 
>> } 
>>
>> On May 31, 8:32 pm, John_Idol  wrote: 
>> > When I said *this* example I meant to include the link but I didn't -- 
>> > 
>> > >http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker 
>> > 
>> > On May 31, 8:30 pm, John_Idol  wrote: 
>> > 
>> > 
>> > 
>> > > Hi All, 
>> > 
>> > > I am following this example and the example in the DateBox 
>> > > specification - so I have smt like this in my OnModuleLoad: 
>> > 
>> > >   public void onModuleLoad() { 
>> > > _dateBox = new DateBox(); 
>> > > _dateBox.setValue(new Date()); 
>> > > RootPanel.get().add(_dateBox); 
>> > >   } 
>> > 
>> > > Problem is when I click on the DateBox nothing happens - I'd expect 
>> > > the popup with the DatePicker to show up (this is happening on hosted 
>> > > browser (IE), chrome and firefox). 
>> > 
>> > > Is there any init step I am missing? 
>> > 
>> > > I tried a search on this group but couldn't find anything similar 
>> > 
>> > > Any help appreciated!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NPE when generating a RequestContext with a Map

2014-03-11 Thread Thomas Welspacher
I'm struggling with the same issue...
The documentation says Map is a transportable Type but i dont know why it's 
not working.
I'm using sdk version 2.6.0

Any new insights?

Kindest regards, Thomas

Am Mittwoch, 5. Februar 2014 19:28:40 UTC+1 schrieb Nicolas Morel:
>
> Hello, 
>
> I wanted to test the new Map support in RF with GWT 2.6.0 and my first 
> test failed :( 
>
> Here is my RequestContext :
>
> @Service( MyService.class )
> public interface MyServiceContext extends RequestContext {
> Request> getMap();
> }
>
> When I compile, I have this NullPointerException :
>
> [INFO] java.lang.NullPointerException
> [INFO] at 
> com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator.writeContextImplementations(RequestFactoryGenerator.java:407)
> [INFO] at 
> com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator.generate(RequestFactoryGenerator.java:203)
> [INFO] at 
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
> [INFO] at 
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)
>
> If I change the Map to a List, it works.
>
> Before I open an issue, is there something I'm not doing correctly ?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Federico De Faveri
I have a ScrollPanel and I want to reset his scrolling position when it is 
hidden.
To do so I call the scrollTop method. As I can see it is not working only 
when the ScrollPanel is hidden.

Here a sample code:

  
public void onModuleLoad() {
   StringBuilder html = new StringBuilder();
   for (int i = 0; i<1000; i++) html.append("row "+i+"");

   HTMLPanel content = new HTMLPanel(html.toString());

   final ScrollPanel scrollPanel = new ScrollPanel(content);
   scrollPanel.setHeight("200px");
   RootPanel.get().add(scrollPanel);

   RootPanel.get().add(new Button("TEST", new ClickHandler() {

@Override
public void onClick(ClickEvent event) {
  scrollPanel.scrollToTop();
  scrollPanel.setVisible(false);
  scrollPanel.scrollToBottom();
  scrollPanel.setVisible(true);
}
  }));
}



After clicking the TEST button the ScrollPanel keep is top position.
Any idea how to scroll it when hidden?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.5 and IBM JVM problems

2014-03-11 Thread Martin Pain
For others' reference, the issue is: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=7530

The workaround for most people seems to be:
1. Delete the gwt-unitCache directory (irrespective of your JDK)
2. Use the -Dgwt.usearchives=false jvm argument on the compiler (if using 
the IBM JDK). In Ant this would be:


On Friday, 25 January 2013 19:09:00 UTC, Thomas Broyer wrote:
>
> IIRC, there's an issue open in the tracker with a workaround (a system 
> property to ignore the gwtar files)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Winston Britto
You can use the below code

RootPanel.get().add(new Button("TEST", new ClickHandler() {

@Override
public void onClick(ClickEvent event) {
scrollPanel.scrollToTop();
scrollPanel.setVisible(false);
*Scheduler.get().scheduleDeferred(*
* new Scheduler.ScheduledCommand() {*
* @Override*
* public void execute() {*
* scrollPanel.scrollToBottom();*
* }*
* });*
scrollPanel.setVisible(true);
}
}));


On Tue, Mar 11, 2014 at 4:37 PM, Federico De Faveri wrote:

> I have a ScrollPanel and I want to reset his scrolling position when it is
> hidden.
> To do so I call the scrollTop method. As I can see it is not working only
> when the ScrollPanel is hidden.
>
> Here a sample code:
>
>
> public void onModuleLoad() {
>StringBuilder html = new StringBuilder();
>for (int i = 0; i<1000; i++) html.append("row "+i+"");
>
>HTMLPanel content = new HTMLPanel(html.toString());
>
>final ScrollPanel scrollPanel = new ScrollPanel(content);
>scrollPanel.setHeight("200px");
>RootPanel.get().add(scrollPanel);
>
>RootPanel.get().add(new Button("TEST", new ClickHandler() {
>
> @Override
> public void onClick(ClickEvent event) {
>   scrollPanel.scrollToTop();
>   scrollPanel.setVisible(false);
>   scrollPanel.scrollToBottom();
>   scrollPanel.setVisible(true);
> }
>   }));
> }
>
>
>
> After clicking the TEST button the ScrollPanel keep is top position.
> Any idea how to scroll it when hidden?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks & Regards,
Winston Britto J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NPE when generating a RequestContext with a Map

2014-03-11 Thread Thomas Broyer


On Tuesday, March 11, 2014 11:19:55 AM UTC+1, Thomas Welspacher wrote:
>
> I'm struggling with the same issue...
> The documentation says Map is a transportable Type but i dont know why 
> it's not working.
> I'm using sdk version 2.6.0
>
> Any new insights?
>

>From the stacktrace above and a few minutes reading the code, I think I 
identified the problem.

Could you please open an issue so we don't forget about it? (maybe we could 
even ship the fix in 2.6.1)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Winston Britto
You can use the below code

RootPanel.get().add(new Button("TEST", new ClickHandler() {

@Override
  public void onClick(ClickEvent event) {
scrollPanel.scrollToTop();
 scrollPanel.setVisible(false);
 *Scheduler.get().scheduleDeferred(*
*   new 
Scheduler.ScheduledCommand() {*
*  @Override*
*   public void 
execute() {*
* 
scrollPanel.scrollToBottom();*
*   }*
*   });*
scrollPanel.setVisible(true);
  }
  }));



On Tuesday, March 11, 2014 4:37:50 PM UTC+5:30, Federico De Faveri wrote:
>
> I have a ScrollPanel and I want to reset his scrolling position when it is 
> hidden.
> To do so I call the scrollTop method. As I can see it is not working only 
> when the ScrollPanel is hidden.
>
> Here a sample code:
>
>   
> public void onModuleLoad() {
>StringBuilder html = new StringBuilder();
>for (int i = 0; i<1000; i++) html.append("row "+i+"");
>
>HTMLPanel content = new HTMLPanel(html.toString());
>
>final ScrollPanel scrollPanel = new ScrollPanel(content);
>scrollPanel.setHeight("200px");
>RootPanel.get().add(scrollPanel);
>
>RootPanel.get().add(new Button("TEST", new ClickHandler() {
>
> @Override
> public void onClick(ClickEvent event) {
>   scrollPanel.scrollToTop();
>   scrollPanel.setVisible(false);
>   scrollPanel.scrollToBottom();
>   scrollPanel.setVisible(true);
> }
>   }));
> }
>
>
>
> After clicking the TEST button the ScrollPanel keep is top position.
> Any idea how to scroll it when hidden?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NPE when generating a RequestContext with a Map

2014-03-11 Thread Thomas Welspacher
I also debugged and have an idea why it's not working ;) 
This will be the first issue i will open, but if you can tell me where i 
can do this... no problem :)

Thomas

Am Dienstag, 11. März 2014 13:37:44 UTC+1 schrieb Thomas Broyer:
>
>
>
> On Tuesday, March 11, 2014 11:19:55 AM UTC+1, Thomas Welspacher wrote:
>>
>> I'm struggling with the same issue...
>> The documentation says Map is a transportable Type but i dont know why 
>> it's not working.
>> I'm using sdk version 2.6.0
>>
>> Any new insights?
>>
>
> From the stacktrace above and a few minutes reading the code, I think I 
> identified the problem.
>
> Could you please open an issue so we don't forget about it? (maybe we 
> could even ship the fix in 2.6.1)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


hibernate query works in main but not in gwt dao

2014-03-11 Thread Leung
Hi

I am using hibernate and gwt. If I run the query in the main, the query returns 
the expected records.
But if I do the same query in a DAO, called by the web application methods, the 
result is always empty. It did work a few days ago, and I have not changed 
anything with this table. Is there any way I can trace it?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Federico De Faveri
It will work if I make the panel visible in a different moment/event chain?

On Tuesday, March 11, 2014 1:44:50 PM UTC+1, Winston Britto wrote:
>
> You can use the below code
>
> RootPanel.get().add(new Button("TEST", new ClickHandler() {
>
> @Override
>   public void onClick(ClickEvent event) {
> scrollPanel.scrollToTop();
>  scrollPanel.setVisible(false);
>  *Scheduler.get().scheduleDeferred(*
> *   new 
> Scheduler.ScheduledCommand() {*
> *  @Override*
> *   public void 
> execute() {*
> * 
> scrollPanel.scrollToBottom();*
> *   }*
> *   });*
> scrollPanel.setVisible(true);
>   }
>   }));
>
>
>
> On Tuesday, March 11, 2014 4:37:50 PM UTC+5:30, Federico De Faveri wrote:
>>
>> I have a ScrollPanel and I want to reset his scrolling position when it 
>> is hidden.
>> To do so I call the scrollTop method. As I can see it is not working only 
>> when the ScrollPanel is hidden.
>>
>> Here a sample code:
>>
>>   
>> public void onModuleLoad() {
>>StringBuilder html = new StringBuilder();
>>for (int i = 0; i<1000; i++) html.append("row "+i+"");
>>
>>HTMLPanel content = new HTMLPanel(html.toString());
>>
>>final ScrollPanel scrollPanel = new ScrollPanel(content);
>>scrollPanel.setHeight("200px");
>>RootPanel.get().add(scrollPanel);
>>
>>RootPanel.get().add(new Button("TEST", new ClickHandler() {
>>
>> @Override
>> public void onClick(ClickEvent event) {
>>   scrollPanel.scrollToTop();
>>   scrollPanel.setVisible(false);
>>   scrollPanel.scrollToBottom();
>>   scrollPanel.setVisible(true);
>> }
>>   }));
>> }
>>
>>
>>
>> After clicking the TEST button the ScrollPanel keep is top position.
>> Any idea how to scroll it when hidden?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.6 CSSResource Changes?

2014-03-11 Thread Evan Ruff
Hey guys,

So I updated GWT to 2.6 and I'm having a heck of a time with CSSResources. 
I'm getting A TON of errors and warnings that look like:
[WARN] [app] - Line 12 column 33: encountered "-". Was expecting one of: 
"}" ";"  
[WARN] [app] - Line 14 column 10: encountered " ". Was expecting one of: 
  
[WARN] [app] - Line 13 column 10: encountered "0". Was expecting one of: 
  

Those line numbers don't seem to line up with the my .css file and I don't 
recall ever getting anything like this prior.

Also, it doesn't look like the CssResource.style property is being honored 
anymore. I have it in my .gwt.xml file as:


but all my class names are coming out obsufucated anyways.

Has anyone else experienced these sorts of issues? My entire stack is 
(Java7, GWT 2.6, AppEngine 1.9.0, GXT 3.1 beta)

Thanks,

E

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NPE when generating a RequestContext with a Map

2014-03-11 Thread Thomas Welspacher
found it...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Need to add HTML5 desktop to browser DnD support in GWT application

2014-03-11 Thread David Hoffer
Nicolas,

Thanks much for the link to this component.  I had found a couple similar
ones but found this one to be the best, it really works great.  Thanks
again for the link.

-Dave

P.S. I would think that GWT ought to have this as a core feature.


On Mon, Feb 24, 2014 at 12:24 PM, Nicolas Weeger  wrote:

> Hello.
>
>
> I didn't have yet the occasion to play with it and it's one year old, but
> GWT Uploader on http://www.moxiegroup.com/moxieapps/gwt-uploader/ seems
> to do the kind of things you require.
>
>
> Hope this helps
>
>
> Regards
>
>
> Nicolas
>
>
>
> Le 2014-02-21 17:04, dhoffer a écrit :
>
>> I need to have a widget that accepts DnD files from the desktop, how
>> can I do this in a GWT 2.5.1 application? See the link below for the
>> JS code to do this. Does GWT already have a widget for this? If not
>> how could I create my own?
>>
>> From the link below I understand it all starts with a div in the
>> rendered HTML and then wires in support for DnD with the JS code shown
>> in the link. So in my case I'm starting with a GWT layout and need to
>> add this 'widget' to that existing layout. I've never created my own
>> GWT widget before, would I start with an existing GWT widget and then
>> add the JS via JSNI? If so, what would be the best starting widget to
>> build on?
>>
>> http://www.htmlgoodies.com/html5/jav...id=TdDQb7R8c9d [1]
>>
>>  --
>>  You received this message because you are subscribed to the Google
>>
>> Groups "Google Web Toolkit" group.
>>  To unsubscribe from this group and stop receiving emails from it,
>>
>> send an email to google-web-toolkit+unsubscr...@googlegroups.com.
>>  To post to this group, send email to
>> google-web-toolkit@googlegroups.com.
>>  Visit this group at http://groups.google.com/group/google-web-toolkit
>> [2].
>>  For more options, visit https://groups.google.com/groups/opt_out [3].
>>
>>
>> Links:
>> --
>> [1]
>> http://www.htmlgoodies.com/html5/javascript/drag-files-
>> into-the-browser-from-the-desktop-HTML5.html#fbid=TdDQb7R8c9d
>> [2] http://groups.google.com/group/google-web-toolkit
>> [3] https://groups.google.com/groups/opt_out
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/google-web-toolkit/DPk4mMgJVFE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.6 CSSResource Changes?

2014-03-11 Thread Thad Humphries
I've seen errors like these come and go depending on the state of the MGWT 
SNAPSHOT. Perhaps there is moderately erroneous with a style in GXT?

On Tuesday, March 11, 2014 9:11:44 AM UTC-4, Evan Ruff wrote:
>
> Hey guys,
>
> So I updated GWT to 2.6 and I'm having a heck of a time with CSSResources. 
> I'm getting A TON of errors and warnings that look like:
> [WARN] [app] - Line 12 column 33: encountered "-". Was expecting one of: 
> "}" ";"  
> [WARN] [app] - Line 14 column 10: encountered " ". Was expecting one of: 
>   
> [WARN] [app] - Line 13 column 10: encountered "0". Was expecting one of: 
>   
>
> Those line numbers don't seem to line up with the my .css file and I don't 
> recall ever getting anything like this prior.
>
> Also, it doesn't look like the CssResource.style property is being honored 
> anymore. I have it in my .gwt.xml file as:
> 
>
> but all my class names are coming out obsufucated anyways.
>
> Has anyone else experienced these sorts of issues? My entire stack is 
> (Java7, GWT 2.6, AppEngine 1.9.0, GXT 3.1 beta)
>
> Thanks,
>
> E
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.6 CSSResource Changes?

2014-03-11 Thread Evan Ruff
Hey Thad,

I'm not using mGwt anywhere, so I'm not sure that would be it unless it's a 
dependency somewhere else.

No doubt, there are a bunch of errors in the GXT styles, but I'm also 
getting errors in my plain ol' CSS files as well.

E



On Tuesday, March 11, 2014 1:44:32 PM UTC-4, Thad Humphries wrote:
>
> I've seen errors like these come and go depending on the state of the MGWT 
> SNAPSHOT. Perhaps there is moderately erroneous with a style in GXT?
>
> On Tuesday, March 11, 2014 9:11:44 AM UTC-4, Evan Ruff wrote:
>>
>> Hey guys,
>>
>> So I updated GWT to 2.6 and I'm having a heck of a time with 
>> CSSResources. I'm getting A TON of errors and warnings that look like:
>> [WARN] [app] - Line 12 column 33: encountered "-". Was expecting one of: 
>> "}" ";"  
>> [WARN] [app] - Line 14 column 10: encountered " ". Was expecting one of: 
>>   
>> [WARN] [app] - Line 13 column 10: encountered "0". Was expecting one of: 
>>   
>>
>> Those line numbers don't seem to line up with the my .css file and I 
>> don't recall ever getting anything like this prior.
>>
>> Also, it doesn't look like the CssResource.style property is being 
>> honored anymore. I have it in my .gwt.xml file as:
>> 
>>
>> but all my class names are coming out obsufucated anyways.
>>
>> Has anyone else experienced these sorts of issues? My entire stack is 
>> (Java7, GWT 2.6, AppEngine 1.9.0, GXT 3.1 beta)
>>
>> Thanks,
>>
>> E
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Master-details panel

2014-03-11 Thread Amir kessentini
thank you all :)


2014-03-11 9:49 GMT+01:00 Donald Mteka :

> You can use DataGrid, to handle events from cells, take a look here
>
> http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html#Rendering_HTML_for_Cells
>
>
>
> On Mon, Mar 10, 2014 at 4:46 PM, Amir kessentini <
> kessentini.a...@gmail.com> wrote:
>
>> let's go to seriously things ;
>> i have created e method in my gwt server which return a list of data
>> 
>> in my gui i'm using a flextable to display that data and it's works
>> perfectly.
>> but i thinks it's not good to work with flex table because i have to
>> create my column and it's not mapped to the structure for personne
>> class.more than that i can't select a row with that flex table.
>>
>> i'm thinking to use grid data but the problem is that i can't set widget
>> to a column.for example i nedd to create a delete button for each row in
>> data grid.
>> there is also celletab and many other components but i'm really confused.
>> help plz
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-web-toolkit+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Donald Mteka
> +255653105004
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/B9GdLt_pNE4/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: DateBox DatePicker popup is not showing up!

2014-03-11 Thread Patrick Tucker
Maybe provide some code?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Create Canvas widget from CanvasElement

2014-03-11 Thread confile
Hi I am working on a new Kineticjs GWT wrapper here: 
https://github.com/confile/gwt-kinetic

If someone wants to join my project please contact me.




Am Montag, 22. Oktober 2012 14:38:00 UTC+2 schrieb Maik Riechert:
>
> I stumbled upon the same thing today.
>
> I'm a contributor to KineticGWT which is a JSNI wrapper around the 
> KineticJS library. In this library, the canvas elements are created by the 
> library itself and I only get them. So I thought, when doing something like 
> layer.getCanvas() it would be best to use the Canvas widget, but still, as 
> of 2.5.0rc2 the constructor is private and there's no wrapper method. This 
> sucks! I'll see if it's already been mentioned in gwt-contributors.
>
> Cheers
> Maik
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.