Class ::xowiki::includelet::edit-item-button (public)
::xowiki::IncludeletClass ::xowiki::includelet::edit-item-button
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl
Button to edit the current or a different page
- Testcases:
- No testcase defined.
Source code: namespace eval ::xowiki::includelet {} ::nsf::object::alloc ::xowiki::IncludeletClass ::xowiki::includelet::edit-item-button {set :__default_metaclass ::xotcl::Class set :__default_superclass ::xotcl::Object set :aggregating false set :cacheable false set :localized true set :personalized true} ::xowiki::includelet::edit-item-button instproc render {} { :get_parameters set page [:get_page page_id] if {[$page istype ::xowiki::FormPage]} { set template [$page page_template] #set title "$title [$template title] [$page name]" } if {$book_mode} { append :return_url #[toc anchor [$page name]] } return [:render_button -page $page -method edit -package_id $package_id -link $link -title $title -alt $alt -return_url ${:return_url} -target $target] } ::xowiki::includelet::edit-item-button instparametercmd parameter_declaration ::nsf::relation::set ::xowiki::includelet::edit-item-button superclass ::xowiki::includelet::item-button ::nx::slotObj -container slot ::xowiki::includelet::edit-item-button ::xowiki::includelet::edit-item-button::slot eval {set :__parameter { {parameter_declaration { {-page_id} {-title "#xowiki.edit#"} {-alt "edit"} {-book_mode false} {-link ""} {-target ""} }} }} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::includelet::edit-item-button::slot::parameter_declaration {set :accessor public set :configurable true set :convert false set :default { {-page_id} {-title "#xowiki.edit#"} {-alt "edit"} {-book_mode false} {-link ""} {-target ""} } set :defaultmethods {} set :disposition alias set :domain ::xowiki::includelet::edit-item-button set :incremental 0 set :manager ::xowiki::includelet::edit-item-button::slot::parameter_declaration set :methodname parameter_declaration set :multiplicity 1..1 set :name parameter_declaration set :per-object false set :position 0 set :required false set :substdefault 0b111 set :trace none : init}XQL Not present: Generic, PostgreSQL, Oracle