Hi All,
In my application I am writing my XPL and XHTMLS in following manner,
I want retrive the Data into a xhtml throught xpl.
Is it the proper way of doing?
sample.xpl
<sql:execute>
<sql:query>
select * from Demo
</sql:query>
<sql:result-set>
<sql:row-iterator>
<orbeon>
<id>
<sql:get-column-value column="id"/>
</id>
<abc>
<sql:get-column-value column="abc_id"/>
</abc>
</orbeon>
</sql:row-iterator>
</sql:result-set>
</sql:execute>
<p:output name="data" id="config"/>
Example.xhtml
<head>
<title>User Fomrs</title>
<p:input name="data" href="#instance"/>
<xforms:model>
<xforms:instance id="main">
<xi:include href="input:data"/>
</xforms:instance>
</xforms:model>
</head>
<body>
<xforms:group ref="orbeon" ><xforms:output ref="id"/>
<xforms:group ref="orbeon" ><xforms:output ref="abc_id"/>
</body>
</html>
Thanks,
Suryaprakash Raghuwanshi
------------------------------------------------------------------
Before printing, think about the environment