Skip to content

Instantly share code, notes, and snippets.

@tommy770221
Created April 29, 2017 09:47
Show Gist options
  • Save tommy770221/576a8bb90e7694f6f59b58d2fbac14c3 to your computer and use it in GitHub Desktop.
Save tommy770221/576a8bb90e7694f6f59b58d2fbac14c3 to your computer and use it in GitHub Desktop.
NasaHackson ChatBot Server with chatfuel
<component name="ArtifactManager">
<artifact type="war" name="nasachatbot:war">
<output-path>$PROJECT_DIR$/target</output-path>
<root id="archive" name="nasachatbot-0.1.0.BUILD-SNAPSHOT.war">
<element id="artifact" artifact-name="nasachatbot:war exploded" />
</root>
</artifact>
</component>
<component name="ArtifactManager">
<artifact type="exploded-war" name="nasachatbot:war exploded">
<output-path>$PROJECT_DIR$/target/nasachatbot-0.1.0.BUILD-SNAPSHOT</output-path>
<root id="root">
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="nasachatbot" />
</element>
<element id="directory" name="lib">
<element id="library" level="project" name="Maven: log4j:log4j:1.2.17" />
<element id="library" level="project" name="Maven: org.slf4j:slf4j-api:1.7.5" />
<element id="library" level="project" name="Maven: org.slf4j:jcl-over-slf4j:1.7.5" />
<element id="library" level="project" name="Maven: org.slf4j:slf4j-log4j12:1.7.5" />
<element id="library" level="project" name="Maven: org.aspectj:aspectjrt:1.8.1" />
<element id="library" level="project" name="Maven: org.aspectj:aspectjweaver:1.8.1" />
<element id="library" level="project" name="Maven: net.sf.flexjson:flexjson:2.1" />
<element id="library" level="project" name="Maven: org.apache.commons:commons-lang3:3.1" />
<element id="library" level="project" name="Maven: org.springframework:spring-core:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-context:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-beans:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-expression:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-aop:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: aopalliance:aopalliance:1.0" />
<element id="library" level="project" name="Maven: org.springframework:spring-aspects:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: mysql:mysql-connector-java:5.1.18" />
<element id="library" level="project" name="Maven: org.hibernate:hibernate-core:4.3.6.Final" />
<element id="library" level="project" name="Maven: org.jboss.logging:jboss-logging:3.1.3.GA" />
<element id="library" level="project" name="Maven: org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1" />
<element id="library" level="project" name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final" />
<element id="library" level="project" name="Maven: dom4j:dom4j:1.6.1" />
<element id="library" level="project" name="Maven: xml-apis:xml-apis:1.0.b2" />
<element id="library" level="project" name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.5.Final" />
<element id="library" level="project" name="Maven: org.javassist:javassist:3.18.1-GA" />
<element id="library" level="project" name="Maven: antlr:antlr:2.7.7" />
<element id="library" level="project" name="Maven: org.jboss:jandex:1.1.0.Final" />
<element id="library" level="project" name="Maven: org.hibernate:hibernate-entitymanager:4.3.6.Final" />
<element id="library" level="project" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final" />
<element id="library" level="project" name="Maven: commons-collections:commons-collections:3.2.1" />
<element id="library" level="project" name="Maven: org.hibernate:hibernate-validator:4.3.2.Final" />
<element id="library" level="project" name="Maven: javax.validation:validation-api:1.0.0.GA" />
<element id="library" level="project" name="Maven: javax.transaction:jta:1.1" />
<element id="library" level="project" name="Maven: org.springframework:spring-jdbc:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-tx:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-orm:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: commons-pool:commons-pool:1.5.6" />
<element id="library" level="project" name="Maven: commons-dbcp:commons-dbcp:1.4" />
<element id="library" level="project" name="Maven: org.springframework:spring-webmvc:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework:spring-web:3.2.8.RELEASE" />
<element id="library" level="project" name="Maven: org.springframework.webflow:spring-js-resources:2.2.1.RELEASE" />
<element id="library" level="project" name="Maven: commons-digester:commons-digester:2.1" />
<element id="library" level="project" name="Maven: commons-beanutils:commons-beanutils:1.8.3" />
<element id="library" level="project" name="Maven: commons-fileupload:commons-fileupload:1.2.2" />
<element id="library" level="project" name="Maven: javax.servlet.jsp.jstl:jstl-api:1.2" />
<element id="library" level="project" name="Maven: org.glassfish.web:jstl-impl:1.2" />
<element id="library" level="project" name="Maven: joda-time:joda-time:1.6" />
<element id="library" level="project" name="Maven: commons-codec:commons-codec:1.5" />
<element id="library" level="project" name="Maven: org.apache.tiles:tiles-jsp:2.2.2" />
<element id="library" level="project" name="Maven: org.apache.tiles:tiles-servlet:2.2.2" />
<element id="library" level="project" name="Maven: org.apache.tiles:tiles-core:2.2.2" />
<element id="library" level="project" name="Maven: org.apache.tiles:tiles-template:2.2.2" />
<element id="library" level="project" name="Maven: org.apache.tiles:tiles-api:2.2.2" />
</element>
</element>
<element id="directory" name="META-INF">
<element id="file-copy" path="$PROJECT_DIR$/target/nasachatbot-0.1.0.BUILD-SNAPSHOT/META-INF/MANIFEST.MF" />
</element>
<element id="javaee-facet-resources" facet="nasachatbot/web/Web" />
</root>
</artifact>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AjcSettings">
<option name="ajcPath" value="$MAVEN_REPOSITORY$/org/aspectj/aspectjtools/1.8.1/aspectjtools-1.8.1.jar" />
<option name="delegateToJavac" value="true" />
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="ajc" />
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="nasachatbot" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="nasachatbot" target="1.6" />
</bytecodeTargetLevel>
</component>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
</component>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinCommonCompilerArguments">
<option name="languageVersion" value="1.1" />
<option name="apiVersion" value="1.1" />
</component>
</project>
<component name="libraryTable">
<library name="Maven: antlr:antlr:2.7.7">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/antlr/antlr/2.7.7/antlr-2.7.7.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/antlr/antlr/2.7.7/antlr-2.7.7-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/antlr/antlr/2.7.7/antlr-2.7.7-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: aopalliance:aopalliance:1.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/aopalliance/aopalliance/1.0/aopalliance-1.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/aopalliance/aopalliance/1.0/aopalliance-1.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-beanutils:commons-beanutils:1.8.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-codec:commons-codec:1.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.5/commons-codec-1.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.5/commons-codec-1.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.5/commons-codec-1.5-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-collections:commons-collections:3.2.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-dbcp:commons-dbcp:1.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-digester:commons-digester:2.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-digester/commons-digester/2.1/commons-digester-2.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-digester/commons-digester/2.1/commons-digester-2.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-digester/commons-digester/2.1/commons-digester-2.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-fileupload:commons-fileupload:1.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-io:commons-io:2.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.4/commons-io-2.4.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.4/commons-io-2.4-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.4/commons-io-2.4-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: commons-pool:commons-pool:1.5.6">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-pool/commons-pool/1.5.6/commons-pool-1.5.6.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-pool/commons-pool/1.5.6/commons-pool-1.5.6-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-pool/commons-pool/1.5.6/commons-pool-1.5.6-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: dom4j:dom4j:1.6.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/dom4j/dom4j/1.6.1/dom4j-1.6.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: javax.el:el-api:2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/javax/el/el-api/2.2/el-api-2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/javax/el/el-api/2.2/el-api-2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/javax/el/el-api/2.2/el-api-2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: javax.servlet.jsp:jsp-api:2.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: javax.servlet.jsp.jstl:jstl-api:1.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/jsp/jstl/jstl-api/1.2/jstl-api-1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/jsp/jstl/jstl-api/1.2/jstl-api-1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/jsp/jstl/jstl-api/1.2/jstl-api-1.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: javax.servlet:servlet-api:2.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/servlet-api/2.5/servlet-api-2.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: javax.transaction:jta:1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/javax/transaction/jta/1.1/jta-1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/javax/transaction/jta/1.1/jta-1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: javax.validation:validation-api:1.0.0.GA">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: joda-time:joda-time:1.6">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/joda-time/joda-time/1.6/joda-time-1.6.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/joda-time/joda-time/1.6/joda-time-1.6-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/joda-time/joda-time/1.6/joda-time-1.6-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: junit:junit:4.11">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: log4j:log4j:1.2.17">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: mysql:mysql-connector-java:5.1.18">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: net.sf.flexjson:flexjson:2.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/net/sf/flexjson/flexjson/2.1/flexjson-2.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/net/sf/flexjson/flexjson/2.1/flexjson-2.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/net/sf/flexjson/flexjson/2.1/flexjson-2.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.apache.commons:commons-lang3:3.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.apache.tiles:tiles-api:2.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-api/2.2.2/tiles-api-2.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-api/2.2.2/tiles-api-2.2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-api/2.2.2/tiles-api-2.2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.apache.tiles:tiles-core:2.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-core/2.2.2/tiles-core-2.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-core/2.2.2/tiles-core-2.2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-core/2.2.2/tiles-core-2.2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.apache.tiles:tiles-jsp:2.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-jsp/2.2.2/tiles-jsp-2.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-jsp/2.2.2/tiles-jsp-2.2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-jsp/2.2.2/tiles-jsp-2.2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.apache.tiles:tiles-servlet:2.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-servlet/2.2.2/tiles-servlet-2.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-servlet/2.2.2/tiles-servlet-2.2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-servlet/2.2.2/tiles-servlet-2.2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.apache.tiles:tiles-template:2.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-template/2.2.2/tiles-template-2.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-template/2.2.2/tiles-template-2.2.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tiles/tiles-template/2.2.2/tiles-template-2.2.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.aspectj:aspectjrt:1.8.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjrt/1.8.1/aspectjrt-1.8.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjrt/1.8.1/aspectjrt-1.8.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjrt/1.8.1/aspectjrt-1.8.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.aspectj:aspectjweaver:1.8.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.1/aspectjweaver-1.8.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.1/aspectjweaver-1.8.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.1/aspectjweaver-1.8.1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.glassfish.web:jstl-impl:1.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/glassfish/web/jstl-impl/1.2/jstl-impl-1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/glassfish/web/jstl-impl/1.2/jstl-impl-1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/glassfish/web/jstl-impl/1.2/jstl-impl-1.2-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.hamcrest:hamcrest-core:1.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.5.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.hibernate:hibernate-core:4.3.6.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-core/4.3.6.Final/hibernate-core-4.3.6.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-core/4.3.6.Final/hibernate-core-4.3.6.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-core/4.3.6.Final/hibernate-core-4.3.6.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.hibernate:hibernate-entitymanager:4.3.6.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-entitymanager/4.3.6.Final/hibernate-entitymanager-4.3.6.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-entitymanager/4.3.6.Final/hibernate-entitymanager-4.3.6.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-entitymanager/4.3.6.Final/hibernate-entitymanager-4.3.6.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.hibernate:hibernate-validator:4.3.2.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-validator/4.3.2.Final/hibernate-validator-4.3.2.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-validator/4.3.2.Final/hibernate-validator-4.3.2.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-validator/4.3.2.Final/hibernate-validator-4.3.2.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.javassist:javassist:3.18.1-GA">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.jboss:jandex:1.1.0.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.jboss.logging:jboss-logging:3.1.3.GA">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/spec/javax/transaction/jboss-transaction-api_1.2_spec/1.0.0.Final/jboss-transaction-api_1.2_spec-1.0.0.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/spec/javax/transaction/jboss-transaction-api_1.2_spec/1.0.0.Final/jboss-transaction-api_1.2_spec-1.0.0.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/spec/javax/transaction/jboss-transaction-api_1.2_spec/1.0.0.Final/jboss-transaction-api_1.2_spec-1.0.0.Final-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.slf4j:jcl-over-slf4j:1.7.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.slf4j:slf4j-api:1.7.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.slf4j:slf4j-log4j12:1.7.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework.roo:org.springframework.roo.annotations:1.3.2.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/roo/org.springframework.roo.annotations/1.3.2.RELEASE/org.springframework.roo.annotations-1.3.2.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/roo/org.springframework.roo.annotations/1.3.2.RELEASE/org.springframework.roo.annotations-1.3.2.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/roo/org.springframework.roo.annotations/1.3.2.RELEASE/org.springframework.roo.annotations-1.3.2.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-aop:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/3.2.8.RELEASE/spring-aop-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/3.2.8.RELEASE/spring-aop-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/3.2.8.RELEASE/spring-aop-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-aspects:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aspects/3.2.8.RELEASE/spring-aspects-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aspects/3.2.8.RELEASE/spring-aspects-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aspects/3.2.8.RELEASE/spring-aspects-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-beans:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/3.2.8.RELEASE/spring-beans-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/3.2.8.RELEASE/spring-beans-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/3.2.8.RELEASE/spring-beans-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-context:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/3.2.8.RELEASE/spring-context-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/3.2.8.RELEASE/spring-context-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/3.2.8.RELEASE/spring-context-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-core:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/3.2.8.RELEASE/spring-core-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/3.2.8.RELEASE/spring-core-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/3.2.8.RELEASE/spring-core-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-expression:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/3.2.8.RELEASE/spring-expression-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/3.2.8.RELEASE/spring-expression-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/3.2.8.RELEASE/spring-expression-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-jdbc:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/3.2.8.RELEASE/spring-jdbc-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/3.2.8.RELEASE/spring-jdbc-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/3.2.8.RELEASE/spring-jdbc-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-orm:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-orm/3.2.8.RELEASE/spring-orm-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-orm/3.2.8.RELEASE/spring-orm-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-orm/3.2.8.RELEASE/spring-orm-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-test:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/3.2.8.RELEASE/spring-test-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/3.2.8.RELEASE/spring-test-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/3.2.8.RELEASE/spring-test-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-tx:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/3.2.8.RELEASE/spring-tx-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/3.2.8.RELEASE/spring-tx-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/3.2.8.RELEASE/spring-tx-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-web:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/3.2.8.RELEASE/spring-web-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/3.2.8.RELEASE/spring-web-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/3.2.8.RELEASE/spring-web-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework:spring-webmvc:3.2.8.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/3.2.8.RELEASE/spring-webmvc-3.2.8.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/3.2.8.RELEASE/spring-webmvc-3.2.8.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/3.2.8.RELEASE/spring-webmvc-3.2.8.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: org.springframework.webflow:spring-js-resources:2.2.1.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/webflow/spring-js-resources/2.2.1.RELEASE/spring-js-resources-2.2.1.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/webflow/spring-js-resources/2.2.1.RELEASE/spring-js-resources-2.2.1.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/webflow/spring-js-resources/2.2.1.RELEASE/spring-js-resources-2.2.1.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
<component name="libraryTable">
<library name="Maven: xml-apis:xml-apis:1.0.b2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar!/" />
</SOURCES>
</library>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="masterDetails">
<states>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.8</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/nasachatbot.iml" filepath="$PROJECT_DIR$/nasachatbot.iml" />
</modules>
</component>
</project>
// Spring Roo 1.3.2.RELEASE [rev 8387857] log opened at 2017-04-29 14:34:31
project --topLevelPackage com.nasa.hackson.nasachatbot
jpa setup --provider HIBERNATE --database MYSQL
entity jpa --class ~.domain.Button
field string --fieldName type
field string --fieldName url
field string --fieldName title
// [failed] entity jpa --class ~.domain.Element
entity jpa --class ~.domain.MsgElement
field string --fieldName title
field string --fieldName imageUrl
field string --fieldName subtitle
field list --fieldName buttons --type ~.domain.Button
entity jpa --class ~.domain.PayLoad
field string --fieldName templateType
field list --fieldName elements --type ~.domain.MsgElement
entity jpa --class ~.domain.Attachment
field string --fieldName type
// [failed] field reference --fieldName payload --type ~.domain.Payload
field reference --fieldName payload --type ~.domain.PayLoad
entity jpa --class ~.domain.Message
field reference --fieldName attachment --type ~.domain.Attachment
entity jpa --class ~.domain.Messagetemplate
field list --fieldName messages --type ~.domain.Message
quit
// Spring Roo 1.3.2.RELEASE [rev 8387857] log closed at 2017-04-29 14:46:59
// Spring Roo 1.3.2.RELEASE [rev 8387857] log opened at 2017-04-29 14:52:59
web mvc json setup --package ~.webjson.controller
web mvc json all --package ~.webjson.controller
web mvc all --package ~.web.controller
quit
// Spring Roo 1.3.2.RELEASE [rev 8387857] log closed at 2017-04-29 14:56:12
// Spring Roo 1.3.2.RELEASE [rev 8387857] log opened at 2017-04-29 15:39:48
entity jpa --class ~.domain.PeopleDecision
field string --fieldName msgFBId
// [failed] field string --fieldName msgFBId
field string --fieldName gender
field string --fieldName actionButton
field date --type java.util.Date --fieldName createDate
field string --fieldName age
web mvc all --package ~.web.controller
focus --class ~.domain.PeopleDecision
// [failed] field string --fieldName position
field string --fieldName positionX
field string --fieldName positionY
entity jpa --class ~.domain.PeopleDetail
field string --fieldName msgId
field string --fieldName gender
field string --fieldName postionX
field string --fieldName postionY
field string --fieldName country
field string --fieldName age
exit
// Spring Roo 1.3.2.RELEASE [rev 8387857] log closed at 2017-04-29 16:30:32
// Spring Roo 1.3.2.RELEASE [rev 8387857] log opened at 2017-04-29 16:44:30
focus --class ~.domain.PeopleDetail
field date --type java.util.Date --fieldName createDate
quit
// Spring Roo 1.3.2.RELEASE [rev 8387857] log closed at 2017-04-29 16:48:43
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="AspectJ" name="AspectJ">
<configuration>
<option name="aspectPath">
<projectLibrary>
<option name="name" value="Maven: org.springframework:spring-aspects:3.2.8.RELEASE" />
</projectLibrary>
</option>
</configuration>
</facet>
<facet type="Spring" name="Spring">
<configuration />
</facet>
<facet type="web" name="Web">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
</descriptors>
<webroots>
<root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
</webroots>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.5" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.5" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-log4j12:1.7.5" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.8.1" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:servlet-api:2.5" level="project" />
<orderEntry type="library" name="Maven: net.sf.flexjson:flexjson:2.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.springframework.roo:org.springframework.roo.annotations:1.3.2.RELEASE" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-io:commons-io:2.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:3.2.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aspects:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.18" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-core:4.3.6.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.1.3.GA" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1" level="project" />
<orderEntry type="library" name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final" level="project" />
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
<orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.5.Final" level="project" />
<orderEntry type="library" name="Maven: org.javassist:javassist:3.18.1-GA" level="project" />
<orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
<orderEntry type="library" name="Maven: org.jboss:jandex:1.1.0.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:4.3.6.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:4.3.2.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:1.0.0.GA" level="project" />
<orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-orm:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-pool:commons-pool:1.5.6" level="project" />
<orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.4" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:3.2.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.webflow:spring-js-resources:2.2.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-digester:commons-digester:2.1" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.8.3" level="project" />
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.2.2" level="project" />
<orderEntry type="library" name="Maven: javax.servlet.jsp.jstl:jstl-api:1.2" level="project" />
<orderEntry type="library" name="Maven: org.glassfish.web:jstl-impl:1.2" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.el:el-api:2.2" level="project" />
<orderEntry type="library" name="Maven: joda-time:joda-time:1.6" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet.jsp:jsp-api:2.1" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.tiles:tiles-jsp:2.2.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.tiles:tiles-servlet:2.2.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.tiles:tiles-core:2.2.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.tiles:tiles-template:2.2.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.tiles:tiles-api:2.2.2" level="project" />
</component>
</module>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.nasa.hackson.nasachatbot</groupId>
<artifactId>nasachatbot</artifactId>
<packaging>war</packaging>
<version>0.1.0.BUILD-SNAPSHOT</version>
<name>nasachatbot</name>
<properties>
<aspectj.version>1.8.1</aspectj.version>
<java.version>1.6</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<roo.version>1.3.2.RELEASE</roo.version>
<slf4j.version>1.7.5</slf4j.version>
<spring.version>3.2.8.RELEASE</spring.version>
<tomcat.version>7.0.63</tomcat.version>
</properties>
<repositories>
<repository>
<id>spring-maven-release</id>
<name>Spring Maven Release Repository</name>
<url>http://maven.springframework.org/release</url>
</repository>
<repository>
<id>spring-maven-milestone</id>
<name>Spring Maven Milestone Repository</name>
<url>http://maven.springframework.org/milestone</url>
</repository>
<repository>
<id>spring-roo-repository</id>
<name>Spring Roo Repository</name>
<url>http://spring-roo-repository.springsource.org/release</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-maven-release</id>
<name>Spring Maven Release Repository</name>
<url>http://maven.springframework.org/release</url>
</pluginRepository>
<pluginRepository>
<id>spring-maven-milestone</id>
<name>Spring Maven Milestone Repository</name>
<url>http://maven.springframework.org/milestone</url>
</pluginRepository>
<pluginRepository>
<id>spring-roo-repository</id>
<name>Spring Roo Repository</name>
<url>http://spring-roo-repository.springsource.org/release</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<!-- General dependencies for standard applications -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.sf.flexjson</groupId>
<artifactId>flexjson</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<!-- ROO dependencies -->
<dependency>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.annotations</artifactId>
<version>${roo.version}</version>
<scope>provided</scope>
</dependency>
<!-- Spring dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.18</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.3.6.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.3.6.Final</version>
<exclusions>
<exclusion>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
</exclusion>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.3.2.Final</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.5.6</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-js-resources</artifactId>
<version>2.2.1.RELEASE</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>jstl-api</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>jstl-impl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-jsp</artifactId>
<version>2.2.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<!-- <configuration> <webXml>target/web.xml</webXml> </configuration> -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.4</version>
<dependencies>
<!-- NB: You must use Maven 2.0.9 or above or these are ignored (see MNG-2972) -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
<configuration>
<outxml>true</outxml>
<aspectLibraries>
<aspectLibrary>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</aspectLibrary>
</aspectLibraries>
<source>${java.version}</source>
<target>${java.version}</target>
<!--
Aspects in src/main/java and src/main/aspects are added
as default in the compile goal.
Aspects in src/test/java and src/test/aspects are added
as default in the test-compile goal.
Aspects in src/main/java are added in the test-compile
goal if weaveWithAspectsInMainSourceFolder is set to true
-->
<weaveWithAspectsInMainSourceFolder>false</weaveWithAspectsInMainSourceFolder>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<printSummary>false</printSummary>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<excludes>
<exclude>**/*_Roo_*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
</plugin>
<!-- IDE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<!-- Note 2.8 does not work with AspectJ aspect path -->
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<wtpversion>2.0</wtpversion>
<additionalBuildcommands>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
<aspectPath>org.springframework.aspects</aspectPath>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
</buildCommand>
</additionalBuildcommands>
<additionalProjectnatures>
<projectnature>org.eclipse.ajdt.ui.ajnature</projectnature>
<projectnature>com.springsource.sts.roo.core.nature</projectnature>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<version>2.2</version>
<configuration>
<downloadSources>true</downloadSources>
<dependenciesAsLibraries>true</dependenciesAsLibraries>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<dependencies>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-util</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-coyote</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-api</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-dbcp</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jsp-api</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper-el</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-el-api</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-tribes</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina-ha</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-annotations-api</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-juli</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-logging-juli</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-logging-log4j</artifactId>
<version>${tomcat.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.4.v20120524</version>
<configuration>
<webAppConfig>
<contextPath>/${project.name}</contextPath>
</webAppConfig>
</configuration>
</plugin>
</plugins>
</build>
</project>
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import javax.persistence.ManyToOne;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class Attachment {
/**
*/
private String type;
/**
*/
@ManyToOne
private PayLoad payload;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect Attachment_Roo_Configurable {
declare @type: Attachment: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
privileged aspect Attachment_Roo_JavaBean {
public String Attachment.getType() {
return this.type;
}
public void Attachment.setType(String type) {
this.type = type;
}
public PayLoad Attachment.getPayload() {
return this.payload;
}
public void Attachment.setPayload(PayLoad payload) {
this.payload = payload;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect Attachment_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager Attachment.entityManager;
public static final List<String> Attachment.fieldNames4OrderClauseFilter = java.util.Arrays.asList("type", "payload");
public static final EntityManager Attachment.entityManager() {
EntityManager em = new Attachment().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long Attachment.countAttachments() {
return entityManager().createQuery("SELECT COUNT(o) FROM Attachment o", Long.class).getSingleResult();
}
public static List<Attachment> Attachment.findAllAttachments() {
return entityManager().createQuery("SELECT o FROM Attachment o", Attachment.class).getResultList();
}
public static List<Attachment> Attachment.findAllAttachments(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Attachment o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Attachment.class).getResultList();
}
public static Attachment Attachment.findAttachment(Long id) {
if (id == null) return null;
return entityManager().find(Attachment.class, id);
}
public static List<Attachment> Attachment.findAttachmentEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM Attachment o", Attachment.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<Attachment> Attachment.findAttachmentEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Attachment o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Attachment.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void Attachment.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void Attachment.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
Attachment attached = Attachment.findAttachment(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void Attachment.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void Attachment.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public Attachment Attachment.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
Attachment merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect Attachment_Roo_Jpa_Entity {
declare @type: Attachment: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long Attachment.id;
@Version
@Column(name = "version")
private Integer Attachment.version;
public Long Attachment.getId() {
return this.id;
}
public void Attachment.setId(Long id) {
this.id = id;
}
public Integer Attachment.getVersion() {
return this.version;
}
public void Attachment.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect Attachment_Roo_ToString {
public String Attachment.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class Button {
/**
*/
private String type;
/**
*/
private String url;
/**
*/
private String title;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Button;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect Button_Roo_Configurable {
declare @type: Button: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Button;
privileged aspect Button_Roo_JavaBean {
public String Button.getType() {
return this.type;
}
public void Button.setType(String type) {
this.type = type;
}
public String Button.getUrl() {
return this.url;
}
public void Button.setUrl(String url) {
this.url = url;
}
public String Button.getTitle() {
return this.title;
}
public void Button.setTitle(String title) {
this.title = title;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Button;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect Button_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager Button.entityManager;
public static final List<String> Button.fieldNames4OrderClauseFilter = java.util.Arrays.asList("type", "url", "title");
public static final EntityManager Button.entityManager() {
EntityManager em = new Button().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long Button.countButtons() {
return entityManager().createQuery("SELECT COUNT(o) FROM Button o", Long.class).getSingleResult();
}
public static List<Button> Button.findAllButtons() {
return entityManager().createQuery("SELECT o FROM Button o", Button.class).getResultList();
}
public static List<Button> Button.findAllButtons(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Button o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Button.class).getResultList();
}
public static Button Button.findButton(Long id) {
if (id == null) return null;
return entityManager().find(Button.class, id);
}
public static List<Button> Button.findButtonEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM Button o", Button.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<Button> Button.findButtonEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Button o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Button.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void Button.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void Button.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
Button attached = Button.findButton(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void Button.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void Button.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public Button Button.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
Button merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Button;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect Button_Roo_Jpa_Entity {
declare @type: Button: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long Button.id;
@Version
@Column(name = "version")
private Integer Button.version;
public Long Button.getId() {
return this.id;
}
public void Button.setId(Long id) {
this.id = id;
}
public Integer Button.getVersion() {
return this.version;
}
public void Button.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Button;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect Button_Roo_ToString {
public String Button.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import javax.persistence.ManyToOne;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class Message {
/**
*/
@ManyToOne
private Attachment attachment;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Message;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect Message_Roo_Configurable {
declare @type: Message: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import com.nasa.hackson.nasachatbot.domain.Message;
privileged aspect Message_Roo_JavaBean {
public Attachment Message.getAttachment() {
return this.attachment;
}
public void Message.setAttachment(Attachment attachment) {
this.attachment = attachment;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Message;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect Message_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager Message.entityManager;
public static final List<String> Message.fieldNames4OrderClauseFilter = java.util.Arrays.asList("attachment");
public static final EntityManager Message.entityManager() {
EntityManager em = new Message().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long Message.countMessages() {
return entityManager().createQuery("SELECT COUNT(o) FROM Message o", Long.class).getSingleResult();
}
public static List<Message> Message.findAllMessages() {
return entityManager().createQuery("SELECT o FROM Message o", Message.class).getResultList();
}
public static List<Message> Message.findAllMessages(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Message o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Message.class).getResultList();
}
public static Message Message.findMessage(Long id) {
if (id == null) return null;
return entityManager().find(Message.class, id);
}
public static List<Message> Message.findMessageEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM Message o", Message.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<Message> Message.findMessageEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Message o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Message.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void Message.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void Message.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
Message attached = Message.findMessage(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void Message.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void Message.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public Message Message.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
Message merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Message;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect Message_Roo_Jpa_Entity {
declare @type: Message: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long Message.id;
@Version
@Column(name = "version")
private Integer Message.version;
public Long Message.getId() {
return this.id;
}
public void Message.setId(Long id) {
this.id = id;
}
public Integer Message.getVersion() {
return this.version;
}
public void Message.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Message;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect Message_Roo_ToString {
public String Message.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class Messagetemplate {
/**
*/
@ManyToMany(cascade = CascadeType.ALL)
private List<Message> messages = new ArrayList<Message>();
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect Messagetemplate_Roo_Configurable {
declare @type: Messagetemplate: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Message;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import java.util.List;
privileged aspect Messagetemplate_Roo_JavaBean {
public List<Message> Messagetemplate.getMessages() {
return this.messages;
}
public void Messagetemplate.setMessages(List<Message> messages) {
this.messages = messages;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect Messagetemplate_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager Messagetemplate.entityManager;
public static final List<String> Messagetemplate.fieldNames4OrderClauseFilter = java.util.Arrays.asList("messages");
public static final EntityManager Messagetemplate.entityManager() {
EntityManager em = new Messagetemplate().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long Messagetemplate.countMessagetemplates() {
return entityManager().createQuery("SELECT COUNT(o) FROM Messagetemplate o", Long.class).getSingleResult();
}
public static List<Messagetemplate> Messagetemplate.findAllMessagetemplates() {
return entityManager().createQuery("SELECT o FROM Messagetemplate o", Messagetemplate.class).getResultList();
}
public static List<Messagetemplate> Messagetemplate.findAllMessagetemplates(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Messagetemplate o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Messagetemplate.class).getResultList();
}
public static Messagetemplate Messagetemplate.findMessagetemplate(Long id) {
if (id == null) return null;
return entityManager().find(Messagetemplate.class, id);
}
public static List<Messagetemplate> Messagetemplate.findMessagetemplateEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM Messagetemplate o", Messagetemplate.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<Messagetemplate> Messagetemplate.findMessagetemplateEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM Messagetemplate o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, Messagetemplate.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void Messagetemplate.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void Messagetemplate.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
Messagetemplate attached = Messagetemplate.findMessagetemplate(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void Messagetemplate.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void Messagetemplate.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public Messagetemplate Messagetemplate.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
Messagetemplate merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect Messagetemplate_Roo_Jpa_Entity {
declare @type: Messagetemplate: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long Messagetemplate.id;
@Version
@Column(name = "version")
private Integer Messagetemplate.version;
public Long Messagetemplate.getId() {
return this.id;
}
public void Messagetemplate.setId(Long id) {
this.id = id;
}
public Integer Messagetemplate.getVersion() {
return this.version;
}
public void Messagetemplate.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect Messagetemplate_Roo_ToString {
public String Messagetemplate.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class MsgElement {
/**
*/
private String title;
/**
*/
private String imageUrl;
/**
*/
private String subtitle;
/**
*/
@ManyToMany(cascade = CascadeType.ALL)
private List<Button> buttons = new ArrayList<Button>();
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect MsgElement_Roo_Configurable {
declare @type: MsgElement: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.Button;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import java.util.List;
privileged aspect MsgElement_Roo_JavaBean {
public String MsgElement.getTitle() {
return this.title;
}
public void MsgElement.setTitle(String title) {
this.title = title;
}
public String MsgElement.getImageUrl() {
return this.imageUrl;
}
public void MsgElement.setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public String MsgElement.getSubtitle() {
return this.subtitle;
}
public void MsgElement.setSubtitle(String subtitle) {
this.subtitle = subtitle;
}
public List<Button> MsgElement.getButtons() {
return this.buttons;
}
public void MsgElement.setButtons(List<Button> buttons) {
this.buttons = buttons;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect MsgElement_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager MsgElement.entityManager;
public static final List<String> MsgElement.fieldNames4OrderClauseFilter = java.util.Arrays.asList("title", "imageUrl", "subtitle", "buttons");
public static final EntityManager MsgElement.entityManager() {
EntityManager em = new MsgElement().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long MsgElement.countMsgElements() {
return entityManager().createQuery("SELECT COUNT(o) FROM MsgElement o", Long.class).getSingleResult();
}
public static List<MsgElement> MsgElement.findAllMsgElements() {
return entityManager().createQuery("SELECT o FROM MsgElement o", MsgElement.class).getResultList();
}
public static List<MsgElement> MsgElement.findAllMsgElements(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM MsgElement o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, MsgElement.class).getResultList();
}
public static MsgElement MsgElement.findMsgElement(Long id) {
if (id == null) return null;
return entityManager().find(MsgElement.class, id);
}
public static List<MsgElement> MsgElement.findMsgElementEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM MsgElement o", MsgElement.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<MsgElement> MsgElement.findMsgElementEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM MsgElement o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, MsgElement.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void MsgElement.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void MsgElement.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
MsgElement attached = MsgElement.findMsgElement(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void MsgElement.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void MsgElement.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public MsgElement MsgElement.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
MsgElement merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect MsgElement_Roo_Jpa_Entity {
declare @type: MsgElement: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long MsgElement.id;
@Version
@Column(name = "version")
private Integer MsgElement.version;
public Long MsgElement.getId() {
return this.id;
}
public void MsgElement.setId(Long id) {
this.id = id;
}
public Integer MsgElement.getVersion() {
return this.version;
}
public void MsgElement.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect MsgElement_Roo_ToString {
public String MsgElement.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class PayLoad {
/**
*/
private String templateType;
/**
*/
@ManyToMany(cascade = CascadeType.ALL)
private List<MsgElement> elements = new ArrayList<MsgElement>();
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect PayLoad_Roo_Configurable {
declare @type: PayLoad: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import java.util.List;
privileged aspect PayLoad_Roo_JavaBean {
public String PayLoad.getTemplateType() {
return this.templateType;
}
public void PayLoad.setTemplateType(String templateType) {
this.templateType = templateType;
}
public List<MsgElement> PayLoad.getElements() {
return this.elements;
}
public void PayLoad.setElements(List<MsgElement> elements) {
this.elements = elements;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect PayLoad_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager PayLoad.entityManager;
public static final List<String> PayLoad.fieldNames4OrderClauseFilter = java.util.Arrays.asList("templateType", "elements");
public static final EntityManager PayLoad.entityManager() {
EntityManager em = new PayLoad().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long PayLoad.countPayLoads() {
return entityManager().createQuery("SELECT COUNT(o) FROM PayLoad o", Long.class).getSingleResult();
}
public static List<PayLoad> PayLoad.findAllPayLoads() {
return entityManager().createQuery("SELECT o FROM PayLoad o", PayLoad.class).getResultList();
}
public static List<PayLoad> PayLoad.findAllPayLoads(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM PayLoad o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, PayLoad.class).getResultList();
}
public static PayLoad PayLoad.findPayLoad(Long id) {
if (id == null) return null;
return entityManager().find(PayLoad.class, id);
}
public static List<PayLoad> PayLoad.findPayLoadEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM PayLoad o", PayLoad.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<PayLoad> PayLoad.findPayLoadEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM PayLoad o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, PayLoad.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void PayLoad.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void PayLoad.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
PayLoad attached = PayLoad.findPayLoad(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void PayLoad.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void PayLoad.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public PayLoad PayLoad.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
PayLoad merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect PayLoad_Roo_Jpa_Entity {
declare @type: PayLoad: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long PayLoad.id;
@Version
@Column(name = "version")
private Integer PayLoad.version;
public Long PayLoad.getId() {
return this.id;
}
public void PayLoad.setId(Long id) {
this.id = id;
}
public Integer PayLoad.getVersion() {
return this.version;
}
public void PayLoad.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect PayLoad_Roo_ToString {
public String PayLoad.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.springframework.format.annotation.DateTimeFormat;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class PeopleDecision {
/**
*/
private String msgFBId;
/**
*/
private String gender;
/**
*/
private String actionButton;
/**
*/
@Temporal(TemporalType.TIMESTAMP)
@DateTimeFormat(style = "M-")
private Date createDate;
/**
*/
private String age;
/**
*/
private String positionX;
/**
*/
private String positionY;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect PeopleDecision_Roo_Configurable {
declare @type: PeopleDecision: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import java.util.Date;
privileged aspect PeopleDecision_Roo_JavaBean {
public String PeopleDecision.getMsgFBId() {
return this.msgFBId;
}
public void PeopleDecision.setMsgFBId(String msgFBId) {
this.msgFBId = msgFBId;
}
public String PeopleDecision.getGender() {
return this.gender;
}
public void PeopleDecision.setGender(String gender) {
this.gender = gender;
}
public String PeopleDecision.getActionButton() {
return this.actionButton;
}
public void PeopleDecision.setActionButton(String actionButton) {
this.actionButton = actionButton;
}
public Date PeopleDecision.getCreateDate() {
return this.createDate;
}
public void PeopleDecision.setCreateDate(Date createDate) {
this.createDate = createDate;
}
public String PeopleDecision.getAge() {
return this.age;
}
public void PeopleDecision.setAge(String age) {
this.age = age;
}
public String PeopleDecision.getPositionX() {
return this.positionX;
}
public void PeopleDecision.setPositionX(String positionX) {
this.positionX = positionX;
}
public String PeopleDecision.getPositionY() {
return this.positionY;
}
public void PeopleDecision.setPositionY(String positionY) {
this.positionY = positionY;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect PeopleDecision_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager PeopleDecision.entityManager;
public static final List<String> PeopleDecision.fieldNames4OrderClauseFilter = java.util.Arrays.asList("msgFBId", "gender", "actionButton", "createDate", "age", "positionX", "positionY");
public static final EntityManager PeopleDecision.entityManager() {
EntityManager em = new PeopleDecision().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long PeopleDecision.countPeopleDecisions() {
return entityManager().createQuery("SELECT COUNT(o) FROM PeopleDecision o", Long.class).getSingleResult();
}
public static List<PeopleDecision> PeopleDecision.findAllPeopleDecisions() {
return entityManager().createQuery("SELECT o FROM PeopleDecision o", PeopleDecision.class).getResultList();
}
public static List<PeopleDecision> PeopleDecision.findAllPeopleDecisions(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM PeopleDecision o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, PeopleDecision.class).getResultList();
}
public static PeopleDecision PeopleDecision.findPeopleDecision(Long id) {
if (id == null) return null;
return entityManager().find(PeopleDecision.class, id);
}
public static List<PeopleDecision> PeopleDecision.findPeopleDecisionEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM PeopleDecision o", PeopleDecision.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<PeopleDecision> PeopleDecision.findPeopleDecisionEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM PeopleDecision o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, PeopleDecision.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void PeopleDecision.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void PeopleDecision.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
PeopleDecision attached = PeopleDecision.findPeopleDecision(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void PeopleDecision.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void PeopleDecision.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public PeopleDecision PeopleDecision.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
PeopleDecision merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect PeopleDecision_Roo_Jpa_Entity {
declare @type: PeopleDecision: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long PeopleDecision.id;
@Version
@Column(name = "version")
private Integer PeopleDecision.version;
public Long PeopleDecision.getId() {
return this.id;
}
public void PeopleDecision.setId(Long id) {
this.id = id;
}
public Integer PeopleDecision.getVersion() {
return this.version;
}
public void PeopleDecision.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect PeopleDecision_Roo_ToString {
public String PeopleDecision.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.domain;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.springframework.format.annotation.DateTimeFormat;
@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class PeopleDetail {
/**
*/
private String msgId;
/**
*/
private String gender;
/**
*/
private String postionX;
/**
*/
private String postionY;
/**
*/
private String country;
/**
*/
private String age;
/**
*/
@Temporal(TemporalType.TIMESTAMP)
@DateTimeFormat(style = "M-")
private Date createDate;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import org.springframework.beans.factory.annotation.Configurable;
privileged aspect PeopleDetail_Roo_Configurable {
declare @type: PeopleDetail: @Configurable;
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import java.util.Date;
privileged aspect PeopleDetail_Roo_JavaBean {
public String PeopleDetail.getMsgId() {
return this.msgId;
}
public void PeopleDetail.setMsgId(String msgId) {
this.msgId = msgId;
}
public String PeopleDetail.getGender() {
return this.gender;
}
public void PeopleDetail.setGender(String gender) {
this.gender = gender;
}
public String PeopleDetail.getPostionX() {
return this.postionX;
}
public void PeopleDetail.setPostionX(String postionX) {
this.postionX = postionX;
}
public String PeopleDetail.getPostionY() {
return this.postionY;
}
public void PeopleDetail.setPostionY(String postionY) {
this.postionY = postionY;
}
public String PeopleDetail.getCountry() {
return this.country;
}
public void PeopleDetail.setCountry(String country) {
this.country = country;
}
public String PeopleDetail.getAge() {
return this.age;
}
public void PeopleDetail.setAge(String age) {
this.age = age;
}
public Date PeopleDetail.getCreateDate() {
return this.createDate;
}
public void PeopleDetail.setCreateDate(Date createDate) {
this.createDate = createDate;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
privileged aspect PeopleDetail_Roo_Jpa_ActiveRecord {
@PersistenceContext
transient EntityManager PeopleDetail.entityManager;
public static final List<String> PeopleDetail.fieldNames4OrderClauseFilter = java.util.Arrays.asList("msgId", "gender", "postionX", "postionY", "country", "age", "createDate");
public static final EntityManager PeopleDetail.entityManager() {
EntityManager em = new PeopleDetail().entityManager;
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return em;
}
public static long PeopleDetail.countPeopleDetails() {
return entityManager().createQuery("SELECT COUNT(o) FROM PeopleDetail o", Long.class).getSingleResult();
}
public static List<PeopleDetail> PeopleDetail.findAllPeopleDetails() {
return entityManager().createQuery("SELECT o FROM PeopleDetail o", PeopleDetail.class).getResultList();
}
public static List<PeopleDetail> PeopleDetail.findAllPeopleDetails(String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM PeopleDetail o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, PeopleDetail.class).getResultList();
}
public static PeopleDetail PeopleDetail.findPeopleDetail(Long id) {
if (id == null) return null;
return entityManager().find(PeopleDetail.class, id);
}
public static List<PeopleDetail> PeopleDetail.findPeopleDetailEntries(int firstResult, int maxResults) {
return entityManager().createQuery("SELECT o FROM PeopleDetail o", PeopleDetail.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
public static List<PeopleDetail> PeopleDetail.findPeopleDetailEntries(int firstResult, int maxResults, String sortFieldName, String sortOrder) {
String jpaQuery = "SELECT o FROM PeopleDetail o";
if (fieldNames4OrderClauseFilter.contains(sortFieldName)) {
jpaQuery = jpaQuery + " ORDER BY " + sortFieldName;
if ("ASC".equalsIgnoreCase(sortOrder) || "DESC".equalsIgnoreCase(sortOrder)) {
jpaQuery = jpaQuery + " " + sortOrder;
}
}
return entityManager().createQuery(jpaQuery, PeopleDetail.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
}
@Transactional
public void PeopleDetail.persist() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.persist(this);
}
@Transactional
public void PeopleDetail.remove() {
if (this.entityManager == null) this.entityManager = entityManager();
if (this.entityManager.contains(this)) {
this.entityManager.remove(this);
} else {
PeopleDetail attached = PeopleDetail.findPeopleDetail(this.id);
this.entityManager.remove(attached);
}
}
@Transactional
public void PeopleDetail.flush() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.flush();
}
@Transactional
public void PeopleDetail.clear() {
if (this.entityManager == null) this.entityManager = entityManager();
this.entityManager.clear();
}
@Transactional
public PeopleDetail PeopleDetail.merge() {
if (this.entityManager == null) this.entityManager = entityManager();
PeopleDetail merged = this.entityManager.merge(this);
this.entityManager.flush();
return merged;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
privileged aspect PeopleDetail_Roo_Jpa_Entity {
declare @type: PeopleDetail: @Entity;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private Long PeopleDetail.id;
@Version
@Column(name = "version")
private Integer PeopleDetail.version;
public Long PeopleDetail.getId() {
return this.id;
}
public void PeopleDetail.setId(Long id) {
this.id = id;
}
public Integer PeopleDetail.getVersion() {
return this.version;
}
public void PeopleDetail.setVersion(Integer version) {
this.version = version;
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.domain;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
privileged aspect PeopleDetail_Roo_ToString {
public String PeopleDetail.toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import org.springframework.format.FormatterRegistry;
import org.springframework.format.support.FormattingConversionServiceFactoryBean;
import org.springframework.roo.addon.web.mvc.controller.converter.RooConversionService;
/**
* A central place to register application converters and formatters.
*/
@RooConversionService
public class ApplicationConversionServiceFactoryBean extends FormattingConversionServiceFactoryBean {
@Override
protected void installFormatters(FormatterRegistry registry) {
super.installFormatters(registry);
// Register application converters and formatters
}
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import com.nasa.hackson.nasachatbot.domain.Button;
import com.nasa.hackson.nasachatbot.domain.Message;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import com.nasa.hackson.nasachatbot.web.controller.ApplicationConversionServiceFactoryBean;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.core.convert.converter.Converter;
import org.springframework.format.FormatterRegistry;
privileged aspect ApplicationConversionServiceFactoryBean_Roo_ConversionService {
declare @type: ApplicationConversionServiceFactoryBean: @Configurable;
public Converter<Attachment, String> ApplicationConversionServiceFactoryBean.getAttachmentToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.Attachment, java.lang.String>() {
public String convert(Attachment attachment) {
return new StringBuilder().append(attachment.getType()).toString();
}
};
}
public Converter<Long, Attachment> ApplicationConversionServiceFactoryBean.getIdToAttachmentConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.Attachment>() {
public com.nasa.hackson.nasachatbot.domain.Attachment convert(java.lang.Long id) {
return Attachment.findAttachment(id);
}
};
}
public Converter<String, Attachment> ApplicationConversionServiceFactoryBean.getStringToAttachmentConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.Attachment>() {
public com.nasa.hackson.nasachatbot.domain.Attachment convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), Attachment.class);
}
};
}
public Converter<Button, String> ApplicationConversionServiceFactoryBean.getButtonToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.Button, java.lang.String>() {
public String convert(Button button) {
return new StringBuilder().append(button.getType()).append(' ').append(button.getUrl()).append(' ').append(button.getTitle()).toString();
}
};
}
public Converter<Long, Button> ApplicationConversionServiceFactoryBean.getIdToButtonConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.Button>() {
public com.nasa.hackson.nasachatbot.domain.Button convert(java.lang.Long id) {
return Button.findButton(id);
}
};
}
public Converter<String, Button> ApplicationConversionServiceFactoryBean.getStringToButtonConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.Button>() {
public com.nasa.hackson.nasachatbot.domain.Button convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), Button.class);
}
};
}
public Converter<Message, String> ApplicationConversionServiceFactoryBean.getMessageToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.Message, java.lang.String>() {
public String convert(Message message) {
return "(no displayable fields)";
}
};
}
public Converter<Long, Message> ApplicationConversionServiceFactoryBean.getIdToMessageConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.Message>() {
public com.nasa.hackson.nasachatbot.domain.Message convert(java.lang.Long id) {
return Message.findMessage(id);
}
};
}
public Converter<String, Message> ApplicationConversionServiceFactoryBean.getStringToMessageConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.Message>() {
public com.nasa.hackson.nasachatbot.domain.Message convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), Message.class);
}
};
}
public Converter<Messagetemplate, String> ApplicationConversionServiceFactoryBean.getMessagetemplateToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.Messagetemplate, java.lang.String>() {
public String convert(Messagetemplate messagetemplate) {
return "(no displayable fields)";
}
};
}
public Converter<Long, Messagetemplate> ApplicationConversionServiceFactoryBean.getIdToMessagetemplateConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.Messagetemplate>() {
public com.nasa.hackson.nasachatbot.domain.Messagetemplate convert(java.lang.Long id) {
return Messagetemplate.findMessagetemplate(id);
}
};
}
public Converter<String, Messagetemplate> ApplicationConversionServiceFactoryBean.getStringToMessagetemplateConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.Messagetemplate>() {
public com.nasa.hackson.nasachatbot.domain.Messagetemplate convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), Messagetemplate.class);
}
};
}
public Converter<MsgElement, String> ApplicationConversionServiceFactoryBean.getMsgElementToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.MsgElement, java.lang.String>() {
public String convert(MsgElement msgElement) {
return new StringBuilder().append(msgElement.getTitle()).append(' ').append(msgElement.getImageUrl()).append(' ').append(msgElement.getSubtitle()).toString();
}
};
}
public Converter<Long, MsgElement> ApplicationConversionServiceFactoryBean.getIdToMsgElementConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.MsgElement>() {
public com.nasa.hackson.nasachatbot.domain.MsgElement convert(java.lang.Long id) {
return MsgElement.findMsgElement(id);
}
};
}
public Converter<String, MsgElement> ApplicationConversionServiceFactoryBean.getStringToMsgElementConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.MsgElement>() {
public com.nasa.hackson.nasachatbot.domain.MsgElement convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), MsgElement.class);
}
};
}
public Converter<PayLoad, String> ApplicationConversionServiceFactoryBean.getPayLoadToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.PayLoad, java.lang.String>() {
public String convert(PayLoad payLoad) {
return new StringBuilder().append(payLoad.getTemplateType()).toString();
}
};
}
public Converter<Long, PayLoad> ApplicationConversionServiceFactoryBean.getIdToPayLoadConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.PayLoad>() {
public com.nasa.hackson.nasachatbot.domain.PayLoad convert(java.lang.Long id) {
return PayLoad.findPayLoad(id);
}
};
}
public Converter<String, PayLoad> ApplicationConversionServiceFactoryBean.getStringToPayLoadConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.PayLoad>() {
public com.nasa.hackson.nasachatbot.domain.PayLoad convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), PayLoad.class);
}
};
}
public Converter<PeopleDecision, String> ApplicationConversionServiceFactoryBean.getPeopleDecisionToStringConverter() {
return new org.springframework.core.convert.converter.Converter<com.nasa.hackson.nasachatbot.domain.PeopleDecision, java.lang.String>() {
public String convert(PeopleDecision peopleDecision) {
return new StringBuilder().append(peopleDecision.getMsgFBId()).append(' ').append(peopleDecision.getGender()).append(' ').append(peopleDecision.getActionButton()).append(' ').append(peopleDecision.getCreateDate()).toString();
}
};
}
public Converter<Long, PeopleDecision> ApplicationConversionServiceFactoryBean.getIdToPeopleDecisionConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.Long, com.nasa.hackson.nasachatbot.domain.PeopleDecision>() {
public com.nasa.hackson.nasachatbot.domain.PeopleDecision convert(java.lang.Long id) {
return PeopleDecision.findPeopleDecision(id);
}
};
}
public Converter<String, PeopleDecision> ApplicationConversionServiceFactoryBean.getStringToPeopleDecisionConverter() {
return new org.springframework.core.convert.converter.Converter<java.lang.String, com.nasa.hackson.nasachatbot.domain.PeopleDecision>() {
public com.nasa.hackson.nasachatbot.domain.PeopleDecision convert(String id) {
return getObject().convert(getObject().convert(id, Long.class), PeopleDecision.class);
}
};
}
public void ApplicationConversionServiceFactoryBean.installLabelConverters(FormatterRegistry registry) {
registry.addConverter(getAttachmentToStringConverter());
registry.addConverter(getIdToAttachmentConverter());
registry.addConverter(getStringToAttachmentConverter());
registry.addConverter(getButtonToStringConverter());
registry.addConverter(getIdToButtonConverter());
registry.addConverter(getStringToButtonConverter());
registry.addConverter(getMessageToStringConverter());
registry.addConverter(getIdToMessageConverter());
registry.addConverter(getStringToMessageConverter());
registry.addConverter(getMessagetemplateToStringConverter());
registry.addConverter(getIdToMessagetemplateConverter());
registry.addConverter(getStringToMessagetemplateConverter());
registry.addConverter(getMsgElementToStringConverter());
registry.addConverter(getIdToMsgElementConverter());
registry.addConverter(getStringToMsgElementConverter());
registry.addConverter(getPayLoadToStringConverter());
registry.addConverter(getIdToPayLoadConverter());
registry.addConverter(getStringToPayLoadConverter());
registry.addConverter(getPeopleDecisionToStringConverter());
registry.addConverter(getIdToPeopleDecisionConverter());
registry.addConverter(getStringToPeopleDecisionConverter());
}
public void ApplicationConversionServiceFactoryBean.afterPropertiesSet() {
super.afterPropertiesSet();
installLabelConverters(getObject());
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/attachments")
@Controller
@RooWebScaffold(path = "attachments", formBackingObject = Attachment.class)
public class AttachmentController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import com.nasa.hackson.nasachatbot.web.controller.AttachmentController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect AttachmentController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String AttachmentController.create(@Valid Attachment attachment, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, attachment);
return "attachments/create";
}
uiModel.asMap().clear();
attachment.persist();
return "redirect:/attachments/" + encodeUrlPathSegment(attachment.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String AttachmentController.createForm(Model uiModel) {
populateEditForm(uiModel, new Attachment());
return "attachments/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String AttachmentController.show(@PathVariable("id") Long id, Model uiModel) {
uiModel.addAttribute("attachment", Attachment.findAttachment(id));
uiModel.addAttribute("itemId", id);
return "attachments/show";
}
@RequestMapping(produces = "text/html")
public String AttachmentController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("attachments", Attachment.findAttachmentEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) Attachment.countAttachments() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("attachments", Attachment.findAllAttachments(sortFieldName, sortOrder));
}
return "attachments/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String AttachmentController.update(@Valid Attachment attachment, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, attachment);
return "attachments/update";
}
uiModel.asMap().clear();
attachment.merge();
return "redirect:/attachments/" + encodeUrlPathSegment(attachment.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String AttachmentController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, Attachment.findAttachment(id));
return "attachments/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String AttachmentController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
Attachment attachment = Attachment.findAttachment(id);
attachment.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/attachments";
}
void AttachmentController.populateEditForm(Model uiModel, Attachment attachment) {
uiModel.addAttribute("attachment", attachment);
uiModel.addAttribute("payloads", PayLoad.findAllPayLoads());
}
String AttachmentController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Button;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/buttons")
@Controller
@RooWebScaffold(path = "buttons", formBackingObject = Button.class)
public class ButtonController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Button;
import com.nasa.hackson.nasachatbot.web.controller.ButtonController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect ButtonController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String ButtonController.create(@Valid Button button, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, button);
return "buttons/create";
}
uiModel.asMap().clear();
button.persist();
return "redirect:/buttons/" + encodeUrlPathSegment(button.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String ButtonController.createForm(Model uiModel) {
populateEditForm(uiModel, new Button());
return "buttons/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String ButtonController.show(@PathVariable("id") Long id, Model uiModel) {
uiModel.addAttribute("button", Button.findButton(id));
uiModel.addAttribute("itemId", id);
return "buttons/show";
}
@RequestMapping(produces = "text/html")
public String ButtonController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("buttons", Button.findButtonEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) Button.countButtons() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("buttons", Button.findAllButtons(sortFieldName, sortOrder));
}
return "buttons/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String ButtonController.update(@Valid Button button, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, button);
return "buttons/update";
}
uiModel.asMap().clear();
button.merge();
return "redirect:/buttons/" + encodeUrlPathSegment(button.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String ButtonController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, Button.findButton(id));
return "buttons/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String ButtonController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
Button button = Button.findButton(id);
button.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/buttons";
}
void ButtonController.populateEditForm(Model uiModel, Button button) {
uiModel.addAttribute("button", button);
}
String ButtonController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
/**
* Created by tommy on 2017/4/29.
*/
@RequestMapping("/chatfuel")
@Controller
public class ChatFuelController {
@RequestMapping(value = "block",method = {RequestMethod.GET,RequestMethod.POST}, produces = "application/json")
@ResponseBody
public String blockTemplate(@RequestParam(value = "msgId" ,required = false) String msgId,
@RequestParam(value = "gender",required = false) String gender,
@RequestParam(value = "positionX",required = false) String positionX,
@RequestParam(value = "positionY",required = false) String positionY,
@RequestParam(value = "country",required = false) String country,
@RequestParam(value = "age",required = false) String age,
HttpServletRequest httpServletRequest) {
PeopleDetail peopleDetail=new PeopleDetail();
peopleDetail.setAge(age);
peopleDetail.setCountry(country);
peopleDetail.setCreateDate(new Date());
peopleDetail.setMsgId(msgId);
peopleDetail.setGender(gender);
peopleDetail.setPostionX(positionX);
peopleDetail.setPostionY(positionY);
peopleDetail.persist();
return "{\n" +
" \"messages\": [\n" +
" {\n" +
" \"attachment\": {\n" +
" \"type\": \"image\",\n" +
" \"payload\": {\n" +
" \"url\": \"https://petersapparel.parseapp.com/img/item101-thumb.png\"\n" +
" }\n" +
" }\n" +
" }\n" +
" ]\n" +
"}";
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Message;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/messages")
@Controller
@RooWebScaffold(path = "messages", formBackingObject = Message.class)
public class MessageController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Attachment;
import com.nasa.hackson.nasachatbot.domain.Message;
import com.nasa.hackson.nasachatbot.web.controller.MessageController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect MessageController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String MessageController.create(@Valid Message message, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, message);
return "messages/create";
}
uiModel.asMap().clear();
message.persist();
return "redirect:/messages/" + encodeUrlPathSegment(message.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String MessageController.createForm(Model uiModel) {
populateEditForm(uiModel, new Message());
return "messages/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String MessageController.show(@PathVariable("id") Long id, Model uiModel) {
uiModel.addAttribute("message", Message.findMessage(id));
uiModel.addAttribute("itemId", id);
return "messages/show";
}
@RequestMapping(produces = "text/html")
public String MessageController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("messages", Message.findMessageEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) Message.countMessages() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("messages", Message.findAllMessages(sortFieldName, sortOrder));
}
return "messages/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String MessageController.update(@Valid Message message, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, message);
return "messages/update";
}
uiModel.asMap().clear();
message.merge();
return "redirect:/messages/" + encodeUrlPathSegment(message.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String MessageController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, Message.findMessage(id));
return "messages/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String MessageController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
Message message = Message.findMessage(id);
message.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/messages";
}
void MessageController.populateEditForm(Model uiModel, Message message) {
uiModel.addAttribute("message", message);
uiModel.addAttribute("attachments", Attachment.findAllAttachments());
}
String MessageController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/messagetemplates")
@Controller
@RooWebScaffold(path = "messagetemplates", formBackingObject = Messagetemplate.class)
public class MessagetemplateController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Message;
import com.nasa.hackson.nasachatbot.domain.Messagetemplate;
import com.nasa.hackson.nasachatbot.web.controller.MessagetemplateController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect MessagetemplateController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String MessagetemplateController.create(@Valid Messagetemplate messagetemplate, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, messagetemplate);
return "messagetemplates/create";
}
uiModel.asMap().clear();
messagetemplate.persist();
return "redirect:/messagetemplates/" + encodeUrlPathSegment(messagetemplate.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String MessagetemplateController.createForm(Model uiModel) {
populateEditForm(uiModel, new Messagetemplate());
return "messagetemplates/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String MessagetemplateController.show(@PathVariable("id") Long id, Model uiModel) {
uiModel.addAttribute("messagetemplate", Messagetemplate.findMessagetemplate(id));
uiModel.addAttribute("itemId", id);
return "messagetemplates/show";
}
@RequestMapping(produces = "text/html")
public String MessagetemplateController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("messagetemplates", Messagetemplate.findMessagetemplateEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) Messagetemplate.countMessagetemplates() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("messagetemplates", Messagetemplate.findAllMessagetemplates(sortFieldName, sortOrder));
}
return "messagetemplates/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String MessagetemplateController.update(@Valid Messagetemplate messagetemplate, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, messagetemplate);
return "messagetemplates/update";
}
uiModel.asMap().clear();
messagetemplate.merge();
return "redirect:/messagetemplates/" + encodeUrlPathSegment(messagetemplate.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String MessagetemplateController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, Messagetemplate.findMessagetemplate(id));
return "messagetemplates/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String MessagetemplateController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
Messagetemplate messagetemplate = Messagetemplate.findMessagetemplate(id);
messagetemplate.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/messagetemplates";
}
void MessagetemplateController.populateEditForm(Model uiModel, Messagetemplate messagetemplate) {
uiModel.addAttribute("messagetemplate", messagetemplate);
uiModel.addAttribute("messages", Message.findAllMessages());
}
String MessagetemplateController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/msgelements")
@Controller
@RooWebScaffold(path = "msgelements", formBackingObject = MsgElement.class)
public class MsgElementController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.Button;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import com.nasa.hackson.nasachatbot.web.controller.MsgElementController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect MsgElementController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String MsgElementController.create(@Valid MsgElement msgElement, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, msgElement);
return "msgelements/create";
}
uiModel.asMap().clear();
msgElement.persist();
return "redirect:/msgelements/" + encodeUrlPathSegment(msgElement.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String MsgElementController.createForm(Model uiModel) {
populateEditForm(uiModel, new MsgElement());
return "msgelements/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String MsgElementController.show(@PathVariable("id") Long id, Model uiModel) {
uiModel.addAttribute("msgelement", MsgElement.findMsgElement(id));
uiModel.addAttribute("itemId", id);
return "msgelements/show";
}
@RequestMapping(produces = "text/html")
public String MsgElementController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("msgelements", MsgElement.findMsgElementEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) MsgElement.countMsgElements() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("msgelements", MsgElement.findAllMsgElements(sortFieldName, sortOrder));
}
return "msgelements/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String MsgElementController.update(@Valid MsgElement msgElement, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, msgElement);
return "msgelements/update";
}
uiModel.asMap().clear();
msgElement.merge();
return "redirect:/msgelements/" + encodeUrlPathSegment(msgElement.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String MsgElementController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, MsgElement.findMsgElement(id));
return "msgelements/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String MsgElementController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
MsgElement msgElement = MsgElement.findMsgElement(id);
msgElement.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/msgelements";
}
void MsgElementController.populateEditForm(Model uiModel, MsgElement msgElement) {
uiModel.addAttribute("msgElement", msgElement);
uiModel.addAttribute("buttons", Button.findAllButtons());
}
String MsgElementController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import com.nasa.hackson.nasachatbot.domain.PeopleDetail;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
@RequestMapping("/payloads")
@Controller
@RooWebScaffold(path = "payloads", formBackingObject = PayLoad.class)
public class PayLoadController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.MsgElement;
import com.nasa.hackson.nasachatbot.domain.PayLoad;
import com.nasa.hackson.nasachatbot.web.controller.PayLoadController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect PayLoadController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String PayLoadController.create(@Valid PayLoad payLoad, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, payLoad);
return "payloads/create";
}
uiModel.asMap().clear();
payLoad.persist();
return "redirect:/payloads/" + encodeUrlPathSegment(payLoad.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String PayLoadController.createForm(Model uiModel) {
populateEditForm(uiModel, new PayLoad());
return "payloads/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String PayLoadController.show(@PathVariable("id") Long id, Model uiModel) {
uiModel.addAttribute("payload", PayLoad.findPayLoad(id));
uiModel.addAttribute("itemId", id);
return "payloads/show";
}
@RequestMapping(produces = "text/html")
public String PayLoadController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("payloads", PayLoad.findPayLoadEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) PayLoad.countPayLoads() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("payloads", PayLoad.findAllPayLoads(sortFieldName, sortOrder));
}
return "payloads/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String PayLoadController.update(@Valid PayLoad payLoad, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, payLoad);
return "payloads/update";
}
uiModel.asMap().clear();
payLoad.merge();
return "redirect:/payloads/" + encodeUrlPathSegment(payLoad.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String PayLoadController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, PayLoad.findPayLoad(id));
return "payloads/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String PayLoadController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
PayLoad payLoad = PayLoad.findPayLoad(id);
payLoad.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/payloads";
}
void PayLoadController.populateEditForm(Model uiModel, PayLoad payLoad) {
uiModel.addAttribute("payLoad", payLoad);
uiModel.addAttribute("msgelements", MsgElement.findAllMsgElements());
}
String PayLoadController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/peopledecisions")
@Controller
@RooWebScaffold(path = "peopledecisions", formBackingObject = PeopleDecision.class)
public class PeopleDecisionController {
}
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package com.nasa.hackson.nasachatbot.web.controller;
import com.nasa.hackson.nasachatbot.domain.PeopleDecision;
import com.nasa.hackson.nasachatbot.web.controller.PeopleDecisionController;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.joda.time.format.DateTimeFormat;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.util.UriUtils;
import org.springframework.web.util.WebUtils;
privileged aspect PeopleDecisionController_Roo_Controller {
@RequestMapping(method = RequestMethod.POST, produces = "text/html")
public String PeopleDecisionController.create(@Valid PeopleDecision peopleDecision, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, peopleDecision);
return "peopledecisions/create";
}
uiModel.asMap().clear();
peopleDecision.persist();
return "redirect:/peopledecisions/" + encodeUrlPathSegment(peopleDecision.getId().toString(), httpServletRequest);
}
@RequestMapping(params = "form", produces = "text/html")
public String PeopleDecisionController.createForm(Model uiModel) {
populateEditForm(uiModel, new PeopleDecision());
return "peopledecisions/create";
}
@RequestMapping(value = "/{id}", produces = "text/html")
public String PeopleDecisionController.show(@PathVariable("id") Long id, Model uiModel) {
addDateTimeFormatPatterns(uiModel);
uiModel.addAttribute("peopledecision", PeopleDecision.findPeopleDecision(id));
uiModel.addAttribute("itemId", id);
return "peopledecisions/show";
}
@RequestMapping(produces = "text/html")
public String PeopleDecisionController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, @RequestParam(value = "sortFieldName", required = false) String sortFieldName, @RequestParam(value = "sortOrder", required = false) String sortOrder, Model uiModel) {
if (page != null || size != null) {
int sizeNo = size == null ? 10 : size.intValue();
final int firstResult = page == null ? 0 : (page.intValue() - 1) * sizeNo;
uiModel.addAttribute("peopledecisions", PeopleDecision.findPeopleDecisionEntries(firstResult, sizeNo, sortFieldName, sortOrder));
float nrOfPages = (float) PeopleDecision.countPeopleDecisions() / sizeNo;
uiModel.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
} else {
uiModel.addAttribute("peopledecisions", PeopleDecision.findAllPeopleDecisions(sortFieldName, sortOrder));
}
addDateTimeFormatPatterns(uiModel);
return "peopledecisions/list";
}
@RequestMapping(method = RequestMethod.PUT, produces = "text/html")
public String PeopleDecisionController.update(@Valid PeopleDecision peopleDecision, BindingResult bindingResult, Model uiModel, HttpServletRequest httpServletRequest) {
if (bindingResult.hasErrors()) {
populateEditForm(uiModel, peopleDecision);
return "peopledecisions/update";
}
uiModel.asMap().clear();
peopleDecision.merge();
return "redirect:/peopledecisions/" + encodeUrlPathSegment(peopleDecision.getId().toString(), httpServletRequest);
}
@RequestMapping(value = "/{id}", params = "form", produces = "text/html")
public String PeopleDecisionController.updateForm(@PathVariable("id") Long id, Model uiModel) {
populateEditForm(uiModel, PeopleDecision.findPeopleDecision(id));
return "peopledecisions/update";
}
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE, produces = "text/html")
public String PeopleDecisionController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, Model uiModel) {
PeopleDecision peopleDecision = PeopleDecision.findPeopleDecision(id);
peopleDecision.remove();
uiModel.asMap().clear();
uiModel.addAttribute("page", (page == null) ? "1" : page.toString());
uiModel.addAttribute("size", (size == null) ? "10" : size.toString());
return "redirect:/peopledecisions";
}
void PeopleDecisionController.addDateTimeFormatPatterns(Model uiModel) {
uiModel.addAttribute("peopleDecision_createdate_date_format", DateTimeFormat.patternForStyle("M-", LocaleContextHolder.getLocale()));
}
void PeopleDecisionController.populateEditForm(Model uiModel, PeopleDecision peopleDecision) {
uiModel.addAttribute("peopleDecision", peopleDecision);
addDateTimeFormatPatterns(uiModel);
}
String PeopleDecisionController.encodeUrlPathSegment(String pathSegment, HttpServletRequest httpServletRequest) {
String enc = httpServletRequest.getCharacterEncoding();
if (enc == null) {
enc = WebUtils.DEFAULT_CHARACTER_ENCODING;
}
try {
pathSegment = UriUtils.encodePathSegment(pathSegment, enc);
} catch (UnsupportedEncodingException uee) {}
return pathSegment;
}
}
log4j.rootLogger=error, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Print the date in ISO 8601 format
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=application.log
log4j.appender.R.MaxFileSize=100KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="persistenceUnit" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect"/>
<!-- value="create" to build a new database on each run; value="update" to modify an existing database; value="create-drop" means the same as "create" but also drops tables when Hibernate closes; value="validate" makes no changes to the database -->
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.ImprovedNamingStrategy"/>
<property name="hibernate.connection.charSet" value="UTF-8"/>
<!-- Uncomment the following two properties for JBoss only -->
<!-- property name="hibernate.validator.apply_to_ddl" value="false" /-->
<!-- property name="hibernate.validator.autoregister_listeners" value="false" /-->
</properties>
</persistence-unit>
</persistence>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd">
<!--
This will automatically locate any and all property files you have
within your classpath, provided they fall under the META-INF/spring
directory. The located property files are parsed and their values can
then be used within application context files in the form of
${propertyKey}.
-->
<context:property-placeholder location="classpath*:META-INF/spring/*.properties"/>
<!--
Turn on AspectJ @Configurable support. As a result, any time you
instantiate an object, Spring will attempt to perform dependency
injection on that object. This occurs for instantiation via the "new"
keyword, as well as via reflection. This is possible because AspectJ
is used to "weave" Roo-based applications at compile time. In effect
this feature allows dependency injection of any object at all in your
system, which is a very useful feature (without @Configurable you'd
only be able to dependency inject objects acquired from Spring or
subsequently presented to a specific Spring dependency injection
method). Roo applications use this useful feature in a number of
areas, such as @PersistenceContext injection into entities.
-->
<context:spring-configured/>
<!--
This declaration will cause Spring to locate every @Component,
@Repository and @Service in your application. In practical terms this
allows you to write a POJO and then simply annotate the new POJO as an
@Service and Spring will automatically detect, instantiate and
dependency inject your service at startup time. Importantly, you can
then also have your new service injected into any other class that
requires it simply by declaring a field for your service inside the
relying class and Spring will inject it. Note that two exclude filters
are declared. The first ensures that Spring doesn't spend time
introspecting Roo-specific ITD aspects. The second ensures Roo doesn't
instantiate your @Controller classes, as these should be instantiated
by a web tier application context. Refer to web.xml for more details
about the web tier application context setup services.
Furthermore, this turns on @Autowired, @PostConstruct etc support. These
annotations allow you to use common Spring and Java Enterprise Edition
annotations in your classes without needing to do any special configuration.
The most commonly used annotation is @Autowired, which instructs Spring to
dependency inject an object into your class.
-->
<context:component-scan base-package="com.nasa.hackson.nasachatbot">
<context:exclude-filter expression=".*_Roo_.*" type="regex"/>
<context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
</context:component-scan>
<bean class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close" id="dataSource">
<property name="driverClassName" value="${database.driverClassName}"/>
<property name="url" value="${database.url}"/>
<property name="username" value="${database.username}"/>
<property name="password" value="${database.password}"/>
<property name="testOnBorrow" value="true"/>
<property name="testOnReturn" value="true"/>
<property name="testWhileIdle" value="true"/>
<property name="timeBetweenEvictionRunsMillis" value="1800000"/>
<property name="numTestsPerEvictionRun" value="3"/>
<property name="minEvictableIdleTimeMillis" value="1800000"/>
<property name="validationQuery" value="SELECT 1"/>
</bean>
<bean class="org.springframework.orm.jpa.JpaTransactionManager" id="transactionManager">
<property name="entityManagerFactory" ref="entityManagerFactory"/>
</bean>
<tx:annotation-driven mode="aspectj" transaction-manager="transactionManager"/>
<bean class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" id="entityManagerFactory">
<property name="persistenceUnitName" value="persistenceUnit"/>
<property name="dataSource" ref="dataSource"/>
</bean>
</beans>
#Updated at Sat Apr 29 14:35:10 CST 2017
#Sat Apr 29 14:35:10 CST 2017
database.driverClassName=com.mysql.jdbc.Driver
database.url=jdbc\:mysql\://localhost\:3306/chatbottest2
database.username=root
database.password=root
/* main elements */
body,div,td {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666;
}
body {
background-color: #fff;
text-align: center;
}
#header {
margin-bottom: 1em;
}
#wrapper {
width:800px;
min-width: 800px;
max-width: 800px;
margin-right: auto;
margin-left: auto;
/* fix max-width incompatibility in IE6 */
width:expression(document.body.clientWidth > 800? "800px": "auto" );
overflow:hidden;
display:block;
}
/* header and footer elements */
#main {
overflow:hidden;
display:box;
}
#menu {
background: #eee;
position:relative;
float:right;
left:0px;
width:220px;
margin-left:15px;
}
#menu ul{
list-style: none;
margin: 0;
padding: 0;
}
#menu ul li{
padding: 0px;
}
#menu a, #menu h2 {
display: block;
margin: 0;
padding: 2px 6px;
color:#FFFFFF;
}
#menu h2 {
color: #fff;
background: #648C1D;
text-transform: uppercase;
font-weight:bold;
font-size: 12px;
}
#menu a {
color: #666666;
background: #efefef;
text-decoration: none;
padding: 2px 12px;
}
#menu a:hover {
color: #648C1D;
background: #fff;
}
#footer {
background:#fff;
border:none;
margin-top:15px;
border-top:1px solid #999999;
}
#footer .new {
float:left;
}
#footer a:link {color: #7db223;}
.quicklinks {
clear:both;
padding-bottom: 15px
}
.quicklinks span {
float: right;
}
label {
width:100px;
float:left;
margin-left: 5px;
margin-top: 0px;
}
input {
height:20px;
}
input, textarea, select {
border:1px solid #B3B3B3;
}
input.image {
border: none;
height: auto;
vertical-align: middle;
}
submit {
height:25px;
}
div {
text-align: left;
}
div .box {
display:block;
margin-left:105px;
}
/* menu elements*/
a.menu, a.menu:link, a.menu:visited {display:block; width:150px; height:25px;}
/* text styles */
h1,h2,h3 {
font-family: Helvetica, sans-serif;
color: #7db223;
}
h1 {
font-size: 20px;
line-height: 26px;
}
h2 {
font-size: 18px;
line-height: 20px;
}
h3 {
font-size: 15px;
line-height: 21px;
color:#555;
}
h4 {
font-size: 14px;
line-height: 20px;
}
.errors {
color: red;
font-weight: bold;
display: block;
margin-left: 105px;
}
a {
text-decoration: underline;
font-size: 12px;
}
a img {
border: 0 none;
vertical-align: middle;
}
tr:nth-child(odd) {
background-color: #FFFFFF;
}
tr:nth-child(even) {
background-color: #EFEFEF;
}
a:link {
color: #7db223;
}
a:hover {
color: #456314;
}
a:active {
color: #7db223;
}
a:visited {
color: #7db223;
}
li {
padding-top: 5px;
text-align: left;
}
ul li {
margin:0 0 0.25em 0;
padding:0;
}
/* table elements */
table {
background: #EEEEEE;
margin: 2px 0 0 0;
border: 1px solid #BBBBBB;
border-collapse: collapse;
width: 100%
}
table table {
margin: -5px 0;
border: 0px solid #e0e7d3;
width: 100%;
}
table td,table th {
padding: 2px;
border: 1px solid #CCCCCC;
}
table td form {
text-align:center;
vertical-align: middle;
margin: 0px;
}
table th {
font-size: 0.9em;
text-align: left;
font-weight: bold;
color: #FFF;
background: #999;
}
table thead {
font-weight: bold;
font-style: italic;
background-color: #BBBBBB;
}
table a:link {color: #303030;}
.utilbox {width: 18px;}
caption {
caption-side: top;
width: auto;
text-align: left;
font-size: 12px;
color: #848f73;
padding-bottom: 4px;
}
fieldset {
background: #e0e7d3;
padding: 8px;
padding-bottom: 22px;
border: none;
width: 560px;
}
fieldset label {
width: 70px;
float: left;
margin-top: 1.7em;
margin-left: 20px;
}
fieldset textfield {
margin: 3px;
height: 20px;
background: #e0e7d3;
}
fieldset textarea {
margin: 3px;
height: 165px;
background: #e0e7d3;
}
fieldset input {
margin: 3px;
height: 20px;
background: #e0e7d3;
}
fieldset table {
width: 100%;
}
fieldset th {
padding-left: 25px;
}
.table-buttons {
background-color:#fff;
border:none;
}
.table-buttons td {
border:none;
}
.submit input {
border: 1px solid #BBBBBB;
color:#777777;
padding:2px 7px;
font-size:11px;
text-transform:uppercase;
font-weight:bold;
height:24px;
}
.updated {
background:#ecf1e5;
font-size:11px;
margin-left:2px;
border:4px solid #ecf1e5;
}
.updated td {
padding:2px 8px;
font-size:11px;
color:#888888;
}
.dijitArrowButton {
height: 20px;
}
.dijitTextArea{
min-height:5.5em !important;
max-height:22em !important;
overflow-y: auto !important;
max-width: 175px;
}
.RichTextEditable{
min-height:18em !important;
max-height:18em !important;
}
.flag {
height: 11px;
width: 16px;
}
/* main elements */
body,div,td {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666;
}
body {
background-color: #fff;
text-align: center;
}
#header {
margin-bottom: 1em;
}
#wrapper {
width:800px;
min-width: 800px;
max-width: 800px;
margin-right: auto;
margin-left: auto;
/* fix max-width incompatibility in IE6 */
width:expression(document.body.clientWidth > 800? "800px": "auto" );
overflow:hidden;
display:block;
}
/* header and footer elements */
#main {
overflow:hidden;
display:box;
}
#menu {
background: #eee;
position:relative;
float:left;
left:0px;
width:220px;
margin-right:15px;
}
#menu ul{
list-style: none;
margin: 0;
padding: 0;
}
#menu ul li{
padding: 0px;
}
#menu a, #menu h2 {
display: block;
margin: 0;
padding: 2px 6px;
color:#FFFFFF;
}
#menu h2 {
color: #fff;
background: #648C1D;
text-transform: uppercase;
font-weight:bold;
font-size: 12px;
}
#menu a {
color: #666666;
background: #efefef;
text-decoration: none;
padding: 2px 12px;
}
#menu a:hover {
color: #648C1D;
background: #fff;
}
#footer {
background:#fff;
border:none;
margin-top:15px;
border-top:1px solid #999999;
}
#footer .new {
float:left;
}
#footer a:link {color: #7db223;}
.quicklinks {
clear:both;
padding-bottom: 15px
}
.quicklinks span {
float: right;
}
table.navigation {
border: 0px;
}
label {
width:100px;
float:left;
margin-left: 5px;
margin-top: 0px;
}
input {
height:20px;
}
input, textarea, select {
border:1px solid #B3B3B3;
}
input.image {
border: none;
height: auto;
vertical-align: middle;
}
submit {
height:25px;
}
div {
text-align: left;
}
div .box {
display:block;
margin-left:105px;
}
/* menu elements*/
a.menu, a.menu:link, a.menu:visited {display:block; width:150px; height:25px;}
/* text styles */
h1,h2,h3 {
font-family: Helvetica, sans-serif;
color: #7db223;
}
h1 {
font-size: 20px;
line-height: 26px;
}
h2 {
font-size: 18px;
line-height: 20px;
}
h3 {
font-size: 15px;
line-height: 21px;
color:#555;
}
h4 {
font-size: 14px;
line-height: 20px;
}
.errors {
color: red;
font-weight: bold;
display: block;
margin-left: 105px;
}
a {
text-decoration: underline;
font-size: 12px;
}
a img {
border: 0 none;
vertical-align: middle;
}
tr:nth-child(odd) {
background-color: #FFFFFF;
}
tr:nth-child(even) {
background-color: #EFEFEF;
}
a:link {
color: #7db223;
}
a:hover {
color: #456314;
}
a:active {
color: #7db223;
}
a:visited {
color: #7db223;
}
li {
padding-top: 5px;
text-align: left;
}
ul li {
margin:0 0 0.25em 0;
padding:0;
}
/* table elements */
table {
background: #EEEEEE;
margin: 2px 0 0 0;
border: 1px solid #BBBBBB;
border-collapse: collapse;
width: 100%
}
table table {
margin: -5px 0;
border: 0px solid #e0e7d3;
width: 100%;
}
table td,table th {
padding: 2px;
border: 1px solid #CCCCCC;
}
table td form {
text-align:center;
vertical-align: middle;
margin: 0px;
}
table th {
font-size: 0.9em;
text-align: left;
font-weight: bold;
color: #FFF;
background: #999;
}
table thead {
font-weight: bold;
font-style: italic;
background-color: #BBBBBB;
}
table a:link {color: #303030;}
.utilbox {width: 18px;}
caption {
caption-side: top;
width: auto;
text-align: left;
font-size: 12px;
color: #848f73;
padding-bottom: 4px;
}
fieldset {
background: #e0e7d3;
padding: 8px;
padding-bottom: 22px;
border: none;
width: 560px;
}
fieldset label {
width: 70px;
float: left;
margin-top: 1.7em;
margin-left: 20px;
}
fieldset textfield {
margin: 3px;
height: 20px;
background: #e0e7d3;
}
fieldset textarea {
margin: 3px;
height: 165px;
background: #e0e7d3;
}
fieldset input {
margin: 3px;
height: 20px;
background: #e0e7d3;
}
fieldset table {
width: 100%;
}
fieldset th {
padding-left: 25px;
}
.table-buttons {
background-color:#fff;
border:none;
}
.table-buttons td {
border:none;
}
.submit input {
border: 1px solid #BBBBBB;
color:#777777;
padding:2px 7px;
font-size:11px;
text-transform:uppercase;
font-weight:bold;
height:24px;
}
.updated {
background:#ecf1e5;
font-size:11px;
margin-left:2px;
border:4px solid #ecf1e5;
}
.updated td {
padding:2px 8px;
font-size:11px;
color:#888888;
}
.dijitArrowButton {
height: 20px;
}
.dijitTextArea{
min-height:5.5em !important;
max-height:22em !important;
overflow-y: auto !important;
max-width: 175px;
}
.RichTextEditable{
min-height:18em !important;
max-height:18em !important;
}
.flag {
height: 11px;
width: 16px;
}
#Updated at Sat Apr 29 16:28:38 CST 2017
#Sat Apr 29 16:28:38 CST 2017
application_name=Nasachatbot
label_com_nasa_hackson_nasachatbot_domain_attachment=Attachment
label_com_nasa_hackson_nasachatbot_domain_attachment_id=Id
label_com_nasa_hackson_nasachatbot_domain_attachment_payload=Payload
label_com_nasa_hackson_nasachatbot_domain_attachment_plural=Attachments
label_com_nasa_hackson_nasachatbot_domain_attachment_type=Type
label_com_nasa_hackson_nasachatbot_domain_attachment_version=Version
label_com_nasa_hackson_nasachatbot_domain_button=Button
label_com_nasa_hackson_nasachatbot_domain_button_id=Id
label_com_nasa_hackson_nasachatbot_domain_button_plural=Buttons
label_com_nasa_hackson_nasachatbot_domain_button_title=Title
label_com_nasa_hackson_nasachatbot_domain_button_type=Type
label_com_nasa_hackson_nasachatbot_domain_button_url=Url
label_com_nasa_hackson_nasachatbot_domain_button_version=Version
label_com_nasa_hackson_nasachatbot_domain_message=Message
label_com_nasa_hackson_nasachatbot_domain_message_attachment=Attachment
label_com_nasa_hackson_nasachatbot_domain_message_id=Id
label_com_nasa_hackson_nasachatbot_domain_message_plural=Messages
label_com_nasa_hackson_nasachatbot_domain_message_version=Version
label_com_nasa_hackson_nasachatbot_domain_messagetemplate=Messagetemplate
label_com_nasa_hackson_nasachatbot_domain_messagetemplate_id=Id
label_com_nasa_hackson_nasachatbot_domain_messagetemplate_messages=Messages
label_com_nasa_hackson_nasachatbot_domain_messagetemplate_plural=Messagetemplates
label_com_nasa_hackson_nasachatbot_domain_messagetemplate_version=Version
label_com_nasa_hackson_nasachatbot_domain_msgelement=Msg Element
label_com_nasa_hackson_nasachatbot_domain_msgelement_buttons=Buttons
label_com_nasa_hackson_nasachatbot_domain_msgelement_id=Id
label_com_nasa_hackson_nasachatbot_domain_msgelement_imageurl=Image Url
label_com_nasa_hackson_nasachatbot_domain_msgelement_plural=Msg Elements
label_com_nasa_hackson_nasachatbot_domain_msgelement_subtitle=Subtitle
label_com_nasa_hackson_nasachatbot_domain_msgelement_title=Title
label_com_nasa_hackson_nasachatbot_domain_msgelement_version=Version
label_com_nasa_hackson_nasachatbot_domain_payload=Pay Load
label_com_nasa_hackson_nasachatbot_domain_payload_elements=Elements
label_com_nasa_hackson_nasachatbot_domain_payload_id=Id
label_com_nasa_hackson_nasachatbot_domain_payload_plural=Pay Loads
label_com_nasa_hackson_nasachatbot_domain_payload_templatetype=Template Type
label_com_nasa_hackson_nasachatbot_domain_payload_version=Version
label_com_nasa_hackson_nasachatbot_domain_peopledecision=People Decision
label_com_nasa_hackson_nasachatbot_domain_peopledecision_actionbutton=Action Button
label_com_nasa_hackson_nasachatbot_domain_peopledecision_age=Age
label_com_nasa_hackson_nasachatbot_domain_peopledecision_createdate=Create Date
label_com_nasa_hackson_nasachatbot_domain_peopledecision_gender=Gender
label_com_nasa_hackson_nasachatbot_domain_peopledecision_id=Id
label_com_nasa_hackson_nasachatbot_domain_peopledecision_msgfbid=Msg F B Id
label_com_nasa_hackson_nasachatbot_domain_peopledecision_plural=People Decisions
label_com_nasa_hackson_nasachatbot_domain_peopledecision_positionx=Position X
label_com_nasa_hackson_nasachatbot_domain_peopledecision_positiony=Position Y
label_com_nasa_hackson_nasachatbot_domain_peopledecision_version=Version
menu_category_attachment_label=Attachment
menu_category_button_label=Button
menu_category_message_label=Message
menu_category_messagetemplate_label=Messagetemplate
menu_category_msgelement_label=Msg Element
menu_category_payload_label=Pay Load
menu_category_peopledecision_label=People Decision
menu_item_attachment_list_label=Attachments
menu_item_attachment_new_label=Attachment
menu_item_button_list_label=Buttons
menu_item_button_new_label=Button
menu_item_message_list_label=Messages
menu_item_message_new_label=Message
menu_item_messagetemplate_list_label=Messagetemplates
menu_item_messagetemplate_new_label=Messagetemplate
menu_item_msgelement_list_label=Msg Elements
menu_item_msgelement_new_label=Msg Element
menu_item_payload_list_label=Pay Loads
menu_item_payload_new_label=Pay Load
menu_item_peopledecision_list_label=People Decisions
menu_item_peopledecision_new_label=People Decision
#menu
global_menu_new=Create new {0}
global_menu_list=List all {0}
global_menu_find=Find by {0}
global_language_switch=Switch language to {0}
global_language=Language
global_sponsored=Sponsored by SpringSource
global_theme=Theme
global_theme_alt=alt
global_theme_standard=standard
global_generic={0}
#welcome page
welcome_titlepane=Welcome to {0}
welcome_h3=Welcome to {0}
welcome_text=Spring Roo provides interactive, lightweight and user customizable tooling that enables rapid delivery of high performance enterprise Java applications.
#entity labels
entity_list_all=List all {0}
entity_show=Show {0}
entity_create=Create new {0}
entity_update=Update {0}
entity_delete=Delete {0}
entity_delete_confirm=Are you sure want to delete this item?
entity_find=Find {0}
entity_not_found=No {0} found.
entity_not_found_single=No {0} found with this id.
entity_dependency_required=The following dependencies need to be created first:
entity_reference_not_managed=This relationship is managed from the {0} side.
#button labels
button_home=Home
button_save=Save
button_update=Update
button_find=Find
button_cancel=Cancel
button_proceed=Proceed
button_submit=Submit
button_reset=Reset
button_end=End
button_showmessage=Show Message
button_showstacktrace=Show Stack Trace
button_showcookie=Show Cookie
#field labels
field_simple_validation=Enter {0} {1}
field_invalid_email=Please enter a valid email
field_invalid_number=Number with \\'-\\' or \\'.\\' allowed
field_invalid_integer=Integer numbers only
field_invalid=Please enter valid {0}
field_required=required
#list labels
list_first=First Page
list_next=Next Page
list_previous=Previous Page
list_last=Last Page
list_page=Page {0} of {1}
list_size=List results per page:
#selenium
selenium_menu_test_suite=Test Suite
#exception
exception_message=Exception Message
exception_stacktrace=Exception Stack Trace
exception_cookie=Cookies
exception_details=Details
#dataAccessFailure_jspx
error_dataaccessfailure_title=Data access failure
error_dataaccessfailure_problemdescription=Sorry, a problem occurred while accessing the database.
#resourceNotFound_jspx
error_resourcenotfound_title=Requested Resource Not Found
error_resourcenotfound_problemdescription=Sorry, we did not find the resource you were looking for.
#uncaughtException_jspx
error_uncaughtexception_title=Internal Error
error_uncaughtexception_problemdescription=Sorry, we encountered an internal error.
#webflow
webflow_menu_enter=Enter {0} flow
webflow_state1_title=Spring Web Flow - View State One
webflow_state1_message=This is a simple example to get started with Spring Web Flow. The buttons below lead you to another view state (Proceed) or to an end state.
webflow_state2_title=Spring Web Flow - View State Two
webflow_state2_message=This is a simple example to get started with Spring Web Flow. The buttons below lead you to another view state (Proceed) or to an end state.
webflow_endstate_title=Spring Web Flow - End State
webflow_endstate_message=You have now reached the end of this flow.
#security
security_login_title=Spring Security Login
security_login_message=You have tried to access a protected area of this application. By default you can login as "admin", with a password of "admin".
security_login_form_name=Name
security_login_form_name_message=Enter your name
security_login_form_password=Password
security_login_form_password_message=Enter your password
security_login_unsuccessful=Your login attempt was not successful, try again. Reason:
security_logout=Logout
<html xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:tiles="http://tiles.apache.org/tags-tiles" xmlns:spring="http://www.springframework.org/tags" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" >
<jsp:output doctype-root-element="HTML" doctype-system="about:legacy-compat" />
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:directive.page pageEncoding="UTF-8" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<util:load-scripts />
<spring:message code="application_name" var="app_name" htmlEscape="false"/>
<title><spring:message code="welcome_h3" arguments="${app_name}" /></title>
</head>
<body class="tundra spring">
<div id="wrapper">
<tiles:insertAttribute name="header" ignore="true" />
<tiles:insertAttribute name="menu" ignore="true" />
<div id="main">
<tiles:insertAttribute name="body"/>
<tiles:insertAttribute name="footer" ignore="true"/>
</div>
</div>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition name="default" template="/WEB-INF/layouts/default.jspx">
<put-attribute name="header" value="/WEB-INF/views/header.jspx" />
<put-attribute name="menu" value="/WEB-INF/views/menu.jspx" />
<put-attribute name="footer" value="/WEB-INF/views/footer.jspx" />
</definition>
<definition name="public" template="/WEB-INF/layouts/default.jspx">
<put-attribute name="header" value="/WEB-INF/views/header.jspx" />
<put-attribute name="footer" value="/WEB-INF/views/footer.jspx" />
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
<!-- The controllers are autodetected POJOs labeled with the @Controller annotation. -->
<context:component-scan base-package="com.nasa.hackson.nasachatbot" use-default-filters="false">
<context:include-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
</context:component-scan>
<!-- Turns on support for mapping requests to Spring MVC @Controller methods
Also registers default Formatters and Validators for use across all @Controllers -->
<mvc:annotation-driven conversion-service="applicationConversionService"/>
<bean class="com.nasa.hackson.nasachatbot.web.controller.ApplicationConversionServiceFactoryBean" id="applicationConversionService"/>
<!-- Handles HTTP GET requests for /resources/** by efficiently serving up static resources -->
<mvc:resources location="/, classpath:/META-INF/web-resources/" mapping="/resources/**"/>
<!-- Allows for mapping the DispatcherServlet to "/" by forwarding static resource
requests to the container's default Servlet -->
<mvc:default-servlet-handler/>
<!-- Register "global" interceptor beans to apply to all registered HandlerMappings -->
<mvc:interceptors>
<bean class="org.springframework.web.servlet.theme.ThemeChangeInterceptor"/>
<bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" p:paramName="lang"/>
</mvc:interceptors>
<!-- Selects a static view for rendering without the need for an explicit controller -->
<mvc:view-controller path="/" view-name="index"/>
<mvc:view-controller path="/uncaughtException"/>
<mvc:view-controller path="/resourceNotFound"/>
<mvc:view-controller path="/dataAccessFailure"/>
<!-- Resolves localized messages*.properties and application.properties files in the application to allow for internationalization.
The messages*.properties files translate Roo generated messages which are part of the admin interface, the
application.properties resource bundle localizes all application specific messages such as entity names and menu items. -->
<bean class="org.springframework.context.support.ReloadableResourceBundleMessageSource" id="messageSource" p:basenames="WEB-INF/i18n/messages,WEB-INF/i18n/application" p:fallbackToSystemLocale="false"/>
<!-- Store preferred language configuration in a cookie -->
<bean class="org.springframework.web.servlet.i18n.CookieLocaleResolver" id="localeResolver" p:cookieName="locale"/>
<!-- Resolves localized <theme_name>.properties files in the classpath to allow for theme support -->
<bean class="org.springframework.ui.context.support.ResourceBundleThemeSource" id="themeSource"/>
<!-- Store preferred theme configuration in a cookie -->
<bean class="org.springframework.web.servlet.theme.CookieThemeResolver" id="themeResolver" p:cookieName="theme" p:defaultThemeName="standard"/>
<!-- This bean resolves specific types of exceptions to corresponding logical - view names for error views.
The default behaviour of DispatcherServlet - is to propagate all exceptions to the servlet
container: this will happen - here with all other types of exceptions. -->
<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver" p:defaultErrorView="uncaughtException">
<property name="exceptionMappings">
<props>
<prop key=".DataAccessException">dataAccessFailure</prop>
<prop key=".NoSuchRequestHandlingMethodException">resourceNotFound</prop>
<prop key=".TypeMismatchException">resourceNotFound</prop>
<prop key=".MissingServletRequestParameterException">resourceNotFound</prop>
</props>
</property>
</bean>
<!-- Enable this for integration of file upload functionality -->
<bean class="org.springframework.web.multipart.commons.CommonsMultipartResolver" id="multipartResolver"/>
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" id="tilesViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView"/>
</bean>
<bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer" id="tilesConfigurer">
<property name="definitions">
<list>
<value>/WEB-INF/layouts/layouts.xml</value>
<!-- Scan views directory for Tiles configurations -->
<value>/WEB-INF/views/**/views.xml</value>
</list>
</property>
</bean>
</beans>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes"/>
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)"/>
<jsp:directive.attribute name="modelAttribute" type="java.lang.String" required="true" rtexprvalue="true" description="The name of the model attribute for form binding"/>
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="Specify the relative URL path (wit leading /)" />
<jsp:directive.attribute name="compositePkField" type="java.lang.String" required="false" rtexprvalue="true" description="The field name of the composite primary key (only used if a composite PK is present in the form backing object)" />
<jsp:directive.attribute name="multipart" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if this is a multipart form (default: false)" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this object, will default to a message bundle if not supplied"/>
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)"/>
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)"/>
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:set var="enctype" value="application/x-www-form-urlencoded"/>
<c:if test="${multipart}">
<c:set var="enctype" value="multipart/form-data"/>
</c:if>
<spring:message arguments="${label}" code="entity_create" var="title_msg" htmlEscape="false" />
<util:panel id="${id}" title="${title_msg}" openPane="${openPane}">
<spring:url value="${path}" var="form_url"/>
<c:set var="jsCall" value=""/>
<c:if test="${not empty compositePkField}">
<c:set var="jsCall" value="encodePk()" />
</c:if>
<form:form action="${form_url}" method="POST" modelAttribute="${modelAttribute}" enctype="${enctype}" onsubmit="${jsCall}">
<form:errors cssClass="errors" delimiter="&lt;p/&gt;"/>
<c:if test="${not empty compositePkField}">
<form:hidden id="_${fn:escapeXml(compositePkField)}_id" path="${fn:escapeXml(compositePkField)}" />
<script type="text/javascript">
<![CDATA[
dojo.require("dojox.encoding.base64");
function encodePk() {
var obj = new Object();
dojo.query("input[name^=\"${compositePkField}.\"]").forEach(function(node, index, nodelist){
obj[node.name.substring('${compositePkField}'.length + 1)] = node.value;
});
var json = dojo.toJson(obj);
var tokArr = [];
for (var i = 0; i < json.length; i++) {
tokArr.push(json.charCodeAt(i));
}
var encoded = dojox.encoding.base64.encode(tokArr);
dojo.byId('_${fn:escapeXml(compositePkField)}_id').value = encoded;
}
]]>
</script>
</c:if>
<jsp:doBody />
<div class="submit" id="${fn:escapeXml(id)}_submit">
<spring:message code="button_save" var="save_button" htmlEscape="false" />
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
<input id="proceed" type="submit" value="${fn:escapeXml(save_button)}"/>
</div>
</form:form>
</util:panel>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes"/>
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)"/>
<jsp:directive.attribute name="dependencies" type="java.util.Collection" required="true" rtexprvalue="true" description="The collection of dependencies which need to be listed"/>
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this object, will default to a message bundle if not supplied"/>
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)"/>
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)"/>
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false"/>
</c:if>
<spring:message arguments="${label}" code="entity_create" var="title_msg" htmlEscape="false" />
<util:panel id="${fn:escapeXml(id)}" title="${fn:escapeXml(title_msg)}" openPane="${openPane}">
<spring:message code="entity_dependency_required"/>
<c:forEach items="${dependencies}" var="dependency" >
<p>
<field:reference field="${dependency[0]}" id="${fn:escapeXml(id)}_${dependency[0]}" path="/${dependency[1]}"/>
</p>
</c:forEach>
</util:panel>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="disableFormBinding" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Set to true to disable Spring form binding" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:set var="sec_field">
<spring:escapeBody javaScriptEscape="true">${field}</spring:escapeBody>
</c:set>
<script type="text/javascript">dojo.require("dijit.form.CheckBox");</script>
<div id="_${sec_id}_id">
<label for="_${sec_field}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${fn:escapeXml(label)}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<c:choose>
<c:when test="${disableFormBinding}">
<input id="_${sec_field}_id" name="${sec_field}" type="checkbox"/>
</c:when>
<c:otherwise>
<form:checkbox id="_${sec_field}_id" path="${sec_field}"/>
</c:otherwise>
</c:choose>
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${sec_field}_id', widgetType : 'dijit.form.CheckBox', widgetAttrs : {}}));
</script>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="property" type="java.lang.String" required="true" rtexprvalue="true" description="The property (field name) of the dataset to be displayed in a column (required)." />
<jsp:directive.attribute name="maxLength" type="java.lang.Integer" required="false" rtexprvalue="true" description="Max displayed text length (default '10'). Unlimited if negative" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The column label to be used in the table (optional)." />
<jsp:directive.attribute name="date" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate that this field is of type java.util.Date" />
<jsp:directive.attribute name="calendar" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate that this field is of type java.util.Calendar" />
<jsp:directive.attribute name="dateTimePattern" type="java.lang.String" required="false" rtexprvalue="true" description="The date / time pattern to use if the field is a date or calendar type" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<jsp:directive.attribute name="sort" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the column can be used to sort/order list (default 'false')" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty dateTimePattern}">
<c:set value="MM/dd/yyyy" var="dateTimePattern" />
</c:if>
<c:choose>
<c:when test="${date and empty columnTypes}">
<c:set var="columnTypes" value="date" scope="request" />
<c:set var="columnDatePatterns" value="${dateTimePattern}" scope="request" />
</c:when>
<c:when test="${date and not empty columnTypes}">
<c:set var="columnTypes" value="${columnTypes}&#9999;date" scope="request" />
<c:set var="columnDatePatterns" value="${columnDatePatterns}&#9999;${dateTimePattern}" scope="request" />
</c:when>
<c:when test="${calendar and empty columnTypes}">
<c:set var="columnTypes" value="calendar" scope="request" />
<c:set var="columnDatePatterns" value="${dateTimePattern}" scope="request" />
</c:when>
<c:when test="${calendar and not empty columnTypes}">
<c:set var="columnTypes" value="${columnTypes}&#9999;calendar" scope="request" />
<c:set var="columnDatePatterns" value="${columnDatePatterns}&#9999;${dateTimePattern}" scope="request" />
</c:when>
<c:when test="${empty columnTypes}">
<c:set var="columnTypes" value="default" scope="request" />
<c:set var="columnDatePatterns" value="none" scope="request" />
</c:when>
<c:otherwise>
<c:set var="columnTypes" value="${columnTypes}&#9999;default" scope="request" />
<c:set var="columnDatePatterns" value="${columnDatePatterns}&#9999;none" scope="request" />
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${empty columnProperties and empty columnLabels}">
<c:set var="columnProperties" value="${property}" scope="request" />
<c:set var="columnLabels" value="${label}" scope="request" />
<c:set var="columnMaxLengths" value="${empty maxLength ? 128 : maxLength}" scope="request" />
</c:when>
<c:otherwise>
<c:set var="columnProperties" value="${columnProperties}&#9999;${property}" scope="request" />
<c:set var="columnLabels" value="${columnLabels}&#9999;${label}" scope="request" />
<c:set var="columnMaxLengths" value="${columnMaxLengths}&#9999;${empty maxLength ? 128 : maxLength}" scope="request" />
</c:otherwise>
</c:choose>
</c:if>
<c:if test="${not empty sort and sort}">
<c:choose>
<c:when test="${empty columnSortProperties}">
<c:set var="columnSortProperties" value="${property}" scope="request" />
</c:when>
<c:otherwise>
<c:set var="columnSortProperties" value="${columnSortProperties}&#9999;${property}" scope="request" />
</c:otherwise>
</c:choose>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="dateTimePattern" type="java.lang.String" required="true" rtexprvalue="true" description="The format accepted in this field" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="required" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicates if this field is required (default false)" />
<jsp:directive.attribute name="disabled" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if this field should be enabled" />
<jsp:directive.attribute name="validationRegex" type="java.lang.String" required="false" rtexprvalue="true" description="Specify regular expression to be used for the validation of the input contents" />
<jsp:directive.attribute name="validationMessageCode" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message (message property code) to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="validationMessage" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="future" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if the date / time should be in the future" />
<jsp:directive.attribute name="past" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if the date / time should be in the past" />
<jsp:directive.attribute name="disableFormBinding" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Set to true to disable Spring form binding" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty disabled}">
<c:set value="false" var="disabled" />
</c:if>
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:set var="sec_field">
<spring:escapeBody javaScriptEscape="true" >${field}</spring:escapeBody>
</c:set>
<c:if test="${empty required}">
<c:set value="false" var="required" />
</c:if>
<script type="text/javascript">dojo.require('dijit.form.DateTextBox')</script>
<div id="_${sec_id}_id">
<label for="_${sec_field}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${label}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<c:choose>
<c:when test="${disableFormBinding}">
<input id="_${sec_field}_id" name="${sec_field}" />
</c:when>
<c:otherwise>
<form:input id="_${sec_field}_id" path="${sec_field}" disabled="${disabled}" />
<br />
<form:errors cssClass="errors" id="_${sec_field}_error_id" path="${sec_field}" />
</c:otherwise>
</c:choose>
<spring:message arguments="${fn:escapeXml(label)}" code="field_invalid" var="field_invalid" htmlEscape="false" />
<c:choose>
<c:when test="${required}">
<spring:message code="field_required" var="field_required" htmlEscape="false" />
<spring:message argumentSeparator="," arguments="${label},(${field_required})" code="field_simple_validation" var="field_validation" htmlEscape="false" />
</c:when>
<c:otherwise>
<spring:message argumentSeparator="," arguments="${label}, " code="field_simple_validation" var="field_validation" htmlEscape="false" />
</c:otherwise>
</c:choose>
<script type="text/javascript">
<c:set var="sec_field_validation">
<spring:escapeBody javaScriptEscape="true">${field_validation}</spring:escapeBody>
</c:set>
<c:set var="sec_field_invalid">
<spring:escapeBody javaScriptEscape="true">${field_invalid}</spring:escapeBody>
</c:set>
<c:set var="sec_dateTimePattern">
<spring:escapeBody javaScriptEscape="true">${dateTimePattern}</spring:escapeBody>
</c:set>
Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${sec_field}_id', widgetType : 'dijit.form.DateTextBox', widgetAttrs : {promptMessage: '${sec_field_validation}', invalidMessage: '${sec_field_invalid}', required: ${required}, constraints: {datePattern : '${sec_dateTimePattern}', required : ${required}}, datePattern : '${sec_dateTimePattern}'}})); </script>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="object" type="java.lang.Object" required="true" rtexprvalue="true" description="The form backing object" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field name" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="date" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate that this field is of type java.util.Date" />
<jsp:directive.attribute name="calendar" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate that this field is of type java.util.Calendar" />
<jsp:directive.attribute name="dateTimePattern" type="java.lang.String" required="false" rtexprvalue="true" description="The date / time pattern to use if the field is a date or calendar type" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${not empty object and empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty dateTimePattern}">
<c:set value="MM/dd/yyyy" var="dateTimePattern" />
</c:if>
<div id="_${fn:escapeXml(id)}_id">
<label for="_${fn:escapeXml(field)}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${label}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<div class="box" id="_${fn:escapeXml(id)}_${fn:escapeXml(field)}_id">
<c:choose>
<c:when test="${date}">
<spring:escapeBody>
<fmt:formatDate value="${object[field]}" pattern="${fn:escapeXml(dateTimePattern)}" />
</spring:escapeBody>
</c:when>
<c:when test="${calendar}">
<spring:escapeBody>
<fmt:formatDate value="${object[field].time}" pattern="${fn:escapeXml(dateTimePattern)}" />
</spring:escapeBody>
</c:when>
<c:otherwise>
<spring:eval expression="object[field]" />
</c:otherwise>
</c:choose>
</div>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="required" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicates if this field is required (default false)" />
<jsp:directive.attribute name="disabled" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if this field should be enabled" />
<jsp:directive.attribute name="validationRegex" type="java.lang.String" required="false" rtexprvalue="true" description="Specify regular expression to be used for the validation of the input contents" />
<jsp:directive.attribute name="validationMessageCode" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message (message property code) to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="validationMessage" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty disabled}">
<c:set value="false" var="disabled" />
</c:if>
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty required}">
<c:set value="false" var="required" />
</c:if>
<c:set var="sec_field">
<spring:escapeBody javaScriptEscape="true" >${field}</spring:escapeBody>
</c:set>
<script type="text/javascript">dojo.require("dijit.Editor");</script>
<div id="_${fn:escapeXml(id)}_id">
<label for="_${sec_field}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${fn:escapeXml(label)}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<form:hidden id="_${sec_field}_id" path="${sec_field}" />
<div>
<div id="_${sec_field}_id_"></div>
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${sec_field}_id_', widgetType : 'dijit.Editor', widgetAttrs : {disabled: ${disabled}}}));
dojo.addOnLoad(function () {
var src = dojo.byId('_${sec_field}_id');
var rte = dijit.byId('_${sec_field}_id_');
rte.disabled = ${disabled};
rte.onLoadDeferred.addCallback(function(){
rte.setValue(src.value);
dojo.connect(rte, 'onBlur', function(){src.value = rte.getValue();});
});
});
</script>
</div>
<br />
<form:errors cssClass="errors" id="_${sec_field}_error_id" path="${sec_field}" />
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="labelCode" type="java.lang.String" required="false" rtexprvalue="true" description="Key for label message bundle if label is not supplied" />
<jsp:directive.attribute name="required" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicates if this field is required (default false)" />
<jsp:directive.attribute name="disabled" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if this field should be enabled" />
<jsp:directive.attribute name="readonly" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if this field should be readonly" />
<jsp:directive.attribute name="validationRegex" type="java.lang.String" required="false" rtexprvalue="true" description="Specify regular expression to be used for the validation of the input contents" />
<jsp:directive.attribute name="validationMessageCode" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message (message property code) to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="validationMessage" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="min" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the minimum length of the input contents" />
<jsp:directive.attribute name="max" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the maximum length of the input contents" />
<jsp:directive.attribute name="decimalMin" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the minimum size of the input contents" />
<jsp:directive.attribute name="decimalMax" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the maximum size of the input contents" />
<jsp:directive.attribute name="disableFormBinding" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Set to true to disable Spring form binding" />
<jsp:directive.attribute name="type" type="java.lang.String" required="false" rtexprvalue="true" description="Set field type (default 'text', or 'password')" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty type}">
<c:set value="text" var="type" />
</c:if>
<c:if test="${empty disabled}">
<c:set value="false" var="disabled" />
</c:if>
<c:if test="${empty readonly}">
<c:set value="false" var="readonly" />
</c:if>
<c:if test="${empty label}">
<c:if test="${empty labelCode}">
<c:set var="labelCode" value="${fn:substringAfter(id,'_')}" />
</c:if>
<spring:message code="label_${fn:toLowerCase(labelCode)}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty validationMessage}">
<c:choose>
<c:when test="${empty validationMessageCode}">
<spring:message arguments="${fn:escapeXml(label)}" code="field_invalid" var="field_invalid" htmlEscape="false" />
</c:when>
<c:otherwise>
<spring:message arguments="${fn:escapeXml(label)}" code="${validationMessageCode}" var="field_invalid" htmlEscape="false" />
</c:otherwise>
</c:choose>
</c:if>
<c:if test="${empty required}">
<c:set value="false" var="required" />
</c:if>
<c:set var="sec_field">
<spring:escapeBody javaScriptEscape="true" >${field}</spring:escapeBody>
</c:set>
<div id="_${fn:escapeXml(id)}_id">
<label for="_${sec_field}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${fn:escapeXml(label)}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<c:choose>
<c:when test="${disableFormBinding}">
<input id="_${sec_field}_id" name="${sec_field}" type="${fn:escapeXml(type)}" />
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${type eq 'password'}">
<form:password id="_${sec_field}_id" path="${sec_field}" disabled="${disabled}" readonly="${readonly}" />
</c:when>
<c:otherwise>
<form:input id="_${sec_field}_id" path="${sec_field}" disabled="${disabled}" readonly="${readonly}" />
</c:otherwise>
</c:choose>
<br />
<form:errors cssClass="errors" id="_${sec_field}_error_id" path="${sec_field}" />
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${required}">
<spring:message code="field_required" var="field_required" htmlEscape="false" />
<spring:message argumentSeparator="," arguments="${label},(${field_required})" code="field_simple_validation" var="field_validation" htmlEscape="false" />
</c:when>
<c:otherwise>
<spring:message argumentSeparator="," arguments="${label}, " code="field_simple_validation" var="field_validation" htmlEscape="false" />
</c:otherwise>
</c:choose>
<c:set var="sec_field_validation">
<spring:escapeBody javaScriptEscape="true">${field_validation}</spring:escapeBody>
</c:set>
<c:set var="sec_field_invalid">
<spring:escapeBody javaScriptEscape="true" htmlEscape="true">${field_invalid}</spring:escapeBody>
</c:set>
<c:set var="sec_field_required">
<spring:escapeBody javaScriptEscape="true">${field_required}</spring:escapeBody>
</c:set>
<c:set var="sec_validation_regex" value="" />
<c:if test="${!empty validationRegex}">
<c:set var="sec_validation_regex" value="regExp : '${validationRegex}', " />
</c:if>
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${sec_field}_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${sec_field_validation}', invalidMessage: '${sec_field_invalid}', required : ${required}, ${sec_validation_regex} missingMessage : '${sec_field_required}' }}));
</script>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="The relative path to the respource" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="required" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicates if this field is required (default false)" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<div id="_${fn:escapeXml(id)}_id">
<label for="_${fn:escapeXml(field)}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${fn:escapeXml(label)}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<spring:url value="${path}" var="create_url">
<spring:param name="form" />
</spring:url>
<a href="${create_url}">
<spring:url value="/resources/images/add.png" var="create_img_url" />
<spring:message arguments="${field}" code="global_menu_new" var="add_message" htmlEscape="false" />
<img alt="${fn:escapeXml(add_message)}" src="${create_img_url}" title="${fn:escapeXml(add_message)}" />
</a>
<c:out value=" " />
<spring:message arguments="${label}" code="entity_not_found" />
<c:if test="${not empty required and required eq 'true'}">
(
<spring:message code="field_required" />
)
</c:if>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="The relative path to the referenced resource" />
<jsp:directive.attribute name="items" type="java.util.Collection" required="true" rtexprvalue="true" description="The name of the collection displayed in the select box" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="itemLabel" type="java.lang.String" required="false" rtexprvalue="true" description="Name of the property mapped to the inner text of the 'option' tag (will override the configured converter)" />
<jsp:directive.attribute name="itemValue" type="java.lang.String" required="false" rtexprvalue="true" description="The identifier used as value in the select box (defaults to 'id' for non enum types)" />
<jsp:directive.attribute name="required" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicates if this field is required (default false)" />
<jsp:directive.attribute name="disabled" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if this field should be enabled" />
<jsp:directive.attribute name="multiple" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if the select box should allow multiple selections" />
<jsp:directive.attribute name="disableFormBinding" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Set to true to disable Spring form binding" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty disabled}">
<c:set value="false" var="disabled" />
</c:if>
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty required}">
<c:set value="false" var="required" />
</c:if>
<c:if test="${empty multiple}">
<c:set value="false" var="multiple" />
</c:if>
<c:set var="sec_field">
<spring:escapeBody javaScriptEscape="true" >${field}</spring:escapeBody>
</c:set>
<c:set var="sec_itemLabel">
<spring:escapeBody htmlEscape="true" >${itemLabel}</spring:escapeBody>
</c:set>
<div id="_${fn:escapeXml(id)}_id">
<c:choose>
<c:when test="${not empty items}">
<label for="_${sec_field}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${fn:escapeXml(label)}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<c:choose>
<c:when test="${empty itemValue}">
<c:choose>
<c:when test="${disableFormBinding}">
<c:choose>
<c:when test="${multiple}">
<select id="_${sec_field}_id" name="${sec_field}" multiple="${multiple}">
<c:forEach items="${items}" var="item">
<option value="${item}">
<c:choose>
<c:when test="${empty itemLabel}">
<spring:eval expression="item" />
</c:when>
<c:otherwise>
<spring:eval expression="item[sec_itemLabel]"/>
</c:otherwise>
</c:choose>
</option>
</c:forEach>
</select>
</c:when>
<c:otherwise>
<select id="_${sec_field}_id" name="${sec_field}">
<c:forEach items="${items}" var="item">
<option value="${item}">
<c:choose>
<c:when test="${empty itemLabel}">
<spring:eval expression="item" />
</c:when>
<c:otherwise>
<spring:eval expression="item[sec_itemLabel]"/>
</c:otherwise>
</c:choose>
</option>
</c:forEach>
</select>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${empty itemLabel}">
<c:choose>
<c:when test="${multiple}">
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" multiple="${multiple}" />
</c:when>
<c:otherwise>
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" />
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${multiple}">
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" multiple="${multiple}" itemLabel="${sec_itemLabel}"/>
</c:when>
<c:otherwise>
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" itemLabel="${sec_itemLabel}"/>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<br />
<form:errors cssClass="errors" id="_${sec_field}_error_id" path="${sec_field}" />
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${disableFormBinding}">
<c:choose>
<c:when test="${multiple}">
<select id="_${sec_field}_id" name="${sec_field}" multiple="${multiple}">
<c:forEach items="${items}" var="item">
<option value="${item[fn:escapeXml(itemValue)]}">
<c:choose>
<c:when test="${empty itemLabel}">
<spring:eval expression="item" />
</c:when>
<c:otherwise>
<spring:eval expression="item[sec_itemLabel]"/>
</c:otherwise>
</c:choose>
</option>
</c:forEach>
</select>
</c:when>
<c:otherwise>
<select id="_${sec_field}_id" name="${sec_field}" multiple="${multiple}">
<c:forEach items="${items}" var="item">
<option value="${item[fn:escapeXml(itemValue)]}">
<c:choose>
<c:when test="${empty itemLabel}">
<spring:eval expression="item" />
</c:when>
<c:otherwise>
<spring:eval expression="item[sec_itemLabel]"/>
</c:otherwise>
</c:choose>
</option>
</c:forEach>
</select>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${empty itemLabel}">
<c:choose>
<c:when test="${multiple}">
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" multiple="${multiple}" itemValue="${fn:escapeXml(itemValue)}" />
</c:when>
<c:otherwise>
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" itemValue="${fn:escapeXml(itemValue)}" />
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${multiple}">
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" multiple="${multiple}" itemValue="${fn:escapeXml(itemValue)}" itemLabel="${sec_itemLabel}"/>
</c:when>
<c:otherwise>
<form:select id="_${sec_field}_id" items="${items}" path="${sec_field}" disabled="${disabled}" itemValue="${fn:escapeXml(itemValue)}" itemLabel="${sec_itemLabel}"/>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<br />
<form:errors cssClass="errors" id="_${sec_field}_error_id" path="${sec_field}" />
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${multiple == false}">
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${sec_field}_id', widgetType: 'dijit.form.FilteringSelect', widgetAttrs : {hasDownArrow : true}})); </script>
</c:when>
<!-- disabled due to http://jira.springframework.org/browse/ROO-909 <c:otherwise> <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${field}_id', widgetType: 'dijit.form.MultiSelect', widgetAttrs : {}})); </script> </c:otherwise> -->
</c:choose>
</c:when>
<c:otherwise>
<field:reference field="${label}" id="${id}" path="${path}" required="${required}" />
</c:otherwise>
</c:choose>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="text" type="java.lang.String" required="false" rtexprvalue="true" description="The text to be presented" />
<jsp:directive.attribute name="messageCode" type="java.lang.String" required="false" rtexprvalue="true" description="The code for the message to be presented" />
<jsp:directive.attribute name="messageCodeAttribute" type="java.lang.String" required="false" rtexprvalue="true" description="The attribute for the message code sto be presented" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<div id="_${fn:escapeXml(id)}_id">
<label for="_${fn:escapeXml(field)}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${label}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<c:choose>
<c:when test="${not empty messageCode}">
<spring:message code="${messageCode}" arguments="${messageCodeAttribute}" />
</c:when>
<c:otherwise>
<spring:eval expression="text" />
</c:otherwise>
</c:choose>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.tag import="java.util.ArrayList" />
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="data" type="java.util.Collection" required="true" rtexprvalue="true" description="The collection to be displayed in the table" />
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="Specify the URL path" />
<jsp:directive.attribute name="typeIdFieldName" type="java.lang.String" required="false" rtexprvalue="true" description="The identifier field name for the type (defaults to 'id')" />
<jsp:directive.attribute name="create" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'create' link into table (default true)" />
<jsp:directive.attribute name="update" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'update' link into table (default true)" />
<jsp:directive.attribute name="delete" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'delete' link into table (default true)" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:set var="columnProperties" scope="request" />
<c:set var="columnLabels" scope="request" />
<c:set var="columnMaxLengths" scope="request" />
<c:set var="columnTypes" scope="request" />
<c:set var="columnDatePatterns" scope="request" />
<c:set var="columnSortProperties" scope="request" />
<jsp:doBody />
<c:if test="${empty typeIdFieldName}">
<c:set var="typeIdFieldName" value="id" />
</c:if>
<c:if test="${empty update}">
<c:set var="update" value="true" />
</c:if>
<c:if test="${empty delete}">
<c:set var="delete" value="true" />
</c:if>
<spring:message var="typeName" code="menu_item_${fn:toLowerCase(fn:split(id,'_')[fn:length(fn:split(id,'_')) - 1])}_new_label" htmlEscape="false" />
<c:set var="lengths" value="${fn:split(columnMaxLengths, '&#9999;')}" scope="request" />
<c:set var="types" value="${fn:split(columnTypes, '&#9999;')}" scope="request" />
<c:set var="patterns" value="${fn:split(columnDatePatterns, '&#9999;')}" scope="request" />
<c:set var="properties" value="${fn:split(columnProperties, '&#9999;')}" scope="request" />
<c:set var="sortProperties" value="${fn:split(columnSortProperties, '&#9999;')}" scope="request" />
<spring:eval var="colCounter" expression="1" />
<table>
<thead>
<tr>
<c:forTokens items="${columnLabels}" delims="${'&#9999;'}" var="columnHeading" varStatus="num">
<c:set var="columnProperty" value="${properties[num.count-1]}" />
<c:set var="sort" value="false" />
<c:forEach var="sortProperty" items="${sortProperties}">
<c:if test="${columnProperty eq sortProperty}">
<c:set var="sort" value="true" />
</c:if>
</c:forEach>
<c:choose>
<c:when test="${sort}">
<c:set var="sortOrderSet" value="false" />
<c:set var="sortOrderClass" value="sorting" />
<spring:url value="" var="querySortUrl">
<c:forEach items="${paramValues}" var="p">
<c:if test="${p.key ne 'sortFieldName' and p.key ne 'sortOrder'}">
<c:forEach var='value' items='${p.value}'>
<spring:param name="${p.key}" value="${value}" />
</c:forEach>
</c:if>
<c:if test="${p.key eq 'sortOrder' and paramValues['sortFieldName'][0] eq columnProperty}">
<c:set var="sortOrderSet" value="true" />
<c:if test="${p.value[0] eq 'asc'}">
<spring:param name="sortOrder" value="desc" />
<c:set var="sortOrderClass" value="sorting_desc" />
</c:if>
<c:if test="${p.value[0] eq 'desc'}">
<spring:param name="sortOrder" value="asc" />
<c:set var="sortOrderClass" value="sorting_asc" />
</c:if>
</c:if>
</c:forEach>
<spring:param name="sortFieldName" value="${columnProperty}" />
<c:if test="${not sortOrderSet}">
<spring:param name="sortOrder" value="asc" />
</c:if>
</spring:url>
<th><a href="${querySortUrl}" class="${sortOrderClass}"><c:out value="${columnHeading}" /> <spring:eval var="colCounter" expression="colCounter + 1" /></a></th>
</c:when>
<c:otherwise>
<th><c:out value="${columnHeading}" /> <spring:eval var="colCounter" expression="colCounter + 1" /></th>
</c:otherwise>
</c:choose>
</c:forTokens>
<th></th>
<c:if test="${update}">
<th></th>
<spring:eval var="colCounter" expression="colCounter + 1" />
</c:if>
<c:if test="${delete}">
<th></th>
<spring:eval var="colCounter" expression="colCounter + 1" />
</c:if>
</tr>
</thead>
<c:forEach items="${data}" var="item">
<tr>
<c:forTokens items="${columnProperties}" delims="${'&#9999;'}" var="column" varStatus="num">
<c:set var="columnMaxLength" value="${lengths[num.count-1]}" />
<c:set var="columnType" value="${types[num.count-1]}" />
<c:set var="columnDatePattern" value="${patterns[num.count-1]}" />
<td>
<c:choose>
<c:when test="${columnType eq 'date'}">
<spring:escapeBody>
<fmt:formatDate value="${item[column]}" pattern="${fn:escapeXml(columnDatePattern)}" var="colTxt" />
</spring:escapeBody>
</c:when>
<c:when test="${columnType eq 'calendar'}">
<spring:escapeBody>
<fmt:formatDate value="${item[column].time}" pattern="${fn:escapeXml(columnDatePattern)}" var="colTxt"/>
</spring:escapeBody>
</c:when>
<c:otherwise>
<c:set var="colTxt">
<spring:eval expression="item[column]" htmlEscape="false" />
</c:set>
</c:otherwise>
</c:choose>
<c:if test="${columnMaxLength ge 0}">
<c:set value="${fn:substring(colTxt, 0, columnMaxLength)}" var="colTxt" />
</c:if>
<c:out value="${colTxt}" />
</td>
</c:forTokens>
<c:set var="itemId"><spring:eval expression="item[typeIdFieldName]"/></c:set>
<td class="utilbox">
<spring:url value="${path}/${itemId}" var="show_form_url" />
<spring:url value="/resources/images/show.png" var="show_image_url" />
<spring:message arguments="${typeName}" code="entity_show" var="show_label" htmlEscape="false" />
<a href="${show_form_url}" alt="${fn:escapeXml(show_label)}" title="${fn:escapeXml(show_label)}">
<img alt="${fn:escapeXml(show_label)}" class="image" src="${show_image_url}" title="${fn:escapeXml(show_label)}" />
</a>
</td>
<c:if test="${update}">
<td class="utilbox">
<spring:url value="${path}/${itemId}" var="update_form_url">
<spring:param name="form" />
</spring:url>
<spring:url value="/resources/images/update.png" var="update_image_url" />
<spring:message arguments="${typeName}" code="entity_update" var="update_label" htmlEscape="false" />
<a href="${update_form_url}" alt="${fn:escapeXml(update_label)}" title="${fn:escapeXml(update_label)}">
<img alt="${fn:escapeXml(update_label)}" class="image" src="${update_image_url}" title="${fn:escapeXml(update_label)}" />
</a>
</td>
</c:if>
<c:if test="${delete}">
<td class="utilbox">
<spring:url value="${path}/${itemId}" var="delete_form_url" />
<spring:url value="/resources/images/delete.png" var="delete_image_url" />
<form:form action="${delete_form_url}" method="DELETE">
<spring:message arguments="${typeName}" code="entity_delete" var="delete_label" htmlEscape="false" />
<c:set var="delete_confirm_msg">
<spring:escapeBody javaScriptEscape="true">
<spring:message code="entity_delete_confirm" />
</spring:escapeBody>
</c:set>
<input alt="${fn:escapeXml(delete_label)}" class="image" src="${delete_image_url}" title="${fn:escapeXml(delete_label)}" type="image" value="${fn:escapeXml(delete_label)}" onclick="return confirm('${delete_confirm_msg}');" />
<c:if test="${not empty param.page}">
<input name="page" type="hidden" value="1" />
</c:if>
<c:if test="${not empty param.size}">
<input name="size" type="hidden" value="${fn:escapeXml(param.size)}" />
</c:if>
</form:form>
</td>
</c:if>
</tr>
</c:forEach>
<tr class="footer">
<td colspan="${colCounter}">
<c:if test="${empty create or create}">
<span class="new">
<spring:url value="${path}" var="create_url">
<spring:param name="form" />
</spring:url>
<a href="${create_url}">
<spring:url value="/resources/images/add.png" var="create_img_url" />
<spring:message arguments="${typeName}" code="global_menu_new" var="add_message" htmlEscape="false" />
<img alt="${fn:escapeXml(add_message)}" src="${create_img_url}" title="${fn:escapeXml(add_message)}" />
</a>
</span>
<c:out value=" " />
</c:if>
<c:if test="${not empty maxPages}">
<util:pagination maxPages="${maxPages}" page="${param.page}" size="${param.size}" />
</c:if>
</td>
</tr>
</table>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="field" type="java.lang.String" required="true" rtexprvalue="true" description="The field exposed from the form backing object" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="required" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicates if this field is required (default false)" />
<jsp:directive.attribute name="disabled" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Specify if this field should be enabled" />
<jsp:directive.attribute name="validationRegex" type="java.lang.String" required="false" rtexprvalue="true" description="Specify regular expression to be used for the validation of the input contents" />
<jsp:directive.attribute name="validationMessageCode" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message (message property code) to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="validationMessage" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the message to be displayed if the regular expression validation fails" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="renderLabel" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of the label should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty disabled}">
<c:set value="false" var="disabled" />
</c:if>
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty required}">
<c:set value="false" var="required" />
</c:if>
<c:set var="sec_field">
<spring:escapeBody javaScriptEscape="true" >${field}</spring:escapeBody>
</c:set>
<script type="text/javascript">dojo.require("dijit.form.SimpleTextarea");</script>
<div id="_${fn:escapeXml(id)}_id">
<label for="_${sec_field}_id">
<c:choose>
<c:when test="${empty renderLabel or renderLabel}">
<c:out value="${fn:escapeXml(label)}" />
:
</c:when>
<c:otherwise>
&amp;nbsp;
</c:otherwise>
</c:choose>
</label>
<form:textarea id="_${sec_field}_id" path="${sec_field}" disabled="${disabled}" />
<br />
<form:errors cssClass="errors" id="_${sec_field}_error_id" path="${sec_field}" />
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_${sec_field}_id', widgetType : 'dijit.form.SimpleTextarea', widgetAttrs : {disabled : ${disabled}}})); </script>
</div>
<br />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes"/>
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)"/>
<jsp:directive.attribute name="finderName" type="java.lang.String" required="true" rtexprvalue="true" description="The finder name"/>
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="Specify the relative URL path (with leading /)" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this field, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)"/>
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)"/>
<!-- DISID: #8617 added support to labelCode -->
<jsp:directive.attribute name="labelCode" type="java.lang.String" required="false" rtexprvalue="true" description="Key for label message bundle if label is not supplied" />
<c:if test="${empty render or render}">
<!-- DISID: #8617 added support to labelCode -->
<c:choose>
<c:when test="${empty label and empty labelCode}">
<c:set var="entityClass" value="${fn:substringAfter(id,'ff_')}" />
<spring:message code="label_${fn:toLowerCase(entityClass)}_plural" var="label" htmlEscape="false" />
</c:when>
<c:when test="${empty label and !empty labelCode}">
<spring:message code="${labelCode}" var="label" htmlEscape="false" />
</c:when>
</c:choose>
<spring:message arguments="${fn:escapeXml(label)}" code="entity_find" var="title_msg" htmlEscape="false" />
<util:panel id="${id}" title="${title_msg}" openPane="${openPane}">
<spring:url value="${path}" var="form_url" />
<form:form action="${form_url}" method="GET">
<input type="hidden" name="find" value="${fn:escapeXml(finderName)}" />
<input type="hidden" name="page" value="1" />
<input type="hidden" name="size" value="${empty param.size ? 10 : param.size}" />
<jsp:doBody />
<div class="submit" id="${fn:escapeXml(id)}_${fn:escapeXml(finderName)}_submit">
<spring:message code="button_find" var="find_button" htmlEscape="false" />
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
<input id="proceed" type="submit" value="${fn:escapeXml(find_button)}"/>
</div>
</form:form>
</util:panel>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="items" type="java.util.Collection" required="true" rtexprvalue="true" description="The form backing object name" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this object, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="labelPlural" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this object, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty labelPlural}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}_plural" var="labelPlural" htmlEscape="false" />
</c:if>
<spring:message arguments="${labelPlural}" code="entity_list_all" var="title_msg" htmlEscape="false" />
<util:panel id="${id}" title="${title_msg}" openPane="${openPane}">
<c:choose>
<c:when test="${not empty items}">
<jsp:doBody />
</c:when>
<c:otherwise>
<spring:message arguments="${label}" code="entity_not_found" />
</c:otherwise>
</c:choose>
</util:panel>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="object" type="java.lang.Object" required="true" rtexprvalue="true" description="The form backing object" />
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="Specify the URL path" />
<jsp:directive.attribute name="list" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'list' link into table (default true)" />
<jsp:directive.attribute name="create" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'create' link into table (default true)" />
<jsp:directive.attribute name="update" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'update' link into table (default true)" />
<jsp:directive.attribute name="delete" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Include 'delete' link into table (default true)" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this object, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty list}">
<c:set var="list" value="true" />
</c:if>
<c:if test="${empty create}">
<c:set var="create" value="true" />
</c:if>
<c:if test="${empty update}">
<c:set var="update" value="true" />
</c:if>
<c:if test="${empty delete}">
<c:set var="delete" value="true" />
</c:if>
<spring:message var="typeName" code="menu_item_${fn:toLowerCase(fn:split(id,'_')[fn:length(fn:split(id,'_')) - 1])}_new_label" htmlEscape="false" />
<spring:message var="typeNamePlural" code="menu_item_${fn:toLowerCase(fn:split(id,'_')[fn:length(fn:split(id,'_')) - 1])}_list_label" htmlEscape="false" />
<spring:message arguments="${label}" code="entity_show" var="title_msg" htmlEscape="false" />
<util:panel id="${id}" title="${title_msg}" openPane="${openPane}">
<c:choose>
<c:when test="${not empty object}">
<jsp:doBody />
<div class="quicklinks">
<span>
<c:if test="${delete}">
<spring:url value="${path}/${itemId}" var="delete_form_url" />
<spring:url value="/resources/images/delete.png" var="delete_image_url" />
<form:form action="${delete_form_url}" method="DELETE">
<spring:message arguments="${typeName}" code="entity_delete" var="delete_label" htmlEscape="false" />
<c:set var="delete_confirm_msg">
<spring:escapeBody javaScriptEscape="true">
<spring:message code="entity_delete_confirm" />
</spring:escapeBody>
</c:set>
<input alt="${fn:escapeXml(delete_label)}" class="image" src="${delete_image_url}" title="${fn:escapeXml(delete_label)}" type="image" value="${fn:escapeXml(delete_label)}" onclick="return confirm('${fn:escapeXml(delete_confirm_msg)}');" />
</form:form>
</c:if>
</span>
<span>
<c:if test="${update}">
<spring:url value="${path}/${itemId}" var="update_form_url">
<spring:param name="form" />
</spring:url>
<spring:url value="/resources/images/update.png" var="update_image_url" />
<spring:message arguments="${typeName}" code="entity_update" var="update_label" htmlEscape="false" />
<a href="${update_form_url}" alt="${fn:escapeXml(update_label)}" title="${fn:escapeXml(update_label)}">
<img alt="${fn:escapeXml(update_label)}" class="image" src="${update_image_url}" title="${fn:escapeXml(update_label)}" />
</a>
</c:if>
</span>
<span>
<c:if test="${create}">
<spring:url value="${path}" var="create_form_url">
<spring:param name="form" />
</spring:url>
<spring:url value="/resources/images/create.png" var="create_image_url" />
<spring:message arguments="${typeName}" code="entity_create" var="create_label" htmlEscape="false" />
<a href="${create_form_url}" alt="${fn:escapeXml(create_label)}" title="${fn:escapeXml(create_label)}">
<img alt="${fn:escapeXml(create_label)}" class="image" src="${create_image_url}" title="${fn:escapeXml(create_label)}" />
</a>
</c:if>
</span>
<span>
<c:if test="${list}">
<spring:url value="${path}" var="list_form_url" />
<spring:url value="/resources/images/list.png" var="list_image_url" />
<spring:message arguments="${typeNamePlural}" code="entity_list_all" var="list_label" htmlEscape="false" />
<a href="${list_form_url}" alt="${fn:escapeXml(list_label)}" title="${fn:escapeXml(list_label)}">
<img alt="${fn:escapeXml(list_label)}" class="image" src="${list_image_url}" title="${fn:escapeXml(list_label)}" />
</a>
</c:if>
</span>
</div>
</c:when>
<c:otherwise>
<spring:message arguments="${label}" code="entity_not_found_single" />
</c:otherwise>
</c:choose>
</util:panel>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="modelAttribute" type="java.lang.String" required="true" rtexprvalue="true" description="The name of the model attribute for form binding" />
<jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="Specify the relative URL path (with leading /)" />
<jsp:directive.attribute name="multipart" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if this is a multipart form (default: false)" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this object, will default to a message bundle if not supplied" />
<jsp:directive.attribute name="idField" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the field name of the id field (default 'id')" />
<jsp:directive.attribute name="versionField" type="java.lang.String" required="false" rtexprvalue="true" description="Specify the field name of the version field (default 'version'). If specified 'none' the version field will not be inlcuded (versionField='none')." />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="label_${fn:toLowerCase(fn:substringAfter(id,'_'))}" var="label" htmlEscape="false" />
</c:if>
<c:if test="${empty idField}">
<c:set value="id" var="idField" />
</c:if>
<c:if test="${empty versionField}">
<c:set value="version" var="versionField" />
</c:if>
<c:set var="enctype" value="application/x-www-form-urlencoded"/>
<c:if test="${multipart}">
<c:set var="enctype" value="multipart/form-data"/>
</c:if>
<spring:message arguments="${label}" code="entity_update" var="title_msg" htmlEscape="false" />
<util:panel id="${id}" title="${title_msg}" openPane="${openPane}">
<spring:url value="${path}" var="form_url" />
<form:form action="${form_url}" method="PUT" modelAttribute="${modelAttribute}" enctype="${enctype}">
<form:errors cssClass="errors" delimiter="&lt;p/&gt;" />
<jsp:doBody />
<div class="submit" id="${fn:escapeXml(id)}_submit">
<spring:message code="button_save" var="save_button" htmlEscape="false" />
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
<input id="proceed" type="submit" value="${fn:escapeXml(save_button)}" />
</div>
<form:hidden id="_${fn:escapeXml(idField)}_id" path="${fn:escapeXml(idField)}" />
<c:if test="${versionField ne 'none'}">
<form:hidden id="_${fn:escapeXml(versionField)}_id" path="${fn:escapeXml(versionField)}" />
</c:if>
</form:form>
</util:panel>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes"/>
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)"/>
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label for this category (if not set the resource bundle is used)"/>
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)"/>
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="menu_category_${fn:toLowerCase(fn:substringAfter(id,'_'))}_label" var="label" htmlEscape="false"/>
</c:if>
<li id="${fn:escapeXml(id)}">
<h2>
<c:out value="${label}" />
</h2>
<ul>
<jsp:doBody />
</ul>
</li>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="url" type="java.lang.String" required="true" rtexprvalue="true" description="The link URL" />
<jsp:directive.attribute name="label" type="java.lang.String" required="false" rtexprvalue="true" description="The label used for this menu item" />
<jsp:directive.attribute name="messageCode" type="java.lang.String" required="false" rtexprvalue="true" description="The global message code to be used (works in conjunction with label)" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty label}">
<spring:message code="menu_item_${fn:toLowerCase(fn:substringAfter(id,'_'))}_label" var="label" htmlEscape="false" />
</c:if>
<c:if test="${not empty messageCode}">
<spring:message code="${messageCode}" var="label" arguments="${label}" htmlEscape="false" />
</c:if>
<li id="${fn:escapeXml(id)}">
<spring:url value="${url}" var="menu_item_url"/>
<a href="${menu_item_url}" title="${fn:escapeXml(label)}">
<c:out value="${label}"/>
</a>
</li>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes"/>
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)"/>
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)"/>
<c:if test="${empty render or render}">
<ul id="${fn:escapeXml(id)}">
<jsp:doBody />
</ul>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="locale" type="java.lang.String" required="true" rtexprvalue="true" description="The locale for the language to be added." />
<jsp:directive.attribute name="label" type="java.lang.String" required="true" rtexprvalue="true" description="The country label for the language to be added." />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<c:if test="${empty render or render}">
<spring:url var="img" value="/resources/images/${locale}.png" />
<spring:url var="url" value="">
<c:forEach var="myParms" items="${param}">
<c:choose>
<c:when test="${myParms.key eq 'lang'}">
<!-- ignore -->
</c:when>
<c:when test="${not empty myParms.value}">
<spring:param name="${myParms.key}" value="${myParms.value}" />
</c:when>
<c:otherwise>
<spring:param name="${myParms.key}" />
</c:otherwise>
</c:choose>
</c:forEach>
<spring:param name="lang" value="${locale}" />
</spring:url>
<spring:message code="global_language_switch" arguments="${label}" var="lang_label" htmlEscape="false" />
<a href="${url}" title="${fn:escapeXml(lang_label)}">
<img class="flag" src="${img}" alt="${fn:escapeXml(lang_label)}" />
</a>
<c:out value=" " />
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<spring:theme code="styleSheet" var="roo_css" />
<spring:url value="/${roo_css}" var="roo_css_url" />
<spring:url value="/resources/dojo/dojo.js" var="dojo_url" />
<spring:url value="/resources/dijit/themes/tundra/tundra.css" var="tundra_url" />
<spring:url value="/resources/spring/Spring.js" var="spring_url" />
<spring:url value="/resources/spring/Spring-Dojo.js" var="spring_dojo_url" />
<spring:url value="/resources/images/favicon.ico" var="favicon" />
<link rel="stylesheet" type="text/css" href="${tundra_url}" />
<link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}" />
<link rel="SHORTCUT ICON" href="${favicon}" />
<!-- Get the user local from the page context (it was set by Spring MVC's locale resolver) -->
<c:set var="userLocale">
<c:set var="plocale">${pageContext.response.locale}</c:set>
<c:out value="${fn:replace(plocale, '_', '-')}" default="en" />
</c:set>
<script type="text/javascript">var djConfig = {parseOnLoad: false, isDebug: false, locale: '${fn:toLowerCase(userLocale)}'};</script>
<script src="${dojo_url}" type="text/javascript"><!-- required for FF3 and Opera --></script>
<script src="${spring_url}" type="text/javascript"><!-- /required for FF3 and Opera --></script>
<script src="${spring_dojo_url}" type="text/javascript"><!-- required for FF3 and Opera --></script>
<script language="JavaScript" type="text/javascript">dojo.require("dojo.parser");</script>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="maxPages" type="java.lang.Integer" required="true" rtexprvalue="true" description="The maximum number of pages available (ie tableRecordCount / size)" />
<jsp:directive.attribute name="page" type="java.lang.Integer" required="false" rtexprvalue="true" description="The current page (not required, defaults to 1)" />
<jsp:directive.attribute name="size" type="java.lang.Integer" required="false" rtexprvalue="true" description="The number of records per page (not required, defaults to 10)" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<c:if test="${empty render or render}">
<c:if test="${empty page || page lt 1}">
<c:set var="page" value="1" />
</c:if>
<c:if test="${empty size || size lt 1}">
<c:set var="size" value="10" />
</c:if>
<c:if test="${maxPages gt 1}">
<spring:message code="list_size" var="list_size" htmlEscape="false" />
<c:out value="${list_size} " />
<spring:url value="" var="queryUrl">
<c:forEach items="${paramValues}" var="p">
<c:if test="${p.key ne 'page' and p.key ne 'size'}">
<c:forEach var='value' items='${p.value}'>
<spring:param name="${p.key}" value="${value}" />
</c:forEach>
</c:if>
</c:forEach>
</spring:url>
<c:forEach var="i" begin="5" end="25" step="5">
<c:choose>
<c:when test="${size == i}">
<c:out value="${i}" />
</c:when>
<c:otherwise>
<spring:url value="${queryUrl}" var="sizeUrl" htmlEscape="false">
<spring:param name="page" value="1" />
<spring:param name="size" value="${i}" />
</spring:url>
<a href="${sizeUrl}">${i}</a>
</c:otherwise>
</c:choose>
<c:out value=" " />
</c:forEach>
<c:out value="| " />
<c:if test="${page ne 1}">
<spring:url value="${queryUrl}" var="first" htmlEscape="false">
<spring:param name="page" value="1" />
<spring:param name="size" value="${size}" />
</spring:url>
<spring:url value="/resources/images/resultset_first.png" var="first_image_url" />
<spring:message code="list_first" var="first_label" htmlEscape="false" />
<a class="image" href="${first}" title="${fn:escapeXml(first_label)}">
<img alt="${fn:escapeXml(first_label)}" src="${first_image_url}" />
</a>
</c:if>
<c:if test="${page gt 1}">
<spring:url value="${queryUrl}" var="previous" htmlEscape="false">
<spring:param name="page" value="${page - 1}" />
<spring:param name="size" value="${size}" />
</spring:url>
<spring:url value="/resources/images/resultset_previous.png" var="previous_image_url" />
<spring:message code="list_previous" var="previous_label" htmlEscape="false" />
<a class="image" href="${previous}" title="${fn:escapeXml(previous_label)}">
<img alt="${fn:escapeXml(previous_label)}" src="${previous_image_url}" />
</a>
</c:if>
<c:out value=" " />
<spring:message code="list_page" arguments="${page},${maxPages}" argumentSeparator="," />
<c:out value=" " />
<c:if test="${page lt maxPages}">
<spring:url value="${queryUrl}" var="next" htmlEscape="false">
<spring:param name="page" value="${page + 1}" />
<spring:param name="size" value="${size}" />
</spring:url>
<spring:url value="/resources/images/resultset_next.png" var="next_image_url" />
<spring:message code="list_next" var="next_label" htmlEscape="false" />
<a class="image" href="${next}" title="${fn:escapeXml(next_label)}">
<img alt="${fn:escapeXml(next_label)}" src="${next_image_url}" />
</a>
</c:if>
<c:if test="${page ne maxPages}">
<spring:url value="${queryUrl}" var="last" htmlEscape="false">
<spring:param name="page" value="${maxPages}" />
<spring:param name="size" value="${size}" />
</spring:url>
<spring:url value="/resources/images/resultset_last.png" var="last_image_url" />
<spring:message code="list_last" var="last_label" htmlEscape="false" />
<a class="image" href="${last}" title="${fn:escapeXml(last_label)}">
<img alt="${fn:escapeXml(last_label)}" src="${last_image_url}" />
</a>
</c:if>
</c:if>
</c:if>
</jsp:root>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" />
<jsp:directive.attribute name="title" type="java.lang.String" required="true" rtexprvalue="true" description="The page title (required)" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<jsp:directive.attribute name="openPane" type="java.lang.String" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)" />
<jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" />
<c:if test="${empty render or render}">
<c:if test="${empty openPane}">
<c:set value="true" var="openPane" />
</c:if>
<c:set var="sec_id">
<spring:escapeBody javaScriptEscape="true" >${id}</spring:escapeBody>
</c:set>
<c:set var="sec_openPane">
<spring:escapeBody javaScriptEscape="true" >${openPane}</spring:escapeBody>
</c:set>
<c:set var="sec_title">
<spring:escapeBody javaScriptEscape="true" >${title}</spring:escapeBody>
</c:set>
<script type="text/javascript">dojo.require('dijit.TitlePane');</script>
<div id="_title_${sec_id}_id">
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_${sec_id}_id', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${sec_title}', open: ${sec_openPane}}})); </script>
<jsp:doBody />
</div>
</c:if>
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="description" type="java.lang.String" required="false" rtexprvalue="true" description="Can be used to describe the purpose of this element" />
</jsp:root>
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:output omit-xml-declaration="yes" />
<jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" description="Indicate if the contents of this tag and all enclosed tags should be rendered (default 'true')" />
<c:if test="${empty render or render}">
<span>
<c:out value=" | " />
<spring:message code="global_theme" />
<c:out value=": " />
<spring:url var="url_theme1" value="">
<spring:param name="theme" value="standard" />
<c:if test="${not empty param.page}">
<spring:param name="page" value="${param.page}" />
</c:if>
<c:if test="${not empty param.size}">
<spring:param name="size" value="${param.size}" />
</c:if>
</spring:url>
<spring:message code="global_theme_standard" var="theme_standard" htmlEscape="false" />
<a href="${url_theme1}" title="${fn:escapeXml(theme_standard)}">${fn:escapeXml(theme_standard)}</a>
<c:out value=" | " />
<spring:url var="url_theme2" value="">
<spring:param name="theme" value="alt" />
<c:if test="${not empty param.page}">
<spring:param name="page" value="${param.page}" />
</c:if>
<c:if test="${not empty param.size}">
<spring:param name="size" value="${param.size}" />
</c:if>
</spring:url>
<spring:message code="global_theme_alt" var="theme_alt" htmlEscape="false" />
<a href="${url_theme2}" title="${fn:escapeXml(theme_alt)}">${fn:escapeXml(theme_alt)}</a>
</span>
</c:if>
</jsp:root>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_Attachment" modelAttribute="attachment" path="/attachments" render="${empty dependencies}" z="6hFuq+nejqel9SfkKZX2ZNRC1So=">
<field:input field="type" id="c_com_nasa_hackson_nasachatbot_domain_Attachment_type" z="o9UPbvfXtNShXmG/73lTcDRo+Eg="/>
<field:select field="payload" id="c_com_nasa_hackson_nasachatbot_domain_Attachment_payload" itemValue="id" items="${payloads}" path="/payloads" z="7PcyjblS8fmh9FuaMyWL2IzYpKs="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_Attachment" render="${not empty dependencies}" z="pzWBcxAvP+5riv3vwCFX3+lA8OQ="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_Attachment" items="${attachments}" z="PXzOn1uNVNhH5DqTwFO8m0KjQvw=">
<table:table data="${attachments}" id="l_com_nasa_hackson_nasachatbot_domain_Attachment" path="/attachments" z="Hv48PiTOuLniQSjcQRQ3EZuZU/w=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Attachment_type" property="type" z="N+35VRudYEnzMmlSjcQGBA3paHI="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Attachment_payload" property="payload" z="kZlpcZBziyPpK8zZxTXQILnIpdk="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_Attachment" object="${attachment}" path="/attachments" z="1bcne3jkx6PKpo6A5adsWv6/XQ4=">
<field:display field="type" id="s_com_nasa_hackson_nasachatbot_domain_Attachment_type" object="${attachment}" z="LvS5T4QwTI46o0/KN8SS0foaesI="/>
<field:display field="payload" id="s_com_nasa_hackson_nasachatbot_domain_Attachment_payload" object="${attachment}" z="pTgZVxjwINnJQ/PsZtFlpE/qmJM="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_Attachment" modelAttribute="attachment" path="/attachments" versionField="Version" z="jUQAeHdGQ2nzgGwtFrJOtxmOqrw=">
<field:input field="type" id="c_com_nasa_hackson_nasachatbot_domain_Attachment_type" z="o9UPbvfXtNShXmG/73lTcDRo+Eg="/>
<field:select field="payload" id="c_com_nasa_hackson_nasachatbot_domain_Attachment_payload" itemValue="id" items="${payloads}" path="/payloads" z="7PcyjblS8fmh9FuaMyWL2IzYpKs="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="attachments/list">
<put-attribute name="body" value="/WEB-INF/views/attachments/list.jspx"/>
</definition>
<definition extends="default" name="attachments/show">
<put-attribute name="body" value="/WEB-INF/views/attachments/show.jspx"/>
</definition>
<definition extends="default" name="attachments/create">
<put-attribute name="body" value="/WEB-INF/views/attachments/create.jspx"/>
</definition>
<definition extends="default" name="attachments/update">
<put-attribute name="body" value="/WEB-INF/views/attachments/update.jspx"/>
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_Button" modelAttribute="button" path="/buttons" render="${empty dependencies}" z="duvmurv4wrSyf0jC9P5G/SP/uJs=">
<field:input field="type" id="c_com_nasa_hackson_nasachatbot_domain_Button_type" z="euVAARpUaWrwvno73QHSKmGqsSQ="/>
<field:input field="url" id="c_com_nasa_hackson_nasachatbot_domain_Button_url" z="qWduzqMs4cW0wUNckP4IYJ2uiKE="/>
<field:input field="title" id="c_com_nasa_hackson_nasachatbot_domain_Button_title" z="uP5BJMgL38mCFvCvE2KiIZK3f08="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_Button" render="${not empty dependencies}" z="9TcO7pJ4b+o+tOmFomx335WMMWE="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_Button" items="${buttons}" z="j+/Xfl0f+zSULb64Ux0ne/zqAdw=">
<table:table data="${buttons}" id="l_com_nasa_hackson_nasachatbot_domain_Button" path="/buttons" z="NsTP1AO68oij70SlggNpXrOPKtk=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Button_type" property="type" z="4Dl3Y1p8Bpx81HPlXQDYumM7u2s="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Button_url" property="url" z="yaE8CclUkJuxhlwLv/NRzu0BYt4="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Button_title" property="title" z="TbBpOa3KakSjsmnIjwzlRn0pxCQ="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_Button" object="${button}" path="/buttons" z="IUIRBGbhPwAJr0z1ACQ0Iz9nMa0=">
<field:display field="type" id="s_com_nasa_hackson_nasachatbot_domain_Button_type" object="${button}" z="az83y/n4uNqt8mjotfN9wpgDs4c="/>
<field:display field="url" id="s_com_nasa_hackson_nasachatbot_domain_Button_url" object="${button}" z="05Ub7y+2SJLKXmqPWaViw4QoxKU="/>
<field:display field="title" id="s_com_nasa_hackson_nasachatbot_domain_Button_title" object="${button}" z="Jk4FL0hWoAKXkBDGNEOv643/uSQ="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_Button" modelAttribute="button" path="/buttons" versionField="Version" z="7DhYAxWDqcak2psfibi5ygMqj+U=">
<field:input field="type" id="c_com_nasa_hackson_nasachatbot_domain_Button_type" z="euVAARpUaWrwvno73QHSKmGqsSQ="/>
<field:input field="url" id="c_com_nasa_hackson_nasachatbot_domain_Button_url" z="qWduzqMs4cW0wUNckP4IYJ2uiKE="/>
<field:input field="title" id="c_com_nasa_hackson_nasachatbot_domain_Button_title" z="uP5BJMgL38mCFvCvE2KiIZK3f08="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="buttons/list">
<put-attribute name="body" value="/WEB-INF/views/buttons/list.jspx"/>
</definition>
<definition extends="default" name="buttons/show">
<put-attribute name="body" value="/WEB-INF/views/buttons/show.jspx"/>
</definition>
<definition extends="default" name="buttons/create">
<put-attribute name="body" value="/WEB-INF/views/buttons/create.jspx"/>
</definition>
<definition extends="default" name="buttons/update">
<put-attribute name="body" value="/WEB-INF/views/buttons/update.jspx"/>
</definition>
</tiles-definitions>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:output omit-xml-declaration="yes" />
<spring:message var="title" code="error_dataaccessfailure_title" htmlEscape="false" />
<util:panel id="title" title="${title}">
<h2>${fn:escapeXml(title)}</h2>
<p>
<spring:message code="error_dataaccessfailure_problemdescription" />
</p>
<c:if test="${not empty exception}">
<p>
<h4>
<spring:message code="exception_details" />
</h4>
<spring:message var="message" code="exception_message" />
<util:panel id="_message" title="${message}" openPane="false">
<c:out value="${exception.localizedMessage}" />
</util:panel>
<spring:message var="stacktrace" code="exception_stacktrace" />
<util:panel id="_exception" title="${stacktrace}" openPane="false">
<c:forEach items="${exception.stackTrace}" var="trace">
<c:out value="${trace}" />
<br />
</c:forEach>
</util:panel>
</p>
</c:if>
</util:panel>
</div>
<div id="header" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:output omit-xml-declaration="yes" />
<spring:url var="banner" value="/resources/images/banner-graphic.png" />
<spring:url var="home" value="/" />
<spring:message code="button_home" var="home_label" htmlEscape="false" />
<a href="${home}" name="${fn:escapeXml(home_label)}" title="${fn:escapeXml(home_label)}">
<img src="${banner}" />
</a>
</div>
<div xmlns:spring="http://www.springframework.org/tags" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:output omit-xml-declaration="yes" />
<spring:message var="title" htmlEscape="false" />
<util:panel id="title" title="${title}">
<spring:message code="application_name" var="app_name" htmlEscape="false" />
<h3>
<spring:message code="welcome_titlepane" arguments="${app_name}" />
</h3>
</util:panel>
</div>
<div xmlns:spring="http://www.springframework.org/tags" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:output omit-xml-declaration="yes" />
<spring:message var="app_name" code="application_name" htmlEscape="false" />
<spring:message var="title" code="welcome_titlepane" arguments="${app_name}" htmlEscape="false" />
<util:panel id="title" title="${title}">
<h3>
<spring:message code="welcome_h3" arguments="${app_name}" />
</h3>
<p>
<spring:message code="welcome_text" />
</p>
</util:panel>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:menu="urn:jsptagdir:/WEB-INF/tags/menu" id="menu" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<menu:menu id="_menu" z="nZaf43BjUg1iM0v70HJVEsXDopc=">
<menu:category id="c_payload" z="r0sVRhI/JnbvSEpmzaIOH/Z11VY=">
<menu:item id="i_payload_new" messageCode="global_menu_new" url="/payloads?form" z="NnXVYdxgn6zYUd5himno94RLTew="/>
<menu:item id="i_payload_list" messageCode="global_menu_list" url="/payloads?page=1&amp;size=${empty param.size ? 10 : param.size}" z="gtSERFguoMuqCqr/fqw2oAYhmTc="/>
</menu:category>
<menu:category id="c_button" z="d+/y+lpPpOYY6Ss8duaotcU4Hsw=">
<menu:item id="i_button_new" messageCode="global_menu_new" url="/buttons?form" z="mg62GjxiFJYAyEZwlyqLvk96cug="/>
<menu:item id="i_button_list" messageCode="global_menu_list" url="/buttons?page=1&amp;size=${empty param.size ? 10 : param.size}" z="s3i9jncpyHhhdzERwXSyvwgidqo="/>
</menu:category>
<menu:category id="c_messagetemplate" z="iEnz3iKaWv+W9hkilZ49nKhBT/Y=">
<menu:item id="i_messagetemplate_new" messageCode="global_menu_new" url="/messagetemplates?form" z="Njcj8eJi0SKM7c3vD/UlbiiBlhs="/>
<menu:item id="i_messagetemplate_list" messageCode="global_menu_list" url="/messagetemplates?page=1&amp;size=${empty param.size ? 10 : param.size}" z="IAVw6dIS44EUyA2/qzGVVI4382Q="/>
</menu:category>
<menu:category id="c_message" z="2mg8OfqheWP/rnVu0slpEU516Yk=">
<menu:item id="i_message_new" messageCode="global_menu_new" url="/messages?form" z="6ME+t1wCXxIe0ueapV28lZ5YUi0="/>
<menu:item id="i_message_list" messageCode="global_menu_list" url="/messages?page=1&amp;size=${empty param.size ? 10 : param.size}" z="eGv0nXC/JpwInH30nZdjM2e3PxE="/>
</menu:category>
<menu:category id="c_msgelement" z="HmR9Uz3VlWE9HCYcF0oZW3C9Yp4=">
<menu:item id="i_msgelement_new" messageCode="global_menu_new" url="/msgelements?form" z="ECa4VYd1e5sVM/oAhFnd1wu+iP8="/>
<menu:item id="i_msgelement_list" messageCode="global_menu_list" url="/msgelements?page=1&amp;size=${empty param.size ? 10 : param.size}" z="jWIqjKGg5k1y288fMA8ucDGhjd0="/>
</menu:category>
<menu:category id="c_attachment" z="ILosBIgZtka54YO9aBOb14K+zdY=">
<menu:item id="i_attachment_new" messageCode="global_menu_new" url="/attachments?form" z="f5MXI6RSW9sXXvkGg68SWJg0apc="/>
<menu:item id="i_attachment_list" messageCode="global_menu_list" url="/attachments?page=1&amp;size=${empty param.size ? 10 : param.size}" z="W61D2on9MDhfSV7J58ZOsuWhNlQ="/>
</menu:category>
<menu:category id="c_peopledecision" z="nMNpFCZBvQTHNCGrht6YFCAzoZQ=">
<menu:item id="i_peopledecision_new" messageCode="global_menu_new" url="/peopledecisions?form" z="JbrDvqJWCYc3JodZ9vhrhdx0kuc="/>
<menu:item id="i_peopledecision_list" messageCode="global_menu_list" url="/peopledecisions?page=1&amp;size=${empty param.size ? 10 : param.size}" z="ZJ+c0KAai6ZoDK4YnFEZ2qsliNo="/>
</menu:category>
</menu:menu>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_Message" modelAttribute="message" path="/messages" render="${empty dependencies}" z="65qJcYfm3AIz9aalrppMQmOd4dA=">
<field:select field="attachment" id="c_com_nasa_hackson_nasachatbot_domain_Message_attachment" itemValue="id" items="${attachments}" path="/attachments" z="Kt2u8/0ikncvC9qMST0DYk/av4c="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_Message" render="${not empty dependencies}" z="RLvfChiccXjkXy6UWNItcqWoU3o="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_Message" items="${messages}" z="540QnKYSGYSrKyooUKP117/jyCE=">
<table:table data="${messages}" id="l_com_nasa_hackson_nasachatbot_domain_Message" path="/messages" z="cdWbbNNhwL6YmIFud0i/dp1nyoU=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Message_attachment" property="attachment" z="mSSHzJTy3tqMPuaj8ROvA6Hg7Fo="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_Message" object="${message}" path="/messages" z="ONtfOwiQBgDoYioaD/5JjufTqtI=">
<field:display field="attachment" id="s_com_nasa_hackson_nasachatbot_domain_Message_attachment" object="${message}" z="PRNZcN93nTsWuhk30sCSDMqaMlE="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_Message" modelAttribute="message" path="/messages" versionField="Version" z="uiT1TX4DgPcNmW79AIHIDUBKYgE=">
<field:select field="attachment" id="c_com_nasa_hackson_nasachatbot_domain_Message_attachment" itemValue="id" items="${attachments}" path="/attachments" z="Kt2u8/0ikncvC9qMST0DYk/av4c="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="messages/list">
<put-attribute name="body" value="/WEB-INF/views/messages/list.jspx"/>
</definition>
<definition extends="default" name="messages/show">
<put-attribute name="body" value="/WEB-INF/views/messages/show.jspx"/>
</definition>
<definition extends="default" name="messages/create">
<put-attribute name="body" value="/WEB-INF/views/messages/create.jspx"/>
</definition>
<definition extends="default" name="messages/update">
<put-attribute name="body" value="/WEB-INF/views/messages/update.jspx"/>
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_Messagetemplate" modelAttribute="messagetemplate" path="/messagetemplates" render="${empty dependencies}" z="I24Jw2tlNYnyiT4WFm7DvMVabJ4=">
<field:select field="messages" id="c_com_nasa_hackson_nasachatbot_domain_Messagetemplate_messages" itemValue="id" items="${messages}" multiple="true" path="/messages" z="AsLpEBjYDClY0xdgzTlHal4vDoI="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_Messagetemplate" render="${not empty dependencies}" z="0bNXfAE48wUL4XSaLudduzKwS/M="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_Messagetemplate" items="${messagetemplates}" z="JxExNBQt8ufSHrDDI0xPHjHeKwQ=">
<table:table data="${messagetemplates}" id="l_com_nasa_hackson_nasachatbot_domain_Messagetemplate" path="/messagetemplates" z="N4pdvJ7lKG5F4FAyrxnC/p88XDw=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_Messagetemplate_messages" property="messages" z="GBwzHRoOm3bMBf4m6LzW45bNBlQ="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_Messagetemplate" object="${messagetemplate}" path="/messagetemplates" z="mFKYyYZgw0+k31rzuot60UGbG6I=">
<field:display field="messages" id="s_com_nasa_hackson_nasachatbot_domain_Messagetemplate_messages" object="${messagetemplate}" z="rvp/WetPr4FCzG79YzlSgmiur8g="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_Messagetemplate" modelAttribute="messagetemplate" path="/messagetemplates" versionField="Version" z="VEHBnZr/l5LNSM1r3Akbl3MxbPk=">
<field:select field="messages" id="c_com_nasa_hackson_nasachatbot_domain_Messagetemplate_messages" itemValue="id" items="${messages}" multiple="true" path="/messages" z="AsLpEBjYDClY0xdgzTlHal4vDoI="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="messagetemplates/list">
<put-attribute name="body" value="/WEB-INF/views/messagetemplates/list.jspx"/>
</definition>
<definition extends="default" name="messagetemplates/show">
<put-attribute name="body" value="/WEB-INF/views/messagetemplates/show.jspx"/>
</definition>
<definition extends="default" name="messagetemplates/create">
<put-attribute name="body" value="/WEB-INF/views/messagetemplates/create.jspx"/>
</definition>
<definition extends="default" name="messagetemplates/update">
<put-attribute name="body" value="/WEB-INF/views/messagetemplates/update.jspx"/>
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_MsgElement" modelAttribute="msgElement" path="/msgelements" render="${empty dependencies}" z="wA40vg+C0Llj0hypcBT83p/lRf0=">
<field:input field="title" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_title" z="eP0INeNReGMvrvEaH6JWVRp+RtQ="/>
<field:input field="imageUrl" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_imageUrl" z="cHQULBlRyi98LxMAwlJeJQ86UHc="/>
<field:input field="subtitle" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_subtitle" z="2t2AchLQclUKS6Gjk7JIOok5DxE="/>
<field:select field="buttons" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_buttons" itemValue="id" items="${buttons}" multiple="true" path="/buttons" z="6d5QONKpyAXTnQJ0wB20FdrUY74="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_MsgElement" render="${not empty dependencies}" z="7bCPTXlmtI18RrhCaIuWbyBgYZo="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_MsgElement" items="${msgelements}" z="3G+8tgQGE0i1e16wmJ6EUIsGQ38=">
<table:table data="${msgelements}" id="l_com_nasa_hackson_nasachatbot_domain_MsgElement" path="/msgelements" z="owme/0Asca2lH4upeu/IRP9giXM=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_title" property="title" z="Pbf9MqODHq9oQBVDSwjnTGVH50w="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_imageUrl" property="imageUrl" z="TElJuPL56EIurNbub0PbflSZ81s="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_subtitle" property="subtitle" z="Rn5L+c2x8XyRD6ulFGE6FW/W4wE="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_buttons" property="buttons" z="9mQ+pQkz+zNFJVVFLEKqdDYUIDk="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_MsgElement" object="${msgelement}" path="/msgelements" z="bZNvwPmw6YmDwmNMfshZIB2+Evc=">
<field:display field="title" id="s_com_nasa_hackson_nasachatbot_domain_MsgElement_title" object="${msgelement}" z="YrIt0IbYumw7LZa8SqNSgxxqqSU="/>
<field:display field="imageUrl" id="s_com_nasa_hackson_nasachatbot_domain_MsgElement_imageUrl" object="${msgelement}" z="sgIG5RGvKQT9FglK0wS09zXp5mM="/>
<field:display field="subtitle" id="s_com_nasa_hackson_nasachatbot_domain_MsgElement_subtitle" object="${msgelement}" z="BdNT61pE0CWXSzax4IupqS1CQ7Y="/>
<field:display field="buttons" id="s_com_nasa_hackson_nasachatbot_domain_MsgElement_buttons" object="${msgelement}" z="zSetmC4VhmOlnkjGecGgSTBZjWw="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_MsgElement" modelAttribute="msgElement" path="/msgelements" versionField="Version" z="RgCANXfIRb8Q06Fahhb545egdWo=">
<field:input field="title" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_title" z="eP0INeNReGMvrvEaH6JWVRp+RtQ="/>
<field:input field="imageUrl" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_imageUrl" z="cHQULBlRyi98LxMAwlJeJQ86UHc="/>
<field:input field="subtitle" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_subtitle" z="2t2AchLQclUKS6Gjk7JIOok5DxE="/>
<field:select field="buttons" id="c_com_nasa_hackson_nasachatbot_domain_MsgElement_buttons" itemValue="id" items="${buttons}" multiple="true" path="/buttons" z="6d5QONKpyAXTnQJ0wB20FdrUY74="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="msgelements/list">
<put-attribute name="body" value="/WEB-INF/views/msgelements/list.jspx"/>
</definition>
<definition extends="default" name="msgelements/show">
<put-attribute name="body" value="/WEB-INF/views/msgelements/show.jspx"/>
</definition>
<definition extends="default" name="msgelements/create">
<put-attribute name="body" value="/WEB-INF/views/msgelements/create.jspx"/>
</definition>
<definition extends="default" name="msgelements/update">
<put-attribute name="body" value="/WEB-INF/views/msgelements/update.jspx"/>
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_PayLoad" modelAttribute="payLoad" path="/payloads" render="${empty dependencies}" z="0aNbFEq3qmIHs4pBPhzDQ1utbN0=">
<field:input field="templateType" id="c_com_nasa_hackson_nasachatbot_domain_PayLoad_templateType" z="uSiMWDDBXzHGukMWkg2eHFyidnI="/>
<field:select field="elements" id="c_com_nasa_hackson_nasachatbot_domain_PayLoad_elements" itemValue="id" items="${msgelements}" multiple="true" path="/msgelements" z="8goW/QrlMidIpwlQ3QkqrKo4GXY="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_PayLoad" render="${not empty dependencies}" z="kSrc6wxfmHGvRTX0gSEYLjz1WBI="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_PayLoad" items="${payloads}" z="JlTQZ45PcqYqHG4W9OAWXSo3hgs=">
<table:table data="${payloads}" id="l_com_nasa_hackson_nasachatbot_domain_PayLoad" path="/payloads" z="1FVEOEjWp/3VbAsZxMSeVroogNE=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PayLoad_templateType" property="templateType" z="CMFM5/d10M+BkRN6bwV3w2prj5U="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PayLoad_elements" property="elements" z="FWLxzfUXiB+W1GiWDUbmwi0QLd4="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_PayLoad" object="${payload}" path="/payloads" z="KI4AMfEzEXJ4byj5BoXv25R6H6w=">
<field:display field="templateType" id="s_com_nasa_hackson_nasachatbot_domain_PayLoad_templateType" object="${payload}" z="e9x3L2s9VOF1GhUJuIKgibzT2lM="/>
<field:display field="elements" id="s_com_nasa_hackson_nasachatbot_domain_PayLoad_elements" object="${payload}" z="E1W/ls68Klff4p6PmqfB3EP9dyk="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_PayLoad" modelAttribute="payLoad" path="/payloads" versionField="Version" z="vi1zQ0/OKMjWF8n4QQH0vJPXbYU=">
<field:input field="templateType" id="c_com_nasa_hackson_nasachatbot_domain_PayLoad_templateType" z="uSiMWDDBXzHGukMWkg2eHFyidnI="/>
<field:select field="elements" id="c_com_nasa_hackson_nasachatbot_domain_PayLoad_elements" itemValue="id" items="${msgelements}" multiple="true" path="/msgelements" z="8goW/QrlMidIpwlQ3QkqrKo4GXY="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="payloads/list">
<put-attribute name="body" value="/WEB-INF/views/payloads/list.jspx"/>
</definition>
<definition extends="default" name="payloads/show">
<put-attribute name="body" value="/WEB-INF/views/payloads/show.jspx"/>
</definition>
<definition extends="default" name="payloads/create">
<put-attribute name="body" value="/WEB-INF/views/payloads/create.jspx"/>
</definition>
<definition extends="default" name="payloads/update">
<put-attribute name="body" value="/WEB-INF/views/payloads/update.jspx"/>
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:create id="fc_com_nasa_hackson_nasachatbot_domain_PeopleDecision" modelAttribute="peopleDecision" path="/peopledecisions" render="${empty dependencies}" z="rKzkCI0dZgv0FKarKcNnatyjYtg=">
<field:input field="msgFBId" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_msgFBId" z="U3SElcRzYFP/Sb31DSl1kQAZ56c="/>
<field:input field="gender" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_gender" z="wAjUH5mTfx/JfxnBwVQTHRQ4fx0="/>
<field:input field="actionButton" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_actionButton" z="C5jLHSsuVhymyjfvakPZZbtI06Y="/>
<field:datetime dateTimePattern="${peopleDecision_createdate_date_format}" field="createDate" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_createDate" z="UJi811TZvsNhqkwKyIblfqLCGzY="/>
<field:input field="age" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_age" z="pnvJVPgNdT93YN5FApje1coiBiQ="/>
<field:input field="positionX" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionX" z="O839h+hFJxk9WGXV2TtcA0EMcgU="/>
<field:input field="positionY" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionY" z="wIAtfc5dwEdf1k1g7LYCFvQEXWY="/>
</form:create>
<form:dependency dependencies="${dependencies}" id="d_com_nasa_hackson_nasachatbot_domain_PeopleDecision" render="${not empty dependencies}" z="smvClYTsUF9uY5edtihWdFaCeZo="/>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:list id="pl_com_nasa_hackson_nasachatbot_domain_PeopleDecision" items="${peopledecisions}" z="4LvwEjX7aQKdHq1yj/IZGUc7FK8=">
<table:table data="${peopledecisions}" id="l_com_nasa_hackson_nasachatbot_domain_PeopleDecision" path="/peopledecisions" z="6hqa/mLVDBJMfSsfPpuwqZHgD7I=">
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_msgFBId" property="msgFBId" z="acokZKtMArCMFOTAE8fuj6iYtS0="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_gender" property="gender" z="7qgcOkL3eBLj192pZ2qpbp9sdm4="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_actionButton" property="actionButton" z="Ixz5MCSWCaHXXxTiJ2P/ruK6fMI="/>
<table:column date="true" dateTimePattern="${peopleDecision_createdate_date_format}" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_createDate" property="createDate" z="98cpyRnZFy4H57at6gDAGw2ffIg="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_age" property="age" z="c09ZSwmscjnnDtpqDFK4hwmupVw="/>
<table:column id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionX" property="positionX" z="y84Rjl1vC0kxpHqsoNahbRjPZ7I="/>
</table:table>
</page:list>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<page:show id="ps_com_nasa_hackson_nasachatbot_domain_PeopleDecision" object="${peopledecision}" path="/peopledecisions" z="YeFhenbApKuA3GXHiqJqrq8GmKc=">
<field:display field="msgFBId" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_msgFBId" object="${peopledecision}" z="PQPL676BxrKvHLtJZvTIEN2IJJo="/>
<field:display field="gender" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_gender" object="${peopledecision}" z="2MSZku1EHv3+sdWYrNZvsEeJbQg="/>
<field:display field="actionButton" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_actionButton" object="${peopledecision}" z="S6YUW2SuWX6lPF+yiAxyWwApumA="/>
<field:display date="true" dateTimePattern="${peopleDecision_createdate_date_format}" field="createDate" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_createDate" object="${peopledecision}" z="5gR/TBa2uyWy/MYtpenk05qI9O0="/>
<field:display field="age" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_age" object="${peopledecision}" z="FaDc9xPniSxNnnnBdJ/2a2vKQb0="/>
<field:display field="positionX" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionX" object="${peopledecision}" z="TAbKJcHG/b2aH1CEYplSVwlfBj8="/>
<field:display field="positionY" id="s_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionY" object="${peopledecision}" z="6glmCR9MS6WbBQLeHccC3WZa0zw="/>
</page:show>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration="yes"/>
<form:update id="fu_com_nasa_hackson_nasachatbot_domain_PeopleDecision" modelAttribute="peopleDecision" path="/peopledecisions" versionField="Version" z="wQJ0MD9zgMU0UzWy0Tq8XkOxFyY=">
<field:input field="msgFBId" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_msgFBId" z="U3SElcRzYFP/Sb31DSl1kQAZ56c="/>
<field:input field="gender" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_gender" z="wAjUH5mTfx/JfxnBwVQTHRQ4fx0="/>
<field:input field="actionButton" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_actionButton" z="C5jLHSsuVhymyjfvakPZZbtI06Y="/>
<field:datetime dateTimePattern="${peopleDecision_createdate_date_format}" field="createDate" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_createDate" z="UJi811TZvsNhqkwKyIblfqLCGzY="/>
<field:input field="age" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_age" z="pnvJVPgNdT93YN5FApje1coiBiQ="/>
<field:input field="positionX" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionX" z="O839h+hFJxk9WGXV2TtcA0EMcgU="/>
<field:input field="positionY" id="c_com_nasa_hackson_nasachatbot_domain_PeopleDecision_positionY" z="wIAtfc5dwEdf1k1g7LYCFvQEXWY="/>
</form:update>
</div>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition extends="default" name="peopledecisions/list">
<put-attribute name="body" value="/WEB-INF/views/peopledecisions/list.jspx"/>
</definition>
<definition extends="default" name="peopledecisions/show">
<put-attribute name="body" value="/WEB-INF/views/peopledecisions/show.jspx"/>
</definition>
<definition extends="default" name="peopledecisions/create">
<put-attribute name="body" value="/WEB-INF/views/peopledecisions/create.jspx"/>
</definition>
<definition extends="default" name="peopledecisions/update">
<put-attribute name="body" value="/WEB-INF/views/peopledecisions/update.jspx"/>
</definition>
</tiles-definitions>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:spring="http://www.springframework.org/tags" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:output omit-xml-declaration="yes" />
<spring:message var="title" code="error_resourcenotfound_title" htmlEscape="false" />
<util:panel id="title" title="${title}">
<h2>${fn:escapeXml(title)}</h2>
<p>
<spring:message code="error_resourcenotfound_problemdescription" />
</p>
<c:if test="${not empty exception}">
<p>
<h4>
<spring:message code="exception_details" />
</h4>
<spring:message var="message" code="exception_message" htmlEscape="false" />
<util:panel id="_message" title="${message}" openPane="false">
<c:out value="${exception.localizedMessage}" />
</util:panel>
<spring:message var="stacktrace" code="exception_stacktrace" htmlEscape="false" />
<util:panel id="_exception" title="${stacktrace}" openPane="false">
<c:forEach items="${exception.stackTrace}" var="trace">
<c:out value="${trace}" />
<br />
</c:forEach>
</util:panel>
</p>
</c:if>
</util:panel>
</div>
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8" />
<jsp:output omit-xml-declaration="yes" />
<spring:message var="title" code="error_uncaughtexception_title" htmlEscape="false" />
<util:panel id="title" title="${title}">
<h2>${fn:escapeXml(title)}</h2>
<p>
<spring:message code="error_uncaughtexception_problemdescription" />
</p>
<c:if test="${not empty exception}">
<p>
<h4>
<spring:message code="exception_details" />
</h4>
<spring:message var="message" code="exception_message" htmlEscape="false" />
<util:panel id="_message" title="${message}" openPane="false">
<c:out value="${exception.localizedMessage}" />
</util:panel>
<spring:message var="stacktrace" code="exception_stacktrace" htmlEscape="false" />
<util:panel id="_exception" title="${stacktrace}" openPane="false">
<c:forEach items="${exception.stackTrace}" var="trace">
<c:out value="${trace}" />
<br />
</c:forEach>
</util:panel>
</p>
</c:if>
</util:panel>
</div>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition name="index" extends="default">
<put-attribute name="body" value="/WEB-INF/views/index.jspx" />
</definition>
<definition name="dataAccessFailure" extends="public">
<put-attribute name="body" value="/WEB-INF/views/dataAccessFailure.jspx" />
</definition>
<definition name="resourceNotFound" extends="public">
<put-attribute name="body" value="/WEB-INF/views/resourceNotFound.jspx" />
</definition>
<definition name="uncaughtException" extends="public">
<put-attribute name="body" value="/WEB-INF/views/uncaughtException.jspx" />
</definition>
</tiles-definitions>
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>nasachatbot</display-name>
<description>Roo generated nasachatbot application</description>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:META-INF/spring/applicationContext*.xml</param-value>
</context-param>
<!-- Enable escaping of form submission contents -->
<context-param>
<param-name>defaultHtmlEscape</param-name>
<param-value>true</param-value>
</context-param>
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter>
<filter-name>HttpMethodFilter</filter-name>
<filter-class>org.springframework.web.filter.HiddenHttpMethodFilter</filter-class>
</filter>
<filter>
<filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>HttpMethodFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Creates the Spring Container shared by all Servlets and Filters -->
<filter-mapping>
<filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- Handles Spring requests -->
<servlet>
<servlet-name>nasachatbot</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/spring/webmvc-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>nasachatbot</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>10</session-timeout>
</session-config>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/uncaughtException</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/resourceNotFound</location>
</error-page>
</web-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment