Maybe it is not related with this list, but maybe you know, I am trying
to show all my records using an HTML with xmldso and other file XML using
esql tags, If call just the esql file It works fine, but when I call it
by my HTML, when I press next I got an error message that says that
the action is not allowed because the object is not opened.
here is my HTML code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<script type="text/javascript">
function movenext()
{
x=xmldso.recordset
if (x.absoluteposition < x.recordcount)
{
x.movenext()
}
}
function moveprevious()
{
x=xmldso.recordset
if (x.absoluteposition > 1)
{
x.moveprevious()
}
}
</script>
</head>
<body>
<xml src="/cocoon/servlet/sql/sql_2.xml" id="xmldso" async="false"></xml>
<p>
Nombre:
<input type="text" datasrc="#xmldso" datafld="empno"></input>
<br />Nickname:
<input type="text" datasrc="#xmldso" datafld="fisrtname"></input>
<br />Edad:
<input type="text" datasrc="#xmldso" datafld="lastname"></input>
<br />Sexo:
<input type="text" datasrc="#xmldso" datafld="salary"></input>
<br />Color:
<input type="text" datasrc="#xmldso" datafld="job"></input>
</p>
<p>
<input type="button" value="Anterior" />
<input type="button" value="next" />
</p>
</body>
</html>
I am using cocoon 1.8.2, Tomcat 3.2.1, I'm going to appreciate all your help !
Thanks !
--
Gustavo Mejía Mora
INFOTEC
Tel: 5624 28 00
Ext: 253