Here is a link to help you to do what you want:
http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html
If not, you can play a work around with native script and json. You
can comunicate by native javascript to an external script of your page
(out of gwt), send and ajax request and feed a json variable wich
could be accessed by gwt (again, via native script).

Examples:
 public native void  sendParameterToAnExternalService(String param1,
String param2)/*-{
 
$wnd.nativeAjaxCallImplementationInGeneratedBlahBlahHtml_Service(param1,
param2);
    }-*/;

 public native String getContextoSessionString()/*-{
    return $wnd.jsonvariable;
    }-*/;


Let me know  if it helps you.

I'm glad to know that you are from Argentina. You don't know how
difficult is to me to explain in english :).

Saludos! (regards)

Leo

@mallapu
What he said is basically the same as the first post, but in
spanish...


On Feb 5, 2:06 pm, sindroide <[email protected]> wrote:
> ey leo gracias por responder, el codigo que tengo se basa en el
> ejemplo del Json Grid, salvo que uso ScriptTagProxy.
> En el servidor esta el archivo php que conecta a la db, hace la
> consulta, lo pasa a json y lo devuelve. Todos los ejemplos que hay son
> para traer datos. Pero como podria guardar datos ? por ej si la grilla
> fuese editable... o extraer el texto introducido en un campo de texto
> y pasarlo al servidor.
>
> Como habia mencionado lo intente hacer con RequestBuilder porque segun
> lo que lei se acerca mas a lo que necesito hacer. Pero no funciona por
> ser una peticion cross domain.
>
> saludos desde neuquen y cba!
> te agregue al google talk
>
> On 5 feb, 13:17, leo_BsAs <[email protected]> wrote:
>
> > If you show some code I'll try to help you.
>
> > Respect to call a php function from gwt-ext, since the php is
> > processed in the server and gwt (javascript) is processed in the
> > client there's no way to do that. What you can do, is to call a php
> > page and process the response (doing the ajax stuff).
>
> > I'll wait for your response.
>
> > Leo
>
> > On Feb 5, 11:07 am, sindroide <[email protected]> wrote:
>
> > > I searched everywhere and still can't reach the solution. I need to
> > > implement some gwt app with gwt-ext library having php on server side.
> > > I could properly write the code to show some data from mysql in
> > > panels, using ScriptTagProxy and Json, but my problem is that I don't
> > > realize how to save data back when some modifications are made on a
> > > grid, for example. Or save the imput of a text box, or the selected
> > > value of a combobox.
>
> > > Another thing... how could I call php functions from my client side
> > > using gwt-ext?
>
> > > I also tried RequestBuilder but it isn't a cross-domain solution...
>
> > > I know that gwt-ext is discontinued but I want to use it anyway.
>
> > > sinjiv jivan, or anyone else.. some help would be apreciated
> > > thanks for advance!

-- 
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en.

Reply via email to