Forum OpenACS Development: Re: xowiki 0.46

Collapse
14: Re: xowiki 0.46 (response to 1)
Posted by Nima Mazloumi on
perfect. thank you.

I've been playing around with page templates. any objection if i extend it with a way to provide a field type and wether the field is required or optional?

what about this:

default:

@field@ --> required, type textara

new:

@field:type:optional@ --> optional field of a given type. For example:

@start_date@:date:optional@ will result in a date selection widget

Collapse
15: Re: xowiki 0.46 (response to 14)
Posted by Gustaf Neumann on
Just specifying type is not sufficient, extending the at-sign-syntax is not scalable.

look at the widget_specs in http://alice.wu-wien.ac.at:8000/xowiki-doc/

one can specify per field and page template the widgets (most prominently via editing the folder object), one can use multiple xinhas, or selection boxes, etc... the conference site was made with a page template.