Re: question on GWT showcase examples

2015-02-19 Thread dominic jansen
Hi Magnus,

when you look for the GWT Showcase code, have a look at the github sources:
https://github.com/gwtproject/gwt/tree/master/samples/showcase/src/com/google/gwt/sample/showcase

I guess there you find all you need :)

Best, dom

2015-02-19 8:53 GMT+01:00 Magnus alpineblas...@gmail.com:

 I also found that ContactInfoForm.ui.xml is missing.
 Could it be that those examples are incomplete?

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


-- 
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: Can i access AppEngine Datastore(Using JDO) from GWT client coding.....

2011-04-26 Thread dominic jansen
GWT provides a RPC mechanism based on Java Servlets to provide access
to server side resources like JDOs.

Take a look at the Dev Guide and of course at the Tutorial

http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideServerCommunication.html
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/tutorial/clientserver.html

Best,
Dom

2011/4/22 Ram ram...@gmail.com:
 I am developing AppEngine java project...I plan to develop client side
 using GWT...

 Can i access AppEngine Datastore(Using JDO) from GWT client
 coding.

 If yes...How to do this.please help me


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



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



Hierarchical Places in GWT 2.1

2010-12-15 Thread dominic jansen
Hey,

is there a way to implement hierarchical places in gwt 2.1?

E.g. i want:
http://www.myexample.com/foo/bar

In gwt 2.1 i  get sth like this:
http://www.myexample.com#foo:bar

Regarding some posts of Thomas Broyer and the GWTP team it looks like
there is no direct way to use hierarchical places in pure gwt 2.1
(e.g. 
http://groups.google.com/group/gwt-platform/browse_thread/thread/4c00e59dc139ccdf?fwc=1).

Are there workarounds (without involving a third party lib)?

Replacing : with / may work with a customized
AbstractPlaceHistoryMapper. So maybe the parameters of a place can
mock hierarchical places.
But what about removing the # hashtag?

A different way may be using sth like nested places. But when a
place has no parameters, it results in #Place:null. Is there a way to
disable this null token?

Thanks for any ideas or remarks!

Best
dom

-- 
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: How could I overwrite padding margin properties in standard.css style?

2010-12-09 Thread dominic jansen
hey,

you can try it this way:

cancelButton.setStylePrimaryName(activeJob);

this will override all properties of the standard.css with you own styles.

best dom


2010/12/9 vkrejcirik vkrejci...@gmail.com:
 I use Standard GWT style, so my buttons have .gwt-Buttons style. I
 create my css file, where I add for example this:

 .gwt-Button-activeJob {
        padding: 0.2em;
        margin-top: 1.5em;
        margin-right: 0.2em;
        margin-left: 0.3em;
        margin-bottom: 0.3em;
        padding-left: 1em;
        padding-right: 1em;
 }

 In java code:

 cancelButton.addStyleDependentName(activeJob);

 But properties margin and padding are set in .gwt-Button in
 Standard.css file. So button ignores my definitions of padding and
 margin. Is there any solution how could I overwrite these properties?

 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.



-- 
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: Facing some problems after switching to GWT 2.1 from GWT 2.0.4

2010-12-03 Thread dominic jansen
hi aditya,

i ve noticed that there are different behaviours for the
KeyPressHandler for each browser (e.g. for me the safari browser did
not recognize the keypressevent).

maybe you can use the KeyDownHandler or KeyUpHandler instead of the
KeyPressHandler. this worked for me

best, dom



2010/12/3 Aditya 007aditya.b...@gmail.com:
 Hi,

 I have updated my GWT version to 2.1 and faced some of the problems
 regarding textbox' key press handlers...

 the code which works completely fine in previous version is

                       txtPassword.addKeyPressHandler(new
 KeyPressHandler() {
                       @Override
                       public void onKeyPress(KeyPressEvent event) {

                                if(event.getCharCode()==KeyCodes.KEY_ENTER){
                                     // some processing here to send
 username password to server
                               }
 // class closures.

 whenever user presses an ENTER key the code from 'if' condition gets
 executed but this does nt work in GWT 2.1
 is there any other way to perform this validation to know user has
 striked ENTER or not...?

 Thanks,
 Aditya

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



-- 
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: OT: Re: how to achieve pretty URLs in GWT 2.0 application

2010-12-01 Thread dominic jansen
hey,

try these links:

http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html
http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html

works fine for me

best dom

2010/12/1 Kenneth Jacker khjac...@gmail.com:
 http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHist...
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd...

 Does anyone know how to print the above?

 I tried both Firefox and Chrome, but the printed content is either
 missing or garbled.

 Thanks,

  -Kenneth

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



-- 
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: OT: Re: how to achieve pretty URLs in GWT 2.0 application

2010-12-01 Thread dominic jansen
yes, you are right, on ff 3.6 and safari 5 it did not work for me, but
on good old ie6 it works.

if you need the pdf, send me a short notice

best, dom

2010/12/1 Kenneth Jacker khjac...@gmail.com:
 try these links:

   [ Complete URLs deleted.  -khj ]

 I have tried them.  The pages are displayed as expected.  I can see
 the content in my browsers.

 works fine for me

 *Printing* works fine?

 If so, I'm puzzled.  Which browser(s) are you using?


 Thanks for your comments,

 -Kenneth

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



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



How to style MenuBar in CSS

2010-10-07 Thread dominic jansen
Hi,

i have some problems with styling a menubar via css.

The standard gwt css looks like this:
http://gwt.google.com/samples/Showcase/Showcase.html#!CwMenuBar

My goal is to change the background-color to red.
Manipulating the gwt css works fine. I can change the background of
the horizontal menubar to red, and the background of the vertical
menubar.
But at the vertical menu bar there remains an outer white border (1px
black line, ca. 5px white line).

Does anyone has an idea how to change the whole background of the
vertical menubar to red?

Thanks for help,
best dom

-- 
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: How to style MenuBar in CSS

2010-10-07 Thread dominic jansen
hey christian,
thanks for your answer!

but it looks like the MenuItemSeparator defines the style only for the
seperator in the horizontal menubar (if seperators are added) -  e.g. the
| in   foo | bar

when i override the style, there are no changes. the whole vertical menubar
is surrounded with an white border :(

any suggestions?

best dom

2010/10/7 Christian Voigt christianvoigtvo...@web.de

  Try this:




 Override style gwt-MenuItemSeparator e. g.

 .gwt-MenuItemSeparator {
 Display: none;
 }


 WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
 gratis Notebook-Flat! 
 *http://produkte.web.de/go/DSL_Doppel_Flatrate/2*http://produkte.web.de/go/DSL_Doppel_Flatrate/2

 --
 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.comgoogle-web-toolkit%2bunsubscr...@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-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: cookies and expiry

2010-07-07 Thread dominic jansen
Hey Nataraj,

i have the same problem.

First of all, your code seems to be correct.
I did it in the same way following the class despriction. When you set
the expiring date to one week (Date expires = new Date(new
Date().getTime() + (1000 * 60 * 60 * 24 * 7));) it will work and you
get a cookie.
I tried it for two and three weeks and it works. For four weeks it fails.

It looks like there is a problem with longer expiring dates
Does anyone have a solution?

Cheers!



2010/6/4 Nataraj M Basappa natara...@gmail.com:
 Hi all,
  Just been pondering my head over this piece of code.

 Date expires = new Date(new Date().getTime() + (1000 * 60 * 60 * 24 *
 30));
 Cookies.setCookie(token, token, expires);
 Cookies.setCookie(secret, secret, expires, localhost, /,
 true);
 Cookies.setCookie(uname, ram, null);

  Can anyone correct me. First two calls completely fail to set
 cookies, last one does set it but expiry time is set to
 current browser session. (looking at googles test code for last call
 should have set to never expire)

 Cheers!

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



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