Seam SVN: r15150 - in branches/community/Seam_2_3/jboss-seam-gen/dist: build-scripts and 3 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-17 10:27:40 -0400 (Mon, 17 Sep 2012)
New Revision: 15150
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/roledetail.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/rolemanager.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/userdetail.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/usermanager.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/home.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/roledetail.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/rolemanager.xhtml
branches/community/Seam_2_3/jboss-seam-gen/dist/view/view.xhtml.ftl
Log:
JBSEAM-5039 some additional fixes for styled generated pages
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -248,12 +248,12 @@
<include name="jbpm.cfg.xml" />
<include name="META-INF/orm.xml" />
<include name="*.skin.properties" if="richfaces.present"/>
- <include name="**/*.xcss" if="richfaces.present"/>
+ <include name="**/*.ecss" if="richfaces.present"/>
</fileset>
- <!-- move XCSS into classpath for now
+ <!-- move ECSS into classpath for now
loading from web context only works in JBoss AS 4 -->
<fileset dir="${basedir}/view">
- <include name="**/*.xcss" if="richfaces.present"/>
+ <include name="**/*.ecss" if="richfaces.present"/>
</fileset>
</copy>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -227,12 +227,12 @@
<include name="messages*.properties"/>
<include name="*.skin.properties" if="richfaces.present"/>
<include name="*_theme.properties"/>
- <include name="**/*.xcss" if="richfaces.present"/>
+ <include name="**/*.ecss" if="richfaces.present"/>
</fileset>
- <!-- move XCSS into classpath for now
+ <!-- move ECSS into classpath for now
loading from web context only works in JBoss AS 4 -->
<fileset dir="${basedir}/view">
- <include name="**/*.xcss" if="richfaces.present"/>
+ <include name="**/*.ecss" if="richfaces.present"/>
</fileset>
</copy>
<copy todir="${war.dir}/WEB-INF"
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -1108,7 +1108,7 @@
<include name="login.page.xml"/>
<include name="index.html"/>
<include name="layout/*"/>
- <include name="stylesheet/*"/>
+ <include name="resources/*"/>
<exclude name="**/*.ftl"/>
</fileset>
<filterset refid="project"/>
@@ -1237,7 +1237,7 @@
<copy todir="${project.home}/view">
<fileset dir="${templates.dir}/view">
<include name="useradmin/**"/>
- <include name="stylesheet/useradmin.css"/>
+ <include name="resources/useradmin.css"/>
<include name="img/btn*"/>
<include name="img/true.png"/>
<include name="img/false.png"/>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/roledetail.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/roledetail.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/roledetail.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -9,7 +9,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
</ui:define>
<ui:define name="body">
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/rolemanager.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/rolemanager.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/rolemanager.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -9,7 +9,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function confirmDelete()
{
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/userdetail.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/userdetail.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/userdetail.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -9,7 +9,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
</ui:define>
<ui:define name="body">
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/usermanager.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/usermanager.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/icefaces/view/useradmin/usermanager.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -9,7 +9,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function confirmDelete()
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/home.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/home.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/home.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -8,7 +8,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
</ui:define>
<ui:define name="body">
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/roledetail.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/roledetail.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/roledetail.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -9,7 +9,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
</ui:define>
<ui:define name="body">
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/rolemanager.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/rolemanager.xhtml 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/useradmin/rolemanager.xhtml 2012-09-17 14:27:40 UTC (rev 15150)
@@ -9,7 +9,7 @@
template="/layout/template.xhtml">
<ui:define name="head">
- <link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/>
+ <link href="../resources/useradmin.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function confirmDelete()
{
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/view.xhtml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/view.xhtml.ftl 2012-09-17 14:27:25 UTC (rev 15149)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/view.xhtml.ftl 2012-09-17 14:27:40 UTC (rev 15150)
@@ -56,7 +56,7 @@
<#assign parentName = parentPojo.shortName?uncap_first>
<rich:tab>
- <f:facet name="label">
+ <f:facet name="header">
<h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>${label(property.name)}</h:panelGroup>
</f:facet>
<div class="association" id="${property.name}Parent">
@@ -126,7 +126,7 @@
<#if c2h.isOneToManyCollection(property)>
<rich:tab>
- <f:facet name="label">
+ <f:facet name="header">
<h:panelGroup><h:graphicImage value="/img/onetomany.gif" style="vertical-align: middle; padding-right: 4px;"/>${label(property.name)}</h:panelGroup>
</f:facet>
<h:form styleClass="association" id="${property.name}Children">
12 years, 3 months
Seam SVN: r15149 - in branches/community/Seam_2_3/jboss-seam-gen/dist/view: resources and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-17 10:27:25 -0400 (Mon, 17 Sep 2012)
New Revision: 15149
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl
branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.xhtml.ftl
branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css
branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss
Log:
JBSEAM-5039 replaced RF class style names with correct ones and RF colapsible panel change
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl 2012-09-17 14:27:15 UTC (rev 15148)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/edit.xhtml.ftl 2012-09-17 14:27:25 UTC (rev 15149)
@@ -82,9 +82,9 @@
<#assign parentName = parentPojo.shortName?uncap_first>
<#if property.optional>
- <rich:tab label="${label(property.name)}">
+ <rich:tab header="${label(property.name)}">
<#else>
- <rich:tab label="${label(property.name)} *" labelClass="required">
+ <rich:tab header="${label(property.name)} *" labelClass="required">
</#if>
<div class="association" id="${property.name}Parent">
@@ -145,7 +145,7 @@
</#if>
<#if c2h.isOneToManyCollection(property)>
- <rich:tab label="${label(property.name)}">
+ <rich:tab header="${label(property.name)}">
<h:form styleClass="association" id="${property.name}Children">
<#assign childPojo = c2j.getPOJOClass(property.value.element.associatedClass)>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.xhtml.ftl
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.xhtml.ftl 2012-09-17 14:27:15 UTC (rev 15148)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/list.xhtml.ftl 2012-09-17 14:27:25 UTC (rev 15149)
@@ -19,7 +19,7 @@
<h:form id="${componentName}Search" styleClass="edit">
- <rich:collapsiblePanel label="${entityName} Search Filter" switchType="ajax">
+ <rich:collapsiblePanel header="${entityName} Search Filter" switchType="ajax">
<#assign searchParamNames = []/>
<#foreach property in pojo.allPropertiesIterator>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css 2012-09-17 14:27:15 UTC (rev 15148)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css 2012-09-17 14:27:25 UTC (rev 15149)
@@ -49,7 +49,7 @@
margin-bottom: 10px;
}
-.rich-table {
+.rf-tbl {
width: 100%;
}
@@ -124,19 +124,19 @@
padding-left: 2px;
}
-.rich-stglpanel-body {
+.rf-cp {
overflow: auto;
}
/* the specificity here is necessary to override the defaults */
/*
-.rich-panel .rich-panel-header,
-.rich-stglpanel .rich-stglpanel-header {
+.rf-p .rf-p-hdr,
+.rf-cp .rf-cp-hdr {
padding: 2px 3px;
}*/
-.rich-panel input[type=submit], .rich-panel input[type=button],
-.rich-tabpanel input[type=submit], .rich-tabpanel input[type=button] {
+.rf-p input[type=submit], .rf-p input[type=button],
+.rf-tbp input[type=submit], .rf-tbp input[type=button] {
margin-bottom: 0;
}
@@ -160,25 +160,25 @@
vertical-align: bottom;
}
-.rich-toolbar-item a {
+.rf-tb-itm a {
text-decoration: none;
}
-.rich-toolbar-item a:hover, .rich-ddmenu-label-select {
+.rf-tb-itm a:hover, .rf-ddmenu-label-select {
text-decoration: underline;
}
-.rich-toolbar-item .rich-menu-item a:hover {
+.rf-tb-itm .rf-menu-itm a:hover {
text-decoration: none;
}
-.rich-datalist {
+.rf-dl {
list-style: square;
margin: 6px 0 1px 0;
padding-left: 18px;
}
-.rich-list-item {
+.rf-lst-itm {
padding-bottom: 4px;
}
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss 2012-09-17 14:27:15 UTC (rev 15148)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss 2012-09-17 14:27:25 UTC (rev 15149)
@@ -49,19 +49,19 @@
border:0;
font-size:11px;
}
-.rich-table-subheadercell{
+.rf-tbl-subheadercell{
background-image:"url(#{resource['org.richfaces.renderkit.images.TabGradientB']})";
}
-.rich-toolbar a:link, .rich-toolbar a:visited, .rich-toolbar a:active, .rich-toolbar a:hover{
+.rf-tb a:link, .rf-tb a:visited, .rf-tb a:active, .rf-tb a:hover{
color:'#{richSkin.headerTextColor}';
}
-.rich-toolbar a:hover{
+.rf-tb a:hover{
color:'#{richSkin.generalTextColor}';
}
-.rich-toolbar .rich-menu-item, .rich-toolbar .rich-menu-item a, .rich-toolbar .rich-menu-item a:hover, .rich-toolbar .rich-menu-item a:visited{
+.rf-tb .rf-ddm-itm, .rf-tb .rf-ddm-itm a, .rf-tb .rf-ddm-itm a:hover, .rf-tb .rf-ddm-itm a:visited{
color:'#{richSkin.generalTextColor}';
}
-.rich-table-subheadercell a:hover{
+.rf-tbl-subheadercell a:hover{
color:'#{richSkin.calendarHolidaysTextColor}';
}
input[type=text][class*=rich-combobox-button-icon]{
12 years, 3 months
Seam SVN: r15148 - branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-17 10:27:15 -0400 (Mon, 17 Sep 2012)
New Revision: 15148
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
Log:
fixed restart command if deployment exists
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-17 08:48:22 UTC (rev 15147)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-17 14:27:15 UTC (rev 15148)
@@ -311,8 +311,7 @@
<target name="check-deployed" description="Check to see if packaged archive is currently deployed">
<fail unless="jboss.home">jboss.home not set</fail>
<condition property="archive.deployed" value="true">
- <available file="${deploy.dir}/${project.name}.war.deployed" type="file"/>
- <!-- <available file="${war.deploy.dir}" type="file"/> -->
+ <available file="${war.deploy.dir}" type="file"/>
</condition>
</target>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-09-17 08:48:22 UTC (rev 15147)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-09-17 14:27:15 UTC (rev 15148)
@@ -335,8 +335,7 @@
<target name="check-deployed" description="Check to see if packaged archive is currently deployed">
<fail unless="jboss.home">jboss.home not set</fail>
<condition property="archive.deployed" value="true">
- <available file="${deploy.dir}/${project.name}.ear.deployed" type="file"/>
- <!--<available file="${ear.deploy.dir}" type="file"/> -->
+ <available file="${ear.deploy.dir}" type="file"/>
</condition>
</target>
12 years, 3 months
Seam SVN: r15147 - in branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp: exp and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-17 04:48:22 -0400 (Mon, 17 Sep 2012)
New Revision: 15147
Modified:
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/bookingExp.html
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/confirmExp.html
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/introExp.html
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/registerExp.html
branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/workspaceExp.html
Log:
JBSEAM-5040 fixed IDE errors
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/WEB-INF/components.xml 2012-09-17 08:48:22 UTC (rev 15147)
@@ -10,7 +10,7 @@
http://jboss.org/schema/seam/security http://jboss.org/schema/seam/security-2.3.xsd
http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd">
- <core:init jndi-pattern="${jndiPattern}" debug="true" distributable="${distributable}"/>
+ <core:init jndi-pattern="${jndiPattern}" debug="true" distributable="@distributable@"/>
<core:manager conversation-timeout="120000"
concurrent-request-timeout="500"
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/bookingExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/bookingExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/bookingExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -15,9 +15,9 @@
<h2>Conversations</h2>
<img src="../img/header_line.gif" />
- <form>
- <input type="button" value="Close Window" onclick="window.close()"/>
- </form>
+ <form>
+ <input type="button" value="Close Window" onclick="window.close()"/>
+ </form>
<p>
The hotel booking "wizard" is implemented by a conversation-scoped
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/confirmExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/confirmExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/confirmExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/introExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/introExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/introExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -15,13 +15,11 @@
<h2>What is JBoss Seam</h2>
<img src="../img/header_line.gif" />
- <p>
- <center>
+ <center>
<form>
- <INPUT type="button" value="Close Window" onclick="window.close()">
+ <input type="button" value="Close Window" onclick="window.close()"></input>
</form>
- </center>
- </p>
+ </center>
<p>
EJB 3.0 and JSF are perhaps the most exciting new developments in the Java EE 5 platform.
@@ -58,15 +56,13 @@
-->
</p>
- <p>
- <center>
- <form>
- <INPUT type="button" value="Close Window" onclick="window.close()">
- </form>
- </center>
- </p>
+ <center>
+ <form>
+ <input type="button" value="Close Window" onclick="window.close()" />
+ </form>
+ </center>
- </div>
+ </div>
</div>
</body>
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/loginExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -14,11 +14,11 @@
<div class="numbox">2</div>
<h2>What happens when you login?</h2>
<img src="../img/header_line.gif" />
-
+ <center>
<form>
<input type="button" value="Close Window" onclick="window.close()"/>
</form>
-
+ </center>
<p>
The login page is defined using pure XHTML with JSF controls.
The form uses JSF EL value binding and method binding
@@ -30,7 +30,7 @@
<code class="block">
<div>
- <h:outputLabel for="username">Login Name</h:outputLabel>
+ <h:outputLabel for="username">Login Name</h:outputLabel>
<h:inputText id="username" value="#{identity.username}" />
</div>
<div>
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/mainExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -91,7 +91,7 @@
public boolean isNextPageAvailable()
{
- return hotels!=null && hotels.size()==pageSize;
+ return hotels!=null && hotels.size()==pageSize;
}
public int getPageSize() {
@@ -137,7 +137,7 @@
<code class="block">
<h:outputText value="No Hotels Found"
rendered="#{hotels != null and hotels.rowCount==0}"/>
-<h:dataTable value="#{hotels}" var="hot" rendered="#{hotels.rowCount>0}">
+<h:dataTable value="#{hotels}" var="hot" rendered="#{hotels.rowCount>0}">
<h:column>
<f:facet name="header">Name</f:facet>
#{hot.name}
@@ -202,11 +202,11 @@
}
}
</code>
-
+ <center>
<form>
- <input type="button" value="Close Window" onclick="window.close()"/>
+ <input type="button" value="Close Window" onclick="window.close()"></input>
</form>
-
+ </center>
</div>
</div>
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/registerExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/registerExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/registerExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/workspaceExp.html
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/workspaceExp.html 2012-09-16 04:09:02 UTC (rev 15146)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-web/src/main/webapp/exp/workspaceExp.html 2012-09-17 08:48:22 UTC (rev 15147)
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
@@ -15,13 +15,11 @@
<h2>The Workspace List</h2>
<img src="../img/header_line.gif" />
- <p>
- <center>
+ <center>
<form>
- <INPUT type="button" value="Close Window" onclick="window.close()">
+ <input type="button" value="Close Window" onclick="window.close()"/>
</form>
- </center>
- </p>
+ </center>
<p>
The workspace list allows the user to switch between multiple
@@ -79,14 +77,12 @@
workspace list in your application.
</p>
- <p>
- <form>
- <input type="button" value="Close Window" onclick="window.close()"/>
- </form>
- </p>
+ <form>
+ <input type="button" value="Close Window" onclick="window.close()" />
+ </form>
- </div>
</div>
+</div>
</body>
</html>
12 years, 3 months
Seam SVN: r15146 - branches/community/Seam_2_3/seam-migration-guide.
by seam-commits@lists.jboss.org
Author: dhinojosa
Date: 2012-09-16 00:09:02 -0400 (Sun, 16 Sep 2012)
New Revision: 15146
Added:
branches/community/Seam_2_3/seam-migration-guide/war_with_config_module.png
Log:
added another image for the documentation
Added: branches/community/Seam_2_3/seam-migration-guide/war_with_config_module.png
===================================================================
(Binary files differ)
Property changes on: branches/community/Seam_2_3/seam-migration-guide/war_with_config_module.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
12 years, 3 months
Seam SVN: r15145 - branches/community/Seam_2_3/seam-migration-guide.
by seam-commits@lists.jboss.org
Author: dhinojosa
Date: 2012-09-16 00:08:17 -0400 (Sun, 16 Sep 2012)
New Revision: 15145
Modified:
branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc
Log:
added more dependency information
Modified: branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc
===================================================================
--- branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc 2012-09-16 03:53:38 UTC (rev 15144)
+++ branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc 2012-09-16 04:08:17 UTC (rev 15145)
@@ -180,10 +180,52 @@
----
=== EJB Module Dependencies
-EJB Module Dependencies here
+What gets placed into the ejb module will of course be entirely up to you. Will you be using hibernate? Will you be using JPA on top of that? Will you be using drools? <<listing17, Listing 17>> shows a simple dependency stack for a simple Seam based application. It contains hibernate, hibernate validator, jpa, servlet, jsf, and ejb specifications that are needed for the basic Seam application. It includes "jboss-el" which will include that JBoss expression language library into the application. For the basic app, this is what is "required", although that term is used loosely, you and your team will be in command of your application's dependencies. The following next sections are possible combinations of dependencies for technologies that you will need for drools, jbpm, remoting, etc.
+.Listing 17: Sample dependency list in an ear module
+[[listing17]]
+----
+<dependencies>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <type>ejb</type>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.el</groupId>
+ <artifactId>jboss-el</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.ejb</groupId>
+ <artifactId>jboss-ejb-api_3.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.faces</groupId>
+ <artifactId>jboss-jsf-api_2.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate.javax.persistence</groupId>
+ <artifactId>hibernate-jpa-2.0-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+</dependencies>
+----
+
== Using Ant
Using Ant
12 years, 3 months
Seam SVN: r15144 - branches/community/Seam_2_3/seam-migration-guide.
by seam-commits@lists.jboss.org
Author: dhinojosa
Date: 2012-09-15 23:53:38 -0400 (Sat, 15 Sep 2012)
New Revision: 15144
Modified:
branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc
Log:
added module dependency information
Modified: branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc
===================================================================
--- branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc 2012-09-14 13:43:43 UTC (rev 15143)
+++ branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc 2012-09-16 03:53:38 UTC (rev 15144)
@@ -26,9 +26,9 @@
[[earprojectorganization]]
=== Ear Project Organization
-The folder organization of Seam 2.3 in Maven typically consists of one main project, the `pom` project. The `pom` project in Maven, is the project that doesn't have any source files onto itself but contains the projects that are required for the build. In an ear based project. Inside of the `pom` ear based project folder contains three subfolders one for the ear project, one for the war project, one for the arquillian (formerly seam test) project, and one for the ejb project. Given a parent `pom` project called `myproject`, some ideas for the the subfolders would include `myproject-ear`, `myproject-web`, `myproject-test`, and `myproject-ejb`. You can refer to the examples in the *examples-ee6* folder for some general ideas as to how to create the folder organization for your Seam 2.3 project.
+The folder organization of Seam 2.3 in Maven typically consists of one main project, the `pom` project. The `pom` project in Maven, is the project that doesn't have any source files onto itself but contains the projects that are required for the build. In an ear based project. Inside of the `pom` ear based project folder contains three subfolders one for the ear project, one for the war project, one for the arquillian (formerly seam test) project, and one for the ejb project. Given a parent `pom` project called `myproject`, some ideas for the the subfolders would include `myproject-ear`, `myproject-web`, `myproject-test`, and `myproject-ejb`. You can refer to the examples in the 'examples-ee6' folder for some general ideas as to how to create the folder organization for your Seam 2.3 project.
-Taking the folder structure of the *registration* module in the *examples-ee6* folder of the Seam 2.3. distribution. The <<figure1,registration folder structure>> shown below shows the typical setup.
+Taking the folder structure of the 'registration' module in the 'examples-ee6' folder of the Seam 2.3. distribution. The <<figure1,registration folder structure>> shown below shows the typical setup.
.Typical ear project structure
[[figure1]]
@@ -37,13 +37,13 @@
The pom.xml in the bottom of the diagram is the parent pom that contains modules for `registration-ear`, `registration-web`, `registration-test`, and `registration-ejb`. It will also contain http://http://maven.apache.org/pom.html#Plugin_Management[plugin management] and http://maven.apache.org/guides/introduction/introduction-to-dependency-me... management] information for each of the submodules. Inside of each module, there is another child pom that has information on it's own dependencies and plugins.
==== Ear Module
-The ear project submodule will typically contain all ear based configurations with no source files whatsoever. The module is short, since not much needs to be held within it. <<figure2, Figure 2>> contains the folder structure of what is contained inside of an ear module. The `src/main/application/META-INF` will store the configuration files necessary to create an ear file. Namely the `jboss-deployment-structure.xml` and any `*-ds.xml` iron-jacamar database descriptor file that is required for deployment.
+The ear project submodule will typically contain all ear based configurations with no source files whatsoever. The module is short, since not much needs to be held within it. <<figure2, Figure 2>> contains the folder structure of what is contained inside of an ear module. The 'src/main/application/META-INF' will store the configuration files necessary to create an ear file. Namely the `jboss-deployment-structure.xml` and any `*-ds.xml` iron-jacamar database descriptor file that is required for deployment.
.ear module
[[figure2]]
image::ear_module.png[Ear Module Structure,scaledwidth="50%",scaledheight="50%"]
-First a *jboss-deployment-structure.xml* is required.
+First a 'jboss-deployment-structure.xml' is required.
You can also include now any database descriptor (*-ds.xml) files into your project in the META-INF directory, and they the data source will be deployed automatically when deployed to a JBoss AS 7.1 Application Server. The structure of the file though has changed. Before the ds.xml file was a simple xml based file, but now is an https://www.jboss.org/ironjacamar[Iron-Jacamar] based file. Iron-Jacamar is the Jboss' JCA (Java Connector Architecture) project. Below on <<listing2,Listing 2>> is the former datasource in 2.2, and <<listing3,Listing 3>> shows the conversion to Iron Jacamar using the same driver, url, and credentials.
@@ -88,15 +88,16 @@
==== Web Module
To convert a web module see <<upgradingweb, Upgrading Web>>
+[[eartestmodule]]
==== Test Module
-The test module will house former SeamTests which will now be upgraded to Arquillian based Seam Tests. The layout of the test module is simple as seen in <<figure4, Figure 4>>. All tests will be placed in the `src/test/java` folder, all resources that are required either to enhance or override current setting should be placed in the `src/test/resources/` folder. Placing source files in the `src/main/java` folder is unnecessary, since these integration tests will be using the ear, war, ejb class and jar files in their respective maven projects. A new folder is required for arquillian testing, *arquillian.xml* and should be located in the `src/test/resources-integration` folder. Though where this file gets placed is up to you, this has become also a convention.
+The test module will house former SeamTests which will now be upgraded to Arquillian based Seam Tests. The layout of the test module is simple as seen in <<figure4, Figure 4>>. All tests will be placed in the 'src/test/java' folder, all resources that are required either to enhance or override current setting should be placed in the 'src/test/resources/' folder. Placing source files in the 'src/main/java' folder is unnecessary, since these integration tests will be using the ear, war, ejb class and jar files in their respective maven projects. A new file is required for arquillian testing, 'arquillian.xml' and should be located in the 'src/test/resources-integration' folder. Though where this file gets placed is up to you, this has become also a convention. For upgrading purposes copy all existing SeamTest code and place it into the 'src/test/java' folder, from this point on some package conversion and set up is required, so for more information on upgrading `SeamTest` !
to Arquillian tests and setting up Arquillian in your Seam 2.3 project see the <<arquillian, Arquillian>> section further down this document.
.Test module
[[figure4]]
image::test_module.png[Ear Module Structure,scaledwidth="50%",scaledheight="50%"]
-For more information on upgrading Seam Tests to Arquillian and setting up Arquillian in your Seam 2.3 project see the <<arquillian, Arquillian>> section further down this document.
+
=== War Project Organization
If you choose not run Seam 2.3 as an ear, but as a war. A war project typically will include a parent `pom` project as mentioned in <<earprojectorganization, Ear Project Organization>> and a web project that is located inside of the `pom` project with typically the same name of the project but with "-web" extended on the name of the project, see. Though the naming is not mandatory, it has become somewhat of a convention. For an example folder layout, see <<figure5, Figure 5>> for an example folder setup of a war based project.
@@ -105,23 +106,90 @@
image::war_folder.png[War Folder Structure,scaledwidth="50%",scaledheight="50%"]
==== Web Module
-To convert a web module see <<upgradingweb, Upgrading Web>> first the come back. Once done, a *jboss-deployment-descriptor.xml* needs to be added into the `src/main/webapp/WEB-INF` so that JBoss 7.1 can determine which dependencies to include for your project. For more information about *jboss-deployment-descriptor.xml* see <<jbossdeploymentstructure, JBoss Deployment Structure>> on how to provide Jboss with information about server dependencies. The end result, is a web module that would like the .
+To convert a web module see <<upgradingweb, Upgrading Web>> first, and then come back. Once done, a 'jboss-deployment-descriptor.xml' needs to be added into the 'src/main/webapp/WEB-INF' directory so that JBoss 7.1 can determine which dependencies to include for your project. For more information about 'jboss-deployment-descriptor.xml' see <<jbossdeploymentstructure, JBoss Deployment Structure>> on how to provide JBoss with information about server dependencies. The end result, is a web module that would look like <<figure6, Figure 6>>.
+.Typical War Module Structure
+[[figure6]]
+image::war_with_config_module.png[War Module Structure within a War Project,scaledwidth="50%",scaledheight="50%"]
+
==== Test Module
-Test stuff
+The test module here does the same thing as was stated in <<eartestmodule, the test module in the ear section>>, it is meant to house former `SeamTest` as a new Arquillian based test in the 'src/test/java' folder. An 'arquillian.xml' file is also required to be placed in the 'src/test/resources-integration' folder. For a refresher, the test module should look like <<figure4, Figure 4>> above.
== Dependencies
-Dependencies
+In each of the maven modules, the dependencies that used depends on what type of module you are creating and what you need. For example, most web based libraries will be required for the web modules, dependencies that are shared are typically stored in the ear module. The parent `pom` file will typically have dependency that would also be optionally shared by other modules in the application. Before breaking down what is required for all diffent modules, ear, web, ejb, and parent, a definition of a bill of materials or _BOM_ is in order.
=== Bill of Materials
-Bill of Materials
+A bill of materials is a set of `<dependencyManagement>` elements that can be used to import into a module of your choice and be able to declare which dependencies that you wish to use in your application. The nice thing about the bill of materials is that the dependencie and their versions are the recommended dependencies that would work well with Seam 2.3. This takes the guess work out of which dependencies would react best with the others. The bill of materials used for Seam 2.3 can be found at the maven `groupID`, `org.jboss.seam`, the `artifactID`, `bom` and the version would be whatever version of Seam 2.3 you are using. The bill of materials is on maven central as well as JBoss repositories. In the next section, when defining the parent pom we make use of importing the Seam 2.3 bill of materials.
+=== Parent Pom Dependencies
+Within the parent pom file, declare a `<dependencyManagement>` element that will house the dependencies that will be used by the child projects (war, ejb, tests). Please note the `<scope>import</scope>` that is used that allows Maven to import all the dependencies into the parent to treat it as its own set of dependencies. <<listing15, Listing 15>> shows a clip of what the `<dependencyManagement>` element will look like. Remember that `<dependencyManagement>` is a direct descendant of the `<project>` element and is not included in the `<build>` element. Once this is established all child projects can use the version of the dependencies as stated in the bill of materials.
+
+You may choose in the parent to set up some `<dependencies>` outside of `<dependencyManagement>` if there are some hard dependencies that you wish for your child projects to use.
+
+.Listing 15: Sample dependency management setting in the parent pom module
+[[listing15]]
+----
+...
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>bom</artifactId>
+ <version>2.3.0.Final</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces</groupId>
+ <artifactId>richfaces-bom</artifactId>
+ <version>4.2.2.Final</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+...
+----
+
+=== Ear Module Dependencies
+Inside of the 'pom.xml' file for ear module's the only dependencies that are required are the child dependencies that are needed by the ear file and the maven ear plugin. In the blog example, as seen in <<listing16, Listing 16>>, the ear module depends on the web module it will contain, the ejb module it will contain, and the JBoss Seam 2.3 dependency that it relies since both the war file and the ejb jar file will require the seam 2.3 core classes to loaded. This uses the arbitrary version, `1.0-SNAPSHOT`. This version will be whatever version of project you are on. Take note that each of these dependencies have a `<type>` element that declares the type of dependency that is required, this will be used by the Maven ear plugin that creates the ear file during Maven's `package` phase in the default lifecycle. One last note, notice that there is no version set for `org.jboss.seam:jboss-seam` this is because the version was already establish by the bill of materials as was *im!
ported* in the parent pom. Since the ear module is a child of the parent pom, if a dependency is required, then only the groupId and artifactId is required, the rest of the information can be optionally left out.
+
+.Listing 16: Sample dependency list in an ear module
+[[listing16]]
+----
+<dependencies>
+ <dependency>
+ <groupId>org.jboss.seam.examples-ee6.blog</groupId>
+ <artifactId>blog-web</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam.examples-ee6.blog</groupId>
+ <artifactId>blog-ejb</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>ejb</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <type>ejb</type>
+ <scope>compile</scope>
+ </dependency>
+</dependencies>
+----
+
+=== EJB Module Dependencies
+EJB Module Dependencies here
+
+
+
== Using Ant
Using Ant
[[jbossdeploymentstructure]]
== JBoss Deployment Structure
-The *jboss-deployment-structure.xml* file contains what resources will be made available by the Jboss 7.1.1 server modules. In order to investigate what modules are available by your Jboss server navigate to the `modules` directory on whatever server type you will be running. If you are a running a `standalone` server then the modules directory will be located in the `$JBOSS_HOME/server/standalone/modules` directory. If you wish to call up the dependencies so that they are in use for your project, and so that you do not have to package those dependencies select which server libraries should be used in your project. `export` means that the dependencies will be exported, so any module that depends on this module will also get access to the dependency. See https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7[Classloading in AS7] for more information jboss-deployment-structure. <<listing1, Listing1>> shows an example of the jboss-deployment-structure.xml that makes !
use of system dependencies where export="true" will make them available to any dependency jar and war files within the ear file.
+The 'jboss-deployment-structure.xml' file contains what resources will be made available by the Jboss 7.1.1 server modules. In order to investigate what modules are available by your Jboss server navigate to the `modules` directory on whatever server type you will be running. If you are a running a `standalone` server then the modules directory will be located in the `$JBOSS_HOME/server/standalone/modules` directory. If you wish to call up the dependencies so that they are in use for your project, and so that you do not have to package those dependencies select which server libraries should be used in your project. `export` means that the dependencies will be exported, so any module that depends on this module will also get access to the dependency. See https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7[Classloading in AS7] for more information jboss-deployment-structure. <<listing1, Listing1>> shows an example of the jboss-deployment-structure.xml that makes !
use of system dependencies where export="true" will make them available to any dependency jar and war files within the ear file.
.Listing 1: Sample jboss-deployment-structure.xml
[[listing1]]
@@ -140,13 +208,13 @@
</jboss-deployment-structure>
----
-For full ear projects, the *jboss-deployment-structure.xml* will be located in the `src/main/resources/META-INF` directory of the ear module.
+For full ear projects, the 'jboss-deployment-structure.xml' will be located in the 'src/main/resources/META-INF' directory of the ear module.
-For web (non-ear) projects, the *jboss-deployment-structure.xml* will be located in the `src/main/webapp/WEB-INF` directory of the war module.
+For web (non-ear) projects, the 'jboss-deployment-structure.xml' will be located in the 'src/main/webapp/WEB-INF' directory of the war module.
[[upgradingweb]]
== Upgrading Web Modules
-The contents of the web module as shown in <<figure3, Figure 3>> displays a sample layout for the web module that would be located inside of the project parent `pom` module. The organization is straight-forward, even moreso for those who are already familiar with maven. Inside of the web project, the folder `src/main/webapp` would store all the .xhtml, .css, and other web based files, while `src/main/webapp/WEB-INF` would house all web configurations required for deployment. To succesfully migrate from Seam 2.3 from Seam 2.2, components.xml, faces-config.xml, pages.xml and any addition page files schemas will need to be upgraded. Finally, all .xhtml files will also need be upgraded by replacing all `<head>`, and `<body>` tags to `<h:head>` and `<h:body>` respectively.
+The contents of the web module as shown in <<figure3, Figure 3>> displays a sample layout for the web module that would be located inside of the project parent `pom` module. The organization is straight-forward, even moreso for those who are already familiar with maven. Inside of the web project, the folder 'src/main/webapp' would store all the .xhtml, .css, and other web based files, while 'src/main/webapp/WEB-INF' would house all web configurations required for deployment. To succesfully migrate from Seam 2.3 from Seam 2.2, components.xml, faces-config.xml, pages.xml and any addition page files schemas will need to be upgraded. Finally, all .xhtml files will also need be upgraded by replacing all `<head>`, and `<body>` tags to `<h:head>` and `<h:body>` respectively.
.war module
[[figure3]]
@@ -198,7 +266,7 @@
http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd">
----
-*faces-config.xml* has always been essentially a non-player with seam with no continous active configuration whatsoever. The roles of this file stays the same, but there is two simple items that need to be performed to upgrade it to JSF 2.1 and for it to work with Seam 2.3. First upgrade the schema from version 1.0, 1.1, or 1.2 to version 2.1 which is the latest JSF version. Next, change the `version` of the faces-config element itself. Lastly, remove the `<view-handler>` element that was once required for JBoss Seam 2.2, as it is no longer required for JBoss Seam 2.3. <<listing6, Listing 6>> and <<listing7, Listing 7>> shows the upgrade changes.
+'faces-config.xml' has always been essentially a non-player with seam with no continous active configuration whatsoever. The roles of this file stays the same, but there is two simple items that need to be performed to upgrade it to JSF 2.1 and for it to work with Seam 2.3. First upgrade the schema from version 1.0, 1.1, or 1.2 to version 2.1 which is the latest JSF version. Next, change the `version` of the faces-config element itself. Lastly, remove the `<view-handler>` element that was once required for JBoss Seam 2.2, as it is no longer required for JBoss Seam 2.3. <<listing6, Listing 6>> and <<listing7, Listing 7>> shows the upgrade changes.
.Listing 6: Sample Seam 2.2 faces-config.xml
[[listing6]]
@@ -225,7 +293,7 @@
</faces-config>
----
-Upgrading *page.xml* files as well as other files only requires that the schemas be upgraded. <<listing8, Listing 8>> and <<listing9, Listing 9>> shows the upgrade changes.
+Upgrading 'pages.xml' files as well as other files only requires that the schemas be upgraded. <<listing8, Listing 8>> and <<listing9, Listing 9>> shows the upgrade changes.
.Listing 8: Sample Seam 2.2 pages.xml
[[listing8]]
@@ -337,7 +405,7 @@
</html>
----
-*web.xml* files only require an update in the schema that they use in the first element of the file. <<listing12, Listing 12>> and <<listing13, Listing 13>> shows the difference between the *web.xml* file that has been upgraded.
+'web.xml' files only require an update in the schema that they use in the first element of the file. <<listing12, Listing 12>> and <<listing13, Listing 13>> shows the difference between the 'web.xml' file that has been upgraded.
.Listing 12: Sample Seam 2.2 web.xml file
[[listing12]]
12 years, 3 months
Seam SVN: r15143 - branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-14 09:43:43 -0400 (Fri, 14 Sep 2012)
New Revision: 15143
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
Log:
fixed jndi for EM factory
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-14 13:43:37 UTC (rev 15142)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-14 13:43:43 UTC (rev 15143)
@@ -69,12 +69,8 @@
<property name="transactionManagerLookupClass" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
<property name="ejbJndiPattern" value="java:app/${project.name}.jar/#{ejbName}"/>
<property name="seamBootstrapsPu" value="false" />
- <condition property="seamEmfRef" value="#{entityManagerFactory}" else="#{null}">
- <istrue value="${seamBootstrapsPu}"/>
- </condition>
- <condition property="puJndiName" value="#{null}" else="java:comp/env/${project.name}/pu">
- <istrue value="${seamBootstrapsPu}"/>
- </condition>
+ <property name="seamEmfRef" value="#{null}"/>
+ <property name="puJndiName" value="java:/${project.name}EntityManagerFactory"/>
<filterset id="persistence">
<filter token="transactionManagerLookupClass" value="${transactionManagerLookupClass}"/>
12 years, 3 months
Seam SVN: r15142 - branches/community/Seam_2_3/jboss-seam-gen/dist/view.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-14 09:43:37 -0400 (Fri, 14 Sep 2012)
New Revision: 15142
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/view/home.xhtml
Log:
fixed some text for intro page
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/home.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/home.xhtml 2012-09-14 13:43:30 UTC (rev 15141)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/home.xhtml 2012-09-14 13:43:37 UTC (rev 15142)
@@ -18,14 +18,14 @@
<p><strong>Your seam-gen project is deployed!</strong> Here are some of the features this project provides:</p>
<ul class="bullets">
<li>Ant build script</li>
- <li>Deployment to JBoss AS (EAR or WAR)</li>
+ <li>Deployment to JBoss AS 7(EAR or WAR)</li>
<li>Development and production profiles</li>
<li>Integration testing using TestNG and Embedded JBoss</li>
- <li>JavaBean or EJB 3.0 Seam components</li>
+ <li>JavaBean or EJB 3.1 Seam components</li>
<li>JPA entity classes</li>
<li>A configurable DataSource and JPA EntityManager</li>
<li>Templated Facelets views</li>
- <li>RichFaces panels and tables</li>
+ <li>RichFaces 4 panels and tables</li>
<li>Default CSS stylesheet</li>
<li>Internationalization support</li>
</ul>
12 years, 3 months
Seam SVN: r15141 - in branches/community/Seam_2_3/jboss-seam-gen/dist/view: layout and 2 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-09-14 09:43:30 -0400 (Fri, 14 Sep 2012)
New Revision: 15141
Added:
branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/
branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css
branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss
branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/useradmin.css
Removed:
branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.css
branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.ecss
branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/useradmin.css
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/view/layout/template.xhtml
Log:
JBSEAM-5039 fixed loading of css styles through h:outputStylesheet
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/view/layout/template.xhtml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/layout/template.xhtml 2012-09-14 13:43:17 UTC (rev 15140)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/layout/template.xhtml 2012-09-14 13:43:30 UTC (rev 15141)
@@ -12,8 +12,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>@projectName@</title>
<link rel="shortcut icon" href="#{request.contextPath}/favicon.ico"/>
- <h:outputStylesheet name="/stylesheet/theme.ecss"/>
- <h:outputStylesheet name="/stylesheet/theme.css"/>
+ <h:outputStylesheet name="theme.ecss"/>
+ <h:outputStylesheet name="theme.css"/>
<ui:insert name="head"/>
</h:head>
<h:body>
Copied: branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css (from rev 15140, branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.css)
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css (rev 0)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.css 2012-09-14 13:43:30 UTC (rev 15141)
@@ -0,0 +1,218 @@
+html {
+ overflow-y: scroll;
+}
+
+body {
+ font-size: 12px;
+ margin: 0px;
+}
+
+a img {
+ border: none;
+}
+
+h1 {
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+input[type=submit], input[type=button] {
+ font-size: 11px;
+ margin: 5px 5px 5px 0;
+ cursor: pointer;
+}
+
+input[type=text], input[type=password], textarea {
+ font-size: 12px;
+ padding-left: 1px;
+}
+
+select {
+ font-size: 13px;
+}
+
+.tableControl, .actionButtons {
+ width: 100%;
+}
+
+.tableControl a {
+ padding-left: 10px;
+}
+
+.tableControl {
+ text-align: right;
+}
+
+.footer {
+ text-align: center;
+ font-size: 11px;
+ margin-bottom: 10px;
+}
+
+.rich-table {
+ width: 100%;
+}
+
+.body {
+ padding: 30px;
+}
+.message {
+ padding: 5px;
+ list-style: none;
+ border: 0;
+ background: none;
+ padding: 0;
+ color: #000000;
+ margin: 5px 0 8px 0;
+ font-size: 12px;
+}
+
+.message li {
+ background: no-repeat left center;
+ padding-top: 1px;
+ padding-left: 20px;
+ margin-left: 3px;
+}
+
+.message li.infomsg {
+ background-image: url(../img/msginfo.png);
+}
+
+.message li.errormsg {
+ background-image: url(../img/msgerror.png);
+}
+
+.message li.warnmsg {
+ background-image: url(../img/msgwarn.png);
+}
+
+.name {
+ vertical-align: top;
+ font-weight: bold;
+ width: 115px;
+ float: left;
+ padding: 5px;
+ margin-top: 3px;
+ clear: left;
+}
+
+.value {
+ float: left;
+ padding: 5px;
+}
+
+.error {
+ float: left;
+ padding: 5px;
+}
+
+.errors {
+ color: #FF0000;
+ vertical-align: middle;
+}
+
+img.errors {
+ padding-right: 5px;
+}
+
+.errors input, .errors textarea, .errors select {
+ border: 1px solid red !important;
+}
+
+.required {
+ color: #FF0000;
+ padding-left: 2px;
+}
+
+.rich-stglpanel-body {
+ overflow: auto;
+}
+
+/* the specificity here is necessary to override the defaults */
+/*
+.rich-panel .rich-panel-header,
+.rich-stglpanel .rich-stglpanel-header {
+ padding: 2px 3px;
+}*/
+
+.rich-panel input[type=submit], .rich-panel input[type=button],
+.rich-tabpanel input[type=submit], .rich-tabpanel input[type=button] {
+ margin-bottom: 0;
+}
+
+.tableControl input[type=submit], .tableControl input[type=button], .tableControl select {
+ margin: 5px 0 5px 5px;
+}
+
+/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */
+.tableControl select {
+ margin-left: 2px;
+ position: relative;
+ top: 1px;
+}
+
+.actionButtons {
+ padding-left: 1px;
+}
+
+.actionButtons select {
+ margin: 5px 5px 5px 0;
+ vertical-align: bottom;
+}
+
+.rich-toolbar-item a {
+ text-decoration: none;
+}
+
+.rich-toolbar-item a:hover, .rich-ddmenu-label-select {
+ text-decoration: underline;
+}
+
+.rich-toolbar-item .rich-menu-item a:hover {
+ text-decoration: none;
+}
+
+.rich-datalist {
+ list-style: square;
+ margin: 6px 0 1px 0;
+ padding-left: 18px;
+}
+
+.rich-list-item {
+ padding-bottom: 4px;
+}
+
+div.info {
+ font-size: 1.2em;
+}
+
+ul.bullets {
+ list-style: square;
+}
+
+ul.bullets li {
+ padding-bottom: 2px;
+}
+
+td.action {
+ text-align: center;
+ width: 8em;
+ white-space: nowrap;
+}
+
+td.action a {
+ padding-left: 1px;
+ padding-right: 1px;
+}
+
+table.radio {
+ border: 0;
+}
+
+table.radio td {
+ padding: 0 2px;
+}
+
+table.radio input[type=radio] {
+ vertical-align: bottom;
+}
Copied: branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss (from rev 15140, branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.ecss)
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss (rev 0)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/theme.ecss 2012-09-14 13:43:30 UTC (rev 15141)
@@ -0,0 +1,82 @@
+body{
+ font-family:'#{richSkin.generalFamilyFont}';
+ color:'#{richSkin.generalTextColor}';
+}
+h1{
+ font-family:'#{richSkin.generalFamilyFont}';
+ color:'#{richSkin.tabDisabledTextColor}';
+}
+a:active, a:link, a:visited{
+ color:'#{richSkin.generalLinkColor}';
+}
+a:hover{
+ color:'#{richSkin.hoverLinkColor}';
+}
+input[type=text], input[type=password], textarea, select{
+ background-color:'#{richSkin.controlBackgroundColor}';
+ color:'#{richSkin.controlTextColor}';
+ background-position:left top;
+ background-repeat:repeat-x;
+ background-image:"url(#{resource['org.richfaces.renderkit.html.images.SliderFieldGradient']})";
+ border:1px solid;
+ border-color:'#{richSkin.tableBorderColor}';
+}
+select{
+ background-color:transparent;
+ background-image:"url(#{resource['org.richfaces.renderkit.html.images.SliderFieldGradient']})";
+}
+option{
+ background-color:'#{richSkin.generalBackgroundColor}';
+}
+select[multiple]{
+ background-color:'#{richSkin.controlBackgroundColor}';
+}
+select[multiple] option{
+ background-color:transparent;
+}
+input[type=submit], input[type=button]{
+ padding:1px 4px;
+ background-image:"url(#{resource['org.richfaces.renderkit.html.GradientA']})";
+ border:1px solid;
+ border-color:'#{richSkin.headerBackgroundColor}';
+ color:'#{richSkin.headerTextColor}';
+ font-weight:bold;
+}
+input[type=submit][disabled], input[type=button][disabled]{
+ opacity:0.33;
+}
+* html input[type=submit], * html input[type=button], *+html input[type=submit], *+html input[type=button]{
+ border:0;
+ font-size:11px;
+}
+.rich-table-subheadercell{
+ background-image:"url(#{resource['org.richfaces.renderkit.images.TabGradientB']})";
+}
+.rich-toolbar a:link, .rich-toolbar a:visited, .rich-toolbar a:active, .rich-toolbar a:hover{
+ color:'#{richSkin.headerTextColor}';
+}
+.rich-toolbar a:hover{
+ color:'#{richSkin.generalTextColor}';
+}
+.rich-toolbar .rich-menu-item, .rich-toolbar .rich-menu-item a, .rich-toolbar .rich-menu-item a:hover, .rich-toolbar .rich-menu-item a:visited{
+ color:'#{richSkin.generalTextColor}';
+}
+.rich-table-subheadercell a:hover{
+ color:'#{richSkin.calendarHolidaysTextColor}';
+}
+input[type=text][class*=rich-combobox-button-icon]{
+ background-image:"url(#{resource['org.richfaces.renderkit.html.images.ComboBoxArrowImage']})";
+ background-color:transparent;
+}
+input[type=text][class~=rich-combobox-button-icon-disabled]{
+ background-image:"url(#{resource['org.richfaces.renderkit.html.images.ComboBoxArrowImageDisable']})";
+ background-color:transparent;
+}
+input[type=text][class*=rich-combobox-button-background]{
+ background-image:"url(#{resource['org.richfaces.renderkit.html.images.SpinnerButtonGradient']})";
+ background-color:'#{richSkin.tabBackgroundColor}';
+}
+input[type=text][class~=rich-combobox-button-pressed-background]{
+ background-image:"url(#{resource['org.richfaces.renderkit.html.images.ComboBoxButtonPressGradient']})";
+ background-color:'#{richSkin.tabBackgroundColor}';
+}
Copied: branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/useradmin.css (from rev 15140, branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/useradmin.css)
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/useradmin.css (rev 0)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/resources/useradmin.css 2012-09-14 13:43:30 UTC (rev 15141)
@@ -0,0 +1,112 @@
+input.newuser {
+ background: url(../img/btnnewuser.png) top left no-repeat;
+ height: 39px;
+ width: 113px;
+ margin: 4px 4px 4px 4px;
+ border: 0px;
+ cursor: pointer;
+}
+
+input.newrole {
+ background: url(../img/btnnewrole.png) top left no-repeat;
+ height: 39px;
+ width: 113px;
+ margin: 4px 4px 4px 4px;
+ border: 0px;
+ cursor: pointer;
+}
+
+input.newpermission {
+ background: url(../img/btnnewpermission.png) top left no-repeat;
+ height: 39px;
+ width: 113px;
+ margin: 4px 4px 4px 4px;
+ border: 0px;
+ cursor: pointer;
+}
+
+input.manageusers {
+ display: block;
+ background: url(../img/btnmanageusers.png) top left no-repeat;
+ height: 88px;
+ width: 300px;
+ padding-left: 10px;
+ font-size: 19px;
+ font-weight: bold;
+ color: #333333;
+ border: 0px;
+ cursor: pointer;
+ margin-top: 20px;
+ margin-left: 20px;
+}
+
+input.manageroles {
+ display: block;
+ background: url(../img/btnmanageroles.png) top left no-repeat;
+ height: 88px;
+ width: 300px;
+ padding-left: 10px;
+ font-size: 19px;
+ font-weight: bold;
+ color: #333333;
+ border: 0px;
+ cursor: pointer;
+ margin-top: 20px;
+ margin-left: 20px;
+}
+
+.roles {
+ width: 120px;
+ border: 1px solid #7F9DB9;
+ background-color: #E7EDF7;
+}
+
+div.selectMany label {
+ float: none;
+}
+
+div.selectMany input[type="checkbox"] {
+ vertical-align: middle;
+}
+
+div.status-true {
+ background: url(../img/true.png) top left no-repeat;
+ width: 14px;
+ height: 15px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+div.status-false {
+ background: url(../img/false.png) top left no-repeat;
+ width: 14px;
+ height: 15px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+table.useradmin, div.useradmin {
+ width: 500px;
+}
+
+/*
+table.useradmin tr.odd {
+ background-color: #FFFFFF;
+}
+
+table.useradmin tr.even {
+ background-color: #E9F5FF;
+}
+*/
+
+td.enabled {
+ text-align: center;
+}
+
+fieldset.roles .roles {
+ border: none;
+}
+
+table.iceSelMnyCb td {
+ text-align: left;
+}
Deleted: branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.css
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.css 2012-09-14 13:43:17 UTC (rev 15140)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.css 2012-09-14 13:43:30 UTC (rev 15141)
@@ -1,218 +0,0 @@
-html {
- overflow-y: scroll;
-}
-
-body {
- font-size: 12px;
- margin: 0px;
-}
-
-a img {
- border: none;
-}
-
-h1 {
- font-size: 1.6em;
- margin-top: 0;
-}
-
-input[type=submit], input[type=button] {
- font-size: 11px;
- margin: 5px 5px 5px 0;
- cursor: pointer;
-}
-
-input[type=text], input[type=password], textarea {
- font-size: 12px;
- padding-left: 1px;
-}
-
-select {
- font-size: 13px;
-}
-
-.tableControl, .actionButtons {
- width: 100%;
-}
-
-.tableControl a {
- padding-left: 10px;
-}
-
-.tableControl {
- text-align: right;
-}
-
-.footer {
- text-align: center;
- font-size: 11px;
- margin-bottom: 10px;
-}
-
-.rich-table {
- width: 100%;
-}
-
-.body {
- padding: 30px;
-}
-.message {
- padding: 5px;
- list-style: none;
- border: 0;
- background: none;
- padding: 0;
- color: #000000;
- margin: 5px 0 8px 0;
- font-size: 12px;
-}
-
-.message li {
- background: no-repeat left center;
- padding-top: 1px;
- padding-left: 20px;
- margin-left: 3px;
-}
-
-.message li.infomsg {
- background-image: url(../img/msginfo.png);
-}
-
-.message li.errormsg {
- background-image: url(../img/msgerror.png);
-}
-
-.message li.warnmsg {
- background-image: url(../img/msgwarn.png);
-}
-
-.name {
- vertical-align: top;
- font-weight: bold;
- width: 115px;
- float: left;
- padding: 5px;
- margin-top: 3px;
- clear: left;
-}
-
-.value {
- float: left;
- padding: 5px;
-}
-
-.error {
- float: left;
- padding: 5px;
-}
-
-.errors {
- color: #FF0000;
- vertical-align: middle;
-}
-
-img.errors {
- padding-right: 5px;
-}
-
-.errors input, .errors textarea, .errors select {
- border: 1px solid red !important;
-}
-
-.required {
- color: #FF0000;
- padding-left: 2px;
-}
-
-.rich-stglpanel-body {
- overflow: auto;
-}
-
-/* the specificity here is necessary to override the defaults */
-/*
-.rich-panel .rich-panel-header,
-.rich-stglpanel .rich-stglpanel-header {
- padding: 2px 3px;
-}*/
-
-.rich-panel input[type=submit], .rich-panel input[type=button],
-.rich-tabpanel input[type=submit], .rich-tabpanel input[type=button] {
- margin-bottom: 0;
-}
-
-.tableControl input[type=submit], .tableControl input[type=button], .tableControl select {
- margin: 5px 0 5px 5px;
-}
-
-/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */
-.tableControl select {
- margin-left: 2px;
- position: relative;
- top: 1px;
-}
-
-.actionButtons {
- padding-left: 1px;
-}
-
-.actionButtons select {
- margin: 5px 5px 5px 0;
- vertical-align: bottom;
-}
-
-.rich-toolbar-item a {
- text-decoration: none;
-}
-
-.rich-toolbar-item a:hover, .rich-ddmenu-label-select {
- text-decoration: underline;
-}
-
-.rich-toolbar-item .rich-menu-item a:hover {
- text-decoration: none;
-}
-
-.rich-datalist {
- list-style: square;
- margin: 6px 0 1px 0;
- padding-left: 18px;
-}
-
-.rich-list-item {
- padding-bottom: 4px;
-}
-
-div.info {
- font-size: 1.2em;
-}
-
-ul.bullets {
- list-style: square;
-}
-
-ul.bullets li {
- padding-bottom: 2px;
-}
-
-td.action {
- text-align: center;
- width: 8em;
- white-space: nowrap;
-}
-
-td.action a {
- padding-left: 1px;
- padding-right: 1px;
-}
-
-table.radio {
- border: 0;
-}
-
-table.radio td {
- padding: 0 2px;
-}
-
-table.radio input[type=radio] {
- vertical-align: bottom;
-}
Deleted: branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.ecss
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.ecss 2012-09-14 13:43:17 UTC (rev 15140)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/theme.ecss 2012-09-14 13:43:30 UTC (rev 15141)
@@ -1,82 +0,0 @@
-body{
- font-family:'#{richSkin.generalFamilyFont}';
- color:'#{richSkin.generalTextColor}';
-}
-h1{
- font-family:'#{richSkin.generalFamilyFont}';
- color:'#{richSkin.tabDisabledTextColor}';
-}
-a:active, a:link, a:visited{
- color:'#{richSkin.generalLinkColor}';
-}
-a:hover{
- color:'#{richSkin.hoverLinkColor}';
-}
-input[type=text], input[type=password], textarea, select{
- background-color:'#{richSkin.controlBackgroundColor}';
- color:'#{richSkin.controlTextColor}';
- background-position:left top;
- background-repeat:repeat-x;
- background-image:"url(#{resource['org.richfaces.renderkit.html.images.SliderFieldGradient']})";
- border:1px solid;
- border-color:'#{richSkin.tableBorderColor}';
-}
-select{
- background-color:transparent;
- background-image:"url(#{resource['org.richfaces.renderkit.html.images.SliderFieldGradient']})";
-}
-option{
- background-color:'#{richSkin.generalBackgroundColor}';
-}
-select[multiple]{
- background-color:'#{richSkin.controlBackgroundColor}';
-}
-select[multiple] option{
- background-color:transparent;
-}
-input[type=submit], input[type=button]{
- padding:1px 4px;
- background-image:"url(#{resource['org.richfaces.renderkit.html.GradientA']})";
- border:1px solid;
- border-color:'#{richSkin.headerBackgroundColor}';
- color:'#{richSkin.headerTextColor}';
- font-weight:bold;
-}
-input[type=submit][disabled], input[type=button][disabled]{
- opacity:0.33;
-}
-* html input[type=submit], * html input[type=button], *+html input[type=submit], *+html input[type=button]{
- border:0;
- font-size:11px;
-}
-.rich-table-subheadercell{
- background-image:"url(#{resource['org.richfaces.renderkit.images.TabGradientB']})";
-}
-.rich-toolbar a:link, .rich-toolbar a:visited, .rich-toolbar a:active, .rich-toolbar a:hover{
- color:'#{richSkin.headerTextColor}';
-}
-.rich-toolbar a:hover{
- color:'#{richSkin.generalTextColor}';
-}
-.rich-toolbar .rich-menu-item, .rich-toolbar .rich-menu-item a, .rich-toolbar .rich-menu-item a:hover, .rich-toolbar .rich-menu-item a:visited{
- color:'#{richSkin.generalTextColor}';
-}
-.rich-table-subheadercell a:hover{
- color:'#{richSkin.calendarHolidaysTextColor}';
-}
-input[type=text][class*=rich-combobox-button-icon]{
- background-image:"url(#{resource['org.richfaces.renderkit.html.images.ComboBoxArrowImage']})";
- background-color:transparent;
-}
-input[type=text][class~=rich-combobox-button-icon-disabled]{
- background-image:"url(#{resource['org.richfaces.renderkit.html.images.ComboBoxArrowImageDisable']})";
- background-color:transparent;
-}
-input[type=text][class*=rich-combobox-button-background]{
- background-image:"url(#{resource['org.richfaces.renderkit.html.images.SpinnerButtonGradient']})";
- background-color:'#{richSkin.tabBackgroundColor}';
-}
-input[type=text][class~=rich-combobox-button-pressed-background]{
- background-image:"url(#{resource['org.richfaces.renderkit.html.images.ComboBoxButtonPressGradient']})";
- background-color:'#{richSkin.tabBackgroundColor}';
-}
Deleted: branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/useradmin.css
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/useradmin.css 2012-09-14 13:43:17 UTC (rev 15140)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/view/stylesheet/useradmin.css 2012-09-14 13:43:30 UTC (rev 15141)
@@ -1,112 +0,0 @@
-input.newuser {
- background: url(../img/btnnewuser.png) top left no-repeat;
- height: 39px;
- width: 113px;
- margin: 4px 4px 4px 4px;
- border: 0px;
- cursor: pointer;
-}
-
-input.newrole {
- background: url(../img/btnnewrole.png) top left no-repeat;
- height: 39px;
- width: 113px;
- margin: 4px 4px 4px 4px;
- border: 0px;
- cursor: pointer;
-}
-
-input.newpermission {
- background: url(../img/btnnewpermission.png) top left no-repeat;
- height: 39px;
- width: 113px;
- margin: 4px 4px 4px 4px;
- border: 0px;
- cursor: pointer;
-}
-
-input.manageusers {
- display: block;
- background: url(../img/btnmanageusers.png) top left no-repeat;
- height: 88px;
- width: 300px;
- padding-left: 10px;
- font-size: 19px;
- font-weight: bold;
- color: #333333;
- border: 0px;
- cursor: pointer;
- margin-top: 20px;
- margin-left: 20px;
-}
-
-input.manageroles {
- display: block;
- background: url(../img/btnmanageroles.png) top left no-repeat;
- height: 88px;
- width: 300px;
- padding-left: 10px;
- font-size: 19px;
- font-weight: bold;
- color: #333333;
- border: 0px;
- cursor: pointer;
- margin-top: 20px;
- margin-left: 20px;
-}
-
-.roles {
- width: 120px;
- border: 1px solid #7F9DB9;
- background-color: #E7EDF7;
-}
-
-div.selectMany label {
- float: none;
-}
-
-div.selectMany input[type="checkbox"] {
- vertical-align: middle;
-}
-
-div.status-true {
- background: url(../img/true.png) top left no-repeat;
- width: 14px;
- height: 15px;
- margin-left: auto;
- margin-right: auto;
-}
-
-div.status-false {
- background: url(../img/false.png) top left no-repeat;
- width: 14px;
- height: 15px;
- margin-left: auto;
- margin-right: auto;
-}
-
-table.useradmin, div.useradmin {
- width: 500px;
-}
-
-/*
-table.useradmin tr.odd {
- background-color: #FFFFFF;
-}
-
-table.useradmin tr.even {
- background-color: #E9F5FF;
-}
-*/
-
-td.enabled {
- text-align: center;
-}
-
-fieldset.roles .roles {
- border: none;
-}
-
-table.iceSelMnyCb td {
- text-align: left;
-}
12 years, 3 months