[opencms-dev] Selectorwidget don't change language

manuela cirronis manuela.cirronis at gruppoatlantis.com
Wed Oct 25 10:10:24 CEST 2006


Hello Carl,
Maybe is a bug...??
I check this behaviour also in the 6.2.2 version of opencms.
The elements  under the folder /modulesdemo/modules of type events for 
example
have the field Priority as you have described but when you change language 
the value
showen are always in english.
Only when you change the Language (into the Preference --> Startup Settings 
in the Workplace tab)
of the workplace and you choose German the priority value showen are in 
German and are always
in German also if you change English in the editor.

So if this is a bug where is described the procedure to report a bug?
Thanks in advance

    Manuela


> Are you sure you are refering to strings of the resource bundle
> when setting up the widget in the xsd file rather than using
> constant values in the schema ?
>
> This is an example refering to strings from a resource bundle
>
> <xsd:annotation>
>  <xsd:appinfo>
>    <resourcebundle name="resourcebundlename"/>
>    <preview uri="${previewtempfile}" />
>    <mappings>
>    </mappings>
>    <layouts>
>      <layout element="Priority" widget="SelectorWidget" 
> configuration="6:${key.priority.maximum}|5:${key.priority.veryhigh}|4:${key.priority.high}|3*:${key.priority.standard}|2:${key.priority.low}|1:${key.priority.verylow}|0:${key.priority.minimum}" 
> />
>    </layouts>
>    <validationrules/>
>    <defaults>
>    </defaults>
>  </xsd:appinfo>
> </xsd:annotation>
>
> If you are using references to the resource bundle and that
> isn't working you should report it as a bug.
>
> Cheers,
>
> Carl
>
>


--------------------------------------------------------------------------------


>
> _______________________________________________
> 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