Re: Refresh of CellTable via data transmitted via WebSocket delayed

2016-09-24 Thread Kay Pac
Thanks very much Thomas - that was it. I checked the gwt-websocket, and it 
is indeed using $entry, while gwt-stomp is not. I altered the code and the 
problem seems to be resolved. Whew! So happy to have found this solution.

Kay

On Friday, September 23, 2016 at 1:21:42 AM UTC-7, Thomas Broyer wrote:
>
>
>
> On Friday, September 23, 2016 at 2:04:19 AM UTC+2, Kay Pac wrote:
>>
>> I have a somewhat complex problem related to a CellTable that updates 
>> based on messages received over a WebSocket connection. The problem is as 
>> follows: The table does not update in real-time, even though "setRowData" 
>> and redraw* are called in real-time. There is a delay in the row appearing 
>> in the CellTable, or rather in the DOM as a table row. I realize that 
>> redraw does not actually redraw but sets a flag via 
>> HasDataPresenter.redraw, which checked elsewhere. It is often the case that 
>> mouse movement causes the row to appear - and I have been able to reproduce 
>> this behavior. When I put in a timer firing every 300 milliseconds, its 
>> execution also causes the row to appear.
>>
>
> That hints at the callback that calls the setRowData and redraw not being 
> wrapped in $entry().
> CellTable defers its DOM update using Scheduler.scheduleFinally(), and 
> "finally commands" (and "entry commands") are processed by $entry().
> So, your callback schedules a finally task, but because it's not in 
> $entry() it's not called "at the end of the event loop" as it's expected 
> to; it's actually called at the end of the next event loop that uses 
> $entry(), which is the case for almost anything that GWT does: event 
> handlers, timers, etc.
> So: make sure your WebSocket's callback is wrapped in $entry() (this also 
> takes care of the GWT.UncaughtExceptionHandler btw)
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Refresh of CellTable via data transmitted via WebSocket delayed

2016-09-22 Thread Kay Pac
I have a somewhat complex problem related to a CellTable that updates based 
on messages received over a WebSocket connection. The problem is as 
follows: The table does not update in real-time, even though "setRowData" 
and redraw* are called in real-time. There is a delay in the row appearing 
in the CellTable, or rather in the DOM as a table row. I realize that 
redraw does not actually redraw but sets a flag via 
HasDataPresenter.redraw, which checked elsewhere. It is often the case that 
mouse movement causes the row to appear - and I have been able to reproduce 
this behavior. When I put in a timer firing every 300 milliseconds, its 
execution also causes the row to appear.

It is flummoxing because the problem did not occur until I switched from a 
prototype implementation of basic websockets to a prototype implementation 
of STOMP-wrapped websockets (stomp being a MOM-supported protocol for 
supported messaging from "simple clients"). However, in both cases, there 
is no difference as to when the data is delivered via setData and redraw is 
called, so the change should not affect how or when the cellTable gets 
updated.

I am considering eliminating the use of CellTable and have a simpler DOM 
manipulation, but I'd prefer to determine what I am doing that is causing 
this problem, whether it is misuse of CellTable API or inappropriate 
expectations of CellTable behavior. I can't really post any code because it 
is all integrated, and I can kind of work around it.

Does anyone have any ideas how to approach this problem or where I might 
begin to look for a solution?

Sincerely,
Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT SDM Polymer

2016-08-22 Thread Kay Pac
Are there recommendations for GWT/polymer versions that play nice together? 
And by polymer version I guess I mean the vaadin artifact that is the 
wrapper for polymer. vaadin-gwt-polymer-elements

I am using 1.2.3.0 and gwt-2.8.0-rc2 and it does not appear to work, I get 
an error in Polymer.java:159: ok_0_g$.call_0_g$ is not a function. I also 
dont understand why the tutorial says to use scope: provided in maven for 
the artifact.

I am struggling to get this to work. For reference the relevant section of 
code in Polymer.java is (line reads)  
ok.@com.vaadin.polymer.elemental.Function::call(*)();


private static native void whenPolymerLoaded(Function ok)
/*-{
function done() {
  // Set our static reference to Base
  @com.vaadin.polymer.Polymer::Polymer = $wnd.Polymer;
  @com.vaadin.polymer.Polymer::Base = $wnd.Polymer.Base;
  // Polymer dynamic loaded does not remove unresolved
  $doc.body.removeAttribute('unresolved');
  //
  ok.@com.vaadin.polymer.elemental.Function::call(*)();
}
if (!$wnd.Polymer) {
var l = $doc.createElement('link');
l.rel = 'import';
l.href = 
@com.vaadin.polymer.Polymer::absoluteHref(*)('polymer');
l.onload = done;
$doc.head.appendChild(l);
} else {
   done();
}
}-*/;

On Monday, December 21, 2015 at 3:14:37 AM UTC-8, Ed wrote:
>
> @ VADIM Thank You!!!
>
> I think I have solved the issue by switching to a pure maven build rather 
> that using the gwt plugin.
>
> I think having multiple projects using multiple JDK. GWT Versions may have 
> confused Eclipse MARS.
>
> So I refreshed the build into a new directory using:
>
> 2.8.0-SNAPSHOT
> MAVEN
> POLYMER 1.2.1.0
> ECLIPSE Mars.1
>
> Now SDM provides access without the JSINTEROP errors.
>
> The purpose of this is exploration and prototyping of a UI using POLYMER 
> and modern design methodilogies.
>
> I was a newbie to maven but an quickly coming to be a fan. (Used ant for 
> many many years).
>
> Thank You,
>
> Ed
>
>
> On Mon, Dec 21, 2015 at 3:34 AM, > wrote:
>
>> Hello Ed,
>>
>> I am working with polymer elements 1.2.1.0 and GWT 2.8.0-beta1 
>> closely and I found one missing thing at your configuration. Particularly 
>> at your gwt.xml should be:
>>
>>   
>> *  > value="true"/>*
>>  
>>The problem may be connected to GSS that is switched off by 
>> default, but  must be "ON" for polymer elements to work.  If you still use 
>> old CSS style you may add one more string:
>>
>>
>>
>> *  *
>>
>> This will temporary enable CSS->GSS auto conversion. But I will not suggest 
>> you to work with conversion, because it will be deprecated later on 
>>
>> Regards,
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" 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-we...@googlegroups.com 
>> .
>> Visit this group at https://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 "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Is anyone using DockLayoutPanel?

2016-08-22 Thread Kay Pac
I can't get anything to display except for the argument to "addNorth" in 
the DockLayoutPanel. I am using the DockLayoutPanel as the basis for a 
widget that extends Composite. I am calling InitWidget and I have tried 
using units EM and PX. The sizing appears correct but the div that contains 
the "west" widgets seems to have 0 height. 





 

north



west



east



south




central







Here is the html I end up with. I formatted it in IDEA.  You can see the 
labels or "HTML" widgets are set to be 0 in size.

Any help? I'm losing my mind.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Parsing URI components

2016-08-17 Thread Kay Pac
Hi,

I would like to parse the UrI for the host page to populate arguments for 
the application. I do not know how to do this - I can use 
Document.get().getURL()  but there is no jdk URI emulation and UriUtils 
and/or the URL class don't have methods to parse the query string. Any help?

Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Webfonts with GS

2016-08-12 Thread Kay Pac
Okay, I see what I did wrong, I used the old-style CSS @def instead of the 
GSS @def, which must of worked because I hadn't fully enabled GSS in my 
application. Or something.
I got it to work I just needed resourceUrl() in my @def.

On Friday, August 12, 2016 at 4:34:59 PM UTC-7, Kay Pac wrote:
>
> I tried to follow the instructions at this link : 
> http://stackoverflow.com/questions/28507667/using-custom-fonts-with-google-web-toolkit
>
> They are in the first answer to the question. Basically I am trying to use 
> a webfont with GSS. I got it to work in super dev mode but it doesn't work 
> in the regular compiled mode. I looked at the source code and it appears 
> the GSS goes in a style element. What I end up with is:
>
> @font-face{font-family:'SEDEXPERSONALUSE';src:sedexPersonalUseOtf 
> format('opentype')}.GMU0YGB-b-a{font-family:'SEDEXPERSONALUSE';color:white;font-size:150%}
>
> Clearly "sedexPersonalUseOtf" is not being replaced with the correct url 
> for the file. I put the file in the same directory as the gss file. In my 
> GSS is:
>
> @def SEDEXPERSONALUSE_OTF sedexPersonalUseOtf;
> @font-face
> {
> font-family: 'SEDEXPERSONALUSE';
> src: SEDEXPERSONALUSE_OTF format('opentype');
> }
>
>
> and I have a corresponding method in my interface for the GSS.
>
> I am new to GSS and Web Fonts so I am really cobbling this together. Any 
> help would be appreciated.
>
> Kay
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Webfonts with GS

2016-08-12 Thread Kay Pac
Well, at some point this worked but now that I've recompiled it works 
neither in super dev mode nor regular compiled mode.

On Friday, August 12, 2016 at 4:34:59 PM UTC-7, Kay Pac wrote:
>
> I tried to follow the instructions at this link : 
> http://stackoverflow.com/questions/28507667/using-custom-fonts-with-google-web-toolkit
>
> They are in the first answer to the question. Basically I am trying to use 
> a webfont with GSS. I got it to work in super dev mode but it doesn't work 
> in the regular compiled mode. I looked at the source code and it appears 
> the GSS goes in a style element. What I end up with is:
>
> @font-face{font-family:'SEDEXPERSONALUSE';src:sedexPersonalUseOtf 
> format('opentype')}.GMU0YGB-b-a{font-family:'SEDEXPERSONALUSE';color:white;font-size:150%}
>
> Clearly "sedexPersonalUseOtf" is not being replaced with the correct url 
> for the file. I put the file in the same directory as the gss file. In my 
> GSS is:
>
> @def SEDEXPERSONALUSE_OTF sedexPersonalUseOtf;
> @font-face
> {
> font-family: 'SEDEXPERSONALUSE';
> src: SEDEXPERSONALUSE_OTF format('opentype');
> }
>
>
> and I have a corresponding method in my interface for the GSS.
>
> I am new to GSS and Web Fonts so I am really cobbling this together. Any 
> help would be appreciated.
>
> Kay
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Webfonts with GS

2016-08-12 Thread Kay Pac
I tried to follow the instructions at this link : 
http://stackoverflow.com/questions/28507667/using-custom-fonts-with-google-web-toolkit

They are in the first answer to the question. Basically I am trying to use 
a webfont with GSS. I got it to work in super dev mode but it doesn't work 
in the regular compiled mode. I looked at the source code and it appears 
the GSS goes in a style element. What I end up with is:

@font-face{font-family:'SEDEXPERSONALUSE';src:sedexPersonalUseOtf 
format('opentype')}.GMU0YGB-b-a{font-family:'SEDEXPERSONALUSE';color:white;font-size:150%}

Clearly "sedexPersonalUseOtf" is not being replaced with the correct url 
for the file. I put the file in the same directory as the gss file. In my 
GSS is:

@def SEDEXPERSONALUSE_OTF sedexPersonalUseOtf;
@font-face
{
font-family: 'SEDEXPERSONALUSE';
src: SEDEXPERSONALUSE_OTF format('opentype');
}


and I have a corresponding method in my interface for the GSS.

I am new to GSS and Web Fonts so I am really cobbling this together. Any 
help would be appreciated.

Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: selenium and waiting for CellTable to load

2016-08-09 Thread Kay Pac
I was thinking about this a bit, and I could probably use a hidden form 
field or some other DOM change to indicate the completion of the table load 
- it might be more reliable.

