Google IO 2012 : no GWT session ?

2012-05-16 Thread Celinio
Hello,
I just noticed that the schedule for Google IO 2012 is now available :
https://developers.google.com/events/io/sessions
Not sure whether it is definitive or not.
I see that this year there is no session dedicated to GWT. How come ?
But there are 2 sessions dedicated to Dart. Is this a sign ?

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



Re: maven gwt

2012-05-16 Thread Kei Kei
in
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/pom.xml

 
>   
>   DynaTableRf.html
>   
>   true
>   com.google.gwt.sample.dynatablerf.DynaTableRf
>   INFO
>   ${gwt.style}
>
>   true
> 
>

why the pom.xml has no need to state the goal for run, compile but just
insert parameter?
http://mojo.codehaus.org/gwt-maven-plugin/run-mojo.html

Also, if I don't want to use the gwt shell, but use normal IE, need change
in this segment?
in fact, I am not familiar with the configuration segment, any good
reference (it mention gwt-maven-plugin but I cannot found how it is used)

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



ListEditor.class - put a try {} catch {} around the flush() { list.flush() }

2012-05-16 Thread Brandon Donnelson
How about put a try catch around the list.flush() for tracking down the 
offending null list. 

ListEditor.class {
  //...
  public void flush() {
list.flush(); //  try catch this for easier debugging
  }
  //...
}

Thoughts?

Brandon Donnelson
http://gwt-examples.googlecode.com

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



Re: CellTable vs DataGrid

2012-05-16 Thread Alexander Orlov
I haven't ever used gwtdesigner. Search for gwt showcase, there you will
find it.

Sent from my phone.
On May 16, 2012 9:13 PM, "Mike Dee"  wrote:

> Where is the uibinder stuff for DataGrid defined?  I can't seem to find it
> and it doesn't appear in GWTDesigner.
>
> On Tuesday, March 20, 2012 6:23:08 AM UTC-7, Thomas Broyer wrote:
>>
>>
>>
>> On Monday, March 19, 2012 7:23:07 PM UTC+1, Alexander Orlov wrote:
>>>
>>> *CellTable vs DataGrid* — when to use which? DataGrid is for "large
>>> data sets" and CellTable for (kind of) smaller data sets. But is there a
>>> *reason not to use* the DataGrid Composite for all kinds of data sets?
>>> What would be the disadvantage, besides an (non-user-perceivable) init
>>> delay?
>>>
>>>- http://gwt.google.com/samples/**Showcase/Showcase.html#!**
>>>
>>> CwDataGrid
>>>- http://gwt.google.com/samples/**Showcase/Showcase.html#!**
>>>
>>> CwCellTable
>>>
>>>
>> To my knowledge, both CellTable and DataGrid are for "large data sets"
>> (as all the other Cell widgets; as opposed to Grid or FlexTable). The main
>> (if not only) difference is that Datagrid has a fixed header/footer and a
>> scrolling area for data (and thus is a RequiresResize), whereas CellTable
>> generates a single grid with headers, data and footers (and thus has to be
>> put inside a ScrollPanel to handle overflow, and then the headers and
>> footers can scroll along with the data, and outside the viewport).
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/dF3BESP_2moJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: CellTable vs DataGrid

2012-05-16 Thread Mike Dee
Note that I'm using GWT 2.4.

On Wednesday, May 16, 2012 12:12:56 PM UTC-7, Mike Dee wrote:
>
> Where is the uibinder stuff for DataGrid defined?  I can't seem to find it 
> and it doesn't appear in GWTDesigner.
>
> On Tuesday, March 20, 2012 6:23:08 AM UTC-7, Thomas Broyer wrote:
>>
>>
>>
>> On Monday, March 19, 2012 7:23:07 PM UTC+1, Alexander Orlov wrote:
>>>
>>> *CellTable vs DataGrid* — when to use which? DataGrid is for "large 
>>> data sets" and CellTable for (kind of) smaller data sets. But is there a 
>>> *reason not to use* the DataGrid Composite for all kinds of data sets? 
>>> What would be the disadvantage, besides an (non-user-perceivable) init 
>>> delay?
>>>
>>>- http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid
>>>- http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable
>>>
>>>
>> To my knowledge, both CellTable and DataGrid are for "large data sets" 
>> (as all the other Cell widgets; as opposed to Grid or FlexTable). The main 
>> (if not only) difference is that Datagrid has a fixed header/footer and a 
>> scrolling area for data (and thus is a RequiresResize), whereas CellTable 
>> generates a single grid with headers, data and footers (and thus has to be 
>> put inside a ScrollPanel to handle overflow, and then the headers and 
>> footers can scroll along with the data, and outside the viewport).
>>
>

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



Re: CellTable vs DataGrid

2012-05-16 Thread Mike Dee
Where is the uibinder stuff for DataGrid defined?  I can't seem to find it 
and it doesn't appear in GWTDesigner.

On Tuesday, March 20, 2012 6:23:08 AM UTC-7, Thomas Broyer wrote:
>
>
>
> On Monday, March 19, 2012 7:23:07 PM UTC+1, Alexander Orlov wrote:
>>
>> *CellTable vs DataGrid* — when to use which? DataGrid is for "large data 
>> sets" and CellTable for (kind of) smaller data sets. But is there a *reason 
>> not to use* the DataGrid Composite for all kinds of data sets? What 
>> would be the disadvantage, besides an (non-user-perceivable) init delay?
>>
>>- http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid
>>- http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable
>>
>>
> To my knowledge, both CellTable and DataGrid are for "large data sets" (as 
> all the other Cell widgets; as opposed to Grid or FlexTable). The main (if 
> not only) difference is that Datagrid has a fixed header/footer and a 
> scrolling area for data (and thus is a RequiresResize), whereas CellTable 
> generates a single grid with headers, data and footers (and thus has to be 
> put inside a ScrollPanel to handle overflow, and then the headers and 
> footers can scroll along with the data, and outside the viewport).
>

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



Re: gwt-jet

2012-05-16 Thread Joseph Lust
Thanks Federico!

Joe

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



Re: Display GWT RPC result in a new window

2012-05-16 Thread Joseph Lust
Working from memory, usually if you open a new window, the child retains a 
reference to its parent (opener). So, you can have it refer back to its 
parent  and ask for 
content.

So, I think you could achieve this with:

   1. Do your async call
   2. Open a new window
   3. New window is blank URL and simple JS to ask parent for content (ask 
   through a JSNI method to GWT)
   4. Return the request from (3) with the HTML returned from your async.
   5. Replace the content of the child window with the target HTML.

That should do it, but you could also find more elegant means too with 
server side efforts.

Sincerely,
Joseph

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



Re: Override gwt-image

2012-05-16 Thread Joseph Lust
This is why I don't use the common "public" folder hierarchy as it fosters 
this kind of error.

I suggest:

com.yourApp.yourPkg.resources/

(interfaces like MyResources at this level) 

images/ (raw images)

css/ (raw CSS)

 

This way:

   - All CSS/images are self contained within that package (i.e. a custom 
   widget)
   - You don't need to have the files in "public" copied to your war, even 
   if they are unused 
   - You don't have the common problem of 20 widgets using the same CSS 
   file (selector hell).
   - Makes it easier to use @Source annotation since its just 
   "images/name.png", not "../../../../otherPkg/public/images/name.png"


Sincerely,
Joseph

 

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



Re: JSNI madness!

2012-05-16 Thread Joseph Lust
methidB() should be methodB()


Sincerely,
Joseph

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



Re: eclipse 4.2 juno

2012-05-16 Thread Joseph Lust
I've been watching the EmmaEcl trunk buzz for the last few months with Juno 
updates. I have not seem many heading into GWT or GWT Tools trunk.

Joe

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



Re: Start gwt as soon as it is loaded, do not wait for page load?

2012-05-16 Thread Joseph Lust
The loading order and which elements are blocking to GWT's execution is 
explained 
well 
here.
 
By changing the order of said items you can speed up the apparent loading 
of the page.

You can also see other examples of how to make a splash screen with GWT 
such as 
this
.


Sincerely,
Joseph

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



Re: How to get connected client count ?

2012-05-16 Thread kim young ill
normally it's the container (webserver) who can handle this.
also depends how you define "connect" ( socket connection or openning http
session)

hth

On Wed, May 16, 2012 at 8:16 PM, nofear  wrote:

> Hello guys,
>
> I have a simple question and i couldn't find the answer yet,
>
> - I'm developing an exam project with GWT , and how can i get the
> current client number which is connected to my system ? For example,
> students will connect to the web site and i have to calculate the
> connected client number.
> Is there a method or a way to do this ?
>
> 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-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



How to get connected client count ?

2012-05-16 Thread nofear
Hello guys,

I have a simple question and i couldn't find the answer yet,

- I'm developing an exam project with GWT , and how can i get the
current client number which is connected to my system ? For example,
students will connect to the web site and i have to calculate the
connected client number.
Is there a method or a way to do this ?

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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: maven gwt

2012-05-16 Thread Stefan Ollinger
It adds the GWT project nature and the GWT builder to the eclipse 
project. You dont need the GPE, but i'd suggest you to use it. GPE adds 
syntax highlighting and completion to .ui.xml files, a development mode 
view and lots of other helpful things.


Am 16.05.2012 18:15, schrieb Kei Kei:




maven-eclipse-plugin
2.8

true
false
2.0


com.google.gwt.eclipse.core.gwtProjectValidator



com.google.gwt.eclipse.core.gwtNature






I see the above plugin in 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/pom.xml
what is its use? I have not installed GPE, instead I have installed 
M2Eclipse. is GPE necessary?

--
You received this message because you are subscribed to the Google 
Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


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



Re: maven gwt

2012-05-16 Thread Kei Kei
>
>  
>   
> maven-eclipse-plugin
> 2.8
> 
>   true
>   false
>   2.0
>   
> 
>   com.google.gwt.eclipse.core.gwtProjectValidator
> 
>   
>   
>
> com.google.gwt.eclipse.core.gwtNature
>   
> 
>   
> 
>

I see the above plugin in
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/pom.xml
what is its use? I have not installed GPE, instead I have installed
M2Eclipse. is GPE necessary?

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



Re: maven gwt

2012-05-16 Thread Stefan Ollinger
The resources which are in your/module/package/public can still be 
placed in src/main/java. Also if you have images which are used in 
CssResource or UiBinder, they can be kept in src/main/java. This is a 
pragmatic solution. Maven suggests to put them in src/main/resources. 
See: 
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html


The resources which go straight to the war/ folder should be placed 
into: src/main/webapp.

See http://maven.apache.org/plugins/maven-war-plugin/ for more information.

Am 16.05.2012 15:18, schrieb Kei Kei:
I am in home now, but before using maven, I put the css file under 
module folder/public and I placed images folder under war directory, 
now I need place these css and image under "src/main/resources"?

In gwt developer guide
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects
there is some suggested folder structure, if using maven, then should 
use maven structure and neglect the developer guide recommended 
structure, is it?



--
You received this message because you are subscribed to the Google 
Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


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



GWT (lazy) Widget rendering: Comparison of approaches

2012-05-16 Thread Chris Lercher
There are several competing (or complemental) new/experimental (or 
deprecated) classes around, which deal with rendering Widgets in 
alternative (often lazy) ways in GWT:

- GXT2's lazy 
Component
 (which 
has been deprecated in GXT3)
- 
LazyPanel
- 
PotentialElement
 ["experimental"]
- 
IsRenderable
 ["very 
experimental"] and 
RenderablePanel
 ["experimental"]

Seeing how GXT2 had problems with their lazy rendering, what can we expect 
from these concepts? Looking into trunk, IsRenderable seems to evolve 
(using a new RenderableStamper class), so there's probably something in the 
pipeline...

I know, that this is not a concrete question - I'm just curious if someone 
has interesting information about this subject?

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



Re: GWT ValueProxy and RequestFactory Domain Type error

2012-05-16 Thread kjordan
Your other option is to do a "new BrowserDetailItem(s.name, s.id)" in your 
query string.

On Tuesday, May 15, 2012 3:23:43 PM UTC-5, jmbz84 wrote:
>
> Solved it. 
>
> The problem was in: tempList = query.getResultList(); 
>
> The result list returned from the query is a List which 
> couldn't be converted to List. 
>
> This meant that the return method instead of returning a 
> List which is a ValueProxy, returned a List []> which can't be sent to the server. 
>
> The solution was to iterate though the  List and create a 
> new BrowserDetailItem in each pass: 
>
>  Query query = entityManager 
> .createQuery("SELECT s.name,s.id FROM Song s, 
> Playlist p, Composer c WHERE s.id_playlist = p.id AND c.id = 
> p.id_composer "); 
>
> List results = query.getResultList(); // Fetches 
> list containing 
> arrays of object 
>
> Iterator it = results.iterator(); 
>
> while (it.hasNext()) { 
>
> Object[] result = (Object[]) it.next(); // 
> Iterating through the 
> array object 
>
> tempList.add(new BrowserDetailItem 
> ((String) result[0], (Integer) 
> result[1])); 
> } 
>
> tempList.size(); 
>
> return tempList; 
>
> Hope it helps.

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



Re: maven gwt

2012-05-16 Thread Kei Kei
I am in home now, but before using maven, I put the css file under module
folder/public and I placed images folder under war directory, now I need
place these css and image under "src/main/resources"?
In gwt developer guide
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects
there is some suggested folder structure, if using maven, then should use
maven structure and neglect the developer guide recommended structure, is
it?

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



Re: Start gwt as soon as it is loaded, do not wait for page load?

2012-05-16 Thread Ali
Thank you. As you have advised the page is basically a html/css page and 
gwt is mainly used to interact with server, for example when user clicks on 
a like button.

Just an additional question, is it the expected behavior that gwt does not 
starts until all images in a page are loaded?

best,
ali
On Wednesday, May 16, 2012 2:10:43 AM UTC+4:30, Joseph Lust wrote:
>
> If you must you could add any desired JS to the launch HTML page so that 
> this simple JS could run before GWT is ready. However, I don't see the GWT 
> team making an "*onEarlyModuleLoad*" handler since you'd then have to 
> assure that nothing using the DOM or UiBinder was called from those 
> methods. That would create nearly 2 applications and you'd delay the main 
> module load with the pre module load (which would need its own boot 
> strapper).
>
> For most applications, the more important aspect is the *appearance of 
> loading quickly.* To that end the default HTML/CSS of the page could be 
> setup to show some graphics/animations before any GWT resources are loaded 
> to give the user the impression of a faster loading app.
>
> Sincerely,
> Joseph
>

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



Re: maven gwt

2012-05-16 Thread Stefan Ollinger

Hi,

in order to convert your project to maven, you need to apply the Maven 
folder structure:


src/main/java -> java sources
src/main/resources -> resources: .properties files, .xml files, ...
src/test/java -> test java sources
src/test/resources -> test resources

Then you need to create your own pom.xml. The pom.xml tells Maven about 
your project: what dependencies (jars) it has, the name of the project, 
the authors and then also how to build the project.


Take a look at that pom:

http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/pom.xml

You need to adjust the properties to your own settings. Most importantly 
are the project information in the header and the properties of the 
gwt-maven-plugin. If you dont use RequestFactory you can remove the 
build plugins maven-processor-plugin and build-helper-maven-plugin and 
some dependencies.


The other option you have, is to use a Maven archetype, which is a 
project template. Using an archetype creates a new project. So you would 
need to copy/paste your existing files over.


Regards,
Stefan

Am 15.05.2012 18:31, schrieb tong123123:

Thanks for reply.

As I am new to maven, what I first need to understand is the sample 
project
Mobile Web app sample 
 

DynaTable RequestFactory sample 


?

my current non-maven gwt application is web application (not mobile 
application), using gwt-rpc (not requestFactory).

is the above 2 sample project relevant to me?
there is no step by step guide for migrate a non-maven gwt application 
to maven gwt application?


Sorry as I need to migrate a non-maven gwt application to maven gwt 
application in a very short period, I have no any idea now.

--
You received this message because you are subscribed to the Google 
Groups "Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/DVkLEcqw1gMJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


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



Re: help : gwt + spring

2012-05-16 Thread Akram Moncer
thanks for help but i resolved the probleme by making the gxt.jar in the
war/lib folder
2012/5/16 K vfdsdfbsdb 

>  [image: Boxbe] 
> google-web-toolkit@googlegroups.com is not on your Guest 
> List| Approve
> sender  | Approve
> domain 
>
> This problem is enttiy class.
> You shied make different story for get.
> And copy spring dto to it
> .
> 2012/05/16 1:18 "Akram Moncer" :
>
>> hello everybody;
>>
>> i'm creating a web application with gwt +jpa(for model) and spring
>> framework and i also use the GXT lib;
>>
>> i have class named "personneDTO" it extend from "BaseModel" the probleme
>> that when i run my application i have this error :
>>
>> ATTENTION: Nested in
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'EMF' defined in file
>> [C:\workspace-sts-2.8.1.RELEASE\projetTest\war\WEB-INF\classes\com\aptusline\projetTest\server\EMF.class]:
>> Instantiation of bean failed; nested exception is
>> java.lang.ExceptionInInitializerError:
>> Class "com.projetTest.shared.PersonneDTO" was not found in the CLASSPATH.
>> Please check your specification and your CLASSPATH.
>>
>> --
>> Akram MONCER
>> Personne
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
Akram MONCER
Personne

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



Re: any method to migrate an existing gwt application to maven project

2012-05-16 Thread Kei Kei
How to download the source from
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/#samples%2Fmobilewebapp
?

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