Combo box in Author Mode

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, _______________________________________ Isabelle Rogie Database Chief project Wolters Kluwer France

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,
_______________________________________
**Isabelle Rogie**
Database Chief project
Wolters Kluwer France

It's available with a schema and not with a DTD? Regards, Isabelle -----Message d'origine----- De : oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] De la part de Sorin Ristache Envoyé : mardi 9 juin 2009 14:41 À : oxygen-user@oxygenxml.com 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,
_______________________________________
**Isabelle Rogie**
Database Chief project
Wolters Kluwer France
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

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 : oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] De la part de Sorin Ristache Envoyé : mardi 9 juin 2009 14:41 À : oxygen-user@oxygenxml.com 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,

Hello, It is not available in the current version but we will consider adding the possibility for displaying an element as a combo box in Author mode in a future version of Author. Regards, Sorin Sorin Ristache wrote:
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.
participants (2)
-
Rogie Isabelle
-
Sorin Ristache