Para::Frame::Template::Meta - Common TT html header
Sets HTML title and a H1 with the value.
Only sets HTML title with the value.
Access level for viewing the page.
The user level is set by Para::Frame::User.
Example: [% META title="Hello" level=4 %]
Default value: 0
Sets focus on form field with specified name.
Sets the onsubmit param of the form tag. Javascript stuff.
The method of the form. Default is POST.
The enctype of the form. Uses multipart/form-data if form_method is POST, in oprder to make file uploads possible. If GET, it will use the standard enctype.
A string to put in the form tag.
Set default next page to view after form submit.
The value can be any sort of URL. Used to set form.f.action.
Default template determined by Para::Frame::Route/plan_backtrack in case of form submit with next_template being false.
Use Para::Frame::Template::Plugin::Meta::Interpolate for prepending $home or setting it to $me.
Example: [% META next_template = '~$home/' %]
Sets the target of the next template. It's the name of the browser window.
Set default next page to view after form submit.
The value can be any sort of URL. Used to set form.f.action.
This will be used if both /next_template and Para::Frame::Route/plan_backtrack returns undef.
Use Para::Frame::Template::Plugin::Meta::Interpolate for prepending $home or setting it to $me.
Example: [% META next_template = '~$home/' %]
Set default action to be taken after form submit, before viewing the next page.
Stored in form field 'run'.
Multiple actions can be taken by concatenating them with '&', or by having multiple run fields. An action can also append more actions to be taken.
The name of the action should be in all lower case. Paraframe will look for a Perl module with the samne name in the application appbase or any of the appfmly or in paraframe. If appbase is Rit::HG and teh action is named lookup it will first try with Rit::HG::Action::lookup and then Para::Frame::Action::lookup.
It will then call the handler() function with the $req as param.
The first action that fails (with an exception) will cauese the later actions to not be run.
The cascading stylesheet to use for this page. The header metadata is generated using Para::Frame::Widget/css_header.
Example: [% META css="/my_style.css" %]
The favicon to use for this page. Can also be given as a tt param in site config or globaly.
The description of the page (for search engines)
The keywords for the page. (Not used by most search engines)
This is given as a string
The class of the HTML body (for CSS). Can also be given as a tt param in site confog or blobaly.