- From: Lorenzo De Tomasi <lorenzo.detomasi@gmail.com>
- Date: Fri, 20 Jul 2007 12:18:37 +0200
- To: www-forms@w3.org
I'm trying to make an xform that works like Gmail contacts ( http://sinapsi.isotype.org/describe_person.xhtml ). I would like to block deleting of all the items: i.e. if there is only one section it cannot be deleted and if, in a section, there is only one contact, it cannot be deleted (as in Gmail) . I know that the solution is to disable the delete triggers using relevant="...". Aaron Reed, a member of Mozilla xforms mailing list, has sent me this example: http://sinapsi.isotype.org/xforms/relevant.xhtml Junk doesn't store anything in this case. It is just the instance data node that the relevancy state is managed on. I think it's redundant, superfluous for this simple, useful and (for sure) very used task. If I omit nodeset="junk", the xforms plugin hides the delete trigger, but it doesn't display the relative field. I would like to suggest to the xform team the necessity to make more understandable this function and to make it easier to implement for dummies in future versions of xforms, also by adding a specific command for this. I think it will be better if it will be implemented as default and if a it can be disabled in specific cases. What do you think? Aaron has told me that probably this issue has already been presented to the W3C, but we were unable to find it in their archive. Where can I find more infos? Thank you very much -- Lorenzo De Tomasi Designer multimodale http://www.ipernico.it http://www.isotype.org (in costruzione)
Received on Friday, 20 July 2007 10:18:42 UTC