Improve the user input...
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 52
- Joined: Thu Dec 15, 2011 7:56 pm
Improve the user input...
Me again with my questions 
I want my users to add new section in my xml.
In fact, I use an action with the operation "InsertFragmentOperation".
I use this type of fragment to insert :
In this configuration, the user must select and replace the "put the ## here...". I think it could be easier.
I wonder if it's possible to use some sorts of placeholder text that disapear when the user click on it ?

I want my users to add new section in my xml.
In fact, I use an action with the operation "InsertFragmentOperation".
I use this type of fragment to insert :
Code: Select all
<Section>
<title>Put the title here...</title>
<author>Put the author here...</author>
<par>Put something here...</par>
</Section>
I wonder if it's possible to use some sorts of placeholder text that disapear when the user click on it ?
-
- Posts: 52
- Joined: Thu Dec 15, 2011 7:56 pm
Re: Improve the user input...
If I can add another question to this topic. It still concerns enhancement of user input.
Is there any way to use a form to insert data in the xml ?
If I take the example above (Section). I would like to have a form with the ability to choose several options for the author name. Exactly like a <SELECT></SELECT> in html.
The goal is to provide a area where the user can't fail in the data input.
Thank you again,
Vincent.
Is there any way to use a form to insert data in the xml ?
If I take the example above (Section). I would like to have a form with the ability to choose several options for the author name. Exactly like a <SELECT></SELECT> in html.
The goal is to provide a area where the user can't fail in the data input.
Thank you again,
Vincent.
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Improve the user input...
Hi Vincent,
What you can do is to use the oXygen CSS extension to impose the placeholder for empty elements. By default oXygen presents the element name as placeholder, but you can change this by using the placeholder-content CSS property.
The following CSS sample changes the placeholder for all elements in: "Put the ## here...", where ## represents the element name, as you requested:
The oxy_name() function evaluates the qualified name of the current element.
The placeholder content will be rendered in Author until the user inserts a character.
See our online documentation for more information about oXygen CSS extensions for empty elements placeholders:
http://www.oxygenxml.com/doc/ug-editor/ ... nsion.html
Best regards,
Mihaela
What you can do is to use the oXygen CSS extension to impose the placeholder for empty elements. By default oXygen presents the element name as placeholder, but you can change this by using the placeholder-content CSS property.
The following CSS sample changes the placeholder for all elements in: "Put the ## here...", where ## represents the element name, as you requested:
Code: Select all
* {
placeholder-content: oxy_concat("Put the ", oxy_name()," here...");
}
The placeholder content will be rendered in Author until the user inserts a character.
See our online documentation for more information about oXygen CSS extensions for empty elements placeholders:
http://www.oxygenxml.com/doc/ug-editor/ ... nsion.html
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Improve the user input...
Hi Vincent,
About your second message: we have an request already logged in our internal issue tracker to permit the editing of the elements and attributes in Author mode by using components like combo boxes.
This will also be implemented probably with CSS extensions.
I have added your request for this feature and we will notify you when it will be available.
Regards,
Mihaela
About your second message: we have an request already logged in our internal issue tracker to permit the editing of the elements and attributes in Author mode by using components like combo boxes.
This will also be implemented probably with CSS extensions.
I have added your request for this feature and we will notify you when it will be available.
Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Improve the user input...
For the moment we don't offer the possibility to customize the placeholder coloring.
Are you interested to set the same color for all placeholders in the document or to customize them depending on the element name?
Best regards,
Mihaela
Are you interested to set the same color for all placeholders in the document or to customize them depending on the element name?
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 52
- Joined: Thu Dec 15, 2011 7:56 pm
Re: Improve the user input...
Ideally it would be great if I could change the text appearance with the basic CSS properties (font-weight, color, font-style) and the CSS selectors !
At least, if I can change the overall aspect of the placeholder text, it can be useful to make my users happy...
(Because, in my case, it's all a concern of making the user happy! We are changing our tools, so the user acceptance is very important...)
Thanks again Mihaela.
At least, if I can change the overall aspect of the placeholder text, it can be useful to make my users happy...
(Because, in my case, it's all a concern of making the user happy! We are changing our tools, so the user acceptance is very important...)
Thanks again Mihaela.
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Improve the user input...
Hi Vincent,
Thank you for your suggestions, we will take them into account when we will add the possibility to customize the placeholders appearance.
Regards,
Mihaela
Thank you for your suggestions, we will take them into account when we will add the possibility to customize the placeholders appearance.
Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service