Re: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-25 Thread Martones
Hi Colin, maybe this document could help you :
http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/fr//events/io/2011/static/presofiles/gwt_html5_a_web_develops_dream.pdf
look at the DND section.

The data you are passing is to be received by the drop target, not
the widget you are dragging.

In brief you need to:
- create draggable widget : setDraggable + addDragStartHandler
- create drop target : addDragOverHandler, addDropHandler

Hope this helps ;)

Ludovit

On 11 fév, 15:24, colin colinzhao...@yahoo.com wrote:
 Has anyone used newDragandDropfeature with 2.4?  I have it work
 all fine except the string data set on the event in DragStartHandler
 is not passed to the event in other handlers.  getData always returns
 null.

                 navLabel.getElement().setDraggable(Element.DRAGGABLE_TRUE);
                 navLabel.addDragStartHandler(new DragStartHandler() {

                         @Override
                         public void onDragStart(DragStartEvent event) {
                                 event.setData(text, navContent.getId()); 
 //I want to pass the
 obejct id

                                 navLabel.addStyleName(s-ContentTOCItem);
                                 
 event.getDataTransfer().setDragImage(navLabel.getElement(),
                                                 10, 10);
                                 navLabel.removeStyleName(s-ContentTOCItem);
                                 String text = event.getData(text); //Since 
 I am getting the null
 data in other DnD event, I want to test it here
                                 System.out.println(Dragtext: +text); //text 
 is null. Data is
 not stored.

                         }

                 });

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



Using last snapshot from maven?

2012-02-25 Thread Gal Dolber
Hi,
I just added maven support to a project that was using gwt from trunk, and
as I moved back to gwt 2.4 I noticed a huge slow down on compilation and
dev mode. I guess is because of the generators caching framework thats not
available on 2.4, but I'm not really sure.
Anyway, is there any repository out there with a more updated gwt version?
Thank!

-- 
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: Drag and Drop API in GWT 2.4

2012-02-25 Thread Martones
Hi Stagirus, if you dont need to drag Widgets you shall be
theoretically able to drag / dragOver / drop any widget.

For that, use widget.addDomHandler (as explained here
http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/fr//events/io/2011/static/presofiles/gwt_html5_a_web_develops_dream.pdf)

But if you need to drag the widget itself you need to use dnd or
gwtquery. The latter has support for cells which I didnt manage to get
working with the native dnd.

Ludovit

On 20 jan, 17:15, stagirus mohanam...@gmail.com wrote:
 Thank you Thomas. I will try your suggestion of AbsolutePanel within a
 FocusPanel. I suppose the container FocusPanel receives thedrop
 (mouse) events that actually occur within the child AbsolutePanel.

 I am also intrigued by your comment on gwt-dnd. It does look promising
 for our requirements. Thanks to Allen Sauer. I got the impression that
 GWT 2.4 is natively trying to support the same functionality offered
 by gwt-dnd. I noticed Allen Sauer joined Google's DND team/project.
 (What is your plan Allen?)

 Again, thank you Thomas for your helpful reply!

 On Jan 20, 3:03 am, Thomas Broyer t.bro...@gmail.com wrote:







  Er, put an AbsolutePanel in a FocusPanel, and add a DropHandler on the
  FocusPanel to handle thedrop(and do whatever you want with the wrapped
  AbsolutePanel)?

  Note that GWT's support for DnD is via the native browser API/events, so
  you transport data, not widgets, so what would a panel do with that?
  Seehttp://dev.w3.org/html5/spec/dnd.html#the-drag-data-store

  If you want todraganddropwidgets, you can use gwt-dnd instead (much
  lighter weight than SmartGWT)

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



ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Rocky
Hi,

I have two objects person and address

class Person{

String name;

@one-to-one
Address adderss;
}

class Address{

String HNo;

String street;

String zip;
}

I  developed a screen with Person information  and a ValueListBox with
all the available addresses and a save button. By clicking on save
button I need to map only one address to a new Person object. I am
using RequestFactoryEditorDriver. But when i click on save button, a
new addess row is getting created with Null values and its id is
refering by new Person row in database instead of refering already
selected Address object in the ValueListBox.

Please suggest...

Thanks,
Rocky


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



DataGrid and reset.css

2012-02-25 Thread Jeff
All,  I just started using the new DataGrid and everything is working
fine except when I click on a cell I get some funky border issues.  I
narrowed it down to the reset.css - when I remove that import from the
host html file, everything works fine in the DataGrid.  However, this
messes up some other minor things in the app.

I come from a programming background so I am confounded my most things
CSS.  I am wondering if anyone has had similar issues with a reset CSS
file and if they might be able to impart some wisdom on how to fix
this.  Should I even bother to use a reset CSS at all with GWT?

Best regards,

Jeff

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



Error: com.google.gwt.user.client.rpc.StatusCodeException: 404 on Tomcat server

2012-02-25 Thread Maurice
Hello All,

I am having problems getting my RPC code working on a Tomcat server
hosted by serversanddomains.com.  The steps I have followed are:
1) Using GWT 2.4, and eclipse I create an new web application project
- with a
 project = Hello
 package = com.gwt.hello
 Using Google Web ToolKit
 Not using Google App Engine
 And Using Generate project sample code

2) In the generated file com.gwt.hello.client.Hello.java I change line
serverResponseLabel.setHTML(SERVER_ERROR); to
serverResponseLabel.setHTML(caught.toString());
To understand the errors better.

3) I then test the program in development mode and it works as
expected.

4) Compile - Build the project with the GWT compiler
Compiling module com.gwt.hello.Hello
   Compiling 6 permutations
  Compiling permutation 0...
  Compiling permutation 1...
  Compiling permutation 2...
  Compiling permutation 3...
  Compiling permutation 4...
  Compiling permutation 5...
   Compile of permutations succeeded
Linking into /Users/xxx/Documents/www/Hello/war/hello
   Link succeeded
   Compilation succeeded -- 65.826s

5) Upload the files everything in the war directory (Folders hello,
WEB-INF and files Hello.html, and Hello.css) into my hosted account in
the public_html folder

6) Test the production site at http://www.example.com/Hello.html
I get the following error

Sending name to the server:
GWT User

Server replies:
com.google.gwt.user.client.rpc.StatusCodeException: 404
Not Found

The requested URL /hello/greet was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.

7) Contacted serversanddomains.com and they respond

There does not appear to be any error on the server side. The jsp test
page seems to be working fine now at http://example.com/jsptest.jsp so
tomcat itself appears to be just fine.

The page in question is simply trying to request a file URL which does
not exist. When submitting the form, this shows up in the error log
for apache.

[Thu Feb 23 16:44:31 2012] [error] [client 208.74.121.102] File does
not exist: /home/xxx/public_html/hello/greet, referer: 
http://example.com/Hello.html

That's because there is no such file called greet in the hello
folder. This is likely because you have not properly installed the
application.
=

So we have written back to see if we can get exact steps on how you
need to upload everything.

But I can tell you that if you get hosting with Plesk on Linux with
us, Plesk allows you to upload your WAR files and it creates the
application for you for your site.


8) Tried to follow the steps outlined in
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideRPCDeployment
Simple Example with Apache Tomcat


Thanks for taking the time to read this, and any suggestions are
welcome.

Cheers,
Maurice



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



Re: GWT Timer doesn't work

2012-02-25 Thread Peter D.
Has a solution been found to this issue?  I have encountered the same
thing, with no luck.

On Jan 19, 2:24 am, Hanna Varakhobava h.varakhob...@gmail.com wrote:
 Hey, somebody...

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



Timer AsyncCallback issue

2012-02-25 Thread Peter D.
I have a timer set up to update an element on my UI periodically from
a buffer.  If the buffer grows too small, I make an RPC call which
returns the next chunk of frames.  However, I want the timer to
continue updating the UI off the existing buffer while the RPC call is
working.  It seems that when the buffer needs to grow, the timer calls
calls the AsyncCallback function correctly and continues through the
rest of the run() function, but the next scheduled execution will not
occur until after the RPC call returns.  Is there any way around this?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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 StackLayoutPanel: how to change header background color

2012-02-25 Thread Arun Das
i have a similar problem . you reload the project in development mode and
try

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



What's a good way to use Youtube with GWT.

2012-02-25 Thread MAQ
Hi,

I would like to be able to integrate Youtube clips within my gwt project. I 
wasn't able to use gwt-youtube-apihttp://code.google.com/p/gwt-youtube-api/
 successfully.
Should I use the offical Youtube JavaScript API, or try again with 
gwt-youtube-api?

Thanks,
MAQ

-- 
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/-/XRiEKxz6ekoJ.
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 RPC not working behind Apache and Tomcat

2012-02-25 Thread mukarev
Hi folks,

I'try to serve two gwt webapps via one apache from one tomcat with JK
and I'm always running in the same error. Apache sends a 404 and tells
me that it's not able to find the servlet if I try to communcate via
RPC.

I have two virtual hosts pointing at the directories within tomcat
webapps. The webapps are running successfully as long as I don't try
to communicate via RPC. It seems that Apache isn't able to resolve the
requested service.

Need help, I'm sitting here around hopeless.

Thanks!

Markus

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



Re: GWT RPC not working behind Apache and Tomcat

2012-02-25 Thread Alan Chaney

Hi Markus
On 2/25/2012 9:25 AM, mukarev wrote:

Hi folks,

I'try to serve two gwt webapps via one apache from one tomcat with JK
and I'm always running in the same error. Apache sends a 404 and tells
me that it's not able to find the servlet if I try to communcate via
RPC.

I have two virtual hosts pointing at the directories within tomcat
webapps. The webapps are running successfully as long as I don't try
to communicate via RPC. It seems that Apache isn't able to resolve the
requested service.

Need help, I'm sitting here around hopeless.


Firstly, there is no reason why this should not work, but it can be 
tricky to get such a system working.


Step 1:
Have you tried just talking directly to the tomcat? Typically the tomcat 
will be running at port 8080, so you should try bypassing tomcat 
entirely and accessing it there.


Step 2:

Look at the logs - what are you seeing? check tomcat logs, apache logs, 
and the mod_jk logs.


Step 3:

Send us your web.xml, remote service servlet and mod_jk setup, otherwise 
we can't help you.


HTH

Alan






Thanks!

Markus



--
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: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-25 Thread colin
Ludovit:

Thanks for responding.  I posted the code this way just to show the
problem.  I have the drop target set up and is getting null from
getData().

Colin

On Feb 25, 5:15 am, Martones ludovit.marton...@gmail.com wrote:
 Hi Colin, maybe this document could help you 
 :http://static.googleusercontent.com/external_content/untrusted_dlcp/w...
 look at theDNDsection.

 The data you are passing is to be received by the drop target, not
 the widget you are dragging.

 In brief you need to:
 - create draggable widget : setDraggable + addDragStartHandler
 - create drop target : addDragOverHandler, addDropHandler

 Hope this helps ;)

 Ludovit

 On 11 fév, 15:24, colin colinzhao...@yahoo.com wrote:







  Has anyone used newDragandDropfeature with 2.4?  I have it work
  all fine except the string data set on the event in DragStartHandler
  is not passed to the event in other handlers.  getData always returns
  null.

                  navLabel.getElement().setDraggable(Element.DRAGGABLE_TRUE);
                  navLabel.addDragStartHandler(new DragStartHandler() {

                          @Override
                          public void onDragStart(DragStartEvent event) {
                                  event.setData(text, navContent.getId()); 
  //I want to pass the
  obejct id

                                  navLabel.addStyleName(s-ContentTOCItem);
                                  
  event.getDataTransfer().setDragImage(navLabel.getElement(),
                                                  10, 10);
                                  
  navLabel.removeStyleName(s-ContentTOCItem);
                                  String text = event.getData(text); 
  //Since I am getting the null
  data in otherDnDevent, I want to test it here
                                  System.out.println(Dragtext: +text); 
  //text is null. Data is
  not stored.

                          }

                  });

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



Date box pop up seems to ignore default css

2012-02-25 Thread Deepak Singh
Hi All,

I have a ui:binder and am using date box as follows

d:DateBox width=16em ui:field=agPacValidityTo /d:DateBox

Java:
DateTimeFormat df = DateTimeFormat.getFormat(EEE, MMM d, );
Format f  = new DateBox.DefaultFormat(df);
agPacValidityFrom.setTitle(Validity date);
agPacValidityFrom.setFormat(f);
agPacValidityFrom.addValueChangeHandler(new ValueChangeHandlerDate() {

@Override
public void onValueChange(ValueChangeEventDate event) {
Date date = event.getValue();
String dateString =
DateTimeFormat.getMediumDateFormat().format(date);
agPacValidityHiddenFrom.setText(dateString);
}
});


The problem i am getting is that the date popup is not shown properly. The
pop up appears without any css applied to it. So the look n feel of pop up
is totally disturbed.

Am i missing something here ?

Thanks
Deepak Singh

-- 
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 test GWT app through a proxy

2012-02-25 Thread John Malpas
I have several GWT (2.4) applications out there.

One in a while, a user writes in with a problem,
where it is clear the RPC is not working, and it
is clear there is some proxy involved in their access
to the application.

(Most recent: Unable to initiate the asynchronous service invocation
(MyDataService_Proxy.login))

I need to figure out some way to test access to the
applications through a proxy, so I can at least see what
these users are seeing. The same applications work fine
for me on a variety of browsers and computers.
(My own computers get to the web through ATT DSL with
no proxy involved.)

Has anyone else faced this problem (need to test through
a proxy)?

-- 
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: ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Thomas Broyer
Without seeing more code, I'd say it's your server-side code fault: when 
sending the Address back to the server, you're not retrieving the entity 
back from the database but creating a new one, *or* you don't attach the 
entity correctly to your session when persisting, which then persists a 
new row instead of updating an existing one.

On Friday, February 24, 2012 5:31:04 PM UTC+1, Rocky wrote:

 Hi, 

 I have two objects person and address 

 class Person{ 

 String name; 

 @one-to-one 
 Address adderss; 
 } 

 class Address{ 

 String HNo; 

 String street; 

 String zip; 
 } 

 I  developed a screen with Person information  and a ValueListBox with 
 all the available addresses and a save button. By clicking on save 
 button I need to map only one address to a new Person object. I am 
 using RequestFactoryEditorDriver. But when i click on save button, a 
 new addess row is getting created with Null values and its id is 
 refering by new Person row in database instead of refering already 
 selected Address object in the ValueListBox. 

 Please suggest... 

 Thanks, 
 Rocky 




-- 
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/-/3zxrNhST0bwJ.
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: ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Daniel Mauricio Patino León
I have some kind of problem lke yours.


I am creating a new Proxy:

LayoutExampleRequest r = requestFactory.employeeRequest();
DepartmentProxy d  = r.create(DepartmentProxy.class);
r.save(d);
departmentEditor.editProxy(d, r);

Then pass the Proxy and the Request(LayoutExampleRequest ) to my editor

driver.edit(proxy, request);

Ultil here ! everything works as espected. Now iam getting with a suggest
box Proxys of EmployeeProxy.

search = new SuggestBox(new SuggestOracle() {
@Override
public void requestSuggestions(final Request request,final Callback
callback) {
System.out.println(request.getQuery());

//ignore less than 3
if(request.getQuery().length()  3){
 requestFactory.employeeRequest().search(request.getQuery()).fire(new
ReceiverListEmployeeProxy(){
@Override
public void onSuccess(ListEmployeeProxy response) {

ListMySuggestionEmployeeProxy suggestions = new
ArrayListMySuggestionEmployeeProxy();
for(EmployeeProxy e:response){
MySuggestionEmployeeProxy suggestion = new MySuggestionEmployeeProxy();
suggestion.setModel(e,e.getFirstName(),e.getFirstName()+
+e.getLastName());
suggestions.add(suggestion);
}
callback.onSuggestionsReady(request, new Response(suggestions));
}
 });
}
}
});

MySuggestion is a wrapper class to handle the EmployeeProxy.

Now i want to add this EmployeeProxy to my DeparmentProxy since i have a
@OneToOne on JPA.


search.addSelectionHandler(new SelectionHandlerSuggestOracle.Suggestion()
{

@Override
public void onSelection(SelectionEventSuggestion event) {
MySuggestionEmployeeProxy s =
(MySuggestionEmployeeProxy)event.getSelectedItem();
proxy.setSupervisor(s.getModel());
}
});

proxy is a EntityProxy for Deparment

then i fire the driver:


departmentEditor.getDriver().flush().fire(new ReceiverVoid() {
@Override
public void onSuccess(Void response) {
Window.alert(Success);


// refresh the datagrid
Range range = dataGrid.getVisibleRange();
dataGrid.setVisibleRangeAndClearData(range, true); //1st way

// create a new DepartmentProxy to bind to
the Editor.
createProxy();

 // change button text
 updateButton.setText(Save);

}
@Override
public void onConstraintViolation(SetConstraintViolation? violations) {
for(ConstraintViolation v :violations){
Window.alert(v.getMessage()+ +v.getPropertyPath());
}

}

@Override
public void onFailure(ServerFailure error) {
Window.alert(error.getMessage());
}
});


The problem is iam getting ConstraintViolations from the EmployeeProxy, is
like the driver atach the EmployeeProxy but with null values.
(Take a look iam validating my Entityes with  *JSR*-*330* )

Dont know how to make a relationship with a new Proxy with other taked from
the server.


Any help would be nice!

Thank you


2012/2/25 Thomas Broyer t.bro...@gmail.com

 Without seeing more code, I'd say it's your server-side code fault: when
 sending the Address back to the server, you're not retrieving the entity
 back from the database but creating a new one, *or* you don't attach the
 entity correctly to your session when persisting, which then persists a
 new row instead of updating an existing one.


 On Friday, February 24, 2012 5:31:04 PM UTC+1, Rocky wrote:

 Hi,

 I have two objects person and address

 class Person{

 String name;

 @one-to-one
 Address adderss;
 }

 class Address{

 String HNo;

 String street;

 String zip;
 }

 I  developed a screen with Person information  and a ValueListBox with
 all the available addresses and a save button. By clicking on save
 button I need to map only one address to a new Person object. I am
 using RequestFactoryEditorDriver. But when i click on save button, a
 new addess row is getting created with Null values and its id is
 refering by new Person row in database instead of refering already
 selected Address object in the ValueListBox.

 Please suggest...

 Thanks,
 Rocky


  --
 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/-/3zxrNhST0bwJ.

 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.




-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

-- 
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: Cannot run debug mode in client code

2012-02-25 Thread tong123123
Really strange, I try to simulate the problem in home pc (I am not in
office), my debug configuraiton arguments is
-startupUrl 127.0.0.1:7001/DesignerFirstTrial/ -noserver -remoteUI $
{gwt_remote_ui_server_port}:${unique_id} -logLevel INFO -
codeServerPort 9997 -war C:\workspace\workspace1\DesignerFirstTrial
\war com.mycompany.project.GWTDesignerFirstTrial

but when I run, in eclipse development mode tab, the url shown is
http://127.0.0.1:/127.0.0.1:7001/DesignerFirstTrial/?gwt.codesvr=127.0.0.1:9997

that is, it auto prepend 127.0.0.1: in front of the startupUrl,
why is this the case?
I have double checked that there is -noserver argument in the debug
configuration.

-- 
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: Cannot run debug mode in client code

2012-02-25 Thread tong123123
sorry, I miss the http:// in the startupUrl, after adding it, the
debug mode can run.
But my eclipse (OEPE- Oracle Enterprise Pack for Eclipse) is very
strange, if I right click the project and select Debug as  Web
application (running on external server), it will create a new debug
configuration like GWTDesignerFirst.html-external(1) and the debug
configuraiton arguments is wrong again!!

On Feb 26, 2:08 pm, tong123123 tong123...@gmail.com wrote:
 Really strange, I try to simulate the problem in home pc (I am not in
 office), my debug configuraiton arguments is
 -startupUrl 127.0.0.1:7001/DesignerFirstTrial/ -noserver -remoteUI $
 {gwt_remote_ui_server_port}:${unique_id} -logLevel INFO -
 codeServerPort 9997 -war C:\workspace\workspace1\DesignerFirstTrial
 \war com.mycompany.project.GWTDesignerFirstTrial

 but when I run, in eclipse development mode tab, the url shown 
 ishttp://127.0.0.1:/127.0.0.1:7001/DesignerFirstTrial/?gwt.codesvr=...

 that is, it auto prepend 127.0.0.1: in front of the startupUrl,
 why is this the case?
 I have double checked that there is -noserver argument in the debug
 configuration.

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