[oXygen-user] Combo box in Author Mode
Sorin Ristache
Tue Jun 9 08:41:31 CDT 2009
The type of schema is not important. It can be a DTD, an XML Schema, a
RELAX NG schema, etc. A combo box cannot be displayed in Author mode in
the edited XML document. For inserting a value from a list of allowed
values this list must be declared in the schema and the content
completion popup invoked by Ctrl+space or Enter will display only the
values from this list.
If the list of allowed values is associated with an attribute in the
schema the Attributes view displays a combo box with the list of values
but that is available only in the Attributes view, not in the editor
area. When the Attributes view is closed the value selected in the combo
box is inserted in the editor area.
Regards,
Sorin
Rogie Isabelle wrote:
> It's available with a schema and not with a DTD?
>
> Regards,
>
> Isabelle
>
> -----Message d'origine-----
> De : [mailto:] De la part de Sorin Ristache
> Envoyé : mardi 9 juin 2009 14:41
> À :
> Objet : Re: [oXygen-user] Combo box in Author Mode
>
> Hello,
>
> It is not possible to present an element as a combo box. You should
> declare the allowed values for that element (the values that you want to
> present in a combo box) in the schema set in the document type
> associated with the edited document and press Ctrl+space in Author mode
> when editing that element. Ctrl+space is the shortcut for invoking the
> content completion popup which displays only the allowed values in the
> current context. If you insert a value that is not allowed the
> validation will mark it as an error.
>
>
> Regards,
> Sorin
>
>
> Rogie Isabelle wrote:
>> Hello,
>>
>>
>>
>> Is it possible to present an element as a combo box in "Author mode" and
>> choose between different words?
>>
>> Is it possible in a css file?
>>
>>
>>
>> Best Regards,
More information about the oXygen-user
mailing list