Re: gwt-gadgets and maven

2010-07-26 Thread yoann.per...@gmail.com
Ok

So I will try the "noredist" jar and give a feedback as soon as
possible.

Thanks

On 23 juil, 15:45, Eric Ayers  wrote:
> I think you should be using the noredist version but that doesn't explain
> the JavaScript errors you mentioned in the original message.
>
> On Jul 23, 2010 9:27 AM, "yoann.per...@gmail.com" 
> wrote:
> Ok ... but I already add the latest gwt-gadgets (and its dependencies:
> gwt-ajaxloader) into my own maven repository.
>
> Here is the deployed POMs:
>
> 1) gwt-ajaxloader
>
> 
> http://maven.apache.org/POM/4.0.0"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://
> maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd";>
>  4.0.0
>  com.google.gwt.google-apis
>  gwt-ajaxloader
>  1.1.0
>  jar
> 
>
> 2) gwt-gadgets
>
> http://maven.apache.org/POM/4.0.0"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://
> maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd";>
>        4.0.0
>        com.google.gwt.google-apis
>        gwt-gadgets
>        gwt-gadgets
>        1.2.0
>        
>                
>                        com.google.gwt.google-apis
>                        gwt-ajaxloader
>                        1.1.0
>                
>        
> 
>
> Note that I use the "gwt-gadgets.jar" instead of the "gwt-gadgets-
> noredist.jar"...
> Is there something missing in the jar files or maybe in my POMs ?
>
> Thanks.
>
> On 21 juil, 17:00, Eric Ayers  wrote:
>
>
>
>
>
> > Unfortunately, the latestgwt-gadgetsrelease hasn't been pushed to
> > Maven.  We're working on it.
>
> > On Wed, Jul 21, 2010 at 5:29 AM, yoann.per...@gmail.com
>
> >  wrote:
> > > Hi,
>
> > > I'm trying to develop a simple gadget usinggwt-gadgets, Eclipse and
> > > Maven.
>
> > > If i follow the procedure described in thegwt-gadgets"Getting
> > > started"  page (http://code.google.com/p/gwt-google-apis/wiki/
> > > GadgetsGettingStarted), my ga...
> > > For more options, visit this group athttp://
>
> 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...

-- 
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: introducing a marketplace for GWT components & associated projects

2010-07-26 Thread maks
Wow this is nice! keep it up!

On Jul 26, 11:57 am, Joe Hudson  wrote:
> Hi,
>
> I'm a huge fan of GWT and the only problem I have with it is not
> really a problem with GWT but with the fact that there isn't a
> centralized place for registering component and associated tools
> AFAIK.  I have created an application to do this which is available 
> athttp://gwtmarketplace.appspot.com
>
> This project is open-source and the project and source code is
> available at:http://code.google.com/p/gwtmarketplace/.
>
> I encourage everyone who has a product related to GWT to register it
> so it easier for folks like myself to see what is available and be
> able to comment on and rate these products.
>
> I would certainly appreciate if the GWT folks would link 
> tohttp://gwtmarketplace.appspot.comto make it easier for people to
> see.  Also, any feedback would certainly be appreciated.
>
> Thanks,
>
> Joe
>
> http://gwtmarketplace.appspot.com

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



subversive checkout as

2010-07-26 Thread jsaar
Hi,

I have a Web Toolkit project in subversion ...
till now 1 person-team ...
now I've tried to configure a second workspace on a separate
workstation ...

As plugin in eclipse I use subversive ... till now, I haven't found a
way to checkout the project.

My workaround is:
- Creating a new Web Application Project with the name of the existing
project
- Close this Project
- In Filesystem override it with Data from productive Workstation
- Reopen Projekt and refesh it
- Team ... Share Project

I think there must be a better way!

Any hints?
-Juergen-

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



Persistent class ... does not seem to have been enhanced .. Error??

2010-07-26 Thread AlexG
Hi @ all,

as you can see (topic) I get strange errors, when runnig my GWT/GAE
projects.
The error message is:

Persistent class "myClass does not seem to have been enhanced.  You
may want to rerun the enhancer and check for errors in the output."
has no table in the database, but the operation requires it. Please
check the specification of the MetaData for this class.

The thing is, to give more background information, I have 2 projects.
One project includes the whole UI (gwt/gae), and the service
interface. The other project (JavaProject) includes the service-
implementation and the
persistent-class-definitions.

I believe, the problem is, that the datanucleus-enhance doesn´t know,
where the persistent classes are. Don´t know if this is correct?

Does anybody had a similar error? Any ideas how I can solve this
problem?

Thanks,
Alex

-- 
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: No source code is available for type org.cementj.base.ApplicationException; did you forget to inherit a required module?

2010-07-26 Thread AlexG
Hi Jana,

the thing is:

The gwt-compiler needs the java-code of all classes you want to need
in your
client-side (gwt) code. The compiler needs the code, because it parses
java to javascript.
So if you want to use external jars, than you must be sure, that the
source-code is available.
If you are using Eclipse, you can attach source to the jars in the
build path.
If you don´t have the source-code of the jar, you can´t use this
library in the client.

If you need the library for services, just use the jar only on the
server-side, there, you don´t
need to know the source-code of used jars. Be sure that you have a
copy of the jar in the war/WEB-INF/lib/ folder,
or it throws: classBotFound-Exception.

Greets
Alex

On 23 Jul., 07:27, jana  wrote:
> Hi,
>
> I am new To GWT , and using GWT in my project., i hav two user
> defined Exception which extends ApplicationException(present in client
> Package), and i hav added the corresponding Jar file into the Project
> libraries.. In Client Package , methods in the Interface throws  user
> defined ExceptionAnd  while compiling i get this error
> "No source code is available for type
> org.cementj.base.ApplicationException; did you forget to inherit a
> required module?"
>
> Kindly help me ,.. how to solve this error..
>
> Regards,
> Jana

-- 
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: Intercepting a paste from the clipboard

2010-07-26 Thread Catorcio
The code by Jim Douglas does exactly what I need. OnPaste is triggered
also for pastes via the context menu.

OnChange is not good for me, because I need to recognize as soon as
the user has typed a word, so I need to track live the charaters being
entered (entered maybe through a paste).

Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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.



TabPanel within TabPanel styling

2010-07-26 Thread mobilekid
My app's layout consists of a TapPanel, which holds another TabPanel.
I'd like to have the two TabPanels look differently. Following the GWT
tutorial on applying styles I did the following:

TabPanel innerTabPanel= new TabPanel();
//carriersTabPanel.setSize("100%", "100%");
innerTabPanel.addStyleName("inner-tabPanel");


.gwt-TabPanel .inner-tabPanel{
width: 100%;
height: 100%;
}
This, however, did not have any effect whatsoever. Then I tried the
following, but that didn't work either:

.inner-tabPanel{
width: 100%;
height: 100%;
}

So how I can style the two panels separately?

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



First GWT question: DockLayoutPanel and presenter/views

2010-07-26 Thread PeteUK
Hello,

I've been investigating GWT recently and want to start writing with
it. This is my first question on here, so pardon my ignorance.

I had just got my head around presenters and views. I then tried out
the Mail application that ships with 2.0.4 Eclipse plugin and this
looks really good. Looking at the source code though, I cannot see any
presenters or views and wonder if when using DockLayoutPanel (as the
Mail application does), would one also use presenters and views? If
so, how would they be used with the DockLayoutPanel? What portion of
the DockViewPanel would a view represent?

Thanks,

Pete

-- 
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: TabPanel within TabPanel styling

2010-07-26 Thread aditya sanas
try to use setSyleName instead addStyleName
--
Aditya


On Sun, Jul 25, 2010 at 9:00 PM, mobilekid wrote:

> My app's layout consists of a TapPanel, which holds another TabPanel.
> I'd like to have the two TabPanels look differently. Following the GWT
> tutorial on applying styles I did the following:
>
> TabPanel innerTabPanel= new TabPanel();
> //carriersTabPanel.setSize("100%", "100%");
> innerTabPanel.addStyleName("inner-tabPanel");
>
>
> .gwt-TabPanel .inner-tabPanel{
>width: 100%;
>height: 100%;
> }
> This, however, did not have any effect whatsoever. Then I tried the
> following, but that didn't work either:
>
> .inner-tabPanel{
>width: 100%;
>height: 100%;
> }
>
> So how I can style the two panels separately?
>
> --
> 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: introducing a marketplace for GWT components & associated projects

2010-07-26 Thread Peter Simun
Great idea Joe,

I was missing something like this for a long time. But the
categorization is little bit confusing me.
What is the difference between Libraries and Frameworks, or Tools.
Wouldn't it be better to cover some specific domains in the
categories? Like UI widgets, RPC, security, MVP, etc ?

Thank you again.
Peter

On 26. Júl, 10:08 h., maks  wrote:
> Wow this is nice! keep it up!
>
> On Jul 26, 11:57 am, Joe Hudson  wrote:
>
> > Hi,
>
> > I'm a huge fan of GWT and the only problem I have with it is not
> > really a problem with GWT but with the fact that there isn't a
> > centralized place for registering component and associated tools
> > AFAIK.  I have created an application to do this which is available 
> > athttp://gwtmarketplace.appspot.com
>
> > This project is open-source and the project and source code is
> > available at:http://code.google.com/p/gwtmarketplace/.
>
> > I encourage everyone who has a product related to GWT to register it
> > so it easier for folks like myself to see what is available and be
> > able to comment on and rate these products.
>
> > I would certainly appreciate if the GWT folks would link 
> > tohttp://gwtmarketplace.appspot.comtomake it easier for people to
> > see.  Also, any feedback would certainly be appreciated.
>
> > Thanks,
>
> > Joe
>
> >http://gwtmarketplace.appspot.com

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



Popup Panel that follows the page

2010-07-26 Thread Michael
Hi,

In my app I have a calendar.  When you click on the date I have a pop
up panel that popups on the date that shows different options (add
birthday, add appt, etc).  How I have it right now the pop up shows
where it should if the scroll bar is at the top.  But if you scroll
down the pop up does not show up in the right place.  It seems the
popup panel is attached to a particular place on the screen not a
particular place in the panels.  Is there a good way to anchor the pop
up panel to a particular widget?  Is there a better way of doing this?

An example of what I would ideally want is the popup (for contact
info) in gmail when you hover over a person in the chat panel on the
left.  It always pops up next to the user name that you hovered over.
I would also like it to go away if you move the mouse away (instead of
click like a popup) but I could do without that.

