The <ps:getPropertyNames> tag is used to get a list of property names in a property set.
Note: All Property Sets tags send results to the same file. If you are checking for results, include this import directive at the top of the page: <%@ page import="com.bea.p13n.property.servlets.jsp.taglib.PropertySetTagConstants" %>
<tagName attribute="value" />
propertySetName
Required (String) - The name of the property set to search.
propertySetType
Required (String) - Type of property set to search.
id
Required (String) - The id of the variable to hold the list of property names, as a String array.
result
Optional (String) - The identifier of an Integer variable that will be created and initialized with the result of the operation.
Possible values:
This example retrieves and lists properties from the "Demographics" property set.
<%@ page import= "com.bea.p13n.property.servlets.jsp.taglib.PropertySetTagConstants" %> . . . <% String myPropertySet="Demographics"; %> <p> ------- <b>ps:getPropertyNames</b> ------------- <br> <ps:getPropertyNames propertySetName="<%= myPropertySet %>" propertySetType="USER" id="propertyNames" result="myResult"/> <% for (int i=0; i < propertyNames.length; i++) out.println(propertyNames[i] + "<br>"); %>