ArticlesTutorialsInterview Questions & AnswersCertificationsFree Books & Sample ChaptersTechnical Discussions  Your Account | Advertise with us | Feedback |
Few pages of this site are under construction and we are constantly trying to improve it. If you have any suggestions or ideas about how to improve the site, please Let us know.
Tomahawk Div

 t:dataTable Tomahawk Tag Home t:document 

<t:div>


Contents

  1. Introduction
  2. Tag Attributes
  3. Example

Introduction

The t:div tag renders an HTML div tag around its children.



Tag Attributes


AttributeDescription   Type    
binding The value-binding expression linking this component tag to a backing bean property.String
enabledOnUserRole If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.String
forceId The forceId attribute expects a boolean value, that when set to true, forces the tag to render its ID exactly as specified in the ID attribute. This allows you to apply CSS styles to the tag and to reference it in JavaScript by ID, which is typically not possible using the default JSF component ID naming system. This attribute is false by default.String
forceIdIndex The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true.String
id The unique identifier value for this component. The value must be unique within the closest naming container (e.g.,h:form or f:subview).This value must be a static value.String
renderedA boolean value that indicates whether this component should be rendered.Default value: true.String
styleThe style attribute sets the CSS style definition to be applied to this component when it is rendered.String
styleClassThe styleClass attribute sets the CSS class to apply to this component when it is rendered.String
visibleOnUserRoleIf user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. String


Example



<t:div styleClass="alignTop">
 <t:panelGroup id="leftMenuGrid" >
  <tiles:insert definition="page.leftMenu" flush="false">
   <tiles:put name="itemType" value="/jsp/itemType.jsp" type="page"/>
   <tiles:put name="genres" value="/jsp/genres.jsp" type="page"/>
  </tiles:insert>
 </t:panelGroup>
</t:div




 t:dataTable Tomahawk Tag Home t:document 

  ALSO SEE :

About Us | Our Mission | Terms of use | Author Terms |    Search        | Contact Us | Advertise With Us | Link to Us | Sitemap
Copyright © 2016 developersBOOK.COM. All rights reserved.