[Osr-101] Hints for preferred widget
Thomas Comiotto
comiotto at rcfmedia.ch
Wed Aug 2 23:20:04 CEST 2006
Hi all,
Currently only one editing mode is taken into account by neutron:
WYSIWYG editing configured by xsl files (I don't count source editing).
However, there are xml resources where some different editing mode
would be more appropriate. For instance database records and similar
doctypes, where users might expect a GUI that allows you to navigate
the document node tree by some tree widget and fill out node values by
using form fields, apply filtering on document nodes, step forth and
back from node to node etc..
Since the client can't make a reliable decision on which editing mode
to use by looking at the mime-type or file endings I think we have to
add some hinting directives for that.
List of possible editing modes:
- WYSIWYG based on xslt
- WYSIWYG based on CSS
- TreeAndForm
- DatabaseEntries (form field for every entry, widget to step
forward/back entries, widget to add/remove entries. Needs an xpointer
to some entry)
- SimpleForm (for name/value paired properties or simple metadata)
- add your editing mode here
Of course the server also could provide special xslt's for all
mentioned editing scenarios - but that would be a hassle to write and
in all form based variants the actual styling of the data is of no
importance for the editing process. Therefore it should be provided by
the client.
--
Bests
Thomas
More information about the Osr-101
mailing list