- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::WikiForm
::xowiki::WikiForm create ... \Form Class for XoWiki Pages. You can manipulate the form elements shown by editing the field_list. The following elements are mandatory in field_list and should never be left out:
[ -autoname (default "0") ] \
[ -f.creator (default "=") ] \
[ -f.description (default "=") ] \
[ -f.item_id (default "item_id:key") ] \
[ -f.name (default "=") ] \
[ -f.nls_language (default "=") ] \
[ -f.page_order (default "=") ] \
[ -f.text (default "= richtext,extraPlugins=xowikiimage") ] \
[ -f.title (default "=") ] \
[ -field_list (default "item_id name page_order title creator text description nls_language") ] \
[ -folderspec (default "") ] \
[ -submit_link (default "view") ] \
[ -validate (default " {name {\[::xowiki::validate_name\]} {Another item with this name exists already in this folder} } {name {[string length \$name] < 4000} {The name is too long. Please enter a value of at most 4000 characters long} } {page_order {\[::xowiki::validate_form_field page_order\]} {Page Order invalid; might only contain upper and lowercase letters, underscore, digits and dots}} ") ] \
[ -with_categories (default "true") ]
- name
- item_id
Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-form-procs.tcl
Class Relations
- class: ::xotcl::Class
- superclass: ::Generic::Form
- subclass: ::xowiki::PlainWikiForm, ::xowiki::PageInstanceEditForm, ::xowiki::PageTemplateForm, ::xowiki::PageInstanceForm, ::xowiki::FileForm
Methods (to be applied on instances)
after_submit (scripted)
autoname (setter)
data_from_form (scripted)
edit_data (scripted)
edit_request (scripted)
f.creator (setter)
f.description (setter)
f.item_id (setter)
f.name (setter)
f.nls_language (setter)
f.page_order (setter)
f.text (setter)
f.title (setter)
field_list (setter)
folderspec (setter)
mkFields (scripted)
new_data (scripted)
new_request (scripted)
on_submit (scripted)
submit_link (setter)
tidy (scripted)
update_references (scripted)
validate (setter)
with_categories (setter)
Variables
::xowiki::WikiForm set __default_metaclass ::xotcl::Class ::xowiki::WikiForm set __default_superclass ::xotcl::Object
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables