On Wed, Mar 7, 2012 at 10:52 AM, rene_kapusta <rene.kapu...
> I'd like to make RDFa annotated parts of a page not editable.
I think the easiest way is by hooking into Create's widget selection
mechanism. By default we just load the designated content editable
widget (Hallo or Aloha) for each element containing a RDFa literal,
but you can supply your own versions of these functions in
configuration. This way you can load other widgets (or editors with
different configurations) for different editable contents.
This could mean date pickers or autocomplete boxes, but it could also
mean a "no widget" for cases like this.
Look at the default implementations of widgetName, enableEditor, and
You can pass your own versions in the config object when loading the
midgardCreate widget (or midgardEditable if you're only using that).
Motorcycle Adventures and Free Software