]
Yura Zhishko closed JBIDE-3519.
-------------------------------
Fix Version/s: 3.0.0.GA
(was: 3.0.1.GA)
Resolution: Cannot Reproduce Bug
Assignee: Yura Zhishko (was: Yahor Radtsevich)
Ctrl+Z (Undo) doesn't work properly for "Replace With"
operation from context menu
----------------------------------------------------------------------------------
Key: JBIDE-3519
URL:
https://jira.jboss.org/jira/browse/JBIDE-3519
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.cr1
Reporter: Yura Zhishko
Assignee: Yura Zhishko
Fix For: 3.0.0.GA
1) Insert next source code from into empty jsp page:
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head></head>
<body>
<f:view>
<h:form>
<h:outputText value="next" />
</h:form>
</f:view>
</body>
</html>
3) Go to the visual pane
4) Right mouse click on "next" element (context menu appearing)
5) Choose "Replace With" option and choose any tag from palette (for example,
rich:calendar)
6) Make Undo (Ctrl+Z)
RESULT: Tag is deleted from visual and source panes
7) Make Undo again
RESULT: Base tag <h:outputText value="next" /> appeared again
Well, I think , in this situation base tag <h:outputText value="next" />
should be returned from the first Undo (Ctrl+Z) operation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: