Problems with loadDS (I think)

this is what I want to do (my html code):

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” >
<head>

&lt;title&gt;Prueba&lt;/title&gt;

<SCRIPT>var isomorphicDir=“../isomorphic/”;</SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Core.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Containers.js></SCRIPT>

&lt;SCRIPT SRC=../isomorphic/system/modules/ISC_Grids.js&gt;&lt;/SCRIPT&gt;
&lt;SCRIPT SRC=../isomorphic/system/modules/ISC_Forms.js&gt;&lt;/SCRIPT&gt;
&lt;SCRIPT SRC=../isomorphic/system/modules/ISC_DataBinding.js&gt;&lt;/SCRIPT&gt;
&lt;SCRIPT SRC=../isomorphic/skins/SmartClient/load_skin.js&gt;&lt;/SCRIPT&gt;

</head>
<body>
<div style=“width: 575px; height: 212px”>
<script>
<isomorphic:loadDS ID=“contactsDS” />
isc.ListGrid.create({
ID:“contactsList”,
left:0,top:0,width:500,
datasource: contactsDS
});
</script>

&lt;/div&gt;
&lt;div id="DIV1" style="width: 223px; height: 212px; left: 594px; position: absolute; top: 15px;" language="javascript" &gt;
 &lt;script&gt;
	isc.DynamicForm.create({
	  ID:"contactsForm",
	  left:0,top:0,width=300,
	  dataSource:contactsDS
	});
 &lt;/script&gt;
&lt;/div&gt;

</body>
</html>

I have a contactsDS datasource in /shared/ds/ and nothing happens.
I’m working with apache server and windows xp sp2

I opened the Developer console and this is the Log Messages output:
12:01:53.832:INFO:Log:initialized
12:01:55.595:INFO:Log:isc.Page is loaded

Could you post a CRUD operations example, using some real world database (postgre, mysql) and PHP? Since right now I’m exploring the basics of smartclient but what I really need is that: smartclient + databases + PHP. But I need examples please :slight_smile:
thanks in advance.

Hi oscquin,

The loadDS tag is only supported by the SmartClient Java Server. As previously indicated, you should start here in the documentation. As the documentation states, you should be creating your DataSources in JavaScript, not XML. The documentation also shows examples that show exactly what your PHP code should output in order to feed data to SmartClient.

You also have a syntax error (“width=300” in the form).