[
https://jira.jboss.org/jira/browse/JBIDE-4226?page=com.atlassian.jira.plu...
]
Yura Zhishko updated JBIDE-4226:
--------------------------------
Attachment: SourceEditing.jpg
Two different implementations of the VPE context menu
-----------------------------------------------------
Key: JBIDE-4226
URL:
https://jira.jboss.org/jira/browse/JBIDE-4226
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.1.GA
Environment: WindowsXP SP2
JBoss Developer Studio
Version: 2.0.0.GA
Build id: jbdevstudio-eap-win32-2.0.0.Alpha1-N200904211931-H52
JRE 1.5_08
Reporter: Aliaksey Nis
Assignee: Yura Zhishko
Fix For: 3.1.0.M1
Attachments: SourceEditing.jpg, VPEscreen1.JPG, VPEscreen2.JPG
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Now we have two different implementations of context menu - for the VPE and for the text
editor.
The implementation for the VPE is a buggy one, but it has more features (like a parent
tag editing or attributes editing).
We should merge and refactor the code of these two implementations.
The following test case illustrates a bug of the VPE context menu:
EXECUTE: Create JSF project. Open inputusername.jsp
EXECUTE: Insert in Line 15:
<a>teststring</a>
EXECUTE: In Source part - set cursor after "a" letter in "<a>".
In Visual part right click on "teststring".
ACTUAL RESULT: Context menu shown in VPEscreen1
EXECUTE: In Source part - set cursor after "e" letter in
"teststring". In Visual part right click on "teststring".
ACTUAL RESULT: Context menu shown in VPEscreen2
EXPECTED RESULT: these menus must be same.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira