Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
PHP + GWT ????
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ben fenster  
View profile  
 More options Nov 4, 8:56 am
From: ben fenster <fenster....@gmail.com>
Date: Wed, 4 Nov 2009 05:56:38 -0800 (PST)
Local: Wed, Nov 4 2009 8:56 am
Subject: PHP + GWT ????
how can i send a post request to my php page without getting an
exception about same orign execution restriction

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Bambury  
View profile  
 More options Nov 4, 9:13 am
From: Ian Bambury <ianbamb...@gmail.com>
Date: Wed, 4 Nov 2009 14:13:04 +0000
Local: Wed, Nov 4 2009 9:13 am
Subject: Re: PHP + GWT ????

Have everything in the same place if you can.

Run with the -noserver option and have a local web server point to your war
directory

If that's too cryptic an answer, just shout and I'll give more detail.

Ian

http://examples.roughian.com

2009/11/4 ben fenster <fenster....@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben fenster  
View profile  
 More options Nov 4, 10:51 am
From: ben fenster <fenster....@gmail.com>
Date: Wed, 4 Nov 2009 07:51:34 -0800 (PST)
Local: Wed, Nov 4 2009 10:51 am
Subject: Re: PHP + GWT ????
it will help me alot if you could alaberate on the subject :)

On 4 נובמבר, 16:13, Ian Bambury <ianbamb...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Bambury  
View profile  
 More options Nov 4, 11:16 am
From: Ian Bambury <ianbamb...@gmail.com>
Date: Wed, 4 Nov 2009 16:16:18 +0000
Local: Wed, Nov 4 2009 11:16 am
Subject: Re: PHP + GWT ????

OK.

The way I do it is like this:

In the program arguments you need

-noserver -port 1080

if you don't put the port, it will default to 80

in my launch file for my 1.7 minimum app I have

<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
value="-noserver -port 80 -startupUrl index.html
com.roughian.appmin_1_7.Module"/>

but however you run it, you need those arguments.

You also need a local web server. I use Abyss (since Apache seemed like
overkill) and set it up so that the document root was pointing to the /war/
directory of my project and the port it was using was 1080, and it was also
set up to deal with PHP, of course.

As far as I can remember, that's all you have to do.

The advantage of setting a port number is that you can then set up *another*
project with another port number, and another instance of Abyss which is
pointed at the new project's /war/ directory and uses the new port number.

What is more, you can run both projects in hosted mode at the same time.

In GWT 2.0, you can do exactly the same thing, but if you want to run more
than one project in development mode at the same time, you will also need to
add

-portHosted 9998

(or some other unique hosted mode port number)

If that doesn't make sense, or doesn't work, or you need help setting up
Abyss (if you decide to use it), let me know.

Ian

http://examples.roughian.com

2009/11/4 ben fenster <fenster....@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maciej Trela  
View profile  
 More options Nov 4, 12:06 pm
From: Maciej Trela <t.mac...@gmail.com>
Date: Wed, 4 Nov 2009 09:06:30 -0800 (PST)
Local: Wed, Nov 4 2009 12:06 pm
Subject: Re: PHP + GWT ????
You can also try this:
http://code.google.com/intl/pl-PL/webtoolkit/doc/1.6/FAQ_Server.html#...

On 4 Lis, 17:16, Ian Bambury <ianbamb...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Quiel  
View profile  
 More options Nov 5, 2:51 am
From: Peter Quiel <peter.qu...@pq-solutions.de>
Date: Wed, 4 Nov 2009 23:51:45 -0800 (PST)
Local: Thurs, Nov 5 2009 2:51 am
Subject: Re: PHP + GWT ????
Hi,

if you are using GWT 1.7 and Linux you can turn off same origin policy
of the hosted mode browser.

See http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...

I don't know if you can't turn off the sop in ie as well.

Greetings,
Peter

On Nov 4, 6:06 pm, Maciej Trela <t.mac...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben fenster  
View profile  
 More options Nov 7, 8:12 am
From: ben fenster <fenster....@gmail.com>
Date: Sat, 7 Nov 2009 05:12:20 -0800 (PST)
Local: Sat, Nov 7 2009 8:12 am
Subject: Re: PHP + GWT ????
where do i enter the program arguments and the same orign policy apply
to ports also  so how can it be possible to run 2 diffrent web servers
on 2 diffrent ports without getting the error

On Nov 4, 6:16 pm, Ian Bambury <ianbamb...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben fenster  
View profile  
 More options Nov 8, 6:54 am
From: ben fenster <fenster....@gmail.com>
Date: Sun, 8 Nov 2009 03:54:59 -0800 (PST)
Local: Sun, Nov 8 2009 6:54 am
Subject: Re: PHP + GWT ????

On Nov 4, 6:16 pm, Ian Bambury <ianbamb...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben fenster  
View profile  
 More options Nov 8, 6:55 am
From: ben fenster <fenster....@gmail.com>
Date: Sun, 8 Nov 2009 03:55:03 -0800 (PST)
Local: Sun, Nov 8 2009 6:55 am
Subject: Re: PHP + GWT ????
pls help i cant use hosted mode even after installing apache setting
the directory to my war
if i use browser it works fine but not in hosted mode pls help me

On Nov 4, 6:16 pm, Ian Bambury <ianbamb...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben fenster  
View profile  
 More options Nov 9, 5:00 am
From: ben fenster <fenster....@gmail.com>
Date: Mon, 9 Nov 2009 02:00:53 -0800 (PST)
Local: Mon, Nov 9 2009 5:00 am
Subject: Re: PHP + GWT ????
thank u very much i managed to use -noserver and it works great
how the hell can gwt debug the js code running on another web
server ?!??!?

On Nov 8, 1:55 pm, ben fenster <fenster....@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Bambury  
View profile  
 More options Nov 9, 2:18 pm
From: Ian Bambury <ianbamb...@gmail.com>
Date: Mon, 9 Nov 2009 19:18:07 +0000
Local: Mon, Nov 9 2009 2:18 pm
Subject: Re: PHP + GWT ????

Hi Ben,

I've been away for a long weekend and only just got back. Is it working OK?

Ian

http://examples.roughian.com

2009/11/9 ben fenster <fenster....@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben fenster  
View profile  
 More options Nov 10, 8:22 am
From: ben fenster <fenster....@gmail.com>
Date: Tue, 10 Nov 2009 05:22:03 -0800 (PST)
Local: Tues, Nov 10 2009 8:22 am
Subject: Re: PHP + GWT ????
yes it works great thanks :)
but i was wondering how the hell can gwt debug the js code running on
another web
server in my case apache ?!??!?

On Nov 9, 9:18 pm, Ian Bambury <ianbamb...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Broyer  
View profile  
 More options Nov 10, 7:45 pm
From: Thomas Broyer <t.bro...@gmail.com>
Date: Tue, 10 Nov 2009 16:45:10 -0800 (PST)
Local: Tues, Nov 10 2009 7:45 pm
Subject: Re: PHP + GWT ????

On 10 nov, 14:22, ben fenster <fenster....@gmail.com> wrote:

> yes it works great thanks :)
> but i was wondering how the hell can gwt debug the js code running on
> another web
> server in my case apache ?!??!?

It doesn't debug the code that's on your server, but the one that's on
your PC (and the js code do not "run" on the server ;-) )
When the *.cache.js is loaded (from your Apache server), it detects
that it's running in the HostedMode browser and then uses some special
APIs to talk to the HostedMode and actually run your Java code on your
PC, which allows you to debug it.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google