[opencms-dev] editor configuration

Boggs, Michael michael.boggs at dot.state.wi.us
Wed Feb 7 17:50:00 CET 2007


Thanks. Is there documentation anywhere on what the "HtmlWidget"
configurations options are? I don't know what each of those attributes is
doing exactly (I can guess). Is there a list?

Thanks so much!
-Mike

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]On Behalf Of Andrea Bollini
Sent: Wednesday, February 07, 2007 10:40 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] editor configuration


Hi,
you can set the configuration parameters in the <xsd:annotation> 
section, see the example below
<xsd:annotation>
        <xsd:appinfo>
            <resourcebundle name="xxxxxxx" />
            <preview uri="${previewtempfile}" />
            <mappings>
                <mapping element="Title" mapto="property:Title" />     
              
            </mappings>          
            <layouts>
                <layout element="Description" widget="HtmlWidget" 
configuration="height:250px,formatselect,source,link" />
             </layouts>
             <validationrules />
        </xsd:appinfo>
     </xsd:annotation>

best,
Andrea Bollini

Boggs, Michael ha scritto:
> Hello all,
>
> I have a few questions about the editor used in the ModulesDemo. I'm
> wondering specifically about the way it edits the text area fields.
> (<xsd:element name="Text" type="OpenCmsHtml" />)
>
> For example (in the news demo), I know it takes the news.xsd document from
> /system/modules/org.opencms.frontend.templateone.modules/schemas/news.xsd
> and uses that do determine what fields to display. 
>
> My actual question: Is there a way to configure what buttons that the Text
> (type="OpenCmsHtml") field displays? Specifically, I want to add a
hyperlink
> button, so users can put links into their news articles (without having to
> have them be at the bottom of the page). 
>
> I hope this is clear, if not please let me know.
>
> -Mike
>
> _______________________________________________
> 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