Author: dazarov
Date: 2009-05-15 13:30:14 -0400 (Fri, 15 May 2009)
New Revision: 15316
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/test.xhtml
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java
Log:
Test for
https://jira.jboss.org/jira/browse/JBIDE-1077
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/test.xhtml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/test.xhtml
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/test.xhtml 2009-05-15
17:30:14 UTC (rev 15316)
@@ -0,0 +1,45 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages styleClass="message"/>
+
+ <h:form id="login">
+
+ <rich:panel>
+ <f:facet name="header">Login</f:facet>
+
+ <p>Please login using any username and password</p>
+
+ <div class="dialog">
+ <h:panelGrid columns="2" rowClasses="prop"
columnClasses="name,value">
+ <h:outputLabel
for="username">Username</h:outputLabel>
+ <h:inputText id="username"
+ value="#{test.value}"/>
+ <h:outputLabel
for="password">Password</h:outputLabel>
+ <h:inputSecret id="password"
+ value="#{identity.password}"/>
+ <h:outputLabel for="rememberMe">Remember
me</h:outputLabel>
+ <h:selectBooleanCheckbox id="rememberMe"
+ value="#{identity.rememberMe}"/>
+ </h:panelGrid>
+ </div>
+
+ </rich:panel>
+
+ <div class="actionButtons">
+ <h:commandButton value="Login"
action="#{identity.login}"/>
+ </div>
+
+ </h:form>
+
+ </ui:define>
+</ui:composition>
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/test.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java 2009-05-15
17:03:07 UTC (rev 15315)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java 2009-05-15
17:30:14 UTC (rev 15316)
@@ -95,6 +95,10 @@
0, 4, "best");
list.add(structure);
+ structure = new TestChangeStructure(warProject, "/WebContent/test.xhtml",
+ 1088, 4, "best");
+ list.add(structure);
+
structure = new TestChangeStructure(warProject, "/WebContent/test.jsp",
227, 4, "best");
list.add(structure);
@@ -103,18 +107,16 @@
29, 4, "best");
list.add(structure);
- structure = new TestChangeStructure(earProject, "/EarContent/test.jsp",
- 227, 4, "best");
- list.add(structure);
+// structure = new TestChangeStructure(earProject, "/EarContent/test.jsp",
+// 227, 4, "best");
+// list.add(structure);
+//
+// structure = new TestChangeStructure(earProject,
"/EarContent/test.properties",
+// 29, 4, "best");
+// list.add(structure);
- structure = new TestChangeStructure(earProject,
"/EarContent/test.properties",
- 29, 4, "best");
- list.add(structure);
+ /*
- /*
- structure = new TestChangeStructure("/WebContent/login.xhtml",
- 1033, 4, "best");
- list.add(structure);
*/
renameComponent(seamEjbProject, "test", "best", list);
}