Thanks for the help,
Michael Herman

-- 
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: Css Calendar using GWT

2010-07-26 Thread Peter Simun
Seems not working for me in FF, I'm not able to click on the date in
the calendar.
Is there any official project site?

Peter

On 25. Júl, 23:39 h., dodo dard  wrote:
> Hello,
>
> I would like to present my new gwt-application, css-calendar. If you
> know zen garden, the idea of my application is the same. I'm hoping
> that people will join to my cause and share their css design through
> this application.
>
> And I would like also your opinion of this application.
> You can test it in :http://css-calendar.appspot.com/
>
> Thanks in advance

-- 
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: New Project Start up in GWT 2.0

2010-07-26 Thread Peter Simun
If you want to use UIBinder, then you will have problems with 3rd
party component libraries.
No component library has official support for UIBinder (ExtGWT,
SmartGWT, ...), but smartGWT has one project which solves this, but it
is not an official one (http://code.google.com/p/uibinding-smartgwt/).

So, if you want to use UIBinder just go with core GWT widgets with
custom CSS styles.
MVP is very good practice, but the "best practices" are changing from
year to year :). Google guys are implementing in this time the Actions
(ActionManager) pattern using RequestFactory ... and everything will
be managable/generated by Spring Roo.

I'm the old school ... i'm still using MVP with GIN and event bus, but
the choise is yours.

Peter

On 26. Júl, 08:13 h., Nabeel Ali Memon 
wrote:
> To keep the code clean and cohesive, I suggest you should consider
> developing your app with MVP pattern (consider using
> gwt-platform).
> For a summary of different optimizations you could apply, watch some of the
> Google I/O 2010 GWT sessions by Ray Ryan and Ray Cromwell.
>
> Nabeel
>
> On Sun, Jul 25, 2010 at 3:55 PM, Deepak Singh wrote:
>
> > Hi,
>
> > I am going to develop a new travel portal for online flight ticket
> > booking services. I would use gwt 2.0 with uibinder. My concern is the
> > speed of the application. I would be searching multiple airlines data
> > and then display in my portal. So the web service call / assync call
> > back should be very very fast. Kindly suggest the best practices
> > relevent to my need. Also let me know which 3rd party components
> > framework would be better to use and book available for gwt 2.0 to
> > have deep knowledge.
>
> > Thanks
> > Deepak
>
> > --
> > 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: Class implements IsSerializable does not show up in all RPCRequest.serializationPolicy

2010-07-26 Thread Peter Simun
Maybe the code snippet will helps.

Do you have default constructor for serialization purposes?
Is your custom exception listed in service method definition?

Peter

On 24. Júl, 17:34 h., citress  wrote:
> Hi,
>
> GWT version: 2.0.0
>
> My understanding of the serialization policy is that if a Class
> implements IsSerializable, it will be part of GWT's serialization
> policy whitelist. I created a custom, runtime  exception that
> implements IsSerializable. This runtime exception shows up in the
> serialization policy of one RPCRequest method, but not in another.
> Both methods do not declare the exception in their method
> declarations.
>
> Why can this exception be serialized in one RPC method call but not in
> another? Is implementing the IsSerializable interface alone not enough
> to make the class part of the serialization policy?
>
> Thanks in advance.

-- 
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 create a GWT Library?

2010-07-26 Thread Peter Simun
Just inspire by the existing GWT libraries. Sources are opensourced ;)
Better libraries/frameworks has also documentation how to build them.
Maven will simplify this a lot.

One example:
http://code.google.com/p/acris/source/browse/#svn/trunk
http://code.google.com/p/acris/wiki/HowTo

Peter

On 23. Júl, 20:06 h., cokol  wrote:
> hi.its fairly easy to do.just google for a gwt module howto
>
> On Jul 23, 6:14 pm, nacho  wrote:
>
> > Hi, i'm looking some info about how to create and package my own gwt's
> > lib.
>
> > Does anyone know where can i find some tuto?

-- 
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: Another Ajax Crawling question, is "#!&" acceptable rather then just "#!" ?

2010-07-26 Thread Katharina Probst
Sorry, I'm a little confused too.

When googlebot sees www.example.com?mykey=myvalue#!myhistorytoken ,

it'll turn it into

www.example.com?mykey=myvalue&_escaped_fragment_=myhistorytoken .

Can you give an example (complete fake URLs, like I did above) to illustrate
the problem you're seeing?  That would be helpful.

Thanks,
kathrin

Short answer is I don't think you should use #!&.

On Sat, Jul 24, 2010 at 12:27 PM, darkflame  wrote:

> Thanks, Sorry if its not clear, but I am actually talking about all of
> those things.
>
> PHP is my back end which is generating the static pages.
> GWT is what my site is coded in. Its completely dynamic and makes
> extensive use of "#" tokens to store and retrieve its states.
>
> I'm attempting to get my side Ajax crawl-able using this guide;
> http://code.google.com/web/ajaxcrawling/docs/getting-started.html
>
> This guide states to replace the normal "#anything" style history
> tokens with "#!anything" tokens instead. Note the additional "!"
> When google's crawler is requesting these pages it swaps the "#!" for
> "?_escapedfragment_=", allowing the server to generate a static page
> using the query string.
> This is all laid out in googles guide.
>
> However, the formating of this "?_escapedfragment_="  does not allow
> php to process the key/value pairs in the query string as it normally
> could.
> PHP can normally read of key value pairs from the query string using
> its $_GET[] command.  However, under this system "?_escapedfragment_="
> in the url requested prevents the first key value pair being read.
> (as the parser now sees "_escapedfragment_" as its own key, and the
> first true key as its *value*).
>
> Thus, in order to use PHP with Google's system for making Ajax
> crawlable, I was querying if GWT user's should add "&" to their new
> history token format, rather then just "!". So the new tokens become
> "#!&" rather then just "#!".
> 
> This is a little confusing, but I think it should be understandable
> for anyone who knows both PHP as well as GWT. (or at least, has used
> extensive historytokens/states in their web design).
>
> Finally, I mentioned the Webmaster tools "Fetch as Googlebot" as thats
> what I'm using to test if my site is indeed browse-able by google's
> bot. Its not yet possible to use it to test completely for this sort
> of functionality, however. So some of this work is a little "blind".
>
>
>
>
>
>
>
>
>
>
> On Jul 24, 6:08 pm, Stefan Bachert  wrote:
> > Hi,
> >
> > when others are as confused as me than you will get no qualified
> > answer
> >
> > You are talking about PHP, url, google and sometimes it sounds that
> > you are talking about
> > Google Webmaster Tools. ( != GWT = Google Webtool Kit)
> >
> > Stefan Bachert
> > http::/gwtworld.de
> >
> > Inquiries for professional GWT support are welcome.
> > I am sorry, I won't do free personal support.
> >
> > On 23 Jul., 15:59, darkflame  wrote:
> >
> >
> >
> > > (of course, Id have to code my gwt java to remove the "&" from the
> > > history string before processing)
> >
> > > On Jul 23, 3:54 pm, darkflame  wrote:
> >
> > > > Ive noticed that if I change my links to just "#!" google interprets
> > > > them as;
> > > > "_escaped_fragment_="
> >
> > > > Which is how its documented.
> > > > However, this means a php $_GET command cant read the first key/value
> > > > listed.
> >
> > > > So;
> >
> > > > $_GET['DisplayReview']   returns as empty if the url is, say, "?
> > > > _escaped_fragment_=DisplayReview=123"
> >
> > > > If, however, I use "#!&" on my Javascript, then google will instead
> > > > call;
> >
> > > > "_escaped_fragment_=&" and $_GET['DisplayReview']   returns the
> > > > correct value.
> >
> > > > Is this acceptable? Should this be standard practice for those using
> > > > php to generate the static pages?
> >
> > > > The alternative seems to be manually parsing the whole query string
> > > > rather then using $_GET[], but that seems rather messy.
> >
> > > > 
> > > > Note; I'm making some assumptions about how google replaces the "#!",
> > > > as the "Fetch as Robot" utility doesn't seem to do it yet.
>
> --
> 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: Places, Activities, and bookmarking History

2010-07-26 Thread Peter Simun
Take a look on this
http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/c47e97bdfb904928/cc9bfd4c123a1f36?show_docid=cc9bfd4c123a1f36

On 22. Júl, 21:22 h., Jason Thrasher  wrote:
> Digging around in 2.1.M2's Places and Activities, I'd like to start
> implementing some bookmarking features based on History tokens.  Where
> can I go to learn about GWT's roadmap for this, and possibly some
> hints at sample code?  (maybe somewhere in the bikeshed that I haven't
> looked?)
>
> thanks,
> Jason

-- 
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: Popup Panel that follows the page

2010-07-26 Thread Tanguy Le Barzic
Hi Michael,

Concerning the location of your popup (extending PopupPanel) on the screen,
you can specify the position by using setPopupPosition. You can then place
it whenever you want, relatively to the browser window (like the example
given in the javadoc for PopupPanel), but also relatively to the element
that caused the popup to appear (see for example
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mail/src/com/google/gwt/sample/mail/client/Contacts.java
in
the Mail example, very to similar to gmail).

Never needed to hide it when you move the mouse away, but I guess you could
register a MouseOutHandler to your popup and hide it then.

-- 
Tanguy

2010/7/26 Michael 

> Hi,
>
> In my app I have a calendar.  When you click on the date I have a pop
> up panel that popups on the date that shows different options (add
> birthday, add appt, etc).  How I have it right now the pop up shows
> where it should if the scroll bar is at the top.  But if you scroll
> down the pop up does not show up in the right place.  It seems the
> popup panel is attached to a particular place on the screen not a
> particular place in the panels.  Is there a good way to anchor the pop
> up panel to a particular widget?  Is there a better way of doing this?
>
> An example of what I would ideally want is the popup (for contact
> info) in gmail when you hover over a person in the chat panel on the
> left.  It always pops up next to the user name that you hovered over.
> I would also like it to go away if you move the mouse away (instead of
> click like a popup) but I could do without that.
>
> Thanks for the help,
> Michael Herman
>
> --
> 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.



Unable to add the GWT plugin into eclipse 3.6

2010-07-26 Thread Nabhonil
hi,

I am not able to add the GWT plugin into eclipse 3.6. The url i am
using is  http://dl.google.com/eclipse/plugin/3.6 and when I select
Plugin and SDK and Click on Next it fails with the error

Cannot complete the install because one or more required items could
not be found.
Software being installed: Google App Engine Java SDK 1.3.5
1.3.5.v201006301309

Any ideas whats going wrong here.

Thanks
Nabhonil

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



Setting up a maven based gwt project without using gwt-maven-plugin

2010-07-26 Thread Ivan Yosifov
Hi all,

The following is a little scheme I came up with for configuring a
maven based gwt project. I specifically wanted to avoid using gwt-
maven-plugin as I've had some issues with it. It feels a bit redundant
too.

The example pom below is for an experimentation project that uses gwt,
the incubator and commons-io. The project layout uses the maven
standard /src/main/webapp for the exploded war and not /war as
google's gwt eclipse plugin does. To achieve this maven is configured
to output class files in /src/main/webapp/WEB-INF/classes and not
under /target. The clean plugin is also pointed to same output
locations so that mvn clean works.

The pom defines two profiles. One is the dev profile ( active by
default ) which also depends on the gwt-dev artifact for dev mode,
etc. The second is the web profile which is used for running the gwt
compiler ( for example by calling mvn -Pweb install ). The web profile
uses maven-antrun-plugin and ant's java task to run the gwt compiler.
A trivial bit of javascript is used to determine the processor count
on the current machine and so it's possible to pass the optimal -
localWorkers setting to the gwt compiler.

An ide launch configuration for dev mode would need to:
* use com.google.gwt.dev.DevMode as main class
* add src/main/java and src/main/resources to the classpath
* add something like -
agentlib:jdwp=transport=dt_socket,address=1025,server=y,suspend=n to
the VM args to allow connecting a debugger to the web app
* use something like this for the main class's arguments:
-war src/main/webapp
-startupUrl /index.html
-codeServerPort 1026
-port 1027
com.example.TestGWT.TestGWT

If setting this up in, say, eclipse feels like too much clicking, it's
possible to achieve the same effect from a linux shell by:

running once:

cp=`mvn dependency:build-classpath | grep -E '^[^[]'`;

running every time you want to start dev mode:

ava -agentlib:jdwp=transport=dt_socket,address=1025,server=y,suspend=n
-Xms256m -Xmx512m -Xss50M -XX:PermSize=128m -XX:MaxPermSize=192m -cp
$cp:src/main/java:src/main/resources com.google.gwt.dev.DevMode -war
src/main/webapp -startupUrl /index.html -codeServerPort 1026 -port
1027 com.example.TestGWT.TestGWT

The entire pom:

http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
com.example
TestGWT
jar
0.0.1-SNAPSHOT
TestGWT

UTF-8
2.0.4
20100204-r1747
true


${basedir}/src/main/webapp/WEB-INF/classes
${basedir}/src/main/webapp/WEB-INF/
classes


${basedir}/src/main/java


${basedir}/src/test/java


${basedir}/src/main/resources




org.apache.maven.plugins
maven-compiler-plugin

1.6
1.6



maven-clean-plugin



src/main/webapp/
com.example.TestGWT


src/main/webapp/WEB-INF/
classes


src/main/webapp/WEB-INF/lib








com.google.gwt
gwt-user
${gwtVersion}


com.google.gwt
gwt-servlet
${gwtVersion}


com.google.gwt
gwt-incubator
${gwtIncubatorVersion}


commons-io
commons-io
1.4




dev

true



com.google.gwt
gwt-dev
${gwtVersion}
runtime




web

false




org.apache.maven.plugins
maven-antrun-plugin


gwtc
process-classes





GWT Incubator ScrollTable row navigation/selection using keyboard

2010-07-26 Thread Dinesh
Hi All,

I am trying to use GWT Incubator's (Paging)ScrollTable for a keyboard
centric application. It is important to be able to navigate between
rows in a Table via the Keyboard (up/down) buttons. I understand that
the table can have a RowSelectionPolicy, but can the selection be done
with a keyboard?

An example of what I am looking for can be found at
http://demo.vaadin.com/sampler#TableKeyboardNavigation

Your help is much appreciated.

Thanks,
Dinesh.

-- 
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: First GWT question: DockLayoutPanel and presenter/views

2010-07-26 Thread Tanguy Le Barzic
Hi Pete,

The Mail application from the samples doesn't follow the MVP pattern and its
separation between views and presenters. I suggest you read the articles
from the blog about mvp (
http://code.google.com/webtoolkit/articles/mvp-architecture.html), which
include an example similar to Mail (a Contact application). Concerning
DockLayoutPanel, it would be part of the view in an application following
MVP (as it defines how your application will look like).
Hope this helps

-- 
Tanguy

2010/7/25 PeteUK 

> Hello,
>
> I've been investigating GWT recently and want to start writing with
> it. This is my first question on here, so pardon my ignorance.
>
> I had just got my head around presenters and views. I then tried out
> the Mail application that ships with 2.0.4 Eclipse plugin and this
> looks really good. Looking at the source code though, I cannot see any
> presenters or views and wonder if when using DockLayoutPanel (as the
> Mail application does), would one also use presenters and views? If
> so, how would they be used with the DockLayoutPanel? What portion of
> the DockViewPanel would a view represent?
>
> Thanks,
>
> Pete
>
> --
> 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: uibinder @import url..

2010-07-26 Thread asianCoolz
can you give example how to use styleInjector replace of @import?

i'm refering to http://code.google.com/p/google-web-toolkit/wiki/StyleInjector
and try put @Source("http://fonts.googleapis.com/css?family=Lobster";);
but eclipse prompt for error. any example?

-- 
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: jQuery with GWT

2010-07-26 Thread Breno Gomes
GQuery is compatible with GWT 2.0.3 ?

Breno Gomes


2010/5/7 Paul Brown 

> The amazing Cromwellian kicked GQuery off but I think he's a bit strapped
> for time at the moment.
>
> Check out his Google IO 2009 presentation on the topic.
>
> http://www.youtube.com/watch?v=sl5em1UPuoI
>
> On 7 May 2010 15:48, "Tapas Adhikary"  wrote:
>
> Thanks Daniel . Look like , somebody have already started writing the API
> to integrate both. I would be more interested to know , if anybody have
> started using the GwtQuery in their project and what's their opinion.
>
> Thanks again.
>
> - Tapas
>
>
>
> On Fri, May 7, 2010 at 11:08 AM, daniel 
> wrote:
> >
> > http://code.google...
>
>  --
> 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: Unable to add the GWT plugin into eclipse 3.6

2010-07-26 Thread Jeff Chimene
Hi:

What's your baseline Eclipse install (JavaEE, C/C++...) I've been using Java
EE

On Mon, Jul 26, 2010 at 4:49 AM, Nabhonil  wrote:

> hi,
>
> I am not able to add the GWT plugin into eclipse 3.6. The url i am
> using is  http://dl.google.com/eclipse/plugin/3.6 and when I select
> Plugin and SDK and Click on Next it fails with the error
>
> Cannot complete the install because one or more required items could
> not be found.
> Software being installed: Google App Engine Java SDK 1.3.5
> 1.3.5.v201006301309
>
> Any ideas whats going wrong here.
>
> Thanks
> Nabhonil
>
> --
> 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: subversive checkout as

2010-07-26 Thread Jeff Chimene
Make sure you have all the Eclipse files in Subversion. The Eclipse files
(.project, .setup, .launch) are filtered out from the Project Explorer view.

You shouldn't have to create a 2nd workspace. The advantage of a 2nd
workspace is that you can easily dispose of it and start over.

I think there may be some issues getting the plugin to recognize an imported
GWT project, but they may have been resolved with a recent GPE version.

All that aside: did you try New -> Other -> SVN -> Checkout Projects From
SVN


On Mon, Jul 26, 2010 at 1:36 AM, jsaar  wrote:

> Hi,
>
> I have a Web Toolkit project in subversion ...
> till now 1 person-team ...
> now I've tried to configure a second workspace on a separate
> workstation ...
>
> As plugin in eclipse I use subversive ... till now, I haven't found a
> way to checkout the project.
>
> My workaround is:
> - Creating a new Web Application Project with the name of the existing
> project
> - Close this Project
> - In Filesystem override it with Data from productive Workstation
> - Reopen Projekt and refesh it
> - Team ... Share Project
>
> I think there must be a better way!
>
> Any hints?
> -Juergen-
>
> --
> 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: jQuery with GWT

2010-07-26 Thread Breno Gomes
Ok, it's.

2010/7/26 Breno Gomes 

> GQuery is compatible with GWT 2.0.3 ?
>
> Breno Gomes
>
>
> 2010/5/7 Paul Brown 
>
> The amazing Cromwellian kicked GQuery off but I think he's a bit strapped
>> for time at the moment.
>>
>> Check out his Google IO 2009 presentation on the topic.
>>
>> http://www.youtube.com/watch?v=sl5em1UPuoI
>>
>> On 7 May 2010 15:48, "Tapas Adhikary"  wrote:
>>
>> Thanks Daniel . Look like , somebody have already started writing the API
>> to integrate both. I would be more interested to know , if anybody have
>> started using the GwtQuery in their project and what's their opinion.
>>
>> Thanks again.
>>
>> - Tapas
>>
>>
>>
>> On Fri, May 7, 2010 at 11:08 AM, daniel 
>> wrote:
>> >
>> > http://code.google...
>>
>>  --
>> 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: Can you use GWT with the spring framework (spring mvc)?

2010-07-26 Thread Niel
This thread may be useful to you.

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/01b44891878f204d/fb35afa10b924833?lnk=raot

On Jul 20, 11:19 pm, Gitted  wrote:
> Can you use GWT with the spring framework (spring mvc)?

-- 
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: HTML5 Offline GWT APP

2010-07-26 Thread Arthur Kalmenson
Yeah, that's definitely possible to do. You need to use a Linker to
build the manifest at the end. There was a Linkers talk at Google I/O
that discussed building an HTML 5 manifest Linker:
http://code.google.com/events/io/2010/sessions/gwt-linkers-webworkers-extensions.html.
You could also pull it out of the Speed Tracer source.

--
Arthur Kalmenson



On Fri, Jul 23, 2010 at 8:40 AM, Julio Faerman  wrote:
> Hi,
>
> I am trying to build a offline gwt app using HTML5 cache manifest and
> local storage, but to do that, i need to build the manifest file
> listing all the GWT generated files, right?
> Can i do this during the compile process or is it better to do this in
> a shell script?
>
> Thanks,
> Julio
>
> --
> 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.



Google Web Toolkit JavaScript Vs hand Crafted JavaScript benchmark

2010-07-26 Thread Ciarán
Hey everyone I am really interested in GWT for a project I am working
at the moement. The main benefit for me is the fact that I don't have
to write JavaScript which I really dislike, but then I was thinking
would the code produced by GWT be slower then hand crafted JavaScript
so I ran a benchmark, the results of which I posted here http://bit.ly/cxo4dS
some very interesting results when running it on the iphone.

-- 
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: TabPanel within TabPanel styling

2010-07-26 Thread malrawi
Hi,

for some reason using the percentage didn't work, but using px worked,
so try something like width: 800px.
Hope that helps.

Musab


On Jul 25, 7:30 pm, mobilekid  wrote:
> My app's layout consists of a TapPanel, which holds another TabPanel.
> I'd like to have the two TabPanels look differently. Following the GWT
> tutorial on applying styles I did the following:
>
> TabPanel innerTabPanel= new TabPanel();
> //carriersTabPanel.setSize("100%", "100%");
> innerTabPanel.addStyleName("inner-tabPanel");
>
> .gwt-TabPanel .inner-tabPanel{
>     width: 100%;
>     height: 100%;}
>
> This, however, did not have any effect whatsoever. Then I tried the
> following, but that didn't work either:
>
> .inner-tabPanel{
>     width: 100%;
>     height: 100%;
>
> }
>
> So how I can style the two panels separately?

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



GWT service to manage your wine cellar on line

2010-07-26 Thread Danny Goovaerts
You are kindly invited to try out a new GWT based service that I am
launching.

www.cellamea.eu

With this service, you can manage the inventory of your wine cellar on
line. The database with wines does not
contain much data yet, but I hope that this will change as the service
gets used more.

Some more technical information about the service in general and the
use of GWT in particular.

1. MVP
The client side follows the MVP pattern (though not using a general
eventbus).

Model : Value objects  carry the attributes of the domain objects. The
value objects are defined
in XML schemas (with some restrictions, but supporting the majority of
data types defined in XML schemas, XML schema includes and extends).
The java implementation is generated using an XSLT transformation
(similar to JAXB).
The interface of the value objects have the following methods:
* getters
* setters : using basic types or using String.
* "adders" : for repeating members
* validate : XML schema facets can be used to define syntax validation
rules for the value objects (min lengths, max lengths, min occurs,
max occurs, min value, max value, total digits, fractional digits).
Java code is generated that verifies these rules and throws an
exception with a identification of which fields have which errors.
* toXML : marshalling into XML
This implementation can be used on client and server side.
Unmarshallers are also generated to instantiate a  value object,
starting from the XML representation.
Unmarshallers for client and server are generated(GWT has its own XML
parser and DOM interface definition, hence the unmarshallers cannot be
identical)
The model is  locale insensitive, i.e. it uses standard
representations for date, time, numbers,...

Presenter : the presenter is implemented in two parts
- ServiceController : responsibilities
*interact with server,
*retrieve value objects from the view and set value objects in the
view.
- InteractionController : responsibilities
* translate events from the view into method calls on the
ServiceController
* steer the "page flow" in the view, based on events received from
the ServiceController (e.g. show the correct view, display exceptions,
  display or hide overlays to simulate a synchronous
interaction,...).
This split allows to reuse InteractionController for common
interaction patterns (for example search, list, detail page
sequences).

View : The view is also made up of several classes
- Application views : these are traditional windows, for example for
search criteria, entry screens, list screen with search results, etc.
  The application views are responsible for the locale manipulations.
- "Glue classes" (sorry for this rather high level name, I could not
come up with something better) : starting point to put everything
together
   * create presenter classes and application views and "glue"
everything together
   * show correct application view on request of the
InteractionController
These glue classes lend themselves very well to code splitting as they
are the entry point to the instantiation of the Presenter classes
and the Application views.

2. Deployment
Static files and java script are deployed on an Apache 2 server. This
allows to do some URL rewriting, for example to add locale in the
query string.
Server side follows the SOA principles, (authentication service,
reference data service, static data service, cellar management
service, inquiry service,...).
Each service provides several commands (e.g. createCellar,
applyDelivery, ...) The services are deployed as servlets on Tomcat
5.5.
Database is MySQL. Development and testing is done on Windows,
production deployment on a virtual Linux server.
RPC uses the GWT RPC implementation but very restricted, i.e. all
service calls have a signature of the following type:
String serviceCommand(String requestXML) throws ServiceException
(where serviceCommand is of course the actual name of the command).

The strings are XML representations of request and reply objects.
These are defined and generated using the same mechanism as the value
objects from the model.
Marshalling into XML and unmarshalling from XML are straightforward
calls of the generated methods.
So I only use the scaffolding of the GWT servlet and the handling of
exceptions, not the GWT serialization of the paramaters.

The site is only accessible over SSL to assure the confidentiality of
the data. Cache-control header is set to public for the cacheable js
files
to incite the browsers to cache them (works on Chrome, IE8 and FF3)

3. Authentication
Support for OpenID in general withs specific flavours for using your
Google or Yahoo mail account. Also support for email address and
password. You can use
multiple authentication mechanisms for the same user.

4. Localisation
The service is available in English, Dutch and French. You can define
application level codes as XML schema enumerations and use these types
in your
ValueObjects. These d

Writing a JS library in GWT?

2010-07-26 Thread S Rabin
I've done quite a bit of searching to find any information about this,
but it seems that people are more concerned with writing GWT libraries
to keep in GWT before compilation.

I would like to write the libraries I frequently use in my projects in
GWT, then compile and expose them to hand-written Javascript.  I have
several issues with the way GWT seems to handle what I want to do:

1) Bootstrapping.  I understand that the iframe loading method is
highly efficient for large codebases so as to make the page non-
blocking, but for a small library bootstrapping is overkill.  To test,
I tried writing my TableGenerator library (a 7kb handwritten non-
minified library) in GWT.  The result was a 6 kb deferred binding
loader file (table.nocache.js) and 4 permutations of compiled JS
weighing in at 20-30kb each.  Which brings me to issue #2

