[
https://issues.jboss.org/browse/JBIDE-8062?page=com.atlassian.jira.plugin...
]
Denis Maliarevich edited comment on JBIDE-8062 at 9/13/12 3:50 AM:
-------------------------------------------------------------------
Answers:
1) We could do nothing with "Three clicks selection" because it's defined by
a xulrunner's behaviuor.
2) Selection of the 2 first characters -- it's a bug in VPE logic, but as in the
answer above -- it's defined by the xulrunner's behaviuor. I.e. in nsISelection on
the third click focus and anchor nodes get inappropriate values (the selection range
consists of 2 letters but no text is selected in the mozilla editor).
3) <f:selectItem> in <h:selectManyCheckbox> could be udated to use
<div>s in its template. That will allow to select the text by the 3 clicks.
was (Author: dmaliarevich):
Answers:
1) We could do nothing with "Three clicks selection" because it's defuned by
a xulrunner's behaviuor.
2) Selection of the 2 first characters -- it's VPE logic bug, but as in the above
answer -- it's defuned by a xulrunner's behaviuor. I.e. in nsISelection on the
third click focus and anchor nodes get inappropriate values (the selection range consists
of 2 letters but no text is selected in the mozilla editor).
3) <f:selectItem> in <h:selectManyCheckbox> could be udated to use
<div>s in its template. That will allow to select the text by the 3 clicks.
Cannot properly edit value of <f:selectItem> tag via Visual
Editor
------------------------------------------------------------------
Key: JBIDE-8062
URL:
https://issues.jboss.org/browse/JBIDE-8062
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.2.0.CR1
Environment: Linux 32bit, JBDS 4.0.0.v201012161657N-H584-CR1
Reporter: Vlado Pakan
Assignee: Denis Maliarevich
Fix For: 4.0.0.Alpha1
Attachments: 8062a.patch
When user wants to edit value of <f:selectItem> via Visual Editor he has to click
on <f:selectItem> text tree times to select only item text not to select item text
together with item button symbol. Whole item text gets selected. When user starts to type
item text is deselected and first two characters of item text are replaced with typed
characters. The rest of item text stays unchanged.
It works like this only for <f:selectItem> tag placed in <h:selectOneRadio>
tag. It's not possible to edit <f:selectItem> value at all when it's placed
in <h:selectManyCheckbox> tag.
When <f:selectItem> text is selected in Visual Editor cursor is put to this text
and arrow keys are moving him but it's not possible to edit item text.
Test page is attached to this Jira:
https://issues.jboss.org/browse/JBIDE-3860
---
So the promlems are the following:
1) Three clicks to select the text in <f:selectItem>
2) Only 2 first characters are selected in the "itemLabel" attribute
3) Unable to select text in <f:selectItem> in <h:selectManyCheckbox>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira