[opencms-dev] Dynamic ComboBox Question (URGENT)
Alexander Kandzior
alex at opencms.org
Thu May 4 17:59:51 CEST 2006
Yes, this is possible.
I assume you want to have this "dynamic combobox" in an XML content.
To do this, you need to extend the class
"org.opencms.widgets.CmsComboWidget". In the extended class, you need to
replace the logic that creates the select entries with something else. See
"org.opencms.widgets.A_CmsSelectWidget#addSelectOption(CmsSelectWidgetOption
)" for a method you potentially need to overload. You will have to register
your custom widget class in the appinfo node of your XML content or the
global configuration file "opencms-vfs.xml".
Kind Regards,
Alex.
-------------------
Alexander Kandzior
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
________________________________
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Mario D'Angelo
Sent: Thursday, May 04, 2006 3:33 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Dynamic ComboBox Question (URGENT)
Hi List,
I need to create a custom xml article where users can select the
area name from the list of microsites. I was thinking about creating a
Dynamic ComboBox getting the resource name of all MicroSites. Is it possible
to make Dynamic ComboBox using OpenCms 6.2 ?
Please somebody answer this question whether it is positive or
negative.
Thank you,
M.
More information about the opencms-dev
mailing list