If i have my values in attributes and work with text-area, text-field and so on
th dot behaviour is as expected.
The problem are my mixed content xml elements. In such a case the dot
moves to all following or preceding mixed element content.
This is usefull for editing documents like docbook, but not in my case.
Maybe i can fix it via a ContextChange Listener?
Best regards, Uli
|------------>
| Von: |
|------------>
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|Hussein Shafie <hussein at xmlmind.com>
|
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| An: |
|------------>
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|Ulrich_Laegeler at arburg.com
|
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Kopie: |
|------------>
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|"xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>
|
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Datum: |
|------------>
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|24.11.2009 11:06
|
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Betreff: |
|------------>
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: [XXE] Dot behaviour
|
>------------------------------------------------------------------------------------------------------------------------------------------------------------|
Ulrich_Laegeler at arburg.com wrote:
>
> we use xmlmind for more form orientated use-case.
> My users have now problems with the dot behaviour
> which jumps over the borders of elements when they
> move the dot via the cursor keys or via del keys.
I'm not sure to understand the problem.
When you move the caret and the caret goes inside an element which is
represented by a form control or an SVG image (that is, by CSS replaced
content), there is no way to display the caret normally. In such case,
the hidden caret is represented by a small, red, blinking triangle,
displayed at the top/left corner of the CSS replaced content.
We currently don't see what else we can do. Remember that XXE is
designed to allow editing a mix of normal text and form controls. That
is, XXE is not a pure form editor ? la XForms.
See XXE_install_dir/demo/form-sampler.xml
See XXE_install_dir/demo/bugreport.xml
If you play with those demos (please take the time to do that; use
Tab/Shift-Tab to navigate between text and form controls; use Esc to
cancel the modifications made to a form control; etc), you'll not find
real usability problems. The user will get accustomed with the behavior
described above once she/he'll understand it.
One critical thing to do in the CSS is to allow a red border to be drawn
around the form controls having the focus.
Excerpt of XXE_install_dir/demo/form-sampler/
---
...
dateTime32,
dateTime42,
dateTime33,
dateTime43 {
display: inline-block;
font-size: smaller;
padding: 1px; /*Needed to display the red border of the selection*/
}
---
> Can you suggest me a solution how can i restrict the dot
> to the borders of one element?
>
As usual, if it is not documented then you cannot do it.
ARBURG GmbH + Co KG, Postfach 1109, D-72286 Lo?burg, Arthur-Hehl-Strasse,
D-72290 Lossburg, Telefon: 07446 33-0, Telefax: 07446 33-3365,
http://www.arburg.com, contact at arburg.com.
Registergericht: AG Stuttgart, HRA 430209, USt-Id-Nr. DE 144 252 064,
Komplement?r: Hehl Verwaltungs-GmbH, AG Stuttgart, HRB 430155. Gesch?ftsf?hrer:
Eugen Hehl, Karl Hehl, Michael Hehl, Juliane Hehl, Renate Keinath, Herbert
Kraib?hler, Michael Grandt, Helmut Heinson.
Diese E-Mail einschlie?lich ihrer Anh?nge ist vertraulich und daher allein f?r
den Gebrauch durch den vorgesehenen Empf?nger bestimmt. Dritten ist das Lesen,
Verteilen oder Weiterleiten dieser E-Mail nur mit ausdr?cklicher Zustimmung
erlaubt. Wir bitten, eine fehlgeleitete E-Mail unverz?glich vollst?ndig zu
l?schen und uns eine Nachricht zukommen zu lassen. Sofern diese E-Mail oder
ihre Anh?nge Informationen enthalten, die erkennbar von Dritten stammen,
?bernimmt ARBURG GmbH + Co KG, die Gliederungen und T?chter keine Haftung f?r
diese. Insbesondere macht sich ARBURG GmbH + Co KG diese Informationen nicht zu
Eigen.
This email may contain material that is confidential, privileged and for the
sole use of the intended recipient. Any review, reliance or distribution by
others or forwarding without express permission is strictly prohibited. If you
are not the intended recipient, please contact the sender and delete all
copies. ARBURG GmbH + Co KG, its branches and subsidiaries herewith exclude any
liability for third-party information recognizably contained in this e-mail or
its attachments. Third-party information does not necessarily reflect the
opinion of ARBURG GmbH + Co KG.