Open avernet opened 2 months ago
The issue appears to be this:
selection="{if ($is-open) then 'open' else ''}"
controls.xsl
with calls to functions to retrieve a control's valuecontrols.xsl
, included by components.xsl
, does not run at design-timeThoughts:
controls.xsl
or a subset at design-timeIn annotate-design-time.xsl
, we handle specifically fr:section/(@open | @readonly | @page-size)
, for example, in addition to MIPs. The attributes are moved to the fb:
namespace. We should do something similar here. In addition, the control editor should use the fb:
namespace when reading/updating attributes.
We can also check within the component itself whether we are at design-time when calling fr:component-param-value('selection')
. Could we also make a static determination? That is, if literally true
, when we are open, but if an AVT, then "maybe" or "closed"?
$is-open
.