[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3519) Ctrl+Z (Undo) doesn't work properly for "Replace With" operation from context menu
Yura Zhishko (JIRA)
jira-events at lists.jboss.org
Sat Jan 10 09:58:04 EST 2009
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: Maxim Areshkau
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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list