On Monday, August 8, 2016 at 11:34:04 AM UTC-7, Kay Pac wrote:
>
> Does anyone have code for interacting with celltables in selenim tests?
>
> I have a selenium test and a CellTable that is filled with the results of 
> an RPC call. The table displays a "loading" image until the rows are 
> populated, and I need to wait for the "loaded" condition in my selenium 
> test code. I notice that in the element tree there are two TBODY elements, 
> a second one which is styled "display: none" when the table is loaded - 
> this contains the loading image.
>
> I am using an xpath expression to find the second TBODY: 
> "//*[@id='gwt-debug-gameDetailsTable']/tbody[2]"
> Here is the code I am using right now. Basically, if the table has already 
> loaded prior to looking for the TBODY, everything is okay - isDIsplayed is 
> false. But if it isn't, neither of these ExpectedConditions work, even 
> though the first one only checks to see that it isn't displayed anymore. I 
> am using HTMLUnit version 22 and selenium 2.53.1.
>
> WebElement tbody2 = driver.findElement(By.xpath("//*[@id='" + 
> GWTID_GAMEDETAILSTABLE + "']/tbody[2]"));
> if(tbody2.isDisplayed())
> {
> try {
> logger.info("waiting for games table to load...");
> Boolean until = (new WebDriverWait(driver, 10)).until(new 
> ExpectedCondition() {
> @Nullable
> @Override
> public Boolean apply(@Nullable WebDriver input) {
> return tbody2.isDisplayed() == false;
> }
> });
> //Boolean until = (new WebDriverWait(driver, 
> 10)).until(ExpectedConditions.invisibilityOfElementLocated(By.xpath("//*[@id='"
>  
> + GWTID_GAMEDETAILSTABLE + "']/tbody[2]")));
> logger.info("until = {}", until);
> } catch(Exception ex)
> {
> logger.warn("{}", ex);
> }
> } else {
> logger.info("no need to wait for games table to load, 
> 'loading' tbody is hidden");
> }
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


selenium and waiting for CellTable to load

2016-08-08 Thread Kay Pac
Does anyone have code for interacting with celltables in selenim tests?

I have a selenium test and a CellTable that is filled with the results of 
an RPC call. The table displays a "loading" image until the rows are 
populated, and I need to wait for the "loaded" condition in my selenium 
test code. I notice that in the element tree there are two TBODY elements, 
a second one which is styled "display: none" when the table is loaded - 
this contains the loading image.

I am using an xpath expression to find the second TBODY: 
"//*[@id='gwt-debug-gameDetailsTable']/tbody[2]"
Here is the code I am using right now. Basically, if the table has already 
loaded prior to looking for the TBODY, everything is okay - isDIsplayed is 
false. But if it isn't, neither of these ExpectedConditions work, even 
though the first one only checks to see that it isn't displayed anymore. I 
am using HTMLUnit version 22 and selenium 2.53.1.

WebElement tbody2 = driver.findElement(By.xpath("//*[@id='" + 
GWTID_GAMEDETAILSTABLE + "']/tbody[2]"));
if(tbody2.isDisplayed())
{
try {
logger.info("waiting for games table to load...");
Boolean until = (new WebDriverWait(driver, 10)).until(new 
ExpectedCondition() {
@Nullable
@Override
public Boolean apply(@Nullable WebDriver input) {
return tbody2.isDisplayed() == false;
}
});
//Boolean until = (new WebDriverWait(driver, 
10)).until(ExpectedConditions.invisibilityOfElementLocated(By.xpath("//*[@id='" 
+ GWTID_GAMEDETAILSTABLE + "']/tbody[2]")));
logger.info("until = {}", until);
} catch(Exception ex)
{
logger.warn("{}", ex);
}
} else {
logger.info("no need to wait for games table to load, 'loading' 
tbody is hidden");
}



-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Documentation site on github

2016-08-04 Thread Kay Pac
I've been unable to find the "JUnit.html" page in the github gwt-site 
depot. The url is: http://www.gwtproject.org/doc/latest/tutorial/JUnit.html

Any help?

On Wednesday, February 11, 2015 at 1:05:11 AM UTC-8, Thomas Broyer wrote:
>
>
>
> On Wednesday, February 11, 2015 at 9:50:34 AM UTC+1, rhmoller wrote:
>>
>> I just tried this out, but it seems there is a difference in the way 
>> github and gwtproject renders markdown.
>>
>> I saw that the bullets on the UIBinder page were not rendered properly, 
>> but on github they look right.
>>
>
> Yes, because there's not "one" markdown (just like there's not "one 
> webkit" or "one chromium" 
> )
> This is why we have http://commonmark.org/ but implementations have not 
> updated to that spec yet (which isn't even finished).
>
> In this case, I think the difference is in whether there should be a blank 
> line before the first bullet or not. See 
> http://spec.commonmark.org/0.17/#example-201
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Using custom servlet for GWT-RPC with GWTTestCase

2016-08-04 Thread Kay Pac
I guess I am confused. I understand the need to do as much testing as 
possible with regular JUnit/TestNG tests, which I try to do. What I don't 
understand precisely is where the area of coverage for GWTTestCase is - 
it's some area between vanilla JUnit and Selenium/Webdriver, but it's clear 
I don't understand what that area is or how to take advantage of it. I am 
certain the structure of my code is a problem - I hacked some bits together 
and embedded a dependency on a spring gwt webservice, which I can't run 
within the JUnitShell. It makes sense to remove that dependency and supply 
a mock object.

Part of my confusion, I believe, stems from the documentation for the 
gwt-maven-plugin, which says that it considers the GWTTestCase integration 
tests and not unit tests. Thus I categorize them so, and rush to try and 
integrate the kitchen sink. So your suggestions have helped to clear up 
this misunderstanding on my part, I appreciate this clarification, Thank 
you Thomas.

On Thursday, August 4, 2016 at 4:30:43 AM UTC-7, Thomas Broyer wrote:
>
> JUnitShell support for  is not meant for integration tests. You 
> probably shouldn't try to use it that way. Either start a separate server 
> (using CORS), or don't use a GWTTestCase (possibly use a dedicated GWT app 
> and drive it through Selenium/WebDriver.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Using custom servlet for GWT-RPC with GWTTestCase

2016-08-03 Thread Kay Pac
I think my servlet element is working now, but I am having problems with 
Spring web context initialization, as Olivier was last year. I don't know 
how to resolve it, it might be necessary to make modifications to GWT in 
order for it the tests to work properly.

On Thursday, July 28, 2016 at 3:37:51 PM UTC-7, Kay Pac wrote:
>
> This worked great for a while, but I think it broke at some point. I just 
> don't know when it stopped working. I'm sure it is something on my end or 
> in my code. But my  element is no longer working. I've checked the 
> jetty debug logging and the paths are matching, but jetty is still 
> directing my requests to the default servlet.
>
> I will continue to investigate, but for some reason I can't access my 
> servlet in the tests.
>
> Kay
>
> On Sunday, November 23, 2014 at 3:13:11 PM UTC-8, Thomas Broyer wrote:
>>
>> For tests with JUnitShell, the servlets have to be declared in the 
>> .gwt.XML file with a  element.
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Using custom servlet for GWT-RPC with GWTTestCase

2016-07-28 Thread Kay Pac
This worked great for a while, but I think it broke at some point. I just 
don't know when it stopped working. I'm sure it is something on my end or 
in my code. But my  element is no longer working. I've checked the 
jetty debug logging and the paths are matching, but jetty is still 
directing my requests to the default servlet.

I will continue to investigate, but for some reason I can't access my 
servlet in the tests.

Kay

On Sunday, November 23, 2014 at 3:13:11 PM UTC-8, Thomas Broyer wrote:
>
> For tests with JUnitShell, the servlets have to be declared in the 
> .gwt.XML file with a  element.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Ui Binder Alternatives

2016-07-25 Thread Kay Pac
I don't want to start a huge discussion necessarily but are Widgets really 
losing support?

On Monday, July 25, 2016 at 10:45:29 AM UTC-7, Paul Stockley wrote:
>
> One option when 2.8 is released would be to use GWT React (
> https://github.com/GWTReact/gwt-react). React is a good substitute for 
> the view layer and can be integrated with existing widgets so you can 
> migrate your way to a UiBinderless approach.
>
> On Saturday, July 23, 2016 at 9:40:02 PM UTC-4, N Troncoso wrote:
>>
>> With GWT 3.0, Widgets and UI Binder is losing support. Even besides that, 
>> I'm not a huge fan of UI Binder. I'd really just prefer to use vanilla 
>> HTML. With that said, I've been searching for other options and I've only 
>> found that alternatives are very limited. Even more so, examples of how to 
>> integrate alternatives into GWT are basically non-existent. So, my question 
>> is, what can I use instead of Widgets and UI Binder and where can I find 
>> examples/tutorials/documentation on how to use them in GWT.
>>
>> I found Errai  as one option. But, this 
>> seems to be an entire framework, rather than just a template system.
>>
>> Any insight would be greatly appreciated. Thanks
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


users of spring 4 gwt?

2016-07-13 Thread Kay Pac
Are there users of spring 4 gwt? I have a fork I am working to get 
published to maven central, and it would be nice to have a beta tester or 
two before I publish any artifacts.
Please let me know ! Original project URL is here: 
https://code.google.com/archive/p/spring4gwt/

I will publish my github URL when I have cleaned up my changes a bit!

Ciao,

Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Spring4GWT fork published to github

2016-07-13 Thread Kay Pac
I forgot to include the github url for the project:

https://github.com/heptetgroup/spring4gwt


On Wednesday, July 13, 2016 at 10:59:44 AM UTC-7, Kay Pac wrote:
>
>
> Greetings,
>
> I forked Spring4Gwt which was on google code (
> https://code.google.com/archive/p/spring4gwt/) and published it to 
> github. I'm working to get it deployed to central but I just opened a 
> ticket. The fork isn't polished yet but I needed to publish it in order to 
> deploy to central.
>
> It would be nice to know if it works okay with peoples projects that 
> depend on this component, if there are any. Also, if you need a spring4gwt 
> type component, this is maintained whereas the google code one is not.
>
> Kay
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Spring4GWT fork published to github

2016-07-13 Thread Kay Pac

Greetings,

I forked Spring4Gwt which was on google code 
(https://code.google.com/archive/p/spring4gwt/) and published it to github. 
I'm working to get it deployed to central but I just opened a ticket. The 
fork isn't polished yet but I needed to publish it in order to deploy to 
central.

It would be nice to know if it works okay with peoples projects that depend 
on this component, if there are any. Also, if you need a spring4gwt type 
component, this is maintained whereas the google code one is not.

Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT RPC in GWT 3.0+

2016-07-13 Thread Kay Pac
Will the gwt serialization mechanism used in GWT-RPC remain? GWT object 
serialization has been plugged into the atmosphere (realtime 
communication/websockets) GWT extension. It would be useful to know if we 
should migrate away from the GWT serialization and towards JSON.

On Thursday, July 7, 2016 at 3:53:18 AM UTC-7, Thomas Broyer wrote:
>
>
>
> On Thursday, July 7, 2016 at 11:54:11 AM UTC+2, Philippe Gonze wrote:
>>
>> Totally agree. GWT 3.0 without RPC would be GWT 3.dead for many of the 
>> current GWT developpers,
>>
>> For me GWT is "Web development based on Java expertise, with practically 
>> no other technology implications". Extremely powerful and pleasant. Seems 
>> that GWT 3.0 is announced as "no more GWT":
>>
>
> From http://www.gwtproject.org/makinggwtbetter.html: “GWT’s mission is to 
> radically improve the web experience for users by enabling developers to 
> use existing Java tools to build no-compromise AJAX for any modern browser.”
> Also pay attention to what GWT is NOT about.
> GWT 3.0 as described in this thread would still follow this mission 
> statement.
> Providing tools to do RPC, even if differently than today, would still 
> follow the design axioms. But RPC in itself is about making compromises on 
> AJAX use ("obscure" payload, asymmetrical payload because they were not 
> meant to be parsed by the same tools and in the same environments, 
> everything sent to the URLs, etc. all of this make it impractical at best 
> to use RPC along with, for example, service workers), and that will 
> eventually degrade the web experience for users. Moving away from RPC is 
> actually trading development "convenience" for a better user experience.
>  
>
>> Our plan will probably to stay with 2.8...
>>
>
> And this is exactly why GWT 2.x and GWT 3 are expected to coexist for a 
> while.
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Website docs: incorporate gwt-maven-plugin ?

2016-07-10 Thread Kay Pac
Thanks for your feedback. I need to come up to speed on the changes - I am 
on 2.8 right now.

On Friday, July 8, 2016 at 11:23:07 AM UTC-7, Thomas Broyer wrote:
>
> This is the tutorial, and the tutorial is written with WebAppCreator and 
> Ant, or Eclipse, in mind.
> It's probably a good idea to update it to "something else" (Maven or 
> Gradle; I'd personally prefer Gradle), but that's much broader than just 
> JUnit.
> The doc for testing is at 
> http://www.gwtproject.org/doc/latest/DevGuideTesting.html, and should 
> probably either be updated to also cover Maven (that webAppCreator also 
> supports, but then make sure you use GWT 2.8, as things have changed 
> between 2.7 and 2.8), or to remove everything specific to build tools.
>
> If it doesn't take too much time making the changes, feel free to make 
> pull requests. If you think it'd be quite long, then better wait for 
> feedback from others ;-)
> Also don't hesitate to join GWT-Contrib if you intend to contribute to the 
> docs (or anything else, even just testing the snapshots): 
> https://groups.google.com/forum/#!forum/google-web-toolkit-contributors
>
> On Friday, July 8, 2016 at 7:52:28 PM UTC+2, Kay Pac wrote:
>>
>> What do people think about incorporating some notes for users for 
>> gwt-maven-plugin on the website? For instance I am reviewing the JUnit 
>> testing guide and there is no help for me as a user of gwt-maven-plugin. I 
>> realize there is a risk of providing too much or conflicting information, 
>> but I also think there should be a resource that has corresponding steps 
>> for users of the maven plugin, not just ant users.
>>
>> http://www.gwtproject.org/doc/latest/tutorial/JUnit.html
>>
>> For instance:
>> Run the JUnit test in development mode. 
>>
>>- At the command line, enter ant test.dev
>>
>>
>> Thoughts?
>>
>> Kay
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Logging in a GWTTestCase with gwt-maven-plugin

2016-07-08 Thread Kay Pac
I've never used GWTTestCase much because I found it too difficult to use, 
but I am trying to add some basic tests. I want to use logging to monitor 
the test results at a finer granularity (rather than just pass/fail) while 
I am developing them. However, I am unable to see the results of my 
efforts. I can't claim to understand how GWTTestCase works or where my logs 
might be going. I think I have other problems as well, mainly that I need 
other servlets for the application to function.

But I would like to start by seeing the results of my logging - I am using 
regular java.util.logging and I am using GWT 2.6.1.

Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Website docs: incorporate gwt-maven-plugin ?

2016-07-08 Thread Kay Pac
What do people think about incorporating some notes for users for 
gwt-maven-plugin on the website? For instance I am reviewing the JUnit 
testing guide and there is no help for me as a user of gwt-maven-plugin. I 
realize there is a risk of providing too much or conflicting information, 
but I also think there should be a resource that has corresponding steps 
for users of the maven plugin, not just ant users.

http://www.gwtproject.org/doc/latest/tutorial/JUnit.html

For instance:
Run the JUnit test in development mode. 
   
   - At the command line, enter ant test.dev


Thoughts?

Kay

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT - No CAPTCHA reCAPTCHA

2015-03-31 Thread pac
Is it possible to use new No CAPTCHA reCAPTCHA 
(http://googlewebmastercentral.blogspot.ie/2014/12/are-you-robot-introducing-no-captcha.html)
 
with GWT?
For old style I think https://code.google.com/p/gwt-recaptcha/ worked with 
GWT
Just wondering how to use new API with GWT

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.


Using custom servlet for GWT-RPC with GWTTestCase

2014-11-22 Thread Kay Pac
Hi everyone,
 
I am using spring4gwt, which is a servlet that allows me to use Spring DI 
with GWT-RPC servlets. It's a very simple wrapper that just provides the 
injected objects and I just use @RemoteServiceRelativePath to set the 
service URL properly so that it is directed to the correct servlet. My 
problem is that when I run the GWTTestCase-derived tests, this servlet 
doesn't make it into the jetty instance used for the tests, so all of my 
service method calls report HTTP 404 not found.
 
I'm not sure what the solution for this is, besides getting the jetty 
servlet launched by the JunitShell to include access to the servlet 
properly. Can someone help with this problem?
 
Kay

-- 
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: SDM with modular-webapp - no client-side debugging possible

2014-11-22 Thread Kay Pac
I'm not sure I understand how launcherDir would allow you to recompile on 
load? Doesn't this just set an output directory?

On Saturday, November 22, 2014 1:34:15 AM UTC-8, Thomas Broyer wrote:

> BTW, how about using  to have "recompile on load" instead of 
> using the bookmarklets?
>
> On Saturday, November 22, 2014 10:33:02 AM UTC+1, Thomas Broyer wrote:
>>
>> Inspect the DOM, you might have a transparent element layered on top of 
>> the SDM dialog (and have a look at the zIndex for each; the SDM dialog uses 
>> a very high zIndex but maybe you're using one even higher?)
>>
>> On Saturday, November 22, 2014 7:42:22 AM UTC+1, Magnus wrote:
>>>
>>> I see, I am on my own with this issue...
>>> Nevertheless, I post my proceedings here. Maybe it helps someone 
>>> someday...
>>>
>>> Well: There must be some side effect between the SDM dialog box (div) 
>>> which shows "Choose a module to recompile" and my library test code.
>>> My library test code also is a DialogBox, i. e. a class "TestBox extends 
>>> DialogBox", and located within my library. To test if my library works 
>>> within my modular-webapp project, I created an instance of TestBox.
>>>
>>> The current observation is this: As long as the instance of TestBox is 
>>> visible, clicking on "compile" in the DevMode On box will have no effect.
>>> As soon as it is hidden, SDM compile will work again.
>>>
>>> So I believe (hope) that this behavior does not have to do with my 
>>> specific maven or java configuration. Since there is not a real need to 
>>> recompile when a dialog box is open, I think (hope) that I can live with 
>>> this issue.
>>>
>>> Magnus
>>>
>>

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


Use of HandlerManager in GWT example code conflicts with javadoc

2014-06-19 Thread Kay Pac
I've been implementing the MVP pattern for my application. The description 
of MVP on the site and the example code has been very helpful, especially 
as I lack experience with GUI patterns and many descriptions of MVP and MVC 
are somewhat abstract. However, I've noticed that the javadoc for 
HandlerManager says that developers are strongly discouraged from using it 
for an event dispatch mechanism, which is the opposite of what seems to be 
suggested in the code (Contacts and Contacts2). Can someone clarify this 
point for me? I'm wondering why the discrepancy, and if maybe we should 
update the example code somehow.

Kay

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


useManifestOnlyJar and too-long command lines on Windows

2014-05-30 Thread Kay Pac
I have been getting errors when running 'mvn package'. They appeared when I 
changed the configuration for maven-surefire-plugin. I set 
useManifestOnlyJar to true, which is the default value for the plugin. The 
value was being set to false. I copied the POM XML directly from the output 
of webAppCreator run with the -maven switch. I don't fully understand the 
POM XML so I have never ediit so I've never really edited it.  A quick 
google search told me that 'useManifestOnlyJar' might be the culprit. 
However, now that I have set this to true, which again is the default for 
this plugin, I get a strange error (obviously I am inheriting 
com.google.gwt.user.User):

[ERROR] Unable to find type 'java.lang.Object'
   [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core' 
either directly or indirectly (most often by inheriting module 
'com.google.gwt.user.User')

I am looking for a solution to this "command line too long" problem, if 
someone can help. Setting useManifestOnlyJar to true in the 
maven-surefire-plugin configuration produces the above error. I suppose I 
could try to trim the classpath but I have no real concept of how to do 
that, besides perhaps moving my sources around. 


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


debugId with UiBinder not working?

2014-05-30 Thread Kay Pac
Hello there!  I am trying to use selenium with my GWT app and I have 
noticed that it uses inappropriate css class selectors to find the widgets. 
I did some research into this and it seems I need to use 'debugId' 
attribute in my UiBinder xml template. I have added debugId attributes and 
have also tried using the ensureDebugId method on @UiField annotated 
members. Neither of these approaches have resulted in usable IDs, or any 
IDs, on my widget elements.

Here is my UiBinder template: 
https://gist.github.com/katernya/d35ea486d50ae45b6995
Here is my LoginViewImpl class 
https://gist.github.com/katernya/9dbf2aa23cadd73dae24
Yes my UiBinder xml is caled LoginViewImpl.ui.xml

Thanks for any help!  This is with gWT 2.6.1 and Java 1.7 on Windows 
(embedded jetty instance launched via cargo) with and without super dev 
mode enabled.

Kay

-- 
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: What's the version of Jetty in gwt-dev.jar ?

2014-05-18 Thread Kay Pac
That is a very good point about my time being better spent elsewhere. I 
would tend to agree! :) I got it working without much trouble. I am still 
trying to find an optimal configuration for my workflow so the experiments 
continue!

Kay

On Sunday, May 18, 2014 7:54:26 AM UTC-7, Thomas Broyer wrote:
>
> If you have classloader issues, make sure you use 2.6.1 rather than 2.6.0.
> Also, I'd highly recommend you don't waste to much time on this given that 
> DevMode will soon only work in Internet Explorer.
> Setup an external server and either use DevMode with -noserver or use 
> SuperDevMode.
>
> On Sunday, May 18, 2014 7:12:05 AM UTC+2, Kay Pac wrote:
>>
>> Thanks! I have been fiddling with the embedded jetty instance in order to 
>> enable AnnotationConfiguration. I have it working but only on a "shell" 
>> project with out all the dependencies my regular application uses, as I am 
>> trying to debug a class loader problem.
>>
>> Kay
>>
>> On Saturday, May 17, 2014 2:50:46 AM UTC-7, Thomas Broyer wrote:
>>>
>>> The same link hints at jetty-8.1.12.v20130726 (assuming that by "now" 
>>> you mean GWT 2.6+), confirmed by the build scripts: 
>>> https://gwt.googlesource.com/gwt/+/2.6.1/dev/build.xml
>>>
>>> On Saturday, May 17, 2014 5:52:51 AM UTC+2, Kay Pac wrote:
>>>>
>>>> Okay, how about now? Trying to determine which version of jetty mostly 
>>>> to have accurate source, trying to figure out how to configure spring. I 
>>>> realize I don't need source code for this, but I also just want current 
>>>> source.
>>>>
>>>> On Friday, September 9, 2011 12:26:18 AM UTC-7, Thomas Broyer wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Friday, September 9, 2011 8:55:55 AM UTC+2, Sudhakar Abraham wrote:
>>>>>>
>>>>>> Jetty 6.1.x version is included in gwt-dev jar.
>>>>>>
>>>>>
>>>>> And more precisely 6.1.11 
>>>>> http://code.google.com/p/google-web-toolkit/source/browse/tools/lib/jetty/
>>>>>  
>>>>>
>>>>> (note that there's a Jetty 7.x in there: attempts were made last year 
>>>>> to move to 7.x, with support for WebSockets, but there was classloader 
>>>>> issues, so 6.1.11 is still being used, and it hasn't changed since in was 
>>>>> introduced in 1.6).
>>>>>
>>>>

-- 
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: Possible RFE: Make UiBinder aware of IsWidget interfaces

2014-05-18 Thread Kay Pac
I've been trying to learn UiBinder with some success although I am at the 
beginning stages. I've been trying to embed one view inside another in a 
way similar to, or the same as, the original poster. I haven't had success 
at all because I don't understand how these classes work. My case certainly 
does not warrant the approach as everything is very simple at this point 
with just a few widgets, but this is mostly a learning exercise. I haven't 
had a lot of luck with documentation for this sort of approach.

I guess my question is how do I instantiate my own widget inside of a 
UiBinder template? I've been pointed in the direction of @UiChild, but all 
the example references a 'p' xml namespace that I don't have declared in my 
UiBinder template. 
>From 
>http://www.gwtproject.org/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html

For example, @UiChild MyWidget#addCustomChild(Widget w) and

   
 
   
 
   
 

I don't understand what this means. What is the 'Widget w' that is passed 
in as the first argument? What is SomeWidget verus MyWidget? What is the 
namespace uri for 'p'?  I'm sorry if these questions are simplistic or 
answered elsewhere, I simply haven't had luck tracking down answers.

Thanks,

Kay

On Friday, July 20, 2012 11:43:31 AM UTC-7, Thomas Broyer wrote:
>
> In the rare cases where a widget is complex enough to deserve an MVP 
> pattern, I generally use the XViewImpl directly in the UiBinder (YViewImpl) 
> of the other widget, and create the XPresenter from within the YPresenter 
> (asking the YView for an XView, similar to what Wave is doing –when 
> creating those things dynamically though in their case–, see 
> http://www.google.com/events/io/2010/sessions/gwt-continuous-build-testing.html
> )
> I only ever need it on a very few cases though, I don't use MVP as a 
> general rule on widgets, only on "activities" (or similar), that is, 
> coarse-grained. And I never needed to add specific styling or similar to 
> these widgets.
>
> For complex widgets that need to be reused easily and widely, I'd rather 
> follow the Cell widget's way: the presenter is internal to the widget; MVP 
> is an implementation detail, from the outside it's just a widget like any 
> other.
>
> Last but not least, there's still the idea of making UiBinder more 
> Guice-friendly, so you could provide a factory to the UiBinder rather (or 
> in addition) to @UiFactory methods. That would allow the use of a Ginjector 
> or an AssistedInject factory shared by several UiBinder throughout the app, 
> instead of having to duplicate "trampoline" @UiFactory methods in each and 
> every "ViewImpl": 
> http://code.google.com/p/google-web-toolkit/issues/detail?id=6151
> The only issue for now (AFAICT) is to find the time to implement it.
>
> On Friday, July 20, 2012 6:42:02 PM UTC+2, Jens wrote:
>>
>> Hi,
>>
>> I am using GIN + MVP + UiBinder so I end up with having:
>>
>> - MyView.java (Interface, extends IsWidget)
>> - MyViewImpl.java (UiBinder, implements MyView)
>>
>> Now when I want to use MyView inside a different UiBinder widget I inject 
>> the interface and use it along with @UiField(provided = true). 
>>
>> That works great but as a little downside I have to re-declare Widget 
>> methods in my MyView interface if I want to call them directly in UiBinder, 
>> e.g. setWidth/setHeight/setStyleName. 
>>
>> For setter methods that also works, but now I need to add some styles to 
>> MyView. In UiBinder you would normally do  but that fails in case of my view interface (error is: 
>> setAddStyleNames() is not declared). Actually UiBinder special treats 
>> "addStyleNames" for normal widgets (it works with > addStyleNames=...>) but it stops doing so when it sees something that does 
>> not extend Widget I guess. To solve this I am forced to create an Interface 
>> for my UiBinder inline CssResource just to be able to do: 
>> myView.asWidget().addStyleName(..).
>>
>> How do you guys work with view interfaces in UiBinder? Are there better 
>> ways than mine?
>>
>> My proposed RFE for UiBinder would be that UiBinder recognizes interfaces 
>> that extend IsWidget and then generates code that delegates to 
>> view.asWidget().method() as long as "method()" is available in Widget or 
>> UiObject class. Any opinions?
>>
>> -- 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: What's the version of Jetty in gwt-dev.jar ?

2014-05-18 Thread Kay Pac
Thanks! I have been fiddling with the embedded jetty instance in order to 
enable AnnotationConfiguration. I have it working but only on a "shell" 
project with out all the dependencies my regular application uses, as I am 
trying to debug a class loader problem.

Kay

On Saturday, May 17, 2014 2:50:46 AM UTC-7, Thomas Broyer wrote:
>
> The same link hints at jetty-8.1.12.v20130726 (assuming that by "now" you 
> mean GWT 2.6+), confirmed by the build scripts: 
> https://gwt.googlesource.com/gwt/+/2.6.1/dev/build.xml
>
> On Saturday, May 17, 2014 5:52:51 AM UTC+2, Kay Pac wrote:
>>
>> Okay, how about now? Trying to determine which version of jetty mostly to 
>> have accurate source, trying to figure out how to configure spring. I 
>> realize I don't need source code for this, but I also just want current 
>> source.
>>
>> On Friday, September 9, 2011 12:26:18 AM UTC-7, Thomas Broyer wrote:
>>>
>>>
>>>
>>> On Friday, September 9, 2011 8:55:55 AM UTC+2, Sudhakar Abraham wrote:
>>>>
>>>> Jetty 6.1.x version is included in gwt-dev jar.
>>>>
>>>
>>> And more precisely 6.1.11 
>>> http://code.google.com/p/google-web-toolkit/source/browse/tools/lib/jetty/
>>>  
>>>
>>> (note that there's a Jetty 7.x in there: attempts were made last year to 
>>> move to 7.x, with support for WebSockets, but there was classloader issues, 
>>> so 6.1.11 is still being used, and it hasn't changed since in was 
>>> introduced in 1.6).
>>>
>>

-- 
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: What's the version of Jetty in gwt-dev.jar ?

2014-05-17 Thread Kay Pac
Okay, how about now? Trying to determine which version of jetty mostly to 
have accurate source, trying to figure out how to configure spring. I 
realize I don't need source code for this, but I also just want current 
source.

On Friday, September 9, 2011 12:26:18 AM UTC-7, Thomas Broyer wrote:
>
>
>
> On Friday, September 9, 2011 8:55:55 AM UTC+2, Sudhakar Abraham wrote:
>>
>> Jetty 6.1.x version is included in gwt-dev jar.
>>
>
> And more precisely 6.1.11 
> http://code.google.com/p/google-web-toolkit/source/browse/tools/lib/jetty/
>  
>
> (note that there's a Jetty 7.x in there: attempts were made last year to 
> move to 7.x, with support for WebSockets, but there was classloader issues, 
> so 6.1.11 is still being used, and it hasn't changed since in was 
> introduced in 1.6).
>

-- 
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: wants to chat - what’s the story behind these posts

2011-07-06 Thread pac
I don't remember when last time I used google chat, so chances of
making such typo in my case is bit less.
But anyway, if nothing wrong as such then it is reassuring.
Thanks David.


On Jul 6, 1:57 pm, David Chandler  wrote:
> I think a few folks have accidentally typed the group email address in the
> Gmail chat box, perhaps with the help of auto-complete. It is definitely not
> intentional promo from Google.
>
> /dmc
>
>
>
>
>
>
>
>
>
> On Wed, Jul 6, 2011 at 8:54 AM, pac  wrote:
> > Yesterday I saw a similar post in gwt forum from my account (which I
> > didn't post)
> > I thought my account is compromised, I deleted that post and changed
> > my password.
> > But nothing else looked suspicious but just one post in gwt forum.
> > Message itself looks bit promotional from google team.
> > Today, I searched and saw few other such posts i.e.
>
> >http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
>
> >http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> > Are accounts been hacked or some other problem?
>
> > --
> > 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.
>
> --
> 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.



wants to chat - what’s the story behind these posts

2011-07-06 Thread pac
Yesterday I saw a similar post in gwt forum from my account (which I
didn't post)
I thought my account is compromised, I deleted that post and changed
my password.
But nothing else looked suspicious but just one post in gwt forum.
Message itself looks bit promotional from google team.
Today, I searched and saw few other such posts i.e.
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/90eb36971c744756/31d5407614cae4a1?lnk=gst&q=wants+to+chat#31d5407614cae4a1
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/fbad184e51a5c45a/71c546c41077d307?lnk=gst&q=wants+to+chat#71c546c41077d307
Are accounts been hacked or some other problem?

-- 
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: gae gwt - to serve compressed java script

2011-03-25 Thread pac
Will appreciate any suggestions to fix this.


On Mar 24, 11:11 pm, pac  wrote:
> I did post this in gae 
> forumhttps://groups.google.com/forum/?fromgroups#!topic/google-appengine-j...
>
> Posting here as well if somebody can suggest something.
>
> It looks that app engine is not serving compressed contents.
> Is there something I need to configure? though it says that it does
> that automatically
>
> http://code.google.com/appengine/kb/general.html#compression
>
> I have application written in gwt and java scripts are served
> uncompressed from app engine as per Page Speed plugin of Chrome and
> FireFox. It suggests to enable compression.
>
> From Page Speed:
>
> Compressing ./4.cache.js could save 336.2KiB (77% reduction).
>
> From Live HTTP Headers plugin of Firefox:
>
> ./4.cache.js
>
> GET ./4.cache.js HTTP/1.1
> Host: 
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
> 1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729)
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
> *;q=0.8
> Accept-Language: en-gb,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Proxy-Connection: keep-alive
> Referer: 
> If-None-Match: "X3ERbg"
> Cache-Control: max-age=0
>
> HTTP/1.1 200 OK
> Via: 1.1 SRV-IE-GATEWAY
> Connection: Keep-Alive
> Proxy-Connection: Keep-Alive
> Transfer-Encoding: chunked
> Age: 598
> Expires: Thu, 22 Mar 2012 11:44:33 GMT
> Date: Wed, 23 Mar 2011 11:44:33 GMT
> Content-Type: application/x-javascript
> Etag: "X3ERbg"
> Server: Google Frontend
> Cache-Control: public, max-age=31536000
>
> May be I am wrong, but I am guessing that if app engine is serving
> compressed contents then in its response it will say something like
>
> Content-Encoding: gzip
>
> May be I am missing something, any suggestions to fix it?
>
> Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gae gwt - to serve compressed java script

2011-03-24 Thread pac
I did post this in gae forum 
https://groups.google.com/forum/?fromgroups#!topic/google-appengine-java/6wjUxmwbKjA

Posting here as well if somebody can suggest something.

It looks that app engine is not serving compressed contents.
Is there something I need to configure? though it says that it does
that automatically

http://code.google.com/appengine/kb/general.html#compression

I have application written in gwt and java scripts are served
uncompressed from app engine as per Page Speed plugin of Chrome and
FireFox. It suggests to enable compression.

>From Page Speed:

Compressing ./4.cache.js could save 336.2KiB (77% reduction).



>From Live HTTP Headers plugin of Firefox:


./4.cache.js

GET ./4.cache.js HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: 
If-None-Match: "X3ERbg"
Cache-Control: max-age=0

HTTP/1.1 200 OK
Via: 1.1 SRV-IE-GATEWAY
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Transfer-Encoding: chunked
Age: 598
Expires: Thu, 22 Mar 2012 11:44:33 GMT
Date: Wed, 23 Mar 2011 11:44:33 GMT
Content-Type: application/x-javascript
Etag: "X3ERbg"
Server: Google Frontend
Cache-Control: public, max-age=31536000


May be I am wrong, but I am guessing that if app engine is serving
compressed contents then in its response it will say something like

Content-Encoding: gzip



May be I am missing something, any suggestions to fix it?

Thanks.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.2 and gwt-maps.jar not compatible

2011-02-14 Thread pac
Thanks dilbert, that worked.
Built new jar, also attached here 
http://code.google.com/p/gwt-google-apis/issues/detail?id=447
may help some other people.

On Feb 14, 4:52 pm, Eric Ayers  wrote:
> FYI, I updated an issue in the issue tracker on this problem:
>
> http://code.google.com/p/gwt-google-apis/issues/detail?id=447
>
> On Mon, Feb 14, 2011 at 10:44 AM, Miroslav Genov  wrote:
> > You made a new build of gwt-maps ?
>
> > --
> > 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.
>
> --
> Eric Z. Ayers
> Google Web Toolkit, Atlanta, GA USA

-- 
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 2.2 and gwt-maps.jar not compatible

2011-02-14 Thread pac
Just upgraded to GWT 2.2 and getting in error in project compilation,
looks gwt-maps library no longer compatible.
Do I need something to make it work?


   [ERROR] Errors in 'jar:file:/myproject/war/WEB-INF/lib/gwt-
maps.jar!/com/google/gwt/maps/client/impl/InfoWindowImpl.java'
  [ERROR]  Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at
com.google.gwt.maps.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.java:
277)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
60)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
662)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
259)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
248)
at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
91)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.process(AbstractCompiler.java:254)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:175)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:288)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
$400(AbstractCompiler.java:145)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
632)
at
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:
124)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:
54)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
517)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
35)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:541)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:495)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:407)
at com.google.gwt.dev.Compiler.run(Compiler.java:215)
at com.google.gwt.dev.Compiler.run(Compiler.java:187)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
87)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
81)
at com.google.gwt.dev.Compiler.main(Compiler.java:166)

-- 
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: application gets reloaded

2010-11-18 Thread pac
Just to add further, it works fine in IE8 but not in IE7, so after
implementing the solution, it only reloads the application if
after that action I redirect it to another page e.g.

My Account

on action if I redirect it to say another page e.g.

History.newItem("login");

view changes to login without any reload and then automatically it
changes token back to my Account and reloads the application at this
stage.

Any suggestions?

Thanks.

On Nov 18, 5:50 pm, pac  wrote:
> String links causing application to reload.
> e.g.
> "" + word + "";
>
> Looks like it is issue 2152
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=2152
>
> I tried solution mentioned in the issue i.e. cleanAnchors() by pabs87
>
> But it reloads the application and error in console is
>
> com.google.gwt.core.client.JavaScriptException: (Error): Unspecified
> error.
>  number: -2147467259
>  description: Unspecified error.
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
> 237)
>     at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> 126)
>     at
> com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 561)
>     at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> 269)
>     at
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
> 91)
>     at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>     at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
>     at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at
> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
>     at
> com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
>     at
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
> 157)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
> 281)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 531)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 352)
>     at java.lang.Thread.run(Unknown Source)
>
> May be I am not using solution correctly.
>
> Is there way to solve this?

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



application gets reloaded

2010-11-18 Thread pac
String links causing application to reload.
e.g.
"" + word + "";

Looks like it is issue 2152

http://code.google.com/p/google-web-toolkit/issues/detail?id=2152

I tried solution mentioned in the issue i.e. cleanAnchors() by pabs87

But it reloads the application and error in console is


com.google.gwt.core.client.JavaScriptException: (Error): Unspecified
error.
 number: -2147467259
 description: Unspecified error.
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
237)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
126)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)

May be I am not using solution correctly.

Is there way to solve this?

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



grid column and flow panel

2010-08-08 Thread pac
I am using a flow panel in one of grid's column. I want objects to
wrap in flow panel as needed.
It works fine when there is only one widget in flow panel but does not
when there are more than one object. I have to add few labels and
links in panel but here in this example just 2 labels just to show
whats happening.

//This works
FlowPanel flowPnl = new FlowPanel();
flowPnl.add(new Label("one two three... this wraps as needed"));
gridPnl.setWidget(row, column, flowPnl);

//This does not work, each label / link goes in next line, even though
there is plenty of space in column
FlowPanel flowPnl = new FlowPanel();
flowPnl.add(new Label("one"));
flowPnl.add(new Label("two"));
gridPnl.setWidget(row, column, flowPnl);

Any suggestions to fix it, thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@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: SplitLayoutPanel - initial split between top and bottom panel

2010-06-14 Thread pac
Thanks for noticing and pointing it out. It worked. thanks again.

On Jun 14, 1:23 am, Chris Boertien  wrote:
> The size element for SplitLayoutPanel is in PX or pixels. So your
> essentially making the north panel 2px in size. According to the
> javadoc, this is hardcoded, so you cant specifiy EM or PCT
>
> On Sun, Jun 13, 2010 at 5:17 PM, pac  wrote:
> > Thanks for your reply Stefan.
> > As such I do not have height for north and center panel, but I did try
> > a style for both panels  and tried to make their size half of split
> > panel i.e. 300px, but did not work. And half & half I really do not
> > need, as long as both panels are visible, at the moment center panel
> > starts from top and so north is not visible at all initially. Below is
> > rough idea of code what I have at the moment. thanks for your time.
>
> > 
> >        .splitPnl {
> >                text-align: left;
> >                width: 925px;
> >                height: 600px;
> >        }
>
> >        .header {
> >                background: #d0e4f6;
> >        }
>
> >        .table {
> >                table-layout: fixed;
> >                cursor: pointer;
> >                cursor: hand;
> >                width: 100%;
> >        }
>
> >        .body {
> >                line-height: 150%;
> >                padding: 20px 40px 20px 10px;
> >                font-family: 'Times New Roman', Times, serif;
> >        }
>
> > 
>
> > 
> >        
> >                
> >                        
> >                                
> >                                         > styleName='{style.header}'
> >                                                cellSpacing='0' 
> > cellPadding='0'>
> >                                        
> >                                
>
> >                                
> >                                        
> >                                                 > styleName='{style.table}' cellSpacing='0'
> > cellPadding='0' />
> >                                        
> >                                
> >                        
> >                
>
> >                
> >                        
> >                                 > ui:field='messageBody'
> >                                        wordWrap='true' />
> >                        
> >                
> >        
> > 
>
> > On Jun 13, 4:20 pm, Stefan Bachert  wrote:
> >> Hi,
>
> >> you did not supplied code. However, I guess, the panel is initially
> >> smaller then north and center panel together.
> >> To check just use setPixelSize with large values e.g.
> >> setPixelSize(1000, 1000)
>
> >> I afraid, probably the is no easy way to set half and half.
> >> Because you need to know the total height of the SplitLayoutPanel
> >> which is NOT the sum of both member panels.
>
> >> Stefan Bacherthttp://gwtworld.de
>
> >> On Jun 12, 11:25 pm, "parvez.chau...@gmail.com"
>
> >>  wrote:
> >> > I am trying to use SplitLayoutPanel, everything seems to be working
> >> > fine, except that on initial start, center panel (bottom panel) covers
> >> > the north panel (top panel) completely.
> >> > I have to use split bar to bring it down, I must be missing some
> >> > property, any suggestion what should I do so that initially both
> >> > panels are split half & half?
> >> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-tool...@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: SplitLayoutPanel - initial split between top and bottom panel

2010-06-13 Thread pac
Thanks for your reply Stefan.
As such I do not have height for north and center panel, but I did try
a style for both panels  and tried to make their size half of split
panel i.e. 300px, but did not work. And half & half I really do not
need, as long as both panels are visible, at the moment center panel
starts from top and so north is not visible at all initially. Below is
rough idea of code what I have at the moment. thanks for your time.


.splitPnl {
text-align: left;
width: 925px;
height: 600px;
}

.header {
background: #d0e4f6;
}

.table {
table-layout: fixed;
cursor: pointer;
cursor: hand;
width: 100%;
}

.body {
line-height: 150%;
padding: 20px 40px 20px 10px;
font-family: 'Times New Roman', Times, serif;
}






























On Jun 13, 4:20 pm, Stefan Bachert  wrote:
> Hi,
>
> you did not supplied code. However, I guess, the panel is initially
> smaller then north and center panel together.
> To check just use setPixelSize with large values e.g.
> setPixelSize(1000, 1000)
>
> I afraid, probably the is no easy way to set half and half.
> Because you need to know the total height of the SplitLayoutPanel
> which is NOT the sum of both member panels.
>
> Stefan Bacherthttp://gwtworld.de
>
> On Jun 12, 11:25 pm, "parvez.chau...@gmail.com"
>
>  wrote:
> > I am trying to use SplitLayoutPanel, everything seems to be working
> > fine, except that on initial start, center panel (bottom panel) covers
> > the north panel (top panel) completely.
> > I have to use split bar to bring it down, I must be missing some
> > property, any suggestion what should I do so that initially both
> > panels are split half & half?
> > 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-tool...@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: waiting for help

2009-03-24 Thread poonam pac
Hello,
No reason as particular but I just wanted to check whether it works with
struts and if it works then how does it works?
If u have the solution ar tried out something then please let me know.
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: GWT on Eclipse

2009-03-09 Thread poonam pac
 Hi,

I have not used Netbeans.
But I am using Eclipse and I find it good to work upon the platform.

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



Unable to solve the warning.

2009-03-02 Thread poonam pac
Hello,
   As suggested by you I made the changes in my Application developed
integrating "GWT+Spring
+Hibernate" in the Hosted mode but still I am getting the same Warning
message as : StandardContext[]Exception while dispatching incoming
RPC call

Please help me to solve it. I am sending you the detailed Warning message
below -

[WARN] StandardContext[]Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.util.List
com.company.client.rpc.TeacherService.getPupils(java.lang.Integer)' threw an
unexpected exception: java.lang.NoClassDefFoundError:
org/springframework/context/ApplicationContext
 at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
 at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
 at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
 at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:289)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError:
org/springframework/context/ApplicationContext
 at
com.company.server.gwt.TeacherServiceImpl.getPupils(TeacherServiceImpl.java:44)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
 at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
 at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:289)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at
org.apache.catalina.core.StandardValv

Re: Integrating GWT+Spring application with Hibernate

2009-02-13 Thread poonam pac
Hello,
   Actually I have used the same link
http://software-wonders.blogspot.com/2007/02/it-is-not-mistery-that-google-web.html
to
develop my GWT+Spring application, now I want to integrate my this
application with Hibernate. Please help me in doing that.
Thanks,
Poonam.

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