Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

fragment:list

This is a marker tag for a list of slots within the presentation context.

Syntax

Parameters

name (required)
Name of the fragment as referenced in the controller.
For example: in the controller, if the fragment is set into the model as: models.put("myfragment", fragment), then it will be de-referenced in the view as: <fragment:include name="myfragment" /> Typical usage of this tag is as follows: <fragment:list name="myPrototypeFragment"> <fragment:include name="myEditableFragment" /> </fragment:list> myPrototypeFragment is the fragment using which elements of the list may be prototyped. The prototyping may be done in the controller or in the view by referring the prototype fragment as shown. The attributes for this tag are as follows: name: the name of the fragment referenced as the prototype in the controller. For example: in the controller, if the prototype is set into the model as: models.put("myprototypefragment", prototype), then it will be de-referenced in the view as: <fragment:include name="myprototypefragment" />

styles (optional)
View override for editable fragments for additional css classes to add to the slot, whenever CSS rules need to be adjusted.
title (optional)
View override for the slot title rendered in slot overlays.
emptyText (optional)
View override for the text to be rendered inside empty slots.
buttons (optional)
View override for the buttons to show in the mini bar for edit operations on the slot.

  Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.