Skip to content

Commit 726108c

Browse files
committed
Minor changes to get rid out of red code in IntelliJ IDEA
1 parent da1a46e commit 726108c

17 files changed

Lines changed: 25 additions & 29 deletions

File tree

jsf/composite-component/src/main/webapp/WEB-INF/template.xhtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
* holder.
4141
*/
4242
-->
43-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
43+
<!DOCTYPE html>
4444
<html xmlns="http://www.w3.org/1999/xhtml"
4545
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
4646
xmlns:h="http://xmlns.jcp.org/jsf/html">
4747

4848
<h:head>
4949
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
50-
<h:outputStylesheet name="./css/default.css"/>
51-
<h:outputStylesheet name="./css/cssLayout.css"/>
50+
<h:outputStylesheet name="css/default.css"/>
51+
<h:outputStylesheet name="css/cssLayout.css"/>
5252
<title>JSF Composite Component</title>
5353
</h:head>
5454

jsf/composite-component/src/main/webapp/index.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* holder.
4141
*/
4242
-->
43-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
43+
<!DOCTYPE html>
4444
<html xmlns="http://www.w3.org/1999/xhtml"
4545
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
4646
xmlns:mc="http://xmlns.jcp.org/jsf/composite/ezcomp">

jsf/composite-component/src/main/webapp/resources/ezcomp/login.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* holder.
4141
*/
4242
-->
43-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
43+
<!DOCTYPE html>
4444
<html xmlns="http://www.w3.org/1999/xhtml"
4545
xmlns:cc="http://xmlns.jcp.org/jsf/composite"
4646
xmlns:h="http://xmlns.jcp.org/jsf/html">

jsf/composite-component/src/main/webapp/status.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* holder.
4141
*/
4242
-->
43-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
43+
<!DOCTYPE html>
4444
<html xmlns="http://www.w3.org/1999/xhtml"
4545
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
4646

jsf/contracts/src/main/webapp/contracts/blue/template.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*/
4242
-->
4343

44-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
44+
<!DOCTYPE html>
4545
<html xmlns="http://www.w3.org/1999/xhtml"
4646
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
4747
xmlns:h="http://xmlns.jcp.org/jsf/html">

jsf/contracts/src/main/webapp/contracts/red/template.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*/
4242
-->
4343

44-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
44+
<!DOCTYPE html>
4545
<html xmlns="http://www.w3.org/1999/xhtml"
4646
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
4747
xmlns:h="http://xmlns.jcp.org/jsf/html">

jsf/contracts/src/main/webapp/index.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* holder.
4141
*/
4242
-->
43-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
43+
<!DOCTYPE html>
4444
<html xmlns="http://www.w3.org/1999/xhtml"
4545
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
4646
xmlns:f="http://xmlns.jcp.org/jsf/core"
@@ -62,7 +62,7 @@
6262
<f:selectItem itemValue="red" itemLabel="red"/>
6363
<f:selectItem itemValue="blue" itemLabel="blue"/>
6464
</h:selectOneRadio>
65-
<h:commandButton value="Apply" action="index" />
65+
<h:commandButton value="Apply" action="/index" />
6666
</h:form>
6767
</ui:define>
6868

jsf/contracts/src/main/webapp/user/index.xhtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@
4141
*/
4242
-->
4343

44-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
44+
<!DOCTYPE html>
4545
<html xmlns="http://www.w3.org/1999/xhtml"
46-
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
47-
xmlns:h="http://xmlns.jcp.org/jsf/html"
48-
xmlns:f="http://xmlns.jcp.org/jsf/core">
46+
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
4947

5048
<body>
5149

jsf/flows-mixed/src/main/webapp/flow1/flow1.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<head>
4949
<title>First Page in Flow 1</title>
5050
</head>
51-
<body bgcolor="red">
51+
<body style="background-color: red;">
5252
<h:form prependId="false">
5353
<h1>First Page in Flow 1</h1>
5454
<p>Flow bean name: #{flow1Bean.name}</p>

jsf/flows-mixed/src/main/webapp/flow1/flow1a.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<head>
4949
<title>Second Page in Flow 1</title>
5050
</head>
51-
<body bgcolor="red">
51+
<body style="background-color: red;">
5252
<h:form prependId="false">
5353
<h1>Second Page in Flow 1</h1>
5454
<p>Flow bean name: #{flow1Bean.name}</p>

0 commit comments

Comments
 (0)