Closed
Bug 292725
Opened 20 years ago
Closed 20 years ago
MIPs should apply to the context node for unrolled repeat "rows"
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: allan)
References
()
Details
Attachments
(2 files)
If f.x. the context node for a repeat "row" is disabled, the entire row should
match :disabled. As in:
<xforms:instance xmlns="">
<data>
<value>v1</value>
<value>v2</value>
</data>
</xforms:instance>
<xforms:bind nodeset="value[1]" relevant="false()"/>
<xforms:repeat nodeset="values">
<p>There it is: <xforms:ouput ref="."/></p>
</xforms:repeat>
Here the entire <p> (or rather the surrounding div of the contextcontainer)
should match :disabled.| Assignee | ||
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Attachment #182484 -
Attachment is patch: false
Attachment #182484 -
Attachment mime type: text/plain → application/xml
| Assignee | ||
Comment 2•20 years ago
|
||
Simple solution. Bind the nsXFormsContextContainer to the model and set the states whenever a context node is set. (the patch depends on bug 292089)
| Assignee | ||
Updated•20 years ago
|
Attachment #182485 -
Flags: review?(smaug)
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Comment 3•20 years ago
|
||
Comment on attachment 182485 [details] [diff] [review] Patch This makes repeats again a bit slower... but r=me
Attachment #182485 -
Flags: review?(smaug)
Attachment #182485 -
Flags: review?(doronr)
Attachment #182485 -
Flags: review+
Updated•20 years ago
|
Attachment #182485 -
Flags: review?(doronr) → review+
| Assignee | ||
Comment 4•20 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•