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 Class | com.pow2.webgui.taglib.ContentProviderTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
name | true | true | java.lang.String | the name of the content provider class. |
collection | true | true | java.lang.String | the collection object |
template | true | true | java.lang.String | the template path |
propertiesMap | false | true | java.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.