Skip to Content
0
Former Member
Dec 04, 2006 at 11:00 PM

Dynamic Values For Drop-down List In AbstractPortalComponent

40 Views

Hello All!

Is it possible to create a portal component that has a component-profile property that displays a drop-down list in which the options are built dynamically in code?

I have other component-profile properties that display as drop-down lists in the Property Editor when an administrator is creating a content object for that component. Example:

<property name="PROTOCOL" value="Protocol Session Attribute">

<property name="personalization" value="NONE"/>

<property name="plainDescription" value="Web Application Protocol"/>

<property name="validvalues" value="4/http5/https26/Protocol Session Attribute"/>

<property name="category" value="Web Application Setup"/>

<property name="type" value="String"/>

</property>

I just need to know how to generate the validvalues sub-property dynamically when the Property Editor is loaded.

Thanks,

Adrienne