Mozilla/5.0
(Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Windows xp sp2
GWT 2.0.4
SMART 2.3
Developer Console: no errors, nothing
firebug: NO RESPONSE, nothing happend
now its imposible call a fecth because nothing happend...?
but the simple datasource without scriptinclude option works.
(Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Windows xp sp2
GWT 2.0.4
SMART 2.3
Developer Console: no errors, nothing
firebug: NO RESPONSE, nothing happend
Code:
public DataSource createDataSource(final String Tipo , final String String_Object,String Action) {
final DataSource dataSource = new XJSONDataSource ();
dataSource.setDataTransport(RPCTransport.SCRIPTINCLUDE);
dataSource.setShowPrompt(false);
dataSource.setDataFormat(DSDataFormat.JSON);
//SC.say(keyhash.str_ws_root +"/"+ keyhash.str_ws_root_name +"/"+keyhash.str_ws_scrip_rewrite + "/"+ String_Object );
if (Tipo.toString().equals("login")){
dataSource.setDataURL( keyhash.str_ws_root +"/"+ keyhash.str_ws_root_name +"/"+keyhash.str_ws_scrip_rewrite + "/"+ String_Object);
}
SC.say( dataSource.getDataURL() );
//correct URL!
return dataSource;
}
public k_comunication()
{
}
}
but the simple datasource without scriptinclude option works.
Comment