[opencms-dev] Dynamic ComboBox Question (URGENT)

Tomáš Adámek tomas.adamek at qbizm.cz
Fri May 5 10:07:20 CEST 2006


Hello,

This sounds very interesting, I just would to ask if there wont be some 
problem with this "dynamic content listbox" in saved XML document. What 
would happen, if the content of listbox will be changed later and I will 
try to edit previously created document saved with some different count 
or parameters names of that combo box. Thx for your answer.

Alexander Kandzior napsal(a):
> 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.
> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-- 
Tomas Adamek                                Qbizm technologies, a.s.
analyst-developer                           ... the art of software.
____________________________________________________________________
www.qbizm-technologies.cz    www.qbizm.cz      www.qbizm-services.cz



More information about the opencms-dev mailing list