⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 html_basic.tld

📁 图书馆管理系统
💻 TLD
📖 第 1 页 / 共 5 页
字号:
      is specified, render its value as the value of the "class"      attribute on the "table" element.  Any pass-through attributes are      also rendered on the "table" element.  </p><p>Rendering the header</p><ul><p>If the <code>UIData</code> component has a "header" facet, or      any of the child <code>UIColumn</code> components has a "header"      facet, render a "thead" element.  If the <code>UIData</code>      component has a "header" facet, encode its contents inside of "tr"      and "th" elements, respectively.  Output the value of the      "headerClass" attribute of the <code>UIData</code> component, if      present, as the value of the "class" attribute on the "th".      Output the number of child <code>UIColumn</code> components of the<code>UIData</code> component as the value of the "colspan"      attribute on the "th".  Output "colgroup" as the value of the      "scope" attribute on the "th" element. </p><p>If any of the child <code>UIColumn</code> components has a      "header" facet render a "tr" element.  For each<code>UIColumn</code> that actually has a "header" facet, render      it inside of a "th" element.  Columns that don't have a "header"      facet cause an empty "th" element to be rendered.  Output the      value of the "headerClass" attribute of the <code>UIData</code>      component, if present, as the value of the "class" attribute on      the "th".  Output "col" as the value of the "colgroup" attribute      on the "th" element.</p><p>Close out the "thead" element.</p></ul><p>Rendering the footer</p><ul><p>Follow the same process as for the header, except replace      "header" with "footer", "th" with "td", "thead" with "tfoot", and      "headerClass" with "footerClass".  Do not render any "scope"      attribute for the footer.</p></ul><p>Rendering the table body</p><ul><p>Render a "tbody" element.  Keep track of the result of the      "rows" property on the <code>UIData</code> component.  Keep track      of the number of rows we have rendered so far.  Iterate through      the rows.  Set the "rowIndex" property of the <code>UIData</code>      component to be correct as we iterate through the rows.  Stop      rendering children and close out the "tbody" element if the      "rowAvailable" property of the <code>UIData</code> returned false.      Output a "tr" element.  Output the value of the "rowClasses" per      the attribute description below.  For each <code>UIColumn</code>      child, output a "td" element, attaching the value of the      "columnClasses" attribute of the <code>UIData</code> component per      the attribute description below.  Recursively encode each child of      each <code>UIColumn</code> child.  Close out the "td" element.      When done with the row, close out the "tr" element.  When done      with all the rows, close out the "tbody" element.</p></ul><p>When done rendering all the rows, set the "rowIndex" property of     the <code>UIData</code> to -1, and close out the "table"     element.</p>]]>    </description>    <attribute>      <name>first</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Zero-relative row number of the first row to be displayed.  If this          property is set to zero, rendering will begin with the first row of          the underlying data.      </description>    </attribute>    <attribute>      <name>id</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                The component identifier for this component.  This value must be          unique within the closest parent component that is a naming          container.      </description>    </attribute>    <attribute>      <name>rendered</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Flag indicating whether or not this component should be rendered          (during Render Response Phase), or processed on any subsequent          form submit.      </description>    </attribute>    <attribute>      <name>rows</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                The number of rows to display, starting with the one identified by the          "first" property.  If this value is set to zero, all available rows in          the underlying data model will be displayed.      </description>    </attribute>    <attribute>      <name>value</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                The current value of this component.      </description>    </attribute>    <attribute>      <name>var</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Name of a request-scope attribute under which the model data for the          row selected by the current value of the "rowIndex" property (i.e.          also the current value of the "rowData" property) will be exposed.      </description>    </attribute>    <attribute>      <name>bgcolor</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Name or code of the background color for this table.      </description>    </attribute>    <attribute>      <name>border</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Width (in pixels) of the border to be drawn          around this table.      </description>    </attribute>    <attribute>      <name>cellpadding</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Definition of how much space the user agent should          leave between the border of each cell and its contents.      </description>    </attribute>    <attribute>      <name>cellspacing</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Definition of how much space the user agent should          leave between the left side of the table and the          leftmost column, the top of the table and the top of          the top side of the topmost row, and so on for the          right and bottom of the table.  It also specifies          the amount of space to leave between cells.      </description>    </attribute>    <attribute>      <name>columnClasses</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Comma-delimited list of CSS style classes that will be applied          to the columns of this table.  A space separated list of          classes may also be specified for any individual column.  If          the number of elements in this list is less than the number of          columns specified in the "columns" attribute, no "class"          attribute is output for each column greater than the number of          elements in the list.  If the number of elements in the list          is greater than the number of columns specified in the          "columns" attribute, the elements at the posisiton in the list          after the value of the "columns" attribute are ignored.      </description>    </attribute>    <attribute>      <name>dir</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Direction indication for text that does not inherit directionality.          Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).      </description>    </attribute>    <attribute>      <name>footerClass</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Space-separated list of CSS style class(es) that will be          applied to any footer generated for this table.      </description>    </attribute>    <attribute>      <name>frame</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Code specifying which sides of the frame surrounding          this table will be visible.  Valid values are:          none (no sides, default value); above (top side only);          below (bottom side only); hsides (top and bottom sides          only); vsides (right and left sides only); lhs (left          hand side only); rhs (right hand side only); box          (all four sides); and border (all four sides).      </description>    </attribute>    <attribute>      <name>headerClass</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Space-separated list of CSS style class(es) that will be          applied to any header generated for this table.      </description>    </attribute>    <attribute>      <name>lang</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Code describing the language used in the generated markup          for this component.      </description>    </attribute>    <attribute>      <name>onclick</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          clicked over this element.      </description>    </attribute>    <attribute>      <name>ondblclick</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          double clicked over this element.      </description>    </attribute>    <attribute>      <name>onkeydown</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a key is          pressed down over this element.      </description>    </attribute>    <attribute>      <name>onkeypress</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a key is          pressed and released over this element.      </description>    </attribute>    <attribute>      <name>onkeyup</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a key is          released over this element.      </description>    </attribute>    <attribute>      <name>onmousedown</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          pressed down over this element.      </description>    </attribute>    <attribute>      <name>onmousemove</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          moved within this element.      </description>    </attribute>    <attribute>      <name>onmouseout</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          moved away from this element.      </description>    </attribute>    <attribute>      <name>onmouseover</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          moved onto this element.      </description>    </attribute>    <attribute>      <name>onmouseup</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Javascript code executed when a pointer button is          released over this element.      </description>    </attribute>    <attribute>      <name>rowClasses</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Comma-delimited list of CSS style classes that will be applied          to the rows of this table.  A space separated list of classes          may also be specified for any individual row.  Thes styles are          applied, in turn, to each row in the table.  For example, if          the list has two elements, the first style class in the list          is applied to the first row, the second to the second row, the          first to the third row, the second to the fourth row, etc.  In          other words, we keep iterating through the list until we reach          the end, and then we start at the beginning again.      </description>    </attribute>    <attribute>      <name>rules</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Code specifying which rules will appear between cells          within this table.  Valid values are:  none (no rules,          default value); groups (between row groups); rows          (between rows only); cols (between columns only); and          all (between all rows and columns).      </description>    </attribute>    <attribute>      <name>style</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                CSS style(s) to be applied when this component is rendered.      </description>    </attribute>    <attribute>      <name>styleClass</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Space-separated list of CSS style class(es) to be applied when          this element is rendered.  This value must be passed through          as the "class" attribute on generated markup.      </description>    </attribute>    <attribute>      <name>summary</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Summary of this table's purpose and structure, for          user agents rendering to non-visual media such as          speech and Braille.      </description>    </attribute>    <attribute>      <name>title</name>      <required>false</required>      <rtexprvalue>false</rtexprvalue>      <description>                Advisory title information about markup elements generated          for this component.      </description>    </attribute>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -