- From: John Boyer <boyerj@ca.ibm.com>
- Date: Mon, 17 Oct 2005 14:58:01 -0700
- To: "Flinton Adam" <Adam.Flinton@cfh.nhs.uk>
- Cc: www-forms@w3.org, www-forms-request@w3.org
- Message-ID: <OF1A446BE8.81D27BB9-ON8825709D.007889A1-8825709D.0078AACF@ca.ibm.com>
Hi Adam,
It does look slightly out of whack that your xf:repeat starts before the
tbody, but the closing tag
is before the closing tag of the tbody? This would seem to be not
well-formed XML, and may
be why the Novell processor is refusing to handle it. Is this just a
typo?
Cheers,
John M. Boyer, Ph.D.
Senior Product Architect/Research Scientist
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com http://www.ibm.com/software/
"Flinton Adam" <Adam.Flinton@cfh.nhs.uk>
Sent by: www-forms-request@w3.org
10/17/2005 10:24 AM
To
<www-forms@w3.org>
cc
Subject
Can the Novell plugin do repeats within tables?
Dear All,
I have a repeat within a table i.e. the repeat creates table rows. This
works fine in Firefox but simply does not seem to work in the Novell
Xforms plugin.
For example this works in Firefox but simply doesn't in the Novell
plugin (in fact it only seems to find the @name for the root element)
<table style="text-align: left; width: 100%; text-align: left;
vertical-align: top;" cellSpacing="1" cellPadding="2" border="1">
<xf:repeat id="r1"
style=""
nodeset="instance('mif')/*[mif:class]">
<tbody>
<tr style="width: 100%">
<td style="width: 50%;
background-color: rgb(255, 255, 102); text-align: left; vertical-align:
top; ">
<xf:output
ref="mif:class/@name">
<xf:label>Classname: </xf:label>
</xf:output>
</td>
<td style="width: 50%;
text-align: left; vertical-align: top;">
<xf:textarea
id="classname" style="" ref="mif:class/mif:annotation" />
</td>
</tr>
<xf:repeat id="r2" style=""
nodeset="mif:class/mif:attribute">
<tr>
<td>
<xf:output ref="@name">
</xf:output>
</td>
<td
style="width: 50%; text-align: left; vertical-align: top;">
<xf:textarea id="classname" ref="mif:annotation/*" />
</td>
</tr>
</xf:repeat>
</tbody>
</xf:repeat>
</table>
Does the Novell plugin not handle model elemetns correctly?
Adam
This e-mail is confidential and privileged. If you are not the intended
recipient please accept our apologies; please do not disclose, copy or
distribute information in this e-mail or take any action in reliance on
its contents: to do so is strictly prohibited and may be unlawful. Please
inform us that this message has gone astray before deleting it. Thank you
for your co-operation.
Received on Monday, 17 October 2005 21:58:10 UTC