Class ::xowiki::includelet::iframe (public)
::xowiki::IncludeletClass ::xowiki::includelet::iframe
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl
Include an iframe containing the specified URL
- Testcases:
- No testcase defined.
Source code: namespace eval ::xowiki::includelet {} ::nsf::object::alloc ::xowiki::IncludeletClass ::xowiki::includelet::iframe {set :__default_metaclass ::xotcl::Class set :__default_superclass ::xotcl::Object set :aggregating false set :cacheable false set :localized true set :personalized true} ::xowiki::includelet::iframe instproc render {} { :get_parameters if {$title eq ""} { set title $url } set url [ns_quotehtml $url] set title [ns_quotehtml $title] set width [ns_quotehtml $width] set height [ns_quotehtml $height] return [subst -nocommands { <iframe src='${url}' width='${width}' height='${height}'></iframe> <p><a href='${url}' title='${title}'>${title}</a></p> } } ::xowiki::includelet::iframe instparametercmd parameter_declaration ::nsf::relation::set ::xowiki::includelet::iframe superclass ::xowiki::Includelet ::nx::slotObj -container slot ::xowiki::includelet::iframe ::xowiki::includelet::iframe::slot eval {set :__parameter { {parameter_declaration { {-title ""} {-url:required} {-width "100%"} {-height "500px"} }} }} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::includelet::iframe::slot::parameter_declaration {set :accessor public set :configurable true set :convert false set :default { {-title ""} {-url:required} {-width "100%"} {-height "500px"} } set :defaultmethods {} set :disposition alias set :domain ::xowiki::includelet::iframe set :incremental 0 set :manager ::xowiki::includelet::iframe::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