pow2webgui
Tag contentProvider



Example:
Definesa contentProvider for a given component. Example:

<%
  Collection myCollection = myObject.getMyCollection();
  HashMap map = new HashMap();
  map.put("name",    "myName");
  map.put("surname", "mySurname");
%>

<gui:lister width="100" drawer="amazon" title="welcome">
  <gui:contentProvider name          = "default"
                       collection    = "<%=myCollection %>"
                       propertiesMap = "<%=map %>"
                       template      = "myTemplate.vm"/>
</gui:lister>

    


Tag Information
Tag Classcom.pow2.webgui.taglib.ContentProviderTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.Stringthe name of the content provider class.
collectiontruetruejava.lang.Stringthe collection object
templatetruetruejava.lang.Stringthe template path
propertiesMapfalsetruejava.lang.String a properties HashMap that contains further informations that can be used into the Velocity template. Reference a map entry using its key name.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.