When you create a portlet with the WebLogic Workshop Portal Extensions Portlet Designer, you can add different preferences to it that help control the portlet's content and behavior (choose Insert-->New Preference). The portlet preferences JSP tags let you expose those preferences to end users, letting them view and set preferences.
The <pref:ifModifiable> tag includes the body of the tag if the given portlet preference is modifiable. If the preference is not modifiable, the body of this tag is skipped. Use the <pref:else> tag to display body content if the <pref:ifModifiable> tag content is skipped.
<tagName attribute="value">
</tagName>
name
Required (String) - The name of the portlet preference.
<pref:ifModifiable name="showChannelDescription">
<input type="checkbox" name="showChannelDescription" value="true" <%=showChannelDescription ? "checked" : "" %> > Show Channel Description
<%somethingToEdit = true;%>
</pref:ifModifiable> <pref:else> Channel description is unavailable. </pref:else>
The Portal Samples contain examples of portlet preference JSP tags. In the Sample Portal, the RSS RSS News Feed Portlet uses the JSP tags, and the Tutorial Portal contains a Portlet Preferences page.