2) For compiling the code, GWT seems to produce LARGER codebases.
Fast, yes, but how does 3-5kb of source result in 20-30kb of compiled
javascript? Is there a way to crop out all the unnecessary cruft GWT
seems to think I need?

3) I would prefer to not have a bootloader - I anticipate the compiled
form of my code is going to be smaller than the bootstrap code and
would rather it just be loaded.  Is there a compilation option to
disable permutations and output (obviously more to handle different
implementations) code that works in all browsers?

Sincerely,
Scott Rabin

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



Multiple remote service implementations

2010-07-26 Thread Vinicius Carvalho
Hi there!

Since GWT creates the binding with the server using:

GWT.create(Interface)

What if I have several services implementations for the same
interface? Is it possible to handle?

Regards

-- 
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: First GWT question: DockLayoutPanel and presenter/views

2010-07-26 Thread PeteUK
Hi Tanguy,

Thanks for the reply. I had read the blog link you posted (and part
II).

In the Contact application, the *entire* application area is initially
taken up with the contacts list. When a contact is chosen for editing
(or the Add button pressed), the *entire* area is replaced by the edit
contact view.

I see the DockLayoutPanel as being different to this. Let's assume the
Mail application was to be changed to be a bit more Outlook like. The
change being a calendar option that could be chosen from the left hand
side (where Mailboxes, Tasks, and Contacts are). When that calendar is
chosen, you don't want the entire application area to be replaced,
you'd just want the two split windows in the centre area to be
replaced by a big calendar.

I am wondering how that would be orchestrated within the application?
Would MVP be used here, and if so, how?

Thanks,

Pete

On 26 July, 14:59, Tanguy Le Barzic  wrote:
> Hi Pete,
>
> The Mail application from the samples doesn't follow the MVP pattern and its
> separation between views and presenters. I suggest you read the articles
> from the blog about mvp 
> (http://code.google.com/webtoolkit/articles/mvp-architecture.html), which
> include an example similar to Mail (a Contact application). Concerning
> DockLayoutPanel, it would be part of the view in an application following
> MVP (as it defines how your application will look like).
> Hope this helps
>
> --
> Tanguy
>
> 2010/7/25 PeteUK 
>
> > Hello,
>
> > I've been investigating GWT recently and want to start writing with
> > it. This is my first question on here, so pardon my ignorance.
>
> > I had just got my head around presenters and views. I then tried out
> > the Mail application that ships with 2.0.4 Eclipse plugin and this
> > looks really good. Looking at the source code though, I cannot see any
> > presenters or views and wonder if when using DockLayoutPanel (as the
> > Mail application does), would one also use presenters and views? If
> > so, how would they be used with the DockLayoutPanel? What portion of
> > the DockViewPanel would a view represent?
>
> > Thanks,
>
> > Pete
>
> > --
> > 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: Unable to add the GWT plugin into eclipse 3.6

2010-07-26 Thread Rajeev Dayal
Also, is that the full set of errors? Are you able to scroll down and see if
any more errors are listed there?

On Mon, Jul 26, 2010 at 10:21 AM, Jeff Chimene  wrote:

> Hi:
>
> What's your baseline Eclipse install (JavaEE, C/C++...) I've been using
> Java EE
>
>
> On Mon, Jul 26, 2010 at 4:49 AM, Nabhonil  wrote:
>
>> hi,
>>
>> I am not able to add the GWT plugin into eclipse 3.6. The url i am
>> using is  http://dl.google.com/eclipse/plugin/3.6 and when I select
>> Plugin and SDK and Click on Next it fails with the error
>>
>> Cannot complete the install because one or more required items could
>> not be found.
>> Software being installed: Google App Engine Java SDK 1.3.5
>> 1.3.5.v201006301309
>>
>> Any ideas whats going wrong here.
>>
>> Thanks
>> Nabhonil
>>
>> --
>> 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.
>

-- 
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: uibinder @import url..

2010-07-26 Thread lineman78
This is an external stylesheet and cannot be used with the @import
annotation.  As I said before, you will have to either download the
css and include it with your module or add it to the gwt.xml file.

On Jul 26, 8:02 am, asianCoolz  wrote:
> can you give example how to use styleInjector replace of @import?
>
> i'm refering tohttp://code.google.com/p/google-web-toolkit/wiki/StyleInjector
> and try put @Source("http://fonts.googleapis.com/css?family=Lobster";);
> but eclipse prompt for error. any example?

-- 
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: First GWT question: DockLayoutPanel and presenter/views

2010-07-26 Thread dane.molotok
I have done exactly that for an application. There's no reason you
cannot have a view, with a corresponding presenter, that contains two
views that have their own presenters. You can even use UiBinder to put
those two views within the higher level view. So your DockLayoutPanel
might be your base widget for your higher level view, and you might
have MyWestView to the west and MyCenterView to the right. Then it's
just a matter of binding the presenters to the instances of the views
the higher level view references.

On Jul 26, 11:02 am, PeteUK  wrote:
> Hi Tanguy,
>
> Thanks for the reply. I had read the blog link you posted (and part
> II).
>
> In the Contact application, the *entire* application area is initially
> taken up with the contacts list. When a contact is chosen for editing
> (or the Add button pressed), the *entire* area is replaced by the edit
> contact view.
>
> I see the DockLayoutPanel as being different to this. Let's assume the
> Mail application was to be changed to be a bit more Outlook like. The
> change being a calendar option that could be chosen from the left hand
> side (where Mailboxes, Tasks, and Contacts are). When that calendar is
> chosen, you don't want the entire application area to be replaced,
> you'd just want the two split windows in the centre area to be
> replaced by a big calendar.
>
> I am wondering how that would be orchestrated within the application?
> Would MVP be used here, and if so, how?
>
> Thanks,
>
> Pete
>
> On 26 July, 14:59, Tanguy Le Barzic  wrote:
>
>
>
> > Hi Pete,
>
> > The Mail application from the samples doesn't follow the MVP pattern and its
> > separation between views and presenters. I suggest you read the articles
> > from the blog about mvp 
> > (http://code.google.com/webtoolkit/articles/mvp-architecture.html), which
> > include an example similar to Mail (a Contact application). Concerning
> > DockLayoutPanel, it would be part of the view in an application following
> > MVP (as it defines how your application will look like).
> > Hope this helps
>
> > --
> > Tanguy
>
> > 2010/7/25 PeteUK 
>
> > > Hello,
>
> > > I've been investigating GWT recently and want to start writing with
> > > it. This is my first question on here, so pardon my ignorance.
>
> > > I had just got my head around presenters and views. I then tried out
> > > the Mail application that ships with 2.0.4 Eclipse plugin and this
> > > looks really good. Looking at the source code though, I cannot see any
> > > presenters or views and wonder if when using DockLayoutPanel (as the
> > > Mail application does), would one also use presenters and views? If
> > > so, how would they be used with the DockLayoutPanel? What portion of
> > > the DockViewPanel would a view represent?
>
> > > Thanks,
>
> > > Pete
>
> > > --
> > > 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 > >  cr...@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: TabPanel within TabPanel styling

2010-07-26 Thread lineman78
you can also use css dom selectors that would style the gwt-tabPanel
classes differently if they are the child of another gwt-tabPanel

On Jul 25, 9:30 am, mobilekid  wrote:
> My app's layout consists of a TapPanel, which holds another TabPanel.
> I'd like to have the two TabPanels look differently. Following the GWT
> tutorial on applying styles I did the following:
>
> TabPanel innerTabPanel= new TabPanel();
> //carriersTabPanel.setSize("100%", "100%");
> innerTabPanel.addStyleName("inner-tabPanel");
>
> .gwt-TabPanel .inner-tabPanel{
>     width: 100%;
>     height: 100%;}
>
> This, however, did not have any effect whatsoever. Then I tried the
> following, but that didn't work either:
>
> .inner-tabPanel{
>     width: 100%;
>     height: 100%;
>
> }
>
> So how I can style the two panels separately?

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



Strange Mail from group 'islam'

2010-07-26 Thread jsaar
After having posted a question to GWT ...

Has anynone had problems of thos kind?

-- 
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: Creating a separate GWT servlet page

2010-07-26 Thread Irving Ruan
What would I need to do in web.xml to instantiate other entry-point
classes?

Right now, mine looks like thus:


http://java.sun.com/dtd/web-app_2_3.dtd";>



   
  
rpcServlet
server.RPCCoreServiceImpl
  

  
rpcServlet
/web_app/rpcService
  



  
  
WebApp.html
  







Would I just add something like this:
   
  
adminServlet
client.AdminPanel
  

  
adminServlet
/web_app/adminPanel
  

And would I add entry point onModuleLoad in my AdminPanel.java?






On Jul 23, 5:30 pm, mkh  wrote:
> You can certainly define multiple modules in one web app. I use
> Intellij IDEA, and this is as simple as hitting Alt-Insert and picking
> GWT/ Module.
>
> The downside of doing this is the GWT compile time goes up directly
> with the number of modules since each is processed independently.
>
> On Jul 23, 2:45 pm, Irving Ruan  wrote:
>
> > Sorry if that sounded confusing.
>
> > Hopefully, this puts it in a perspective that can be understood:
>
> > HTML-Entry Point class associations --
> > Module1.html - Module1:EntryPoint.class,
> > Module2.html - Module2:EntryPoint.class
>
> > Would it be possible to create something like that, where you can have
> > two separate projects or something and load two different entry point
> > classes? Is there some easier way to achieve this without segregating
> > it into two different projects and combining the output?
>
> > The security party isn't really important as of this moment - but onto
> > the previous issue: in order to keep it in one project, would I need
> > to modify my web.xml to include different modules for each new .html
> > page/entry point class?
>
> > -I.
>
> > On Jul 23, 6:37 am, mkh  wrote:
>
> > > The notion of pages in a GWT app for someone experiences with a
> > > traditional web app (for example, a JSF based app) is definitely a bit
> > > confusing.
>
> > > The basic scheme of displaying different panels (in the same page) is
> > > the GWT approach, but how would you handle the situation where the
> > > "admin" section of the app needs to be protected by a security
> > > constraint requiring the user to login before that portion of the app
> > > is available? In JSF this is straight forward, based on the path. But
> > > with GWT to have another path you would need to have another module
> > > with another host page...
>
> > > On Jul 23, 4:06 am, cokol  wrote:
>
> > > > what you mean by "page"? so you mean not actually an entry point or
> > > > screen but rather a usual HTML page? then just write your .jsp , like
> > > > adminPage.jsp. Or if you really want to write a panel with much HTML
> > > > try using UiBinder.
>
> > > > and remember - there is no "page" in GWT applications, however, you
> > > > can combile html pages with GWT written UI. So if you want to design a
> > > > second gwt-screen you just do so by createing a new panel (adminPanel)
> > > > and just make in visible in the onClick() event of your menu or the
> > > > trigger button.
>
> > > > On 22 Jul., 21:28, Irving Ruan  wrote:
>
> > > > > Hello,
>
> > > > > Right now, I have my main web app displaying just fine on the page
> > > > > when I run it through Eclipse GWT plugin.
>
> > > > > When I navigate 
> > > > > tohttp://127.0.0.1:/WebApp.html?gwt.codesvr=127.0.0.1:9997
> > > > > I see my main page.
>
> > > > > Now, I want to add an admin page where special users can edit stuff,
> > > > > which basically necessitates that I need another page view. While I do
> > > > > know how to create UIs, my problem is that I'm not sure how to
> > > > > instantiate the page in my web.xml or WebApp.gwt.xml.
>
> > > > > Here's what my web.xml contains:
>
> > > > > 
>
> > > > >    
> > > > >   
> > > > >     rpcServlet
> > > > >     com.app.server.RPCCoreServiceImpl
> > > > >   
>
> > > > >   
> > > > >     rpcServlet
> > > > >     /webapp/rpcService
> > > > >   
>
> > > > >   
> > > > >   
> > > > >     WebApp.html
> > > > >   
>
> > > > > 
>
> > > > > What would I need to change in my web.xml or WebApp.gwt.xml to be able
> > > > > to instantiate a class, such as AdminPanel.java, as a page I can
> > > > > navigate to and see? How would I be able to map that to my local 
> > > > > URLhttp://127.0.0.1:/WebApp.html?gwt.codesvr=127.0.0.1:9997
>
> > > > > Thanks in advance,
> > > > > Irving

-- 
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: Writing a JS library in GWT?

2010-07-26 Thread lineman78
First, let me start by saying that people are already writing
javascript libraries using GWT and have been for some time.  Ray
Cromwell created the GWT exporter library for this exact purpose for
his own usage and open sourced it.  While bootloaders seem expensive
it is the only way to deliver the most efficient code to the client.
There is no possible way for code size to grow when compiled because
if you go far enough every method will eventually make it to a JSNI
method, so what you are missing in your calculations is all the code
supplied by google and the small overhead code involved with the
bootloader.  However, there is a linker available to create only one
output, but in order for this to work the compilation must result in
only one permutation, which is almost impossible unless you know the
browser your client will be using.  You asked: "Is there a way to crop
out all the unnecessary cruft GWT seems to think I need?".  You can
write your own linker if you feel that you know better than google
when it comes to the bootloader, but as far as the compiled code
itself; the GWT compiler has very aggressive dead code elimination, so
any output code will be used at some point.

On Jul 26, 9:21 am, S Rabin  wrote:
> I've done quite a bit of searching to find any information about this,
> but it seems that people are more concerned with writing GWT libraries
> to keep in GWT before compilation.
>
> I would like to write the libraries I frequently use in my projects in
> GWT, then compile and expose them to hand-written Javascript.  I have
> several issues with the way GWT seems to handle what I want to do:
>
> 1) Bootstrapping.  I understand that the iframe loading method is
> highly efficient for large codebases so as to make the page non-
> blocking, but for a small library bootstrapping is overkill.  To test,
> I tried writing my TableGenerator library (a 7kb handwritten non-
> minified library) in GWT.  The result was a 6 kb deferred binding
> loader file (table.nocache.js) and 4 permutations of compiled JS
> weighing in at 20-30kb each.  Which brings me to issue #2
>
> 2) For compiling the code, GWT seems to produce LARGER codebases.
> Fast, yes, but how does 3-5kb of source result in 20-30kb of compiled
> javascript? Is there a way to crop out all the unnecessary cruft GWT
> seems to think I need?
>
> 3) I would prefer to not have a bootloader - I anticipate the compiled
> form of my code is going to be smaller than the bootstrap code and
> would rather it just be loaded.  Is there a compilation option to
> disable permutations and output (obviously more to handle different
> implementations) code that works in all browsers?
>
> Sincerely,
> Scott Rabin

-- 
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: First GWT question: DockLayoutPanel and presenter/views

2010-07-26 Thread PeteUK
Dane,

Thanks for your response. I have probably been thinking too rigidly
about the presenter/view paradigm and concluding that presenter/view
is 1) for the top level of the application only and 2) only 1
instantiation of a presenter/view at any one time.

Now I see that it can be as fragmented as you want it to be. I shall
experiment...

Thanks,

Pete

On 26 July, 17:23, "dane.molotok"  wrote:
> I have done exactly that for an application. There's no reason you
> cannot have a view, with a corresponding presenter, that contains two
> views that have their own presenters. You can even use UiBinder to put
> those two views within the higher level view. So your DockLayoutPanel
> might be your base widget for your higher level view, and you might
> have MyWestView to the west and MyCenterView to the right. Then it's
> just a matter of binding the presenters to the instances of the views
> the higher level view references.
>
> On Jul 26, 11:02 am, PeteUK  wrote:
>
> > Hi Tanguy,
>
> > Thanks for the reply. I had read the blog link you posted (and part
> > II).
>
> > In the Contact application, the *entire* application area is initially
> > taken up with the contacts list. When a contact is chosen for editing
> > (or the Add button pressed), the *entire* area is replaced by the edit
> > contact view.
>
> > I see the DockLayoutPanel as being different to this. Let's assume the
> > Mail application was to be changed to be a bit more Outlook like. The
> > change being a calendar option that could be chosen from the left hand
> > side (where Mailboxes, Tasks, and Contacts are). When that calendar is
> > chosen, you don't want the entire application area to be replaced,
> > you'd just want the two split windows in the centre area to be
> > replaced by a big calendar.
>
> > I am wondering how that would be orchestrated within the application?
> > Would MVP be used here, and if so, how?
>
> > Thanks,
>
> > Pete
>
> > On 26 July, 14:59, Tanguy Le Barzic  wrote:
>
> > > Hi Pete,
>
> > > The Mail application from the samples doesn't follow the MVP pattern and 
> > > its
> > > separation between views and presenters. I suggest you read the articles
> > > from the blog about mvp 
> > > (http://code.google.com/webtoolkit/articles/mvp-architecture.html), which
> > > include an example similar to Mail (a Contact application). Concerning
> > > DockLayoutPanel, it would be part of the view in an application following
> > > MVP (as it defines how your application will look like).
> > > Hope this helps
>
> > > --
> > > Tanguy
>
> > > 2010/7/25 PeteUK 
>
> > > > Hello,
>
> > > > I've been investigating GWT recently and want to start writing with
> > > > it. This is my first question on here, so pardon my ignorance.
>
> > > > I had just got my head around presenters and views. I then tried out
> > > > the Mail application that ships with 2.0.4 Eclipse plugin and this
> > > > looks really good. Looking at the source code though, I cannot see any
> > > > presenters or views and wonder if when using DockLayoutPanel (as the
> > > > Mail application does), would one also use presenters and views? If
> > > > so, how would they be used with the DockLayoutPanel? What portion of
> > > > the DockViewPanel would a view represent?
>
> > > > Thanks,
>
> > > > Pete
>
> > > > --
> > > > 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 > > >  cr...@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: Strange Mail from group 'islam'

2010-07-26 Thread Nabeel Ali Memon
No, i've never been hit by spam due to signing up with gwt mailing list :)

Nabeel

On Mon, Jul 26, 2010 at 9:39 PM, jsaar  wrote:

> After having posted a question to GWT ...
>
> Has anynone had problems of thos kind?
>
> --
> 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.



Displaying google maps with IE7

2010-07-26 Thread George Georgovassilis
I've recently run into the following rather bewildering issue where
maps display fine in all browsers but IE6 and IE7.

My GWT 2.0.4 client app is using GWT maps API 1.1 jar (against maps
API 2). The maps API loads ok, but IE6 and IE7 won't display the map
widget content - no errors thrown.

Interestingly, when the user agent is pinned to "ie8" in the module
file then maps will display fine even on IE7.

Has anyone run into this before?

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



Using the Eclipse plugin to install a previous version of GWT

2010-07-26 Thread Greg Dougherty
Hi,

I'm going to be using a tool in GWT that is built against GWT 1.7.  Is
it possible to use the Eclipse plugin to install a previous version of
GWT?  I uncheckd "Show only the latest version", but stil the only
thing I could see was GWT 2.0.4.

TIA,

Greg

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



GWT HIBERNATE ECLIPSE

2010-07-26 Thread Sebastian Coronado A.
Hello I am testing a gwt project using rpc to comunicate with the
server, using hibernate and postgres, Everything compiles okey but
when I run it as a Web Aplicacation it says the following error:

21:41:22.992 [ERROR] [hiberpost] Errors in 'file:/Users/Sebastian/
Documents/workspace/hiberpost/src/com/uls/client/Hiberpost.java'

21:41:23.107 [ERROR] [hiberpost] Line 47: No source code is available
for type com.hiber.pregunta; did you forget to inherit a required
module?


Note that if I run things as a java aplication everything works...


Well I will atach my eclipse project ..., I hope someone can help
me ...
the file can be downloaded here
http://www.2shared.com/file/HLbCuBi1/hiberpost.html
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.



What changed in 2.0?

2010-07-26 Thread Greg Dougherty
It's really interesting looking at the GWT Docs.  I can go here:

http://code.google.com/webtoolkit/previousdocs.html

and see the release notes for previous versions.  I can go here:

http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html

and find out what's coming with 2.1

Where do I go to find out what changed from 1.7 to 2.0?

TIA,

Greg

-- 
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: What changed in 2.0?

2010-07-26 Thread Jim Douglas
This is a high level overview, but it's a starting point:

http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html
http://en.wikipedia.org/wiki/Google_Web_Toolkit#GWT_2.0

On Jul 26, 9:45 am, Greg Dougherty  wrote:
> It's really interesting looking at the GWT Docs.  I can go here:
>
> http://code.google.com/webtoolkit/previousdocs.html
>
> and see the release notes for previous versions.  I can go here:
>
> http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html
>
> and find out what's coming with 2.1
>
> Where do I go to find out what changed from 1.7 to 2.0?
>
> TIA,
>
> Greg

-- 
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: Using the Eclipse plugin to install a previous version of GWT

2010-07-26 Thread Jeff Chimene
On 07/26/2010 09:38 AM, Greg Dougherty wrote:
> Hi,
> 
> I'm going to be using a tool in GWT that is built against GWT 1.7.  Is
> it possible to use the Eclipse plugin to install a previous version of
> GWT?  I uncheckd "Show only the latest version", but stil the only
> thing I could see was GWT 2.0.4.
> 
> TIA,
> 
> Greg
> 

Hi Greg,

Just download the GWT version you want, unpack it into a directory, and
add the directory via the GPE as an alternate version. Be aware, though,
that the GPE GWT 2.x compile command line arguments may not match GWT
1.7, so you might not be able to use the current "Compile" widget with
1.7  IOW, you might need a custom Eclipse "Java launch" to compile 1.7

-- 
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: Multiple remote service implementations

2010-07-26 Thread Vinicius Carvalho
I'm still looking for a solution for this.

My problem, is that I'm creating a widget, and that widget relies on a
remoteservice. But I have different service implementations, that must
implement the same interface. One way I found of doiing this is having
2 interfaces that extend the same interface for instance:

MyRemoteService1 extends WidgetInterface

MyRemoteService2 extends WidgetInterface


When using the widget, I pass the constructed service to its
constructor:

MyWidget m = new MyWidget(GWT.create(MyRemoteService1);
MyWidget m2 = new MyWidget(GWT.create(MyRemoteService2);

The problem with this, is that the view that contains my widget is
going to have a dependency with the widget's service, and that should
be bound only to it.

So is there any way, to have several implementations of same interface
to create a GWT service RPC?

Regards



On Jul 26, 12:59 pm, Vinicius Carvalho 
wrote:
> Hi there!
>
> Since GWT creates the binding with the server using:
>
> GWT.create(Interface)
>
> What if I have several services implementations for the same
> interface? Is it possible to handle?
>
> Regards

-- 
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: Does these books still compatible with the new GWT ?

2010-07-26 Thread wil.pannell
Essential GWT: Building for the Web with Google Web Toolkit 2.0 is on
Rough Cuts (Safari Books On-Line).

Programmation GWT 2 : Développer des applications RIA et Ajax avec
Google Web Toolkit is on http://www.amazon.fr.  There's an e-book
available on line and pages can be google-translated 1-by-1, but there
is no complete English translation that I know of.

On Jul 8, 8:41 pm, conrado  wrote:
> Hi,
>
> this is my first post to the group. Sorry for any mistakes.
>
> I'd like to emphasize, as stated above, that printedbooksare out-
> dated. I've gone through manybooksand they all cover the very basics
> of getting started with Appengine and GWT. I would like to point out
> that, even though in the 2009 Google IO, Google was already pushing
> for the MVP pattern, and all the other goodies that make enterprise
> grade applications (testing, declarative UI, i18n, etc.) are not
> covered in any of thebooksin great detail.
>
> In fact, most of thebooksfeel like a HOWTO, and not worth your money
> in my opinion.
>
> Just to get you started, I would suggest you go through the GWT
> session videos on the 2010 IO:
>
> http://code.google.com/events/io/2010/sessions.html
>
> I've made a little list of the things I've had to review (and am still
> in the process of doing so), to make a great application.
>
> Well tested
>     -http://code.google.com/webtoolkit/articles/mvp-architecture.html#testing
>     -http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
> Secure SafeHTML
>     -http://code.google.com/p/wave-protocol/
> Monitored
>     -http://code.google.com/p/gwt-log/
>     -http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions
> Scalable
>     -http://code.google.com/webtoolkit/articles/mvp-architecture.html
> Bookmarfriendly - ?
> Crawlable
>     -http://code.google.com/web/ajaxcrawling/docs/getting-started.html
> Localized
>     -http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinderI18n.html
>
> This covers the "background" knowledge you need. But I would suggest
> you also pick up on Roo. Which, unfortunately, isn't shoved down our
> throats, and seems a little lacking in documentation at the moment.
>
> Good luck,
> Conrado.
>
> On Jul 8, 5:33 am, "Rachmat Kukuh R."  wrote:
>
>
>
> > I have a plan to buy thesebooks:
>
> > 1. GWT in Practice [Manning, 2008]
> > 2. Pro Web 2.0 Application Development with GWT (Pro) [Apress. 2008]
> > 3. Beginning Google Web Toolkit [Apress, 2008]
>
> > But, does thosebooksstill compatible with the new GWT ?
>
> > Thx before! :)

-- 
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: HTML5 Offline GWT APP

2010-07-26 Thread Julio Faerman
Thanks Arthur, the linker works perfectly.
I also made a servlet to add the "text/cache-manifest" content type
and  redirect to the generated manifest file.
But i still can't use my app ofline.

Is there any browser capable of debugging HTML5 offline cache?

Know i have a error event, discovered using this script:
http://jonathanstark.com/blog/2009/09/27/debugging-html-5-offline-application-cache/
But the response is coming correctly, but i don't know what i am doing
wrong.

Is there any deployable examples of this?
I am using google plugin for eclipse and gae-java

On Jul 26, 12:30 pm, Arthur Kalmenson  wrote:
> Yeah, that's definitely possible to do. You need to use a Linker to
> build the manifest at the end. There was a Linkers talk at Google I/O
> that discussed building an HTML 5 manifest 
> Linker:http://code.google.com/events/io/2010/sessions/gwt-linkers-webworkers
> You could also pull it out of the Speed Tracer source.
>
> --
> Arthur Kalmenson
>
> On Fri, Jul 23, 2010 at 8:40 AM, Julio Faerman  wrote:
> > Hi,
>
> > I am trying to build a offline gwt app using HTML5 cache manifest and
> > local storage, but to do that, i need to build the manifest file
> > listing all the GWT generated files, right?
> > Can i do this during the compile process or is it better to do this in
> > a shell script?
>
> > Thanks,
> > Julio
>
> > --
> > 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: Displaying google maps with IE7

2010-07-26 Thread Eric Ayers
First, make sure your hosted html page is set to standards mode.  The
first line should be something like:



On Mon, Jul 26, 2010 at 1:17 PM, George Georgovassilis
 wrote:
> I've recently run into the following rather bewildering issue where
> maps display fine in all browsers but IE6 and IE7.
>
> My GWT 2.0.4 client app is using GWT maps API 1.1 jar (against maps
> API 2). The maps API loads ok, but IE6 and IE7 won't display the map
> widget content - no errors thrown.
>
> Interestingly, when the user agent is pinned to "ie8" in the module
> file then maps will display fine even on IE7.
>
> Has anyone run into this before?
>
> --
> 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.
>
>



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



GWT Client HTML Page and Server Services in separate war files

2010-07-26 Thread gopinath.chand
Hi,

   I'm new to GWT so I please excuse me for any primitive question...

1. We have our client generated HTML, JS in a separate war file - This
war file is served from root context /
2. We have another war file which has server service components - This
war file is served from context /bizlogic

None of our transfer objects implement IsSerializable, but they do
implement Serializable. It was working when both server and client
were in the same war, but stops working when they are separated.. I am
getting an exception saying Object not serialized for security
reasons, since it does not implement IsSerializable. But when I make
those objects implement IsSerializable it works perfectly fine.

RemoteServiceServlet.java::loadSerializationPolicy() - It looks like
module name and context path should match, but that's not the case
with us. Is that a problem? any suggestion/advice on how to proceed.

Thanks for your time..

-Gopi

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



GWT Error Unable to find .gwt.xml

2010-07-26 Thread Soeren B
Hi Community,
many of you know the following problem:

ERROR] Unable to find 'uivers2/Uivers2.gwt.xml' on your classpath;
could be a typo, or maybe you forgot to include a classpath entry for
source?

Has anyone solved it? Could you please say me what I have to do? I
imported the JAR of the newest incubator of gwt, I am working with gwt
2.04.

Regrads,
soeren

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



Serialization problems

2010-07-26 Thread Vinicius Carvalho
Hello there. We have our domain model files in a separate jar

com.acme.model is the base package for it

in our gwt.xml file we have 

And everything was ok. We then add a new subfolder: search

com.acme.model.search

And all classes there implement java.io.Serializable just like the
other model classes

But now, we get

com.google.gwt.user.client.rpc.SerializationException: Type 'xxx' was
not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and
did not have a custom field serializer. For security purposes, this
type will not be deserialized.

When invoking the remote service. The odd part is that it never
happened for the other classes that only implemented
java.io.Serializable.

I though that the source directive at the xml was recursive, do I need
to add each package?

Regardds

-- 
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: Strange Mail from group 'islam'

2010-07-26 Thread Breno Gomes
yes


2010/7/26 Nabeel Ali Memon 

> No, i've never been hit by spam due to signing up with gwt mailing list :)
>
> Nabeel
>
>
> On Mon, Jul 26, 2010 at 9:39 PM, jsaar wrote:
>
>> After having posted a question to GWT ...
>>
>> Has anynone had problems of thos kind?
>>
>> --
>> 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.
>

-- 
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: Multiple remote service implementations

2010-07-26 Thread Peter Simun
And why not in this way?

WidgetInterfaceAsync widgetInterface1 = (WidgetInterfaceAsync)
GWT.create(WidgetInterface.class);
ServiceDefTarget endpoint = (ServiceDefTarget) widgetInterface1;
endpoint.setServiceEntryPoint("/service1);

WidgetInterfaceAsync widgetInterface2 = (WidgetInterfaceAsync)
GWT.create(WidgetInterface.class);
ServiceDefTarget endpoint = (ServiceDefTarget) widgetInterface2;
endpoint.setServiceEntryPoint("/service2);

Peter

On 26. Júl, 20:04 h., Vinicius Carvalho 
wrote:
> I'm still looking for a solution for this.
>
> My problem, is that I'm creating a widget, and that widget relies on a
> remoteservice. But I have different service implementations, that must
> implement the same interface. One way I found of doiing this is having
> 2 interfaces that extend the same interface for instance:
>
> MyRemoteService1 extends WidgetInterface
>
> MyRemoteService2 extends WidgetInterface
>
> When using the widget, I pass the constructed service to its
> constructor:
>
> MyWidget m = new MyWidget(GWT.create(MyRemoteService1);
> MyWidget m2 = new MyWidget(GWT.create(MyRemoteService2);
>
> The problem with this, is that the view that contains my widget is
> going to have a dependency with the widget's service, and that should
> be bound only to it.
>
> So is there any way, to have several implementations of same interface
> to create a GWT service RPC?
>
> Regards
>
> On Jul 26, 12:59 pm, Vinicius Carvalho 
> wrote:
>
> > Hi there!
>
> > Since GWT creates the binding with the server using:
>
> > GWT.create(Interface)
>
> > What if I have several services implementations for the same
> > interface? Is it possible to handle?
>
> > Regards

-- 
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: GWT Error Unable to find .gwt.xml

2010-07-26 Thread lineman78
This is a generic error and can be caused by many different things.

1) Malformed include in gwt.xml
2) Classpath issues
3) Malformed script tag in the head of the html file
4) Trying to use a non-GWT project

I have also randomly seen this error in hosted mode and a Ctrl+F5
usually fixes it.  This used to be a common occurrence before OOPHM
with Eclipse and rename-to combined with an external server, so if you
are using an older version of GWT(pre 2.0) I suggest updating.

On Jul 26, 12:14 pm, Soeren B  wrote:
> Hi Community,
> many of you know the following problem:
>
> ERROR] Unable to find 'uivers2/Uivers2.gwt.xml' on your classpath;
> could be a typo, or maybe you forgot to include a classpath entry for
> source?
>
> Has anyone solved it? Could you please say me what I have to do? I
> imported the JAR of the newest incubator of gwt, I am working with gwt
> 2.04.
>
> Regrads,
> soeren

-- 
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: Displaying google maps with IE7

2010-07-26 Thread George Georgovassilis
Hello Eric,

The page is in standards mode. How do I debug this?

On Jul 26, 8:48 pm, Eric Ayers  wrote:
> First, make sure your hosted html page is set to standards mode.  The
> first line should be something like:
>
> 
>
> On Mon, Jul 26, 2010 at 1:17 PM, George Georgovassilis
>
>
>
>  wrote:
> > I've recently run into the following rather bewildering issue where
> > maps display fine in all browsers but IE6 and IE7.
>
> > My GWT 2.0.4 client app is using GWT maps API 1.1 jar (against maps
> > API 2). The maps API loads ok, but IE6 and IE7 won't display the map
> > widget content - no errors thrown.
>
> > Interestingly, when the user agent is pinned to "ie8" in the module
> > file then maps will display fine even on IE7.
>
> > Has anyone run into this before?
>
> > --
> > 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.
>
> --
> 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-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.



GWT 2.1 how to customize style for TextColumn

2010-07-26 Thread Ted
Hello,

Does anyone have a suggestion for the preferred way to customize a
style for a given cell using a TextColumn with the new Data
Presentation Widgets framework in GWT 2.1?

Thanks,
Ted

-- 
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: Using the Eclipse plugin to install a previous version of GWT

2010-07-26 Thread Rajeev Dayal
Hi Greg,

Jeff is correct; even though you cannot download the GWT 1.7 SDK in bundled
form, you can still download the zip file separately, unpack it, and then
add the SDK to GPE using this method:

http://code.google.com/eclipse/docs/using_sdks.html

The compilation should
work even when using GWT 1.7.


Rajeev

On Mon, Jul 26, 2010 at 1:39 PM, Jeff Chimene  wrote:

> On 07/26/2010 09:38 AM, Greg Dougherty wrote:
> > Hi,
> >
> > I'm going to be using a tool in GWT that is built against GWT 1.7.  Is
> > it possible to use the Eclipse plugin to install a previous version of
> > GWT?  I uncheckd "Show only the latest version", but stil the only
> > thing I could see was GWT 2.0.4.
> >
> > TIA,
> >
> > Greg
> >
>
> Hi Greg,
>
> Just download the GWT version you want, unpack it into a directory, and
> add the directory via the GPE as an alternate version. Be aware, though,
> that the GPE GWT 2.x compile command line arguments may not match GWT
> 1.7, so you might not be able to use the current "Compile" widget with
> 1.7  IOW, you might need a custom Eclipse "Java launch" to compile 1.7
>
> --
> 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: Using the Eclipse plugin to install a previous version of GWT

2010-07-26 Thread Greg Dougherty
Thanks Jeff.

On Jul 26, 12:39 pm, Jeff Chimene  wrote:
> On 07/26/2010 09:38 AM, Greg Dougherty wrote:
>
> > Hi,
>
> > I'm going to be using a tool in GWT that is built against GWT 1.7.  Is
> > it possible to use the Eclipse plugin to install a previous version of
> > GWT?  I uncheckd "Show only the latest version", but stil the only
> > thing I could see was GWT 2.0.4.
>
> > TIA,
>
> > Greg
>
> Hi Greg,
>
> Just download the GWT version you want, unpack it into a directory, and
> add the directory via the GPE as an alternate version. Be aware, though,
> that the GPE GWT 2.x compile command line arguments may not match GWT
> 1.7, so you might not be able to use the current "Compile" widget with
> 1.7  IOW, you might need a custom Eclipse "Java launch" to compile 1.7

-- 
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: What changed in 2.0?

2010-07-26 Thread Greg Dougherty
Thanks.  It would be nice if one or both of these were linking from
the Documentation page.

Greg

On Jul 26, 12:31 pm, Jim Douglas  wrote:
> This is a high level overview, but it's a starting point:
>
> http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...http://en.wikipedia.org/wiki/Google_Web_Toolkit#GWT_2.0
>
> On Jul 26, 9:45 am, Greg Dougherty  wrote:
>
> > It's really interesting looking at the GWT Docs.  I can go here:
>
> >http://code.google.com/webtoolkit/previousdocs.html
>
> > and see the release notes for previous versions.  I can go here:
>
> >http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html
>
> > and find out what's coming with 2.1
>
> > Where do I go to find out what changed from 1.7 to 2.0?
>
> > TIA,
>
> > Greg

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



GWT 2.0 and SeaMonkey

2010-07-26 Thread Greg Dougherty
(For those who don't know, SeaMonkey is pretty much the direct
inheritor of Mozilla.)

I prefer SeaMonkey to FireFox.  Is there a GWT Developer Plugin for
SeaMonkey?  (Yes, I know this only matters for 2.0+.  But eventually I
will be using it.)

TIA,

GReg

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



menuItem command create tab in tabPanel

2010-07-26 Thread lanfeust
hi

In my application

I have created a widget that contain a menubar and menuItem.
I have also create another widget that contain  a tabPanel.

each off this object are instantiate separately.

I don't know howto :
 When user click on menuItem i want to create a new tab

I don't understand howto retrieve my tabPanel object for use :
   myTabPanel.add(widget)

in menuBar widget class.


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.



XML Validation directly

2010-07-26 Thread John Ivens
I know that this is off topic for GWT, but if anyone knows of how to
validate an XML file directly by using something like Apache Commons
Validation, but without needing to create a bean or a form, I would
appreciate knowing about it.  Basically, we have XML files that we would
like to validate directly out of XML, but using a validation in XML (in a
seperate or the same file).  The reason we want to do this is that during
development we would like to have a very quick way of generating validation
without needing to be constantly updating screens and forms, just change the
XML (in one file or two, depending on what resources are out there).

Thanks in advance...

-- 
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: Another Ajax Crawling question, is "#!&" acceptable rather then just "#!" ?

2010-07-26 Thread Thomas Wrobel
Sorry for my late reply.
Lets say I have a url like this;

http://www.rateoholic.co.uk/main/Rateoholic_Frame.html#!SEARCHFOR=star%20wars&TYPE=videogame

Google Bot will turn it to this;

http://www.rateoholic.co.uk/main/Rateoholic_Frame.html?_escaped_fragment_SEARCHFOR=star%20wars&TYPE=videogame

Correct?

Now, in PHP you normally access the query string data by calls like $_GET[].
Only in this case if you call  $_GET['SEARCHFOR'] you wont get the
value "star wars" like you normally would, because google bot has
added "_escaped_fragment_" to the start of the key value.
You could still get the other key/value pairs just fine following the
"&" sign, but the first one be visible in the normal way.

See the problem?

I've come up with some solutions, but they arn't that pretty.
One way is to remove the _escaped_fragment_ from the start of the
string and make my own parser for the key/value pairs.

The other is to search for   $_GET['_escaped_fragment_SEARCHFOR']
instead of SEARCHFOR. However, this results in the query string
needing to be in a fixed order. (or testing for both
"_escaped_fragment_** " and ** for every key I'm looking for).

Its not a critical problem, as the first workaround works and am
currently using it.

But it does seem like there should be some nice method to be able to
use PHP's query-string functions as intended.

===
Finally, one last thing; I cant work out any way to tell when my
system is working or not. After a few days my #! results dont seem
googlable...so can I assume it isn't working yet for some reason? (Ive
submitted a sitemap thats parsed over ok...so I expected
something..hmm..)


Thanks,
Thomas Wrobel

On 26 July 2010 14:45, Katharina Probst  wrote:
> Sorry, I'm a little confused too.
> When googlebot sees www.example.com?mykey=myvalue#!myhistorytoken ,
> it'll turn it into
> www.example.com?mykey=myvalue&_escaped_fragment_=myhistorytoken .
> Can you give an example (complete fake URLs, like I did above) to illustrate
> the problem you're seeing?  That would be helpful.
> Thanks,
> kathrin
> Short answer is I don't think you should use #!&.
>
> On Sat, Jul 24, 2010 at 12:27 PM, darkflame  wrote:
>>
>> Thanks, Sorry if its not clear, but I am actually talking about all of
>> those things.
>>
>> PHP is my back end which is generating the static pages.
>> GWT is what my site is coded in. Its completely dynamic and makes
>> extensive use of "#" tokens to store and retrieve its states.
>>
>> I'm attempting to get my side Ajax crawl-able using this guide;
>> http://code.google.com/web/ajaxcrawling/docs/getting-started.html
>>
>> This guide states to replace the normal "#anything" style history
>> tokens with "#!anything" tokens instead. Note the additional "!"
>> When google's crawler is requesting these pages it swaps the "#!" for
>> "?_escapedfragment_=", allowing the server to generate a static page
>> using the query string.
>> This is all laid out in googles guide.
>>
>> However, the formating of this "?_escapedfragment_="  does not allow
>> php to process the key/value pairs in the query string as it normally
>> could.
>> PHP can normally read of key value pairs from the query string using
>> its $_GET[] command.  However, under this system "?_escapedfragment_="
>> in the url requested prevents the first key value pair being read.
>> (as the parser now sees "_escapedfragment_" as its own key, and the
>> first true key as its *value*).
>>
>> Thus, in order to use PHP with Google's system for making Ajax
>> crawlable, I was querying if GWT user's should add "&" to their new
>> history token format, rather then just "!". So the new tokens become
>> "#!&" rather then just "#!".
>> 
>> This is a little confusing, but I think it should be understandable
>> for anyone who knows both PHP as well as GWT. (or at least, has used
>> extensive historytokens/states in their web design).
>>
>> Finally, I mentioned the Webmaster tools "Fetch as Googlebot" as thats
>> what I'm using to test if my site is indeed browse-able by google's
>> bot. Its not yet possible to use it to test completely for this sort
>> of functionality, however. So some of this work is a little "blind".
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Jul 24, 6:08 pm, Stefan Bachert  wrote:
>> > Hi,
>> >
>> > when others are as confused as me than you will get no qualified
>> > answer
>> >
>> > You are talking about PHP, url, google and sometimes it sounds that
>> > you are talking about
>> > Google Webmaster Tools. ( != GWT = Google Webtool Kit)
>> >
>> > Stefan Bachert
>> > http::/gwtworld.de
>> >
>> > Inquiries for professional GWT support are welcome.
>> > I am sorry, I won't do free personal support.
>> >
>> > On 23 Jul., 15:59, darkflame  wrote:
>> >
>> >
>> >
>> > > (of course, Id have to code my gwt java to remove the "&" from the
>> > > history string before processing)
>> >
>> > > On Jul 23, 3:54 pm, darkflame  wrote:
>> >
>> > > > Ive noticed that if I change my links to just "#!" google interprets
>> > > > 

Re: XML Validation directly

2010-07-26 Thread Jeff Chimene
On 07/26/2010 04:09 PM, John Ivens wrote:
> I know that this is off topic for GWT, but if anyone knows of how to
> validate an XML file directly by using something like Apache Commons
> Validation, but without needing to create a bean or a form, I would
> appreciate knowing about it.  Basically, we have XML files that we would
> like to validate directly out of XML, but using a validation in XML (in
> a seperate or the same file).  The reason we want to do this is that
> during development we would like to have a very quick way of generating
> validation without needing to be constantly updating screens and forms,
> just change the XML (in one file or two, depending on what resources are
> out there). 
> 
> Thanks in advance...

Any validating parser will do what you want. hint: the google search
term is in this answer.

> 
> -- 
> 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: introducing a marketplace for GWT components & associated projects

2010-07-26 Thread Joe Hudson
Thanks for the feedback Peter.

I've made changes to the categories that you suggested.  That
definitely seems to make more sense.

Joe

On Jul 26, 8:19 am, Peter Simun  wrote:
> Great idea Joe,
>
> I was missing something like this for a long time. But the
> categorization is little bit confusing me.
> What is the difference between Libraries and Frameworks, or Tools.
> Wouldn't it be better to cover some specific domains in the
> categories? Like UI widgets, RPC, security, MVP, etc ?
>
> Thank you again.
> Peter
>
> On 26. Júl, 10:08 h., maks  wrote:
>
> > Wow this is nice! keep it up!
>
> > On Jul 26, 11:57 am, Joe Hudson  wrote:
>
> > > Hi,
>
> > > I'm a huge fan of GWT and the only problem I have with it is not
> > > really a problem with GWT but with the fact that there isn't a
> > > centralized place for registering component and associated tools
> > > AFAIK.  I have created an application to do this which is available 
> > > athttp://gwtmarketplace.appspot.com
>
> > > This project is open-source and the project and source code is
> > > available at:http://code.google.com/p/gwtmarketplace/.
>
> > > I encourage everyone who has a product related to GWT to register it
> > > so it easier for folks like myself to see what is available and be
> > > able to comment on and rate these products.
>
> > > I would certainly appreciate if the GWT folks would link 
> > > tohttp://gwtmarketplace.appspot.comtomakeit easier for people to
> > > see.  Also, any feedback would certainly be appreciated.
>
> > > Thanks,
>
> > > Joe
>
> > >http://gwtmarketplace.appspot.com

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