xforms-hide

Carl,

We discussed your xforms-hide issue today at the Forms WG meeting, based 
on a mail note I forwarded: 
http://lists.w3.org/Archives/Public/public-forms/2008Jun/0035.html

We agreed that the use case you describe is valuable and that a solution 
should reduce both authoring and execution complexity. 

We did not reach consensus on your specific proposal of xforms-hide, but 
we did agree to keep the use case on hand to test other, more general 
ideas we have on the table for future versions. 

Additionally, we agreed to add to XForms 2.0 a case() XPath  function to 
parallel the repeat index() XPath function. 

Note that there is already a way in XForms 1.1 to use toggle to specify 
a computed case: http://www.w3.org/TR/xforms11/#action-toggle-case and 
the proposed case() XPath function would be the dual of this toggle/case 
element, returning the currently selected case for the indicated 
switch.   We believe that with switch/case and toggle, it should be 
possible to convert this from an 26*4 problem to a 1*4 problem.

However, we agree that a solution that allows the author to be more 
expressive would be better, and will be using this use case to test more 
general solutions we already have planned for higher-order expression.

Thank you,
Leigh.


 <https://lists.mozilla.org/listinfo/dev-tech-xforms>

Received on Wednesday, 17 September 2008 16:16:37 UTC