logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: repeat-bind attribute: msg#00008

Subject: Re: repeat-bind attribute
On Thu, 2004-09-02 at 13:35 +0200, Chris Picton wrote:
> Hi
> 
> If I understand the xforms spec correctly, the following fragment: 
> 
> <table xforms:repeat-nodeset="...">
> <tr><td><xforms:output ref="..."/></td></tr>
> </table>
> 
> Should translate into :
> <table>
> <tr><td>Some Output</td></tr>
> <tr><td>Some More Output</td></tr>
> <tr><td>Some Other Output</td></tr>
> </table>


I placed the repeat-nodeset on the tr, and got the following:
Chiba removed the <tr> elements, and replaced them with the <table>s
created from the full group which is automatically created by the
repeat.  
This behaviour is definitely incorrect


<table>
        
<table id="C5" class="full-group group" border="0">
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>User: <span xmlns="" id="C6-
value">Chris</span>
</td>
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>Time: <span xmlns="" id="C7-
value">100</span>
</td>
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>Bytes: <span xmlns="" id="C8-
value">1000</span>
</td>
</table>
<table id="C9" class="full-group group" border="0">
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>User: <span xmlns="" id="C10-
value">Paul</span>
</td>
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>Time: <span xmlns="" id="C11-
value">1004</span>
</td>
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>Bytes: <span xmlns=""
id="C12-value">1004</span>
</td>
</table>
<table id="C13" class="full-group group" border="0">
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>User: <span xmlns="" id="C14-
value">Phil</span>
</td>
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>Time: <span xmlns="" id="C15-
value">10</span>
</td>
<td xmlns="http://www.w3.org/2002/06/xhtml2";
xmlns:chiba="http://chiba.sourceforge.net/2003/08/xforms";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xlink="http://www.w3.org/1999/xlink";>Bytes: <span xmlns=""
id="C16-value">543</span>
</td>
</table>
        
</table>
    




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>