AW: [opencms-dev] Multiselect widget as checkboxes

Achim Fischer achim at afisys.de
Tue Aug 1 14:27:22 CEST 2006


Hi Jonathan,

thanks for your reply.

I created an own MultiSelectWidget (a copy from the original) and set the
m_asCheckBoxes in the source-code to true :-)

That works perfect, the checkboxes show up.

Now I have my own widget where I can pull the checkbox-values from a
database.



Regards


Achim




> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Jonathan Woods
> Gesendet: Montag, 31. Juli 2006 13:58
> An: 'The OpenCms mailing list'
> Betreff: RE: [opencms-dev] Multiselect widget as checkboxes
> 
> For 6.2.1 - and I imagine for 6.2.2 - I believe there's no 
> way to do this.
> >From memory, there's a valid XML syntax specifying it, but 
> in practice it's
> ignored.  I may be wrong, of course...
> 
> Jon 
> 
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Achim Fischer
> Sent: 31 July 2006 12:08
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Multiselect widget as checkboxes
> 
> Hi,
> 
> please, how is the syntax to show a MultiSelect-Widget as Checkboxes?
> 
> 
> The xsd-code-snippet
> 
> 		
> <xsd:sequence>
> 	<xsd:element name="MultiSelector" type="OpenCmsString" 
> minOccurs="0"
> maxOccurs="2" />
> </xsd:sequence>
> 
> <layout element="MultiSelector" widget="MultiSelectWidget"
> configuration="Option 1|Option 2|Option 3|Option 4" />
> 
> 
> will show a normal select-box.
> 
> Where do I have to pass the boolean value asCheckboxes ?
> 
> 
> 
> Regards
> 
> Achim
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> _______________________________________________
> 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
> 





More information about the opencms-dev mailing list