Open avernet opened 6 years ago
For the record, we consider fr:tabview
as deprecated since we have fr:tabbable
now, and Form Builder uses that.
Here is the code which evaluates the label:
<xf:output xxbl:scope="outer">
<xsl:copy-of select="$label/(@model | @context | @ref | @bind | @value | node())"/>
</xf:output>
The result in this case would be:
<xf:output
xxbl:scope="outer"
ref="concat('TESTS (',count(instance('test')/xis:test),')')"/>
We switch to the outer scope, which should include the in-scope namespaces.
We will have a mixed Orbeon 3.9 and Orbeon ... environment for some time to come. We try to maintain 1 code base for both versions for a grace period. This would mean keeping tabview around for some time to come.
I appreciate that you consider tabview deprecated, but unfortunately it broke in the 2018 edition. It still works fine in 2017. Could you at least fix what broke so we can still use it?
I tried using fr:tabbable, but as it is not documented, all I could think of is rename fr:tabview to fr:tabbable in the XForm. This gives me the first tab as expected, but I cannot get to the second tab of the two. Clicking it yields nothing. If fr:tabbable is to be a true replacement, I should be able to get comparable results to fr:tabview, I reckon
We can certainly look into it.
To reproduce, run the following XForms:
+1 from user