limb2:en:template_system:tags:actions_tags:actions_tag

Actions Tag and Component

Tag actions_tag

<actions>
 ...some content
</actions>

Purpose

Generates a list of object's actions at runtime(JIP)

Scope

Inside any component which dataspace contains object actions.

Attributes

No.

Content

<actions:ITEM> tag and any decorating text or html.

Example

<fetch:MAPPED>
<actions>
  <actions:ITEM>
   <a href='{$action_href}' onclick="return click_href(this.href);">
    <img src='{$img_src}' alt='{$action_name}' border=0 class=action>
   </a><br>
  </actions:ITEM>
</actions>
</fetch:MAPPED>

Component actions_component

Runtime component for the <actions> tag.

Methods

  • set_actions($all_actions) – fills component dataspace with object's actions
  • set_node_id($node_id) - sets current object node_id
  • get_actions() – internal method used at runtime for properly processing actions list

Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
     __  _____   ___    ____   ___ 
 __ / / / ___/  / _ \  /  _/  / _ |
/ // / / (_ /  / // / _/ /   / __ |
\___/  \___/  /____/ /___/  /_/ |_|
 
limb2/en/template_system/tags/actions_tags/actions_tag.txt · Последнее изменение: 2010/11/10 10:02 — 127.0.0.1