Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4550323a
authored
May 10, 2013
by
Antti Tönkyrä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix facet
1 parent
c1b70f3d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
5 deletions
code/MoyaWeb/.project
code/MoyaWeb/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
code/MoyaWeb/.settings/org.eclipse.wst.common.project.facet.core.xml
code/MoyaWeb/WebContent/WEB-INF/web.xml
code/MoyaWeb/WebContent/useradmin/overview.xhtml
code/MoyaWeb/.project
View file @
4550323
...
...
@@ -21,6 +21,11 @@
</arguments>
</buildCommand>
<buildCommand>
<name>
org.jboss.tools.jst.web.kb.kbbuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.wst.validation.validationbuilder
</name>
<arguments>
</arguments>
...
...
@@ -32,5 +37,7 @@
<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.jsf.jsfnature
</nature>
</natures>
</projectDescription>
code/MoyaWeb/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
0 → 100644
View file @
4550323
<root>
<facet
id=
"jst.jsf"
>
<node
name=
"libprov"
>
<attribute
name=
"provider-id"
value=
"jsf-no-op-library-provider"
/>
</node>
</facet>
</root>
code/MoyaWeb/.settings/org.eclipse.wst.common.project.facet.core.xml
View file @
4550323
...
...
@@ -8,4 +8,5 @@
<installed
facet=
"sun.facet"
version=
"9"
/>
<installed
facet=
"wst.jsdt.web"
version=
"1.0"
/>
<installed
facet=
"java"
version=
"1.7"
/>
<installed
facet=
"jst.jsf"
version=
"2.1"
/>
</faceted-project>
code/MoyaWeb/WebContent/WEB-INF/web.xml
View file @
4550323
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id=
"WebApp_ID"
version=
"3.0"
>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id=
"WebApp_ID"
version=
"3.0"
>
<display-name>
LanBortalWeb
</display-name>
<session-config>
<session-timeout>
120
</session-timeout>
</session-config>
<context-param>
<param-name>
javax.faces.PROJECT_STAGE
</param-name>
<!-- Production | Development -->
<param-value>
Development
</param-value>
</context-param>
<context-param>
...
...
@@ -141,4 +137,52 @@
<servlet-name>
PlaceGroupPdf
</servlet-name>
<url-pattern>
/PlaceGroupPdf
</url-pattern>
</servlet-mapping>
<context-param>
<param-name>
javax.servlet.jsp.jstl.fmt.localizationContext
</param-name>
<param-value>
resources.application
</param-value>
</context-param>
<context-param>
<description>
State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2
</description>
<param-name>
javax.faces.STATE_SAVING_METHOD
</param-name>
<param-value>
client
</param-value>
</context-param>
<context-param>
<description>
This parameter tells MyFaces if javascript code should be allowed in
the rendered HTML output.
If javascript is allowed, command_link anchors will have javascript code
that submits the corresponding form.
If javascript is not allowed, the state saving info and nested parameters
will be added as url parameters.
Default is 'true'
</description>
<param-name>
org.apache.myfaces.ALLOW_JAVASCRIPT
</param-name>
<param-value>
true
</param-value>
</context-param>
<context-param>
<description>
If true, rendered HTML code will be formatted, so that it is 'human-readable'
i.e. additional line separators and whitespace will be written, that do not
influence the HTML code.
Default is 'true'
</description>
<param-name>
org.apache.myfaces.PRETTY_HTML
</param-name>
<param-value>
true
</param-value>
</context-param>
<context-param>
<param-name>
org.apache.myfaces.DETECT_JAVASCRIPT
</param-name>
<param-value>
false
</param-value>
</context-param>
<context-param>
<description>
If true, a javascript function will be rendered that is able to restore the
former vertical scroll on every request. Convenient feature if you have pages
with long lists and you do not want the browser page to always jump to the top
if you trigger a link or button action that stays on the same page.
Default is 'false'
</description>
<param-name>
org.apache.myfaces.AUTO_SCROLL
</param-name>
<param-value>
true
</param-value>
</context-param>
<listener>
<listener-class>
org.apache.myfaces.webapp.StartupServletContextListener
</listener-class>
</listener>
</web-app>
\ No newline at end of file
code/MoyaWeb/WebContent/useradmin/overview.xhtml
View file @
4550323
...
...
@@ -7,6 +7,7 @@
<ui:composition
template=
"#{sessionHandler.template}"
>
<ui:define
name=
"content"
>
#{userCartView}
<p:dataTable
value=
"#{userCartView}"
var=
"cartItem"
>
<h:outputText
value=
"#{cartItem}"
/>
</p:dataTable>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment