Re: Include an gwt application in another gwt application

2012-12-12 Thread Jens
Yes its possible, take a look at 
https://groups.google.com/d/topic/google-web-toolkit/c8RP6TIYbqQ/discussion

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Jkj4ZejIPuEJ.
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.



About Magnolia and GWT

2012-12-12 Thread Adolfo Panizo Touzon
Hi all,

I know this forum is not the best place for asking about the integration of
Magnolia and GWT when the problem is related to Magnolia, but maybe someone
has had my problem before.

Could you take a look into...


http://forum.magnolia-cms.com/forum/thread.html?threadId=5a7c5315-ec82-412c-bd21-43608d47&forumId=caf52257-62a1-40c4-8da7-cefb66785062


If you know something just say it.

All comments are welcome, even if they are only conjectures.

Thanks in advance,

Adolfo.
-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

-- 
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: About Magnolia and GWT

2012-12-12 Thread Adolfo Panizo Touzon
Never mind. It's working. I've done it in other way.

Anyway, comments are welcome (curious why it didn't work).

Thanks.


2012/12/12 Adolfo Panizo Touzon 

> Hi all,
>
> I know this forum is not the best place for asking about the integration
> of Magnolia and GWT when the problem is related to Magnolia, but maybe
> someone has had my problem before.
>
> Could you take a look into...
>
>
> http://forum.magnolia-cms.com/forum/thread.html?threadId=5a7c5315-ec82-412c-bd21-43608d47&forumId=caf52257-62a1-40c4-8da7-cefb66785062
>
>
> If you know something just say it.
>
> All comments are welcome, even if they are only conjectures.
>
> Thanks in advance,
>
> Adolfo.
> --
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
>



-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

-- 
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-pushstate: Easy to use HTML5 pushState support for GWT

2012-12-12 Thread ChrisK
Great work! 

As far as I can see it will remove query parameters when using pushState? I 
may extend it to support passing through all query parameters rather than 
just "gwt.codesvr".


On Wednesday, 21 November 2012 17:17:25 UTC, Johannes Barop wrote:
>
> Hello GWT community, 
>
> I've just released gwt-pushstate. It implements HTML5 pushState with GWTs 
> standard History API and should work with existing applications fairly 
> well. It also makes sure that the development mode doesn't break and 
> provides a transparent fallback for non-pushState browsers. It's open 
> source (Apache2) and uploaded to the Maven central repository. You can find 
> the source here: https://github.com/jbarop/gwt-pushstate 
>
> A running sample application is uploaded here: 
> http://gwt-pushstate-examples.appspot.com 
> The sample is basicly GWTP-0.7's gwtp-sample-hplace with little 
> modifications to add the pushState support: 
> https://github.com/jbarop/gwt-pushstate/commit/a3d278b2fae71adc4ea7fb22c5eb121ada36b644
>  
>
>
> Any feedback heavily appreciated. 
> Johannes 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/34cywFthT2YJ.
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: Regarding GWT with the upcoming Windows 8 and Internet Explorer 10

2012-12-12 Thread Dmitry
I see. Do you know if there are any plans to add IE10 support 
in foreseeable future?


вторник, 11 декабря 2012 г., 22:11:56 UTC+1 пользователь Thomas Broyer 
написал:
>
>
>
> On Tuesday, December 11, 2012 8:45:22 PM UTC+1, Dmitry wrote:
>>
>> Hi,
>>
>> Do you know if there are any plans to release GWT 2.5.1 with IE10 support 
>> any time soon?
>>
>
> 2.5.1 yes, but not with IE10 support.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/0xUxIEFW5wAJ.
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-pushstate: Easy to use HTML5 pushState support for GWT

2012-12-12 Thread Johannes Barop
Hey,

thanks for your feedback!

'gwt.codesvr' is only filtered. Other query-string parameters should not be 
altered. However I've decided to add the query-string to the historyToken. It 
turned out that this is a bad idea because then "place" is not the same place 
as "place?some=foo". This may cause the effect of removing the complete query 
string.
"http://gwt-pushstate-examples.appspot.com/!homePage?foo=bar";
The place "!homePage?foo=bar" is not found and the user get's redirected to 
"http://gwt-pushstate-examples.appspot.com/!homePage";

I'm going to fix that soon.


BTW: If you have changes I would appreciate it if you push the changes back.


Cheers,
Johannes


Am 12.12.2012 um 13:07 schrieb ChrisK:

> Great work! 
> 
> As far as I can see it will remove query parameters when using pushState? I 
> may extend it to support passing through all query parameters rather than 
> just "gwt.codesvr".
> 
> 
> On Wednesday, 21 November 2012 17:17:25 UTC, Johannes Barop wrote:
> Hello GWT community, 
> 
> I've just released gwt-pushstate. It implements HTML5 pushState with GWTs 
> standard History API and should work with existing applications fairly well. 
> It also makes sure that the development mode doesn't break and provides a 
> transparent fallback for non-pushState browsers. It's open source (Apache2) 
> and uploaded to the Maven central repository. You can find the source here: 
> https://github.com/jbarop/gwt-pushstate 
> 
> A running sample application is uploaded here: 
> http://gwt-pushstate-examples.appspot.com 
> The sample is basicly GWTP-0.7's gwtp-sample-hplace with little modifications 
> to add the pushState support: 
> https://github.com/jbarop/gwt-pushstate/commit/a3d278b2fae71adc4ea7fb22c5eb121ada36b644
>  
> 
> 
> Any feedback heavily appreciated. 
> Johannes 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/34cywFthT2YJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.

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



Mocking JavaScript overlay types

2012-12-12 Thread bvt
I'm attempting to write a unit test for a presenter/activity which makes a 
request via RequestBuilder and reads this into a JavaScript overlay type. I 
would like to create a mock instantiation of this overlay type class for 
testing purposes, but it doesn't seem this is possible. What is the normal 
approach for writing unit tests involving RequestBuilder and overlay types? 
I'd really love to use an ordinary JUnit test case if possible. Is this 
possible or do I have to use GWTTestCase? Either way, I'm not sure how to 
handle the actual request. There is no guarantee the service that is 
getting called via RequestBuilder will be available at build time, so I'd 
really like to mock this somehow.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hCXn2P71vZ4J.
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 Vs. JWT

2012-12-12 Thread Samyem Tuladhar
If you are talking about http://www.webtoolkit.eu/jwt/, it is a 
server-centric framework like ZK/JSF while GWT is essentially a client-side 
only javascript generator. For simplier/simplistic needs, server side 
frameworks tend to be easier to develop with, but GWT offers direct access 
to full browser capabilities. 

On Tuesday, December 11, 2012 10:11:22 AM UTC-5, Kris wrote:
>
> Hi, I am new to GWT and JWT (Java Webtool kit)
>
> I have been looking for info on the difference on the two, but cant find 
> nothing anywhere ?? 
> I am starting a new project, Spring, SOAP, JPA, JBoss etc... an wonder if 
> I should use GWT or JWT ??? 
>
> Kris
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/tYYNUSPmDKwJ.
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: Mocking JavaScript overlay types

2012-12-12 Thread Thomas Broyer


On Wednesday, December 12, 2012 5:02:35 PM UTC+1, bvt wrote:
>
> I'm attempting to write a unit test for a presenter/activity which makes a 
> request via RequestBuilder and reads this into a JavaScript overlay type. I 
> would like to create a mock instantiation of this overlay type class for 
> testing purposes, but it doesn't seem this is possible. What is the normal 
> approach for writing unit tests involving RequestBuilder and overlay types?
>

Either you abstract it behind some interface that you can mock, or you'll 
have to use a GWTTestCase.
 

> I'd really love to use an ordinary JUnit test case if possible. Is this 
> possible or do I have to use GWTTestCase? Either way, I'm not sure how to 
> handle the actual request. There is no guarantee the service that is 
> getting called via RequestBuilder will be available at build time, so I'd 
> really like to mock this somehow.
>

You can provide a "mock servlet" at testing time: add a  element 
to the gwt.xml used by your GWTTestCase (the one whose name is returned by 
getModuleName; it's generally either your "normal" module-under-test or a 
test-specific module that  your module-under-test). More info 
about that  element can be found at 
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideModuleXml

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3KVHzXKDy2oJ.
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: Urgent help on Debugging in GWT

2012-12-12 Thread emurmur
I use SuperDevMode and debug directly in the browser using source maps.  It 
is a very productive workflow.

See this; https://developers.google.com/web-toolkit/articles/superdevmode
And here is a blog post with more details for setting up a Run 
configuration for the code server: 
http://lumpofcode.blogspot.com/2012/11/configuring-gwt-codeserver-and.html

Ed

On Monday, December 10, 2012 10:35:35 PM UTC-8, MB wrote:
>
> Hello,
>
> Please let me know how can we debug a GWT application.
>
> Thanks and regards,
> Moushmi
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/4E3xbtLI2MEJ.
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: stopping jetty and running an app in Eclipse

2012-12-12 Thread leslie
Thanks for your response - I don't know what change was made but I'm no 
longer having an issue with this.  I see that the red square in the 
Development Mode window appears to be shutting down Jetty predictably now.  
But I really appreciate your time to respond.  Thanks.

On Tuesday, December 11, 2012 2:52:53 PM UTC-7, Jens wrote:
>
> Simply kill the java process (but don't choose the java process with a lot 
> of assigned memory as thats probably Eclipse itself).
>
> But actually it does not have to be Jetty that uses the port. Maybe you 
> have a webserver/proxy or something else running on port ? You can also 
> configure the generated run configuration in Eclipse to use an unused port 
> that will be randomly chosen when starting DevMode.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/aRwaYdaxab4J.
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 & Google OpenID login

2012-12-12 Thread Pedro Lamarão
Em terça-feira, 11 de dezembro de 2012 13h01min41s UTC-2, dhoffer escreveu:
 

> What technology do you use to implement that OpenId 'login page'?  Is 
> it possible/practical to use GWT for this?  As I understand it this 
> OpenId login sort of bootstraps your app, i.e. they don't get to your 
> GWT app until they have successfully completed this login.  And then 
> how do you block access to your GWT app without a successful login 
> here, do you use some sort of web.xml security constraint? 
>

Authentication is application state, i.e. the application maintains an 
authentication state object of some kind. When the application "starts" 
this state may be anonymous or something else. Based on this state it will 
decide which flows it enters or authorizes etc.

It should then be possible to transition from anonymous to something else 
by activating the login process. When this process completes, it must 
change the application's authentication state and voilà. This state can 
survive User-Agent reloads if stored in the HttpSession. The process itself 
has an example in openid4java's documentation, the relying party example. 
It should be straightforward to make a servlet out of that.

The login page itself is just a piece of UI you can paint on the screen 
however you like. Activating authentication must cause an HTTP request to 
the relying party servlet so the openid process starts. Some people like to 
put that in a separate "popup" window.

--
 P.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/bOl72-CcadIJ.
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: Regarding GWT with the upcoming Windows 8 and Internet Explorer 10

2012-12-12 Thread Pedro Lamarão
Em terça-feira, 11 de dezembro de 2012 19h11min56s UTC-2, Thomas Broyer 
escreveu:
>
>
>
> On Tuesday, December 11, 2012 8:45:22 PM UTC+1, Dmitry wrote:
>>
>> Hi,
>>
>> Do you know if there are any plans to release GWT 2.5.1 with IE10 support 
>> any time soon?
>>
>
> 2.5.1 yes, but not with IE10 support.
>

What would be required to add IE10 support? Maybe the community can step up 
to this.

--
 P.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/23pAAY_Dvo0J.
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.



Downloading GWT Toolkit components as zip-files

2012-12-12 Thread javaBear
Hi,

I have trouble downloading the Google Plugin for Eclipse and the GWT 
Designer.
I've followed the instructions on the web pages, but the downloads always 
ends up (after waiting a long time) with 'read timeout' errors (at about 
30% of install progression).
The error log shows the specific files that are failing. However, 
downloading them in a web browser works fine, so I have ruled out the 
network connection as a problem.
Are these plugins available as zip files? If so, what urls could be used.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/jsPzNLVS_4IJ.
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 module may need to be (re)compiled

2012-12-12 Thread Pavel Šimeček


> Sometimes you see the message “GWT module fundd may need to be 
> recompiled “ popping up. 
>
> It’s simply because the URL does not contain the “? 
> gwt.codesvr=127.0.0.1:9997” part at its end. 
>
>
This helped me a lot todat. One can ask - how can that happen? But it is 
rather easy - it is enough to use SUBMIT button instead of normal button. 
Since my form had no data to transfer it ended up with accessing URL 
without "?"

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



Re: Problem with SuggextBox as table cell

2012-12-12 Thread Ande
Hi Jorge Vasquez,

I tried to follow your solution, but I can not figure out what this method 
does:

  implementarEstilos(suggestBox);
>
 
Also I have no idea where you retrieve the popupStyleName in this line:

if(popupStyleName.equals(classNameLastChild)) {
>


greetings
Ande
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ZuREmByvEjoJ.
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-pushstate: Easy to use HTML5 pushState support for GWT

2012-12-12 Thread ChrisK
No problem.

It seems to stem from how pushState expects the query string to also be 
pushed in as well I think? As long as query parameters on links are 
maintained I think it should be fine.

I'm having trouble getting HistoryAsserter to run 
before HistoryImplPushState.init() which means on pushState supported 
browser, any query string param apart from "'gwt.codesvr" gets removed by 
the first line in HistoryImplPushState.init() before the HistoryConverter 
has a chance to kick in. Perhaps I've missing something. It means hitting a 
URL like this:
http://127.0.0.1:/?gwt.codesvr=127.0.0.1:9997&logLevel=FINE#someHistoryToken

Actually goes to:
http://127.0.0.1:/someHistoryToken?gwt.codesvr=127.0.0.1:9997

i.e. it loses the initial query parameters by the time the app loads


On Wednesday, 12 December 2012 13:39:47 UTC, Johannes Barop wrote:
>
> Hey,
>
> thanks for your feedback!
>
> 'gwt.codesvr' is only filtered. Other query-string parameters should not 
> be altered. However I've decided to add the query-string to the 
> historyToken. It turned out that this is a bad idea because then "place" is 
> not the same place as "place?some=foo". This may cause the effect of 
> removing the complete query string.
> "http://gwt-pushstate-examples.appspot.com/!homePage?foo=bar";
> The place "!homePage?foo=bar" is not found and the user get's redirected 
> to "http://gwt-pushstate-examples.appspot.com/!homePage";
>
> I'm going to fix that soon.
>
>
> BTW: If you have changes I would appreciate it if you push the changes 
> back.
>
>
> Cheers,
> Johannes
>
>
> Am 12.12.2012 um 13:07 schrieb ChrisK:
>
> Great work! 
>
> As far as I can see it will remove query parameters when using pushState? 
> I may extend it to support passing through all query parameters rather than 
> just "gwt.codesvr".
>
>
> On Wednesday, 21 November 2012 17:17:25 UTC, Johannes Barop wrote:
>>
>> Hello GWT community, 
>>
>> I've just released gwt-pushstate. It implements HTML5 pushState with GWTs 
>> standard History API and should work with existing applications fairly 
>> well. It also makes sure that the development mode doesn't break and 
>> provides a transparent fallback for non-pushState browsers. It's open 
>> source (Apache2) and uploaded to the Maven central repository. You can find 
>> the source here: https://github.com/jbarop/gwt-pushstate 
>>
>> A running sample application is uploaded here: 
>> http://gwt-pushstate-examples.appspot.com 
>> The sample is basicly GWTP-0.7's gwtp-sample-hplace with little 
>> modifications to add the pushState support: 
>> https://github.com/jbarop/gwt-pushstate/commit/a3d278b2fae71adc4ea7fb22c5eb121ada36b644
>>  
>>
>>
>> Any feedback heavily appreciated. 
>> Johannes 
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/34cywFthT2YJ.
> To post to this group, send email to 
> google-we...@googlegroups.com
> .
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com .
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/OYrwtnfjXJwJ.
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: Wishlist - What GWT developers want for Christmas

2012-12-12 Thread V.B.
Hello Joonas,
   Thanks for your work on the report and for posting the wishlist.
While I agree with the previous post that the majority of the 2,600 
wishlist items are duplicates, there are several other valid items buried 
in the middle or near bottom of the list, which were not covered in the 
report. At the moment, these are not getting much attention because most 
voters stop looking after the first 50 or so items. For example, I found 
comments from a number of members about bugs that don't get fixed (e.g. 
some are even 2-3 years old), and patches that don't get accepted. I also 
saw some very important comments about how GWT needs to be better 
marketed/publicized in order to attract more developers. I suspect that 
issues like these would get much more up-voting if they were more visible. 
Perhaps a member of the community (me, for example) could volunteer to 
remove duplicates, or perhaps the list could be randomized every time it's 
viewed. Anything to make sure *all* the important issues get attention.

On a separate note, I think even more members might log in and vote if not 
for the Access-to-Contacts requirement.

Thanks again.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cs6_jnGWLbIJ.
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-pushstate: Easy to use HTML5 pushState support for GWT

2012-12-12 Thread Johannes Barop
Thanks for pointing this problem out!

I digged a bit and found out that History.init() is called before the 
HistoryAsserter because LoggingConfiguration does use History. Now I see that 
having a separate EntryPoint for the History is a semi productive idea!

I'll fix this tomorrow!

Cheers,
Johannes

Am 12.12.2012 um 15:16 schrieb ChrisK :

> No problem.
> 
> It seems to stem from how pushState expects the query string to also be 
> pushed in as well I think? As long as query parameters on links are 
> maintained I think it should be fine.
> 
> I'm having trouble getting HistoryAsserter to run before 
> HistoryImplPushState.init() which means on pushState supported browser, any 
> query string param apart from "'gwt.codesvr" gets removed by the first line 
> in HistoryImplPushState.init() before the HistoryConverter has a chance to 
> kick in. Perhaps I've missing something. It means hitting a URL like this:
> http://127.0.0.1:/?gwt.codesvr=127.0.0.1:9997&logLevel=FINE#someHistoryToken
> 
> Actually goes to:
> http://127.0.0.1:/someHistoryToken?gwt.codesvr=127.0.0.1:9997
> 
> i.e. it loses the initial query parameters by the time the app loads
> 
> 
> On Wednesday, 12 December 2012 13:39:47 UTC, Johannes Barop wrote:
> Hey,
> 
> thanks for your feedback!
> 
> 'gwt.codesvr' is only filtered. Other query-string parameters should not be 
> altered. However I've decided to add the query-string to the historyToken. It 
> turned out that this is a bad idea because then "place" is not the same place 
> as "place?some=foo". This may cause the effect of removing the complete query 
> string.
> "http://gwt-pushstate-examples.appspot.com/!homePage?foo=bar";
> The place "!homePage?foo=bar" is not found and the user get's redirected to 
> "http://gwt-pushstate-examples.appspot.com/!homePage";
> 
> I'm going to fix that soon.
> 
> 
> BTW: If you have changes I would appreciate it if you push the changes back.
> 
> 
> Cheers,
> Johannes
> 
> 
> Am 12.12.2012 um 13:07 schrieb ChrisK:
> 
>> Great work! 
>> 
>> As far as I can see it will remove query parameters when using pushState? I 
>> may extend it to support passing through all query parameters rather than 
>> just "gwt.codesvr".
>> 
>> 
>> On Wednesday, 21 November 2012 17:17:25 UTC, Johannes Barop wrote:
>> Hello GWT community, 
>> 
>> I've just released gwt-pushstate. It implements HTML5 pushState with GWTs 
>> standard History API and should work with existing applications fairly well. 
>> It also makes sure that the development mode doesn't break and provides a 
>> transparent fallback for non-pushState browsers. It's open source (Apache2) 
>> and uploaded to the Maven central repository. You can find the source here: 
>> https://github.com/jbarop/gwt-pushstate 
>> 
>> A running sample application is uploaded here: 
>> http://gwt-pushstate-examples.appspot.com 
>> The sample is basicly GWTP-0.7's gwtp-sample-hplace with little 
>> modifications to add the pushState support: 
>> https://github.com/jbarop/gwt-pushstate/commit/a3d278b2fae71adc4ea7fb22c5eb121ada36b644
>>  
>> 
>> 
>> Any feedback heavily appreciated. 
>> Johannes 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/34cywFthT2YJ.
>> To post to this group, send email to google-we...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/OYrwtnfjXJwJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.

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



DatePicker disable dates before minDate

2012-12-12 Thread Zhe Chen
I try to disable days before a given date. Here is the code I am using, but 
it does not work. When I click days before minDate on datePicker, it will 
fire onValueChange event of datePicker.

datePicker.addShowRangeHandler(new ShowRangeHandler() {
  @Override
  public void onShowRange(ShowRangeEvent event) {
Date current = CalendarUtil.copyDate(event.getStart());
while (current.before(event.getEnd())) {
  if (current.before(minDate)) {
datePicker.setTransientEnabledOnDates(false, current);
  }
  CalendarUtil.addDaysToDate(current, 1);
}
  }
});

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/sNBUTtUmdcEJ.
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 Hibernate Lazy Loading

2012-12-12 Thread mace
Hello,

I'am using GWT-Entityproxy with Hibernate and Spring. Everything works fine 
except some database-queries that I'd like to decrease, when I send 
persistent entities to the server. What I ask myself is if I can read the 
String-Array I send on the client side with the 
Request.with("path")-Method. If I additionally knew which ones are the 
root-objects (what I mean with root-Object are the proxies used as 
method-parameter) sent to the server I could do something like this in 
my Locator.find()-Method: 

//This is just a codeexample. I actually use a Dao here...

Locator.find(Class clazz, Long id) {

  String[] pathInfo = //Wherever they come from
  Object rootObject = //Wherever this comes from

  Criteria criteria = session.createCriteria(clazz);
  criteria,add(Restrictions.eq("id",id));

  if(rootObject.getClass()==clazz){
for(String path : pathInfo){
  criteria.setFetchMode(path, FetchMode.JOIN)
}
  }

  return criteria.uniqueResult();
}

I use OpenSessionInView-Filter so if Locator.find() gets first called with 
the root-Object all find-calls after that would get their entities from the 
hibernate-session without querying the database. If this was possible I had 
one query for every bean used as parameter instead of one query for every 
object in the object-graph.

Do you think it is possible to find the needed information maybe somewhere 
in the servicelayer?

many thanks in advance


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/5YdDpf8SxZ8J.
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.



Editor setConstraintViloations does not propagate

2012-12-12 Thread Milan Cvejic
Hello,
I am trying to implement Bean validation and integrate it with Editors.

I have following code base:

*DomainConfigComponent.java*

import com.github.gwtbootstrap.client.ui.ValueListBox;
import com.google.gwt.editor.client.HasEditorErrors;
import com.google.gwt.editor.client.IsEditor;
import com.google.gwt.editor.ui.client.adapters.ValueBoxEditor;
import com.google.gwt.user.client.ui.IsWidget;
import com.hat.weevify.client.domain.DomainConfig;

public interface DomainConfigComponent extends IsWidget, 
HasEditorErrors {

void setPresenter(Presenter presenter);

public interface Presenter {

}

@Path("id")
IsEditor> getId();

@Path("textDirection")
ValueListBox getTextDirectionEditor();

@Path("name")
IsEditor> getSiteNameEditor();

@Path("siteEmail")
IsEditor> getSiteEmailEditor();

@Path("contactEmail")
IsEditor> getContactEmailEditor();

@Path("favicon")
IsEditor> getFaviconEditor();

@Path("host")
IsEditor> getHostEditor();

@Path("landingPage")
IsEditor> getLandingPage();

@Path("defaultLanguageId")
public ValueListBox getDefaultLanguageEditor();

public void reset();
public Boolean save();

}


*DomainConfigComponentImpl.java*

import java.io.IOException;
import java.util.List;

import com.github.gwtbootstrap.client.ui.FluidRow;
import com.github.gwtbootstrap.client.ui.Form;
import com.github.gwtbootstrap.client.ui.IntegerBox;
import com.github.gwtbootstrap.client.ui.TextBox;
import com.github.gwtbootstrap.client.ui.ValueListBox;
import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.EditorError;
import com.google.gwt.editor.client.IsEditor;
import com.google.gwt.editor.ui.client.ValueBoxEditorDecorator;
import com.google.gwt.editor.ui.client.adapters.ValueBoxEditor;
import com.google.gwt.text.shared.Renderer;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Widget;
import com.hat.weevify.client.domain.Language;
import com.hat.weevify.client.system.SystemData;

public class DomainConfigComponentImpl implements DomainConfigComponent {

interface DomainConfigComponentImplUiBinder extends UiBinder {
}

private static DomainConfigComponentImplUiBinderuiBinder= 
GWT.create(DomainConfigComponentImplUiBinder.class);

private Presenterpresenter;

private final FluidRowsettingsContainer;

@UiField
FormsiteConfigForm;

@UiField
IntegerBoxid;

@UiField(provided = true)
ValueListBoxtextDirection;
@UiField(provided = true)
ValueListBoxdefaultLanguage;

@UiField
TextBoxsiteName;
@UiField
TextBoxhost;
@UiField
TextBoxsiteEmail;
@UiField
TextBoxcontactEmail;

@UiField
ValueBoxEditorDecoratorfavicon;

@UiField
TextBoxlandingPage;

public DomainConfigComponentImpl() {

textDirection = new ValueListBox(new Renderer() {

public void render(String object, Appendable appendable) throws 
IOException {
appendable.append(render(object));
}

public String render(String object) {
return object;
}
});

defaultLanguage = new ValueListBox(new Renderer() 
{

public String render(Integer object) {
for (Language lang : 
SystemData.getInstance().getLanguageList()) {
if (lang.getId() == object) {
return lang.getName();
}
}
return null;
}

public void render(Integer object, Appendable appendable) 
throws IOException {
String s = render(object);
appendable.append(s);
}

});

settingsContainer = uiBinder.createAndBindUi(this);
}

public Widget asWidget() {
return settingsContainer;
}

public void setPresenter(Presenter presenter) {
this.presenter = presenter;
}

public void reset() {
// TODO implement reset method
}

public Boolean save() {
// TODO Auto-generated method stub
return null;
}

public IsEditor> getId() {
return id;
}

public ValueListBox getTextDirectionEditor() {
return textDirection;
}

public ValueListBox getDefaultLanguageEditor() {
return defaultLanguage;
 

Re: Regarding GWT with the upcoming Windows 8 and Internet Explorer 10

2012-12-12 Thread Goktug Gokdogan
I'm not sure about timing but we will definitely add support for IE10.
I expect most of the work to be about testing and working around behavior
differences.
Will let you know more, when we have a clear plan.


On Wed, Dec 12, 2012 at 12:18 PM, Pedro Lamarão wrote:

> Em terça-feira, 11 de dezembro de 2012 19h11min56s UTC-2, Thomas Broyer
> escreveu:
>
>>
>>
>> On Tuesday, December 11, 2012 8:45:22 PM UTC+1, Dmitry wrote:
>>>
>>> Hi,
>>>
>>> Do you know if there are any plans to release GWT 2.5.1 with IE10
>>> support any time soon?
>>>
>>
>> 2.5.1 yes, but not with IE10 support.
>>
>
> What would be required to add IE10 support? Maybe the community can step
> up to this.
>
> --
>  P.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/23pAAY_Dvo0J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Issues with upgrading to 2.5.0 and testing with gwt-test-utils

2012-12-12 Thread Aleks
Hi,

I've recently run into an issue that is causing a major headache. I'm 
upgrading our gwt application from version 2.4.0 to 2.5.0. We have projects 
for unit-testing our widgets using the gwt-test-utils project.

In order for this to work, the first step was to upgrade the gwt-test-utils 
project to 0.43 which after some headaches went ok. Well, kind of ok, and 
this is why...

When running my unit tests in Eclipse, they all (but one) run fine. When I 
do the same thing in maven (from the command line) the majority of my tests 
fail with the error:

*0[main] ERROR com.googlecode.gwt.test.GwtTreeLogger  - Unable to find 
type 'java.lang.Object'
2[main] ERROR com.googlecode.gwt.test.GwtTreeLogger  - Hint: Check that 
your module inherits 'com.google.gwt.core.Core' either directly or 
indirectly (most often by inheriting module 'com.google.gwt.user*'

I've checked the classpath and the gwt-user jar is definitely there, I've 
also checked the relevant .gwt.xml files and they definitely inherit 
'com.google.gwt.core.Core' - note that this ran fine when using the 
combination of gwt 2.4.0 and gwt-test-utils 0.35. 

I know I haven't given much detail here, but is there a general guideline 
of what the reason for this could be?


I saw a note here 
http://code.google.com/p/google-web-toolkit-doc-1-4/wiki/FAQ_UnableToFindModule 
about something that sounds like my problem, but not sure if this is 
necessary, especially since the project has run fine until this upgrade.


Any ideas?

Kind regards,

Aleks


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/7pBenoF4M-gJ.
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: celltree indentation

2012-12-12 Thread Joel

I'd like to get rid of the indentation at least for the first set of 
children, but I still want the arrow icon images for open close (same as 
Outlook). The reason is that the root nodes look like dividers (for each 
category).

How can I do that?

J

On Monday, January 24, 2011 9:41:56 PM UTC-6, John LaBanca wrote:
>
> Its based on the width of the open/close image icon.  You can provide your 
> own images by extending CellTree.Resources and passing the resources into 
> the constructor.  Use narrower images for less padding.  For more padding, 
> add transparent padding to the left (or right) of the icon image.
>
> Thanks,
> John LaBanca
> jlab...@google.com 
>
>
> On Mon, Jan 24, 2011 at 10:29 PM, Torgeir 
> > wrote:
>
>> Am looking for a way to change the tree node indentation of a cell
>> tree, but can't find any method, nor any css resource that seems to
>> specify this, it's always fixed at 16px. Does anyone have a way of
>> specifying 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-we...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/KpnJUQ5Cr5MJ.
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 Designer - how to center a Grid within a TabLayoutPanel?

2012-12-12 Thread Magnus
Hi,

I would like to create a UIBinder-Class with GUI Designer.

There should be a TabLayoutPanel, and within each tab there should be a 
list von attribute/value pairs.
The list of attribute/value pairs is a Grid: There is one row for each 
pair, containing two cells. The left cell contains the attribute name and 
the right cell contains the value.

I would like the grid to be somehow centered horizontally and vertically 
within the tab, while the tab itself (the blue line) should occupy all the 
available space (width/height: 100%).
The left cell is right-aligned, the right cell is left-aligned. In this 
way, all the colons (":") of the attribute names are aligned over each 
other.
(The most beautiful alignement would be that these colons are centered 
within the tab.)

However, I tried different things, but they did not work:

- The Grid is the direct content within the tab, there is no intermediate 
panel.
Then, the grid is stretched over the available space, which does not look 
good.

- The tab contains a SimplePanel, which in turn contains the Grid.
This also stretches the grid.

What would be a good method to display attribute/value pairs under tabs of 
a TabLayoutPanel?
Below is my non-working GUI...

Thanks
Magnus

-

http://dl.google.com/gwt/DTD/xhtml.ent";>


 



System






















New tab















 

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



How to retrieve client's date in Short format as configured on client machine

2012-12-12 Thread Sachin
Hi All,
 
I would like to retrieve client's date in short format. Short format can be 
configured in windows from Control Panel->Date & Time Settings option, 
there I can define format for short date like dd/mm/ or dd/mmm/yy etc. 
Currently I am using JsDate and tried to use 
*toLocaleDateString*(),
 
*toLocaleString*()
 
etc, but all of them are returning date in Long format. 
 
Can anyone suggest me solution for this.
 
Thanks & Regards,
Sachin
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TCX406jiu_gJ.
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.