Инструменты пользователя

Инструменты сайта


limb2:en:template_system:tags:form_tags:selectortag

Selector Tag

Tag selector_tag

<selector [selector_name='selector_name']>

Purpose

Enhanced html input checkbox tag. Used for generating the list of checkboxes. Adds its unique 'name' attribute to every input element of each row of the list.

Scope

Immediate child of <form> tag.

Attributes

  • selector_name – the field name if the current scope which value will be used as a name for every checkbox of the list. Default is 'selector_name'.

Contents

No.

Comments

The current scope must fill $selector_name value for the every row of the list.

Example

<grid:LIST id='checkers'>
 <grid:ITERATOR>
  <td align="center">
   <selector class="checkbox" selector_name='read_selector_name'>
   &nbsp; - &nbsp;
   <selector class="checkbox" selector_name='write_selector_name'>
  </td>
 </grid:ITERATOR>
</grid:LIST>

</td> </tr>

Обсуждение

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