Skip to content

Commit

Permalink
Add Deprecated extended Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrussler committed Aug 16, 2013
1 parent f1436ab commit 41ebe96
Show file tree
Hide file tree
Showing 128 changed files with 5,903 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DEPRECATED_extended-demo-source/.classpath
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1 Runtime">
<attributes>
<attribute name="owner.project.facets" value="jst.web;jpt.jpa;jst.jsf"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
54 changes: 54 additions & 0 deletions DEPRECATED_extended-demo-source/.project
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>commentbox-extended-demo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.jst.web.kb.kbbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.cdi.core.cdibuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.hibernate.eclipse.console.hibernateBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.jboss.tools.jst.web.kb.kbnature</nature>
<nature>org.jboss.tools.cdi.core.cdinature</nature>
<nature>org.hibernate.eclipse.console.hibernateNature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions DEPRECATED_extended-demo-source/.settings/.jsdtscope
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="WebContent"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
@@ -0,0 +1,9 @@
eclipse.preferences.version=1
encoding//WebContent/WEB-INF/template/base_template.xhtml=UTF-8
encoding//WebContent/resources/js/general.js=UTF-8
encoding//src/db/enums/Usertype.java=UTF-8
encoding//src/view/backingbeans/ArticleEdit.java=UTF-8
encoding//src/view/backingbeans/ArticleView.java=UTF-8
encoding//src/view/backingbeans/Main.java=UTF-8
encoding//src/view/backingbeans/UserSession.java=UTF-8
encoding/<project>=UTF-8
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.jpt.core.platform=hibernate2_0
org.eclipse.jpt.jpa.core.discoverAnnotatedClasses=true
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="commentbox-extended-demo">
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="java-output-path" value="/commentbox-extended-demo/build/classes"/>
<property name="context-root" value="commentbox-extended-demo"/>
</wb-module>
</project-modules>
@@ -0,0 +1,12 @@
<root>
<facet id="jst.jsf">
<node name="libprov">
<attribute name="provider-id" value="runtime-library-provider"/>
</node>
</facet>
<facet id="jpt.jpa">
<node name="libprov">
<attribute name="provider-id" value="runtime-library-provider"/>
</node>
</facet>
</root>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="JBoss 7.1 Runtime"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="jst.cdi" version="1.0"/>
<installed facet="jst.jsf" version="2.0"/>
<installed facet="jpt.jpa" version="2.0"/>
</faceted-project>
@@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
@@ -0,0 +1 @@
Window
@@ -0,0 +1,3 @@
default.configuration=New_configuration
eclipse.preferences.version=1
hibernate3.enabled=true
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<PROCESS model-entity="JSFProcess"/>
5 changes: 5 additions & 0 deletions DEPRECATED_extended-demo-source/WebContent/WEB-INF/beans.xml
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://docs.jboss.org/cdi/beans_1_0.xsd">

</beans>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>

<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">

<application>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
</application>

<factory>
<exception-handler-factory>org.omnifaces.exceptionhandler.FullAjaxExceptionHandlerFactory</exception-handler-factory>
</factory>
</faces-config>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,82 @@
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.3.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.0
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.0.xsd">

<url-mapping id="home">
<pattern value="/" />
<view-id value="/faces/main.xhtml" />
</url-mapping>

<url-mapping id="home01">
<pattern value="/projects/#{/[0-9]+/ page: main.currentpage}/"/>
<view-id value="/faces/main.xhtml" />
</url-mapping>

<url-mapping id="logout">
<pattern value="/logout" />
<view-id value="/faces/main.xhtml" />
<action>#{navigation.logout()}</action>
</url-mapping>

<url-mapping id="add1">
<pattern value="/add" />
<view-id value="/faces/article_edit.xhtml" />
</url-mapping>

<url-mapping id="add2">
<pattern value="/add/" />
<view-id value="/faces/article_edit.xhtml" />
</url-mapping>

<url-mapping id="edit1">
<pattern value="/edit/#{articleEdit.article_id}" />
<view-id value="/faces/article_edit.xhtml" />
</url-mapping>

<url-mapping id="edit2">
<pattern value="/edit/#{id: articleEdit.article_id}/" />
<view-id value="/faces/article_edit.xhtml" />
</url-mapping>

<url-mapping id="aboutus1">
<pattern value="/about" />
<view-id value="/faces/aboutus.xhtml" />
</url-mapping>

<url-mapping id="aboutus2">
<pattern value="/about/" />
<view-id value="/faces/aboutus.xhtml" />
</url-mapping>

<url-mapping id="disclaimer1">
<pattern value="/disclaimer" />
<view-id value="/faces/disclaimer.xhtml" />
</url-mapping>

<url-mapping id="disclaimer2">
<pattern value="/disclaimer/" />
<view-id value="/faces/disclaimer.xhtml" />
</url-mapping>

<url-mapping id="articleshow0">
<pattern value="/project" />
<view-id value="/faces/article_edit.xhtml" />
</url-mapping>
<url-mapping id="articleshow1">
<pattern value="/project/#{articleView.article_id}" />
<view-id value="/faces/article_view.xhtml" />
</url-mapping>
<url-mapping id="articleshow2">
<pattern value="/project/#{id: articleView.article_id}/" />
<view-id value="/faces/article_view.xhtml" />
</url-mapping>
<url-mapping id="articleshow3">
<pattern value="/project/#{articleView.article_id}/#{title}" />
<view-id value="/faces/article_view.xhtml" />
</url-mapping>
<url-mapping id="articleshow4">
<pattern value="/project/#{articleView.article_id}/#{title}/" />
<view-id value="/faces/article_view.xhtml" />
</url-mapping>
</pretty-config>

0 comments on commit 41ebe96

Please sign in to comment.