This commit is contained in:
Socrates
2020-05-26 10:29:34 +02:00
commit 9ed0f2a056
1162 changed files with 162062 additions and 0 deletions

67
build.xml Normal file
View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<project name="Babydatenbank" basedir="." default="deployWar">
<property name="project" value="Babydatenbank" />
<property name="ox3" value="true" />
<property name="openxava.base.dir" value=".."/> <!-- Change if you want OpenXava and Addons in another folder -->
<property file="../openxava.properties"/>
<!--
Compile all .java and .groovy
Not needed to call it if you work inside Eclipse
-->
<target name="compile">
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="compile"/>
</target>
<!--
Build and deploy the application in war format.
It deploys it on the Tomcat included in OpenXava distribution,
to deploy to other location modify the tomcat.dir property of workspace/openxava.properties.
-->
<target name="deployWar">
<!-- In a directory -->
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="deploy"/>
<!-- In a file (it does not work well on windows + tomcat)
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="deployWar"/>
-->
</target>
<!--
Build the application in war format.
Leaves the war in the workspace.dist/YourApplication.dist folder.
-->
<target name="createWar">
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="createWar"/>
</target>
<!--
Build the application in portlets format
-->
<target name="generatePortlets">
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="generatePortlets"/>
</target>
<!--
Update this project with the latest OpenXava version present in the workspace.
It must be called just after update the OpenXava version.
-->
<target name="updateOX">
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="updateOX"/>
</target>
<!--
Connects to your database and updates your schema in order to match to your current application.
Remember to give value to schema.path with the path of the JDBC driver jar for your database.
-->
<target name="updateSchema">
<ant antfile="${openxava.base.dir}/OpenXava/build.xml" target="updateSchemaJPA">
<property name="persistence.unit" value="junit"/>
<property name="schema.path" value="../OpenXava/lib/hsqldb.jar"/>
</ant>
</target>
</project>

BIN
data/BabydatenbankDB.lck Normal file

Binary file not shown.

52
data/BabydatenbankDB.log Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
#HSQL Database Engine 2.3.2
#Mon May 25 20:23:22 CEST 2020
version=2.3.2
modified=yes

View File

@@ -0,0 +1,42 @@
SET DATABASE UNIQUE NAME HSQLDB724D13304E
SET DATABASE GC 0
SET DATABASE DEFAULT RESULT MEMORY ROWS 0
SET DATABASE EVENT LOG LEVEL 0
SET DATABASE TRANSACTION CONTROL LOCKS
SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED
SET DATABASE TRANSACTION ROLLBACK ON CONFLICT TRUE
SET DATABASE TEXT TABLE DEFAULTS ''
SET DATABASE SQL NAMES FALSE
SET DATABASE SQL REFERENCES FALSE
SET DATABASE SQL SIZE TRUE
SET DATABASE SQL TYPES FALSE
SET DATABASE SQL TDC DELETE TRUE
SET DATABASE SQL TDC UPDATE TRUE
SET DATABASE SQL TRANSLATE TTI TYPES TRUE
SET DATABASE SQL CONCAT NULLS TRUE
SET DATABASE SQL UNIQUE NULLS TRUE
SET DATABASE SQL CONVERT TRUNCATE TRUE
SET DATABASE SQL AVG SCALE 0
SET DATABASE SQL DOUBLE NAN TRUE
SET FILES WRITE DELAY 500 MILLIS
SET FILES BACKUP INCREMENT TRUE
SET FILES CACHE SIZE 10000
SET FILES CACHE ROWS 50000
SET FILES SCALE 32
SET FILES LOB SCALE 32
SET FILES DEFRAG 0
SET FILES NIO TRUE
SET FILES NIO SIZE 256
SET FILES LOG TRUE
SET FILES LOG SIZE 50
CREATE USER SA PASSWORD DIGEST 'd41d8cd98f00b204e9800998ecf8427e'
ALTER USER SA SET LOCAL TRUE
CREATE SCHEMA PUBLIC AUTHORIZATION DBA
ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 1
SET DATABASE DEFAULT INITIAL SCHEMA PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.SQL_IDENTIFIER TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.YES_OR_NO TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.TIME_STAMP TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CARDINAL_NUMBER TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CHARACTER_DATA TO PUBLIC
GRANT DBA TO SA

View File

@@ -0,0 +1,19 @@
# Module
Article.module=Artikel
Brand.module=Marken
Condition.module=Zustand
Pattern.module=Muster
Size.module=Gr<EFBFBD><EFBFBD>en
Category.module=Kategorien
# Fields
buyPrice=Einkaufspreis
sellPrice=Verkaufspreis
originalPrice=Originalpreis
buyAndSell=Kaufen und Verkaufen
buyDate=Kaufdatum
sellDate=Verkaufsdatum
pattern=Muster
brand=Marke
condition=Zustand
size=Gr<EFBFBD><EFBFBD>e

View File

@@ -0,0 +1,3 @@
# Labels for Babydatenbank application
Babydatenbank=Babydatenbank

View File

@@ -0,0 +1,4 @@
group_by=Gruppiere nach
no_grouping=Nicht gruppieren
group_by_month_of=Gruppiere nach Monat von
group_by_year_of=Gruppiere nach Jahr von

View File

@@ -0,0 +1 @@
# Messages for the Babydatenbank application

BIN
persistence/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping SYSTEM "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="org.openxava.session">
<class
name="GalleryImage"
table="IMAGES">
<id name="oid" column="ID" access="field">
<generator class="uuid"/>
</id>
<property name="galleryOid" column="GALLERY"/>
<property name="image" column="IMAGE" length="16777216"/>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="default">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<non-jta-data-source>java://comp/env/jdbc/BabydatenbankDS</non-jta-data-source>
<class>org.openxava.session.GalleryImage</class>
<class>org.openxava.web.editors.DiscussionComment</class>
<properties>
<property name="javax.persistence.schema-generation.database.action" value="update"/>
<property name="javax.persistence.create-database-schemas" value="true"/>
<property name="hibernate.default_schema" value="Babydatenbank"/>
<property name="hibernate.jdbc.use_streams_for_binary" value="true"/>
</properties>
</persistence-unit>
<!-- MySQL
<persistence-unit name="default">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<non-jta-data-source>java://comp/env/jdbc/BabydatenbankDS</non-jta-data-source>
<class>org.openxava.session.GalleryImage</class>
<class>org.openxava.web.editors.DiscussionComment</class>
<properties>
<property name="javax.persistence.schema-generation.database.action" value="update"/>
<property name="javax.persistence.create-database-schemas" value="true"/>
<property name="hibernate.default_catalog" value="Babydatenbank"/>
<property name="hibernate.jdbc.use_streams_for_binary" value="true"/>
</properties>
</persistence-unit>
-->
<!-- JUnit Hypersonic -->
<persistence-unit name="junit">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<class>org.openxava.web.editors.DiscussionComment</class>
<properties>
<property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver"/>
<property name="hibernate.default_schema" value="Babydatenbank"/>
<property name="hibernate.connection.url" value="jdbc:hsqldb:hsql://localhost:1666"/>
</properties>
</persistence-unit>
</persistence>

View File

@@ -0,0 +1,20 @@
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<!--
This hibernate configuration is used only for IMAGES_GALLERY stereotype,
because this stereotype is implemented using hibernate native APIs.
If you do not use IMAGE_GALLERY you do not need this file.
The datasource configured here is the datasource in where the images will be
store, and usually match wiht the main datasource of application defined in
persistence.xml.
-->
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.datasource">java://comp/env/jdbc/BabydatenbankDS</property>
<property name="hibernate.jdbc.use_get_generated_keys">false</property>

View File

@@ -0,0 +1,5 @@
# Configurar el comportamiento de BeansContext
_default=jndi
_subcontext=Babydatenbank
jndi=org.openxava.ejbx.JndiContextProvider

View File

@@ -0,0 +1,16 @@
# LoginContextFactory.properties
# Lista de clase para la factoria de ILoginContext
_defecto=jndi
# Hace una b<>squeda usando JNDI 1.2
jndi=puntocom.negocio.context.JndiLoginContext
# Lee la configuraci<63>n CORBA de un orb.properties en el CLASSPATH
orb=puntocom.negocio.context.OrbLoginContext
# Intenta configurar el host de conexi<78>n usando servicios JNLP
jnlp=puntocom.negocio.context.JnlpLoginContext
# Corrige un bug en JavaWebStart 0.4
jnlp04=puntocom.negocio.context.Jnlp04LoginContext

View File

@@ -0,0 +1,4 @@
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:10666
java.naming.factory.url.pkgs=org.jboss.naming

View File

@@ -0,0 +1,3 @@
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url=iiop://localhost

View File

@@ -0,0 +1,3 @@
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:10666
java.naming.factory.url.pkgs=org.jboss.naming

View File

@@ -0,0 +1,2 @@
# In this way in order to produce log in Liferay 5.1
#debug.com.sun.portal.level=WARNING

View File

@@ -0,0 +1,5 @@
# In plain OpenXava the users are added here in the form user=password
# If you want full management of users, roles and modules stored in database,
# get XavaPro from here: http://www.openxava.org/xavapro
admin=admin

View File

@@ -0,0 +1,55 @@
# Password setting
# Encrypting passwords is only available in XavaPro (http://www.openxava.org/xavapro)
encryptPassword=true
storePasswordAsHex=true
# Initial admin password for first time execution and new organizations
initialPasswordForAdmin=admin
# There are many more password options in Configuration module of XavaPro (http://www.openxava.org/xavapro)
# Navigation options
startInLastVisitedModule=true
showModulesMenuWhenNotLogged=true
#fixModulesOnTopMenu=Invoice, Order
#initialModule=Invoice
# LDAP Config. LDAP is only available in XavaPro (http://www.openxava.org/xavapro)
ldapHost=192.168.0.0
ldapDomain=XX
ldapDN=DC=XX,DC=XX,DC=XX
ldapPort=389
# Multitenancy: Only available in XavaPro (http://www.openxava.org/xavapro)
# The create schema sentence used for creating a new organization
# This is the default one
createSchema=CREATE SCHEMA ${schema}
# These are by database vendor, you can add yours using the database name
# as suffix (actually the first token of connection.getMetaData().getDatabaseProductName())
createSchema.PostgreSQL=CREATE SCHEMA ${schema}
createSchema.HSQL=CREATE SCHEMA ${schema} AUTHORIZATION DBA
# The drop schema sentence used for removing an existing organization
# This is the default one
dropSchema=DROP SCHEMA ${schema} CASCADE
# These are by database vendor, you can add yours using the database name
# as suffix (actually the first token of connection.getMetaData().getDatabaseProductName())
dropSchema.MySQL=DROP SCHEMA ${schema}
# Autologin, uncomment to login automatically with a user
# Useful for testing or applications that do not need user sign in
#autologinUser=admin
#autologinPassword=admin
# Other options
showApplicationName=true
showOrganizationOnSignIn=true
showListOfOrganizationsOnSignIn=true
# If false the server startup is faster, but new modules in your code are not recognized
# Put it to false if you no longer add modules to your apps and have a lot of organizations
updateNaviOXTablesInOrganizationsOnStartup=true
# Validator for email when sign up and using email as user name is on.
# It must implement IValidator. The default value is org.openxava.validators.EmailValidator
#emailValidatorForSignUpClass=org.openxava.validators.EmailValidator

View File

@@ -0,0 +1,11 @@
port=8080
locale=en
# By default the application name, uncomment to not use application name in the URL
# contextPath=/
# If jetspeed2.url is present tests against a jetspeed2 portal,
# else tests the modules directly
#jetspeed2.url=openxava
#jetspeed2.username=demo
#jetspeed2.password=demo

185
properties/xava.properties Normal file
View File

@@ -0,0 +1,185 @@
# Look at OpenXavaTest/properties/xava.properties for more options
# Please note that the list of commented entries at the end of this file includes
# ALL of the possible options, including those listed in OpenXavaTest and others not listed elsewhere.
#
readOnlyAsLabel=false
i18nWarnings=true
showCountInList=true
maxSizeForTextEditor=80
csvSeparator=;
detailOnBottomInCollections=false
failOnAnnotationMisuse=true
emailAsUserNameInPortal=false
buttonsForNoImageActions=false
toUpperForStringArgumentsInConditions=true
showFilterByDefaultInList=true
mapFacadeAutoCommit=false
#portletLocales=en,es,ca,fr
# Visual style
# styleCSS=terra.css
# styleCSS=light.css
# styleCSS=dark.css
# styleCSS=black-and-white.css
# styleCSS=blue.css
# To do small modification over the current style just add your css rules to custom.css in web/xava/style
# To create a completely new style: https://www.openxava.org/OpenXavaDoc/docs/custom-style_en.html
# If you remove all themes the theme chooser is disabled
themes=terra.css, light.css, dark.css, black-and-white.css, blue.css
#SMTP related information
smtpHost=Host
smtpPort=25
smtpUserId=user
smtpUserPassword=password
smtpHostTrusted=false
smtpStartTLSEnable=false
# LOGGING LEVEL FOR OpenXava AND OpenXava APPLICATIONS
# Possibles values are: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF
# This affects only if Java logging is used (usually in Tomcat and WebSphere).
# It does not affect log4j configuration (usually in JBoss or if you use log4j in your app).
# Default value is INFO
javaLoggingLevel=FINE
# LOGGING LEVEL FOR HIBERNATE ENGINE
# Possibles values are: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF
# Default value is INFO
#hibernateJavaLoggingLevel=FINEST
# help
#helpAvailable=false
#helpInNewWindow=false
# if 'helpPrefix' and 'helpSuffix' are not defined by default, they have 'http://www.openxava.org/OpenXavaDoc/docs/help_' and '.html'
#
# if the help is inside of our project
#helpSuffix=.html
#inside portal
#helpPrefix=xava/help/
#out of portal
#helpPrefix=help/
#
# if the help is out of our project start the URL with http: or https:
#helpPrefix=http://openxavatest.wikispaces.com/
#helpSuffix=
#
# If you want to add the language as suffix (en, es, fr, etc.) end the URL with _
# helpPrefix=http://openxavatest.wikispaces.com/help_
########################################################################################################################################
# List of all possible options for xava.properties
# Uncomment to enable, but understand what you are doing!
#
# Entries are listed under their respective category, then each entry is listed.
#
# Category - Email
# Property Description Default (if applicable)
# emailAsUserNameInPortal false
# smtpHost Host for sending mail through SMTP provider
# smtpHostTrusted If true a mail server with an expired certificate can be used false
# smtpPort Port to use for sending mail through a SMTP provider
# smtpUserId User id for connecting to mail SMTP provider
# smtpUserPassword User password for connecting to the SMTP server
# Category - Persistence
# Property Description Default (if applicable)
# defaultPersistenceUnit Persistence unit to be used as default default
# mapFacadeAsEJB false
# mapFacadeAutoCommit false
#
# Labels, Messages and Locales
# i18nWarnings false
# portletLocales Locales for portlet generation and deployment bg, ca, de, en, es, fr, in, it, ja, ko, nl, pl, pt, ru, sv, zh
#
# Application and Controllers
# defaultLabelFormat Possibles values for defaultLabelFormat are: NORMAL
# NORMAL, SMALL and NO_LABEL
# defaultLabelStyle Pre-defined: bold-label, italic-label default (???)
# defaultModeController Possibles values for defaultModeController are: Mode
# Mode, DetailList, DetailOnly, ListOnly and SplitOnly. Also, you can name your
# own custom controllers. If not specified, the default mode controller
# associated to the style is used.
# duplicateComponentWarnings On encountering duplicate components like true
# controllers or modules, warning messages are written to the log
# failOnAnnotationMisuse Throws error if properties, references or collections true
# have non-applicable annotations.
# generateDefaultModules If true it is not required to define modules in true
# application.xml, OX generates the modules' information automatically
#
# Views and Layouts
# alignedByColumns If true all properties within views are displayed aligned false
# by column same as using # on all views.
# buttonsForNoImageActions If true when an action has no image it uses a button false
# for display it, else it uses a link.
# maxSizeForTextEditor On large text (String) properties limits the display size 100
# to this value
# readOnlyAsLabel ???? false
# showLabelsForToolBarActions If false the toolbar shows only the action images, true
# no text is displayed
# useIconsInsteadOfImages When both icon and image are defined for an action, true
# the icon will be used
# flowLayout If true adjusts the fields layout to the size of the page, false
# ignoring the , ; # used in @View
# showDefaultActionInBottom If true the default action is shown as the first true
# action in bottom, even if it is already in top buttom bar
#
# Lists and Collections
# customizeList If false, list customization is disallowed true
# detailOnBottomInCollections false
# ignoreAccentsForStringArgumentsInConditions If true it ignores accents to false
# string arguments for conditions in list and collections
# pageRowCount Default number of objects to show in lists and collections 10
# resizeColumns If false, columns resizing is disabled false
# saveAndStayForCollections If false, the save and stay button is hidden when true
# adding elements to collections
# showCountInList Displays the number of items at the bottom of the list true
# showIconForViewReadOnly true
# showFilterByDefaultInList If true filter is shown by default for list on init. true
# The user always has the option to show or hide the filter
# summationInList If true, summary rows are shown at bottom of lists, under true
# numerical columns. Users can manually turn on or off the totals at each column
# tabAsEJB false
# toUpperForStringArgumentsInConditions If true upper case conversions are applied true
# to string arguments for conditions in list and collections. If true, also
# searching using list or collections are more flexible (the user can use
# indistinctly upper or lower case) but can be slower in some databases
# (because they cannot use index)
# filterOnChange Filtering is done automatically when an option of a combo true
# is chosen, without clicking on filter button
#
# Help
# helpAvailable If true an icon to go to help is shown in the module false
# helpInNewWindow If true the help page is opened in a new window, if false, true
# the help page is opened in the current window
# helpPrefix Help prefix for the help URL generation
# helpSuffix Help suffix for the help URL generation
#
# FILE Stereotype
# filePersistorClass Defines which class provides the storing of attachments. org.openxava.web.editors.FileSystemPersistor
# filesPath File storage directory, if no database is used.
#
# Reporting
# reportParametersProviderClass Class that provides the report parameters org.openxava.util.DefaultReportParametersProvider
#
# Miscellaneous
# csvEncoding Because it's impossible to obtain the client encoding, that used by Excel to open the file. UTF-8, ISO-8859-1
# csvSeparator ;
# hibernateJavaLoggingLevel Logging level for hibernate. Valid values are: INFO
# SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF
# javaLoggingLevel Logging level for java. Valid values are: INFO
# SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF
# componentParsersClasses List of comma separated classes used for parsing the org.openxava.component.parse.XMLComponentParser, org.openxava.component.parse.AnnotatedClassParser
# components, they must implement org.openxava.component.parse.IComponentParser
#
# For email notifications
#accessTrackerProvidersClasses=org.openxava.util.EmailNotificationsAccessTrackerProvider
#
# For log access tracking
#accessTrackerProvidersClasses=org.openxava.util.LogAccessTrackerProvider
#
# For email notifications and log access tracking
#accessTrackerProvidersClasses=org.openxava.util.EmailNotificationsAccessTrackerProvider,org.openxava.util.LogAccessTrackerProvider

17
src/_run/DBManager.java Normal file
View File

@@ -0,0 +1,17 @@
package _run;
import org.openxava.util.*;
/**
* Execute this class to start a manager for you development database.
*
* With Eclipse: Right mouse button > Run As > Java Application
*/
public class DBManager {
public static void main(String[] args) {
DBServer.runManager();
}
}

View File

@@ -0,0 +1,18 @@
package _run;
import org.openxava.util.*;
/**
* Execute this class to start the application.
*
* With Eclipse: Right mouse button > Run As > Java Application
*/
public class _Run_Babydatenbank {
public static void main(String[] args) throws Exception {
DBServer.start("BabydatenbankDB"); // To use your own database comment this line and configure web/META-INF/context.xml
AppServer.run("Babydatenbank"); // Use AppServer.run("") to run in root context
}
}

View File

@@ -0,0 +1,197 @@
package com.yourcompany.babydatenbank.model;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import org.openxava.annotations.*;
import java.math.BigDecimal;
import java.time.*;
@Entity
@View(members=
"name;" +
"photo;"+
"#category, pattern;"+
"#brand, size;"+
"buyAndSell[condition;"+
"#originalPrice, buyPrice, sellPrice;"+
"#buyDate, sellDate];" +
"remarks"
)
public class Article {
@Id
@Hidden
@GeneratedValue(generator="system-uuid") // Universally Unique Identifier (1)
@GenericGenerator(name="system-uuid", strategy = "uuid")
@Column(length=32)
private String oid;
@Column(length=32)
private String name;
@Stereotype("IMAGE")
@Column(length=83886080)
private byte[] photo;
@ManyToOne(fetch=FetchType.LAZY, optional=true)
@NoModify
@DescriptionsList
private Size size;
@ManyToOne(fetch=FetchType.LAZY, optional=true)
@NoModify
@DescriptionsList
private Pattern pattern;
@ManyToOne(fetch=FetchType.LAZY, optional=true)
@NoModify
@DescriptionsList
private Category category;
@ManyToOne(fetch=FetchType.LAZY, optional=true)
@NoModify
@DescriptionsList
private Brand brand;
@ManyToOne(fetch=FetchType.LAZY, optional=true)
@NoCreate
@NoModify
@DescriptionsList(order="${number} ASC")
private Condition condition;
@Stereotype("MONEY")
@Column(length=8)
private BigDecimal buyPrice;
@Stereotype("MONEY")
@Column(length=8)
private BigDecimal originalPrice;
@Stereotype("MONEY")
@Column(length=8)
private BigDecimal sellPrice;
@Stereotype("MEMO")
private String remarks;
@Stereotype("DATE")
private LocalDate buyDate;
@Stereotype("DATE")
private LocalDate sellDate;
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public byte[] getPhoto() {
return photo;
}
public void setPhoto(byte[] photo) {
this.photo = photo;
}
public Size getSize() {
return size;
}
public void setSize(Size size) {
this.size = size;
}
public Pattern getPattern() {
return pattern;
}
public void setPattern(Pattern pattern) {
this.pattern = pattern;
}
public BigDecimal getBuyPrice() {
return buyPrice;
}
public void setBuyPrice(BigDecimal buyPrice) {
this.buyPrice = buyPrice;
}
public BigDecimal getOriginalPrice() {
return originalPrice;
}
public void setOriginalPrice(BigDecimal originalPrice) {
this.originalPrice = originalPrice;
}
public BigDecimal getSellPrice() {
return sellPrice;
}
public void setSellPrice(BigDecimal sellPrice) {
this.sellPrice = sellPrice;
}
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Category getCategory() {
return category;
}
public void setCategory(Category category) {
this.category = category;
}
public Brand getBrand() {
return brand;
}
public void setBrand(Brand brand) {
this.brand = brand;
}
public Condition getCondition() {
return condition;
}
public void setCondition(Condition condition) {
this.condition = condition;
}
public LocalDate getBuyDate() {
return buyDate;
}
public void setBuyDate(LocalDate buyDate) {
this.buyDate = buyDate;
}
public LocalDate getSellDate() {
return sellDate;
}
public void setSellDate(LocalDate sellDate) {
this.sellDate = sellDate;
}
}

View File

@@ -0,0 +1,36 @@
package com.yourcompany.babydatenbank.model;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import org.openxava.annotations.*;
@Entity
public class Brand {
@Id
@Hidden
@GeneratedValue(generator="system-uuid") // Universally Unique Identifier (1)
@GenericGenerator(name="system-uuid", strategy = "uuid")
@Column(length=32)
private String oid;
@Column(length=20)
private String description;
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}

View File

@@ -0,0 +1,37 @@
package com.yourcompany.babydatenbank.model;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import org.openxava.annotations.*;
@Entity
public class Category {
@Id
@Hidden
@GeneratedValue(generator="system-uuid")
@GenericGenerator(name="system-uuid", strategy = "uuid")
@Column(length=32)
private String oid;
@Column(length=20)
private String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
}

View File

@@ -0,0 +1,46 @@
package com.yourcompany.babydatenbank.model;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import org.openxava.annotations.*;
@Entity
public class Condition {
@Id
@Hidden
@GeneratedValue(generator="system-uuid") // Universally Unique Identifier (1)
@GenericGenerator(name="system-uuid", strategy = "uuid")
@Column(length=32)
private String oid;
@Column(length=4)
private int number;
@Column(length=32)
private String description;
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public int getNumber() {
return this.number;
}
public void setNumber(int number) {
this.number = number;
}
}

View File

@@ -0,0 +1,37 @@
package com.yourcompany.babydatenbank.model;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import org.openxava.annotations.*;
@Entity
public class Pattern {
@Id
@Hidden
@GeneratedValue(generator="system-uuid") // Universally Unique Identifier (1)
@GenericGenerator(name="system-uuid", strategy = "uuid")
@Column(length=32)
private String oid;
@Column(length=20)
private String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
}

View File

@@ -0,0 +1,37 @@
package com.yourcompany.babydatenbank.model;
import javax.persistence.*;
import org.openxava.annotations.*;
import org.hibernate.annotations.GenericGenerator;
@Entity
public class Size {
@Id
@Hidden
@GeneratedValue(generator="system-uuid") // Universally Unique Identifier (1)
@GenericGenerator(name="system-uuid", strategy = "uuid")
@Column(length=32)
private String oid;
@Column(length=20)
private String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
}

BIN
temp/.DS_Store vendored Normal file

Binary file not shown.

BIN
temp/work/.DS_Store vendored Normal file

Binary file not shown.

BIN
temp/work/Tomcat/.DS_Store vendored Normal file

Binary file not shown.

BIN
temp/work/Tomcat/localhost/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,179 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:36 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.openxava.naviox.util.Organizations;
import org.openxava.web.Browsers;
import org.openxava.util.Users;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("com.openxava.naviox.util.Organizations");
_jspx_imports_classes.add("org.openxava.web.Browsers");
_jspx_imports_classes.add("org.openxava.util.Users");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write(" \n");
out.write("\n");
out.write("\n");
out.write("\n");
com.openxava.naviox.Modules modules = null;
synchronized (session) {
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (modules == null){
modules = new com.openxava.naviox.Modules();
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
out.write('\n');
Users.setCurrent(request);
if (Users.getCurrent() != null || Organizations.getCurrent(request) != null) {
String module = Users.getCurrent() == null?"SignIn":modules.getCurrent(request);
String url = Browsers.isMobile(request) && !"Index".equals(modules.getCurrent(request))?"phone":"m/" + module;
out.write("\n");
out.write("\n");
out.write("<script type=\"text/javascript\">\n");
out.write("window.location=\"");
out.print(url);
out.write("\";\n");
out.write("</script>\n");
out.write("\n");
}
else {
out.write('\n');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "naviox/welcome.jsp", out, false);
out.write('\n');
}
out.write('\n');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,183 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:50 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class firstSteps_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
out.write("<div id=\"first_steps\">\r\n");
out.write("\t<i class=\"mdi mdi-reply\"></i>\r\n");
out.write("\t<p>");
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
return;
out.write("</p>\r\n");
out.write("</div>\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /naviox/firstSteps.jsp(5,4) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey("first_steps_prompt");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
return false;
}
}

View File

@@ -0,0 +1,458 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:42 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.web.servlets.Servlets;
import org.openxava.util.Locales;
import org.openxava.util.XavaPreferences;
import org.openxava.web.style.XavaStyle;
import org.openxava.web.style.Themes;
import com.openxava.naviox.util.Organizations;
import org.openxava.util.Users;
import com.openxava.naviox.util.NaviOXPreferences;
import org.openxava.util.Is;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/naviox/indexExt.jsp", Long.valueOf(1590428778392L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("com.openxava.naviox.util.NaviOXPreferences");
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
_jspx_imports_classes.add("org.openxava.web.style.XavaStyle");
_jspx_imports_classes.add("org.openxava.web.style.Themes");
_jspx_imports_classes.add("com.openxava.naviox.util.Organizations");
_jspx_imports_classes.add("org.openxava.util.Users");
_jspx_imports_classes.add("org.openxava.web.servlets.Servlets");
_jspx_imports_classes.add("org.openxava.util.Locales");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
Servlets.setCharacterEncoding(request, response);
out.write("\r\n");
out.write("\r\n");
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write(" \r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\r');
out.write('\n');
com.openxava.naviox.Modules modules = null;
synchronized (session) {
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (modules == null){
modules = new com.openxava.naviox.Modules();
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write("\r\n");
out.write("\r\n");
String windowId = context.getWindowId(request);
context.setCurrentWindowId(windowId);
String app = request.getParameter("application");
String module = context.getCurrentModule(request);
Locales.setCurrent(request);
modules.setCurrent(request.getParameter("application"), request.getParameter("module"));
String oxVersion = org.openxava.controller.ModuleManager.getVersion();
String title = (String) request.getAttribute("naviox.pageTitle");
if (title == null) title = modules.getCurrentModuleDescription(request);
boolean hasModules = modules.hasModules(request);
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context
.get(app, module, "manager", "org.openxava.controller.ModuleManager");
manager.setSession(session);
manager.setApplicationName(request.getParameter("application"));
manager.setModuleName(module); // In order to show the correct description in head
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html>\r\n");
out.write("\r\n");
out.write("<head>\r\n");
out.write("\t<title>");
out.print(title);
out.write("</title>\r\n");
out.write("\t<link href=\"");
out.print(request.getContextPath());
out.write("/xava/style/layout.css?ox=");
out.print(oxVersion);
out.write("\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write(" <link href=\"");
out.print(request.getContextPath());
out.write("/xava/style/");
out.print(Themes.getCSS(request));
out.write("?ox=");
out.print(oxVersion);
out.write("\" rel=\"stylesheet\" type=\"text/css\"> \r\n");
out.write("\t<link rel=\"stylesheet\" href=\"");
out.print(request.getContextPath());
out.write("/xava/style/materialdesignicons.css?ox=");
out.print(oxVersion);
out.write("\">\r\n");
out.write("\t<script type='text/javascript' src='");
out.print(request.getContextPath());
out.write("/xava/js/dwr-engine.js?ox=");
out.print(oxVersion);
out.write("'></script>\r\n");
out.write("\t<script type='text/javascript' src='");
out.print(request.getContextPath());
out.write("/dwr/interface/Modules.js?ox=");
out.print(oxVersion);
out.write("'></script>\r\n");
out.write("\t<script type='text/javascript' src='");
out.print(request.getContextPath());
out.write("/dwr/interface/Folders.js?ox=");
out.print(oxVersion);
out.write("'></script>\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body ");
out.print(XavaStyle.getBodyClass(request));
out.write(">\r\n");
out.write("\t\r\n");
out.write("\t<div id=\"main\"> \r\n");
out.write("\t\t\t\t\r\n");
out.write("\t\t");
if (hasModules) {
out.write("\r\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "leftMenu.jsp", out, false);
out.write("\r\n");
out.write("\t\t");
}
out.write("\r\n");
out.write("\t\t\r\n");
out.write("\t\t<div class=\"module-wrapper\">\r\n");
out.write("\t\t\t<div id=\"module_header\">\r\n");
out.write("\t\t\t\t");
String moduleTitle = hasModules?modules.getCurrentModuleLabel():modules.getCurrentModuleDescription(request);
out.write("\r\n");
out.write("\t\t\t\t<span id=\"module_title\">");
out.print(moduleTitle);
out.write("</span> \r\n");
out.write("\t\t\t\t<a href=\"javascript:naviox.bookmark()\" title=\"");
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /naviox/index.jsp(60,50) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey(modules.isCurrentBookmarked(request)?"unbookmark_module":"bookmark_module");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
out.write("\"> \r\n");
out.write("\t\t\t\t\t<i id=\"bookmark\" class='mdi mdi-star");
out.print(modules.isCurrentBookmarked(request)?"":"-outline");
out.write("'></i> \r\n");
out.write("\t\t\t\t</a>\r\n");
out.write("\t\t\t\t<div id=\"sign_in_out\">\r\n");
out.write("\t\t\t\t\t");
if (Is.emptyString(NaviOXPreferences.getInstance().getAutologinUser())) {
String userName = Users.getCurrent();
String currentModule = request.getParameter("module");
boolean showSignIn = userName == null && !currentModule.equals("SignIn");
if (showSignIn) {
String selected = "SignIn".equals(currentModule)?"selected":"";
out.write("\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(request.getContextPath());
out.write("/m/SignIn\" class=\"sign-in ");
out.print(selected);
out.write("\">\r\n");
out.write("\t\t\t\t\t\t\t");
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t\t\t</a>\r\n");
out.write("\t\t\t\t\t");
}
if (userName != null) {
String organization = Organizations.getCurrent(request);
if (organization == null) organization = "";
out.write("\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(request.getContextPath());
out.write("/naviox/signOut.jsp?organization=");
out.print(organization);
out.write("\" class=\"sign-in\">");
if (_jspx_meth_xava_005fmessage_005f2(_jspx_page_context))
return;
out.write(' ');
out.write('(');
out.print(userName);
out.write(")</a>\r\n");
out.write("\t\t\t\t\t");
}
}
out.write("\r\n");
out.write("\t\t\t\t</div>\r\n");
out.write("\t\t\t</div>\t\t\t\t\r\n");
out.write("\t\t\t");
if ("SignIn".equals(module)) {
out.write("\r\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "signIn.jsp", out, false);
out.write("\r\n");
out.write("\t\t\t");
} else {
out.write("\r\n");
out.write("\t\t\t<div id=\"module\"> \t\r\n");
out.write("\t\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../xava/module.jsp?application=" + app + "&module=" + module + "&htmlHead=false", out, false);
out.write("\r\n");
out.write("\t\t\t</div> \r\n");
out.write("\t\t\t");
}
out.write("\r\n");
out.write("\t\t</div>\r\n");
out.write("\t\t\r\n");
out.write("\t</div> \r\n");
out.write("\t\r\n");
out.write("\t");
out.write("\r\n");
out.write("\r\n");
out.write("\t<script type='text/javascript' src='");
out.print(request.getContextPath());
out.write("/naviox/js/naviox.js?ox=");
out.print(oxVersion);
out.write("'></script> \r\n");
out.write("\t\r\n");
out.write("\t<script>\r\n");
out.write("\t$(function() {\r\n");
out.write("\t\tnaviox.lockSessionMilliseconds = ");
out.print(com.openxava.naviox.model.Configuration.getInstance().getLockSessionMilliseconds());
out.write("; \r\n");
out.write("\t\tnaviox.application = \"");
out.print(app);
out.write("\";\r\n");
out.write("\t\tnaviox.module = \"");
out.print(module);
out.write("\";\r\n");
out.write("\t\tnaviox.locked = ");
out.print(context.get(request, "naviox_locked"));
out.write(";\r\n");
out.write("\t\tnaviox.init();\r\n");
out.write("\t});\r\n");
out.write("\t</script>\r\n");
out.write("\t\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
try {
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f1.setParent(null);
// /naviox/index.jsp(74,7) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f1.setKey("signin");
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
_jspx_th_xava_005fmessage_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
try {
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f2.setParent(null);
// /naviox/index.jsp(82,112) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f2.setKey("signout");
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
_jspx_th_xava_005fmessage_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
}
return false;
}
}

View File

@@ -0,0 +1,302 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:49 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.util.Users;
public final class leftMenu_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("/naviox/organizationNameExt.jsp", Long.valueOf(1590428776669L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.util.Users");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
com.openxava.naviox.Modules modules = null;
synchronized (session) {
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (modules == null){
modules = new com.openxava.naviox.Modules();
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write("\r\n");
out.write("\r\n");
out.write("<div id=\"modules_list\"> \r\n");
out.write("\r\n");
out.write("\t<div id=\"modules_list_top\"> \r\n");
out.write("\r\n");
out.write("\t\t<div id=\"application_title\">\r\n");
out.write("\t\t\r\n");
out.write("\t\t\t<div id=\"application_name\">\r\n");
out.write("\t\t\t\t");
out.print(modules.getApplicationLabel(request));
out.write("\r\n");
out.write("\t\t\t</div>\r\n");
out.write("\t\t\r\n");
out.write("\t\t\t<div id=\"organization_name\">\r\n");
out.write("\t\t\t\t");
String organizationName = modules.getOrganizationName(request);
out.write("\r\n");
out.write("\t\t\t\t");
out.print(organizationName);
out.write("\r\n");
out.write("\t\t\t\t");
out.write("\r\n");
out.write("\t\t\t</div>\r\n");
out.write("\t\t\r\n");
out.write("\t\t</div>\r\n");
out.write("\t\t\r\n");
out.write("\t\t");
if (Users.getCurrent() != null && modules.showsIndexLink()) {
out.write("\r\n");
out.write("\t\t\t \r\n");
out.write("\t\t\t<a href=\"");
out.print(request.getContextPath());
out.write("/m/Index\">\r\n");
out.write("\t\t\t\t<div id='organizations_index' class='");
out.print("Index".equals(request.getParameter("module"))?"selected":"");
out.write("'>\t\r\n");
out.write("\t\t\t\t\t<i class=\"mdi mdi-apps\"></i>\r\n");
out.write("\t\t\t\t\t");
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t\t</div>\t\r\n");
out.write("\t\t\t</a>\r\n");
out.write("\t\t\t\r\n");
out.write("\t\t");
}
out.write("\r\n");
out.write("\t\r\n");
out.write("\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectModules.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("fixedModules", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()), out, false);
out.write("\r\n");
out.write("\t\t\r\n");
out.write("\t\t\r\n");
out.write("\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectModules.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("bookmarkModules", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("true", request.getCharacterEncoding()), out, false);
out.write("\r\n");
out.write("\t\t\r\n");
out.write("\t\t");
if (modules.showsSearchModules(request)) {
out.write("\r\n");
out.write("\t\t<div id=\"search_modules\">\r\n");
out.write("\t\t<input id=\"search_modules_text\" type=\"text\" size=\"38\" placeholder='");
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
return;
out.write("'/>\r\n");
out.write("\t\t</div>\r\n");
out.write("\t\t");
}
out.write("\r\n");
out.write("\t\t\r\n");
out.write("\t</div> \t\r\n");
out.write("\t\t\t\t\t\t\t\r\n");
out.write("\t<div id=\"modules_list_outbox\">\r\n");
out.write("\t\t<table id=\"modules_list_box\">\r\n");
out.write("\t\t\t<tr id=\"modules_list_content\">\r\n");
out.write("\t\t\t\t<td>\r\n");
out.write("\t\t\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "modulesMenu.jsp", out, false);
out.write("\r\n");
out.write("\t\t\t\t</td>\t\t\t\t\t\t\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t</table>\r\n");
out.write("\t</div>\r\n");
out.write("\r\n");
out.write("</div>\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f0_reused = false;
try {
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f0.setParent(null);
// /naviox/leftMenu.jsp(30,5) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f0.setKey("myOrganizations");
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
_jspx_th_xava_005flabel_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /naviox/leftMenu.jsp(47,69) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey("search_modules");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
return false;
}
}

View File

@@ -0,0 +1,135 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:49 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class modulesList_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectModules.jsp", out, false);
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,152 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:49 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class modulesMenu_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("<div id=\"modules_list_core\">\n");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "modulesList.jsp", out, false);
out.write("\n");
out.write("</div>\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,329 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:49 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.Iterator;
import java.util.Collection;
import org.openxava.util.Is;
import org.openxava.util.Strings;
import org.openxava.application.meta.MetaModule;
public final class selectModules_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("/naviox/getModulesList.jsp", Long.valueOf(1590428777763L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("java.util.Iterator");
_jspx_imports_classes.add("org.openxava.util.Strings");
_jspx_imports_classes.add("java.util.Collection");
_jspx_imports_classes.add("org.openxava.util.Is");
_jspx_imports_classes.add("org.openxava.application.meta.MetaModule");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write(" \n");
out.write("\n");
out.write("\n");
com.openxava.naviox.Modules modules = null;
synchronized (session) {
modules = (com.openxava.naviox.Modules) _jspx_page_context.getAttribute("modules", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (modules == null){
modules = new com.openxava.naviox.Modules();
_jspx_page_context.setAttribute("modules", modules, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
out.write('\n');
String searchWord = request.getParameter("searchWord");
searchWord = searchWord == null?"":Strings.removeAccents(searchWord.toLowerCase());
Collection modulesList = null;
boolean bookmarkModules = false;
out.write('\n');
if ("true".equals(request.getParameter("fixedModules"))) {
modulesList = modules.getFixedModules(request);
}
else if ("true".equals(request.getParameter("bookmarkModules"))) {
modulesList = modules.getBookmarkModules(request);
bookmarkModules = true;
}
else {
modulesList = modules.getRegularModules(request);
}
out.write(' ');
out.write('\n');
String smodulesLimit = request.getParameter("modulesLimit");
int modulesLimit = smodulesLimit == null?30:Integer.parseInt(smodulesLimit);
int counter = 0;
boolean loadMore = false;
for (Iterator it= modulesList.iterator(); it.hasNext();) {
if (counter == modulesLimit) {
loadMore = true;
break;
}
MetaModule module = (MetaModule) it.next();
String selected = module.getName().equals(modules.getCurrent(request))?"selected":"";
String label = module.getLabel(request.getLocale());
String description = module.getDescription(request.getLocale());
String normalizedLabel = Strings.removeAccents(label.toLowerCase());
String normalizedDescription = Strings.removeAccents(description.toLowerCase());
if (!Is.emptyString(searchWord) && !normalizedLabel.contains(searchWord) && !normalizedDescription.contains(searchWord)) continue;
counter++;
out.write("\n");
out.write("\t<a href=\"");
out.print(modules.getModuleURI(request, module));
out.write("?init=true\" title=\"");
out.print(description);
out.write('"');
out.write('>');
out.write(' ');
out.write("\n");
out.write("\t<div id=\"");
out.print(module.getName());
out.write("_module\" class=\"module-row ");
out.print(selected);
out.write("\" onclick=\"$('#");
out.print(module.getName());
out.write("_loading').show()\">\t\n");
out.write("\t\t<div class=\"module-name\">\n");
out.write("\t\t\t");
out.print(label);
out.write("\n");
out.write("\t\t\t");
if (bookmarkModules) {
out.write("\n");
out.write("\t\t\t<i class=\"mdi mdi-star bookmark-decoration\"></i>\n");
out.write("\t\t\t");
}
out.write("\n");
out.write("\t\t\t<i id=\"");
out.print(module.getName());
out.write("_loading\" class=\"mdi mdi-autorenew module-loading spin\" style=\"float: right; display:none;\"></i>\n");
out.write("\t\t</div>\n");
out.write("\t</div>\t\n");
out.write("\t</a>\n");
out.write("\t\n");
}
if (loadMore) {
out.write("\n");
out.write("\t<a href=\"javascript:naviox.displayAllModulesList('");
out.print(searchWord);
out.write("')\">\n");
out.write("\t<div id=\"more_modules\" class=\"module-row\" onclick=\"$('#loading_more_modules').show(); $('#load_more_modules').hide();\">\n");
out.write("\t<span id=\"loading_more_modules\" style=\"display:none;\">\n");
out.write("\t");
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
return;
out.write("...\n");
out.write("\t<i class=\"mdi mdi-autorenew module-loading spin\" style=\"float: right;\"></i>\n");
out.write("\t</span>\n");
out.write("\t<span id=\"load_more_modules\">\n");
out.write("\t");
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
return;
out.write("...\n");
out.write("\t</span>\t\n");
out.write("\t</div>\t\n");
out.write("\t</a>\n");
}
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /naviox/selectModules.jsp(57,1) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey("loading");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
try {
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f1.setParent(null);
// /naviox/selectModules.jsp(61,1) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f1.setKey("load_more_modules");
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
_jspx_th_xava_005fmessage_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
}
return false;
}
}

View File

@@ -0,0 +1,144 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:42 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class signIn_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
String app = request.getParameter("application");
out.write("\r\n");
out.write("<div id=\"sign_in_box\">\r\n");
out.write("\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../xava/module.jsp?application=" + app + "&module=SignIn", out, false);
out.write("\r\n");
out.write("</div>\r\n");
out.write("\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,315 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:37 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.naviox;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.application.meta.MetaApplications;
import org.openxava.application.meta.MetaApplication;
import org.openxava.util.Locales;
import org.openxava.web.style.XavaStyle;
import org.openxava.util.XavaPreferences;
import org.openxava.web.Browsers;
public final class welcome_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/naviox/../xava/imports.jsp", Long.valueOf(1590428780661L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
_jspx_imports_classes.add("org.openxava.application.meta.MetaApplications");
_jspx_imports_classes.add("org.openxava.web.style.XavaStyle");
_jspx_imports_classes.add("org.openxava.application.meta.MetaApplication");
_jspx_imports_classes.add("org.openxava.web.Browsers");
_jspx_imports_classes.add("org.openxava.util.Locales");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write(" \r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
MetaApplication metaApplication = MetaApplications.getMainMetaApplication();
Locales.setCurrent(request);
String oxVersion = org.openxava.controller.ModuleManager.getVersion();
String title = (String) request.getAttribute("naviox.pageTitle");
if (title == null) title = metaApplication.getLabel();
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html>\r\n");
out.write("\r\n");
out.write("<head>\r\n");
out.write("\t<title>");
out.print(title);
out.write("</title>\r\n");
out.write("\t<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1'>\r\n");
out.write("\t<link href=\"");
out.print(request.getContextPath());
out.write("/xava/style/");
out.print(XavaPreferences.getInstance().getStyleCSS());
out.write("?ox=");
out.print(oxVersion);
out.write("\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("\t");
if (Browsers.isIE(request)) {
out.write("\r\n");
out.write("\t<script type='text/javascript' src=\"");
out.print(request.getContextPath());
out.write("/xava/js/css-vars-ponyfill.js?ox=");
out.print(oxVersion);
out.write("\"></script>\r\n");
out.write("\t<script type='text/javascript'>cssVars({ }); </script>\t\r\n");
out.write("\t");
}
out.write("\r\n");
out.write("\t\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body id=\"welcome\" ");
out.print(XavaStyle.getBodyClass(request));
out.write(">\r\n");
out.write("\r\n");
out.write("<h1>");
out.print(metaApplication.getLabel());
out.write("</h1>\r\n");
out.write("<p>");
out.print(metaApplication.getDescription());
out.write("</p>\r\n");
out.write("<p>");
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
return;
out.write("</p> \r\n");
out.write("<p id=\"signin_tip\">");
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
return;
out.write("</p> \r\n");
out.write("\r\n");
out.write("<div class=\"ox-bottom-buttons\">\r\n");
out.write("\t<input type=\"hidden\">\r\n");
out.write("\t<input type=\"button\" tabindex=\"1\" onclick=\"window.location='m/SignIn'\" value=\"");
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
return;
out.write("\"> \r\n");
out.write("</div>\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /naviox/welcome.jsp(44,3) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey("welcome_point1");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
try {
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f1.setParent(null);
// /naviox/welcome.jsp(45,19) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f1.setKey("signin_tip");
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
_jspx_th_xava_005fmessage_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f0_reused = false;
try {
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f0.setParent(null);
// /naviox/welcome.jsp(49,79) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f0.setKey("SignIn");
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
_jspx_th_xava_005flabel_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
}
return false;
}
}

View File

@@ -0,0 +1,303 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:55 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.util.XavaPreferences;
import org.openxava.util.Is;
import org.openxava.controller.meta.MetaControllers;
import org.openxava.controller.meta.MetaAction;
public final class barButton_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
_jspx_imports_classes.add("org.openxava.controller.meta.MetaControllers");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
boolean showImages = style.isShowImageInButtonBarButton();
boolean showIcons = style.isUseIconsInsteadOfImages();
boolean showLabels = !showImages?true:XavaPreferences.getInstance().isShowLabelsForToolBarActions();
String actionName = request.getParameter("action");
String addSpaceWithoutImage = request.getParameter("addSpaceWithoutImage");
boolean addSpace = "true".equals(addSpaceWithoutImage);
if (!Is.emptyString(actionName)) {
MetaAction action = MetaControllers.getMetaAction(request.getParameter("action"));
String argv = request.getParameter("argv");
String label = action.getLabel(request);
out.write('\n');
out.write('\n');
out.write(' ');
if (style.isUseStandardImageActionForOnlyImageActionOnButtonBar() && action.hasImage() && Is.emptyString(label)) {
out.write('\n');
// xava:image
org.openxava.web.taglib.ImageTag _jspx_th_xava_005fimage_005f0 = (org.openxava.web.taglib.ImageTag) _005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ImageTag.class);
boolean _jspx_th_xava_005fimage_005f0_reused = false;
try {
_jspx_th_xava_005fimage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fimage_005f0.setParent(null);
// /xava/barButton.jsp(24,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fimage_005f0.setAction(action.getQualifiedName());
// /xava/barButton.jsp(24,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fimage_005f0.setArgv(argv );
// /xava/barButton.jsp(24,0) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fimage_005f0.setCssClass(style.getButtonBarImage());
int _jspx_eval_xava_005fimage_005f0 = _jspx_th_xava_005fimage_005f0.doStartTag();
if (_jspx_th_xava_005fimage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fimage_0026_005fcssClass_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005fimage_005f0);
_jspx_th_xava_005fimage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fimage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fimage_005f0_reused);
}
out.write(' ');
out.write('\n');
out.write(' ');
} else {
out.write("\t\t\n");
out.write("<span class=\"");
out.print(style.getButtonBarButton());
out.write("\">\t\n");
// xava:link
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction.get(org.openxava.web.taglib.LinkTag.class);
boolean _jspx_th_xava_005flink_005f0_reused = false;
try {
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005flink_005f0.setParent(null);
// /xava/barButton.jsp(27,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setAction(action.getQualifiedName());
// /xava/barButton.jsp(27,0) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setArgv(argv );
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
if (_jspx_eval_xava_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write('\n');
out.write(' ');
out.write(' ');
boolean showLabel = (showLabels || !action.hasImage()) && !Is.emptyString(label);
boolean showImage = showImages && action.hasImage() || action.hasImage() && Is.emptyString(label);
boolean showIcon = action.hasIcon() && (showImages && (showIcons || !action.hasImage()) || Is.emptyString(label) && (showIcons || !action.hasImage()));
out.write('\n');
out.write(' ');
out.write(' ');
if (showIcon) {
out.write("\n");
out.write("\t\t<i class=\"mdi mdi-");
out.print(action.getIcon());
out.write("\"></i>\n");
out.write("\t\t");
} else if (showImage) {
out.write("\n");
out.write("\t\t<span style=\"background: url(");
out.print(request.getContextPath());
out.write('/');
out.print(style.getImagesFolder());
out.write('/');
out.print(action.getImage());
out.write(") no-repeat 5px 50%;\">\n");
out.write("\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n");
out.write("\t\t</span>\t\t\n");
out.write("\t\t");
} else if(addSpace) {
out.write("\n");
out.write("\t\t<span>\n");
out.write("\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n");
out.write("\t\t</span>\n");
out.write("\t\t");
}
if (showLabel) {
out.write("\t\t\t \t\t\t\t \t\t\t\n");
out.write("\t\t");
out.print(label);
out.write('\n');
out.write(' ');
out.write(' ');
}
out.write("\t\t\n");
out.write("\t");
int evalDoAfterBody = _jspx_th_xava_005flink_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005flink_0026_005fargv_005faction.reuse(_jspx_th_xava_005flink_005f0);
_jspx_th_xava_005flink_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
}
out.write('\n');
out.write(' ');
}
out.write("\t\n");
out.write("</span>\n");
}
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,274 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:46 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.controller.meta.MetaAction;
public final class bottomButtons_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
out.write('\n');
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager", "org.openxava.controller.ModuleManager");
manager.setSession(session);
if (manager.isBottomButtonsVisible()) {
boolean buttonBar = !"false".equalsIgnoreCase(request.getParameter("buttonBar"));
String mode = request.getParameter("xava_mode");
if (mode == null) mode = manager.getModeName();
String defaultAction = null;
if (org.openxava.util.XavaPreferences.getInstance().isShowDefaultActionInBottom() && manager.isDetailMode()) {
defaultAction = manager.getDefaultActionQualifiedName();
out.write('\n');
out.write(' ');
// xava:button
org.openxava.web.taglib.ButtonTag _jspx_th_xava_005fbutton_005f0 = (org.openxava.web.taglib.ButtonTag) _005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.get(org.openxava.web.taglib.ButtonTag.class);
boolean _jspx_th_xava_005fbutton_005f0_reused = false;
try {
_jspx_th_xava_005fbutton_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fbutton_005f0.setParent(null);
// /xava/bottomButtons.jsp(20,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fbutton_005f0.setAction(defaultAction);
int _jspx_eval_xava_005fbutton_005f0 = _jspx_th_xava_005fbutton_005f0.doStartTag();
if (_jspx_th_xava_005fbutton_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fbutton_005f0);
_jspx_th_xava_005fbutton_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fbutton_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fbutton_005f0_reused);
}
out.write('\n');
out.write(' ');
}
out.write("\n");
out.write("\t\n");
out.write("\t");
java.util.Iterator it = manager.getMetaActions().iterator();
while (it.hasNext()) {
MetaAction action = (MetaAction) it.next();
if (!manager.actionApplies(action)) continue;
if (action.getQualifiedName().equals(defaultAction)) continue;
if (action.appliesToMode(mode) && (!buttonBar || !(action.hasImage() || action.hasIcon()))) {
out.write('\n');
out.write(' ');
out.write(' ');
// xava:button
org.openxava.web.taglib.ButtonTag _jspx_th_xava_005fbutton_005f1 = (org.openxava.web.taglib.ButtonTag) _005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.get(org.openxava.web.taglib.ButtonTag.class);
boolean _jspx_th_xava_005fbutton_005f1_reused = false;
try {
_jspx_th_xava_005fbutton_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fbutton_005f1.setParent(null);
// /xava/bottomButtons.jsp(33,2) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fbutton_005f1.setAction(action.getQualifiedName());
int _jspx_eval_xava_005fbutton_005f1 = _jspx_th_xava_005fbutton_005f1.doStartTag();
if (_jspx_th_xava_005fbutton_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fbutton_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fbutton_005f1);
_jspx_th_xava_005fbutton_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fbutton_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fbutton_005f1_reused);
}
out.write('\n');
out.write(' ');
out.write(' ');
}
}
out.write("\n");
out.write("\t\n");
out.write("\t");
MetaAction defaultMetaAction = manager.getDefaultMetaAction();
if (defaultMetaAction != null) {
out.write("\n");
out.write("\t<button name=\"xava.DEFAULT_ACTION\" type=\"submit\" \n");
out.write("\t\tonclick=\"openxava.executeAction('");
out.print(request.getParameter("application"));
out.write("', '");
out.print(request.getParameter("module"));
out.write("', '");
out.print(defaultMetaAction.getConfirmMessage(request));
out.write('\'');
out.write(',');
out.write(' ');
out.print(defaultMetaAction.isConfirm());
out.write(',');
out.write(' ');
out.write('\'');
out.print(manager.getDefaultActionQualifiedName());
out.write("')\"\n");
out.write("\t\tstyle=\"padding: 0; border: none; background-color:transparent; size: 0\"></button>\n");
out.write("\t");
}
out.write(' ');
out.write('\n');
out.write('\n');
} // if (manager.isBottomButtonsVisible()) {
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,525 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:44 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.controller.meta.MetaAction;
import org.openxava.util.XavaPreferences;
import org.openxava.util.Is;
import org.openxava.controller.meta.MetaSubcontroller;
import java.util.Collection;
import org.openxava.web.Ids;
import org.openxava.util.EmailNotifications;
import org.openxava.controller.meta.MetaControllerElement;
public final class buttonBar_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.controller.meta.MetaAction");
_jspx_imports_classes.add("org.openxava.controller.meta.MetaSubcontroller");
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
_jspx_imports_classes.add("java.util.Collection");
_jspx_imports_classes.add("org.openxava.controller.meta.MetaControllerElement");
_jspx_imports_classes.add("org.openxava.web.Ids");
_jspx_imports_classes.add("org.openxava.util.EmailNotifications");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction.release();
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write(" \n");
out.write("\n");
out.write("\n");
out.write("\n");
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager", "org.openxava.controller.ModuleManager");
manager.setSession(session);
boolean onBottom = false;
String mode = request.getParameter("xava_mode");
if (mode == null) mode = manager.isSplitMode()?"detail":manager.getModeName();
boolean headerButtonBar = !manager.isSplitMode() || mode.equals("list");
boolean listFormats = !manager.isSplitMode() && mode.equals("list");
if (manager.isButtonBarVisible()) {
out.write("\n");
out.write("\t<div class=\"");
out.print(style.getButtonBar());
out.write("\"> \n");
out.write("\t<div id=\"");
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
return;
out.write("\">\n");
out.write("\t<span style=\"float: left\">\n");
out.write("\t");
java.util.Stack previousViews = (java.util.Stack) context.get(request, "xava_previousViews");
if (manager.isDetailMode() && !manager.isDetailModeOnly() && previousViews.isEmpty()) {
out.write('\n');
out.write(' ');
out.write(' ');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "barButton.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("action", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(manager.getGoListAction()), request.getCharacterEncoding()), out, false);
out.write('\n');
out.write(' ');
}
Collection<MetaControllerElement> elements = manager.getMetaControllerElements();
for (MetaControllerElement element : elements){
if (!element.appliesToMode(mode)) continue;
if (element instanceof MetaAction){
MetaAction action = (MetaAction) element;
if (!manager.actionApplies(action)) continue;
if (action.hasImage() || action.hasIcon()) {
out.write("\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "barButton.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("action", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(action.getQualifiedName()), request.getCharacterEncoding()), out, false);
out.write("\t\t\n");
out.write("\t\t\t");
}
}
else if (element instanceof MetaSubcontroller){
MetaSubcontroller subcontroller = (MetaSubcontroller) element;
if (subcontroller.hasActionsInThisMode(mode)){
out.write("\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "subButton.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("controller", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(subcontroller.getControllerName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("image", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(subcontroller.getImage()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("icon", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(subcontroller.getIcon()), request.getCharacterEncoding()), out, false);
out.write("\n");
out.write("\t\t\t");
}
}
}
out.write("\n");
out.write("\t</span>\n");
out.write("\t</div>\n");
out.write("\n");
out.write("\t<div id=\"");
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
return;
out.write("\">\n");
out.write("\t<span style=\"float: right\">\n");
out.write("\t<span style=\"float: left;\" class=\"");
out.print(style.getListFormats());
out.write("\">\n");
out.write("\t");
if (listFormats) {
String tabObject = request.getParameter("tabObject");
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, tabObject);
Collection<String> editors = org.openxava.web.WebEditors.getEditors(tab.getMetaTab());
if (editors.size() > 1) for (String editor: editors) {
String icon = org.openxava.web.WebEditors.getIcon(editor);
if (icon == null) continue;
String selected = editor.equals(tab.getEditor())?style.getSelectedListFormat():"";
if (Is.emptyString(editor)) editor = "__NONAME__";
out.write('\n');
out.write(' ');
// xava:link
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction.get(org.openxava.web.taglib.LinkTag.class);
boolean _jspx_th_xava_005flink_005f0_reused = false;
try {
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005flink_005f0.setParent(null);
// /xava/buttonBar.jsp(86,1) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setAction("ListFormat.select");
// /xava/buttonBar.jsp(86,1) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setArgv("editor=" + editor);
// /xava/buttonBar.jsp(86,1) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setCssClass(selected);
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
if (_jspx_eval_xava_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t<i class=\"mdi mdi-");
out.print(icon);
out.write("\" onclick=\"openxava.onSelectListFormat(event)\" title=\"");
out.print(org.openxava.util.Labels.get(editor));
out.write("\"></i>\n");
out.write("\t");
int evalDoAfterBody = _jspx_th_xava_005flink_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssClass_005fargv_005faction.reuse(_jspx_th_xava_005flink_005f0);
_jspx_th_xava_005flink_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
}
out.write("\t\t\t\n");
out.write("\t");
}
}
out.write("\n");
out.write("\t</span>\n");
out.write("\t\t\n");
out.write("\t");
if (EmailNotifications.isEnabled(manager.getModuleName())) {
if (EmailNotifications.isSubscribedCurrentUserToModule(manager.getModuleName())) {
out.write("\n");
out.write("\t\t\t<span class=\"");
out.print(style.getSubscribed());
out.write("\"> \n");
out.write("\t\t\t\t");
if (_jspx_meth_xava_005fimage_005f0(_jspx_page_context))
return;
out.write("\n");
out.write("\t\t\t</span>\n");
out.write("\t");
}
else {
out.write("\t\n");
out.write("\t\t\t<span class=\"");
out.print(style.getUnsubscribed());
out.write("\"> \n");
out.write("\t\t\t\t");
if (_jspx_meth_xava_005fimage_005f1(_jspx_page_context))
return;
out.write("\n");
out.write("\t\t\t</span> \t\n");
out.write("\t");
}
}
if (XavaPreferences.getInstance().isHelpAvailable() && style.isHelpAvailable()) {
String language = request.getLocale().getLanguage();
String href = XavaPreferences.getInstance().getHelpPrefix();
String suffix = XavaPreferences.getInstance().getHelpSuffix();
String target = XavaPreferences.getInstance().isHelpInNewWindow() ? "_blank" : "";
if (href.startsWith("http:") || href.startsWith("https:")) {
if (href.endsWith("_")) href = href + language;
if (!Is.emptyString(suffix)) href = href + suffix;
}
else {
href =
"/" + manager.getApplicationName() + "/" +
href +
manager.getModuleName() +
"_" + language +
suffix;
}
String helpImage = null;
if (style.getHelpImage() != null) helpImage = !style.getHelpImage().startsWith("/")?request.getContextPath() + "/" + style.getHelpImage():style.getHelpImage();
out.write("\n");
out.write("\t\t<span class=\"");
out.print(style.getHelp());
out.write("\"> \n");
out.write("\t\t\t<a href=\"");
out.print(href);
out.write("\" target=\"");
out.print(target);
out.write("\">\n");
out.write("\t\t\t\t");
if (helpImage == null) {
out.write("\n");
out.write("\t\t\t\t<i class=\"mdi mdi-help-circle\"></i>\n");
out.write("\t\t\t\t");
} else {
out.write("\n");
out.write("\t\t\t\t<a href=\"");
out.print(href);
out.write("\" target=\"");
out.print(target);
out.write("\"><img src=\"");
out.print(helpImage);
out.write("\"/></a>\n");
out.write("\t\t\t\t");
}
out.write("\n");
out.write("\t\t\t</a>\n");
out.write("\t\t</span>\n");
out.write("\t");
}
out.write("\n");
out.write("\t&nbsp;\n");
out.write("\t</span>\t\t\n");
out.write("\t</div>\t<!-- modes -->\n");
out.write("\t</div>\n");
out.write("\t\n");
} // end isButtonBarVisible
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f0_reused = false;
try {
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f0.setParent(null);
// /xava/buttonBar.jsp(28,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f0.setName("controllerElement");
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
_jspx_th_xava_005fid_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f1_reused = false;
try {
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f1.setParent(null);
// /xava/buttonBar.jsp(71,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f1.setName("modes");
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
_jspx_th_xava_005fid_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fimage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:image
org.openxava.web.taglib.ImageTag _jspx_th_xava_005fimage_005f0 = (org.openxava.web.taglib.ImageTag) _005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.get(org.openxava.web.taglib.ImageTag.class);
boolean _jspx_th_xava_005fimage_005f0_reused = false;
try {
_jspx_th_xava_005fimage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fimage_005f0.setParent(null);
// /xava/buttonBar.jsp(100,4) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fimage_005f0.setAction("EmailNotifications.unsubscribe");
int _jspx_eval_xava_005fimage_005f0 = _jspx_th_xava_005fimage_005f0.doStartTag();
if (_jspx_th_xava_005fimage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fimage_005f0);
_jspx_th_xava_005fimage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fimage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fimage_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fimage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:image
org.openxava.web.taglib.ImageTag _jspx_th_xava_005fimage_005f1 = (org.openxava.web.taglib.ImageTag) _005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.get(org.openxava.web.taglib.ImageTag.class);
boolean _jspx_th_xava_005fimage_005f1_reused = false;
try {
_jspx_th_xava_005fimage_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fimage_005f1.setParent(null);
// /xava/buttonBar.jsp(107,4) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fimage_005f1.setAction("EmailNotifications.subscribe");
int _jspx_eval_xava_005fimage_005f1 = _jspx_th_xava_005fimage_005f1.doStartTag();
if (_jspx_th_xava_005fimage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fimage_0026_005faction_005fnobody.reuse(_jspx_th_xava_005fimage_005f1);
_jspx_th_xava_005fimage_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fimage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fimage_005f1_reused);
}
return false;
}
}

View File

@@ -0,0 +1,878 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:44 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class core_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("/xava/viewExt.jsp", Long.valueOf(1590428773172L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
org.openxava.util.Messages errors = null;
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (errors == null){
errors = new org.openxava.util.Messages();
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
org.openxava.util.Messages messages = null;
messages = (org.openxava.util.Messages) _jspx_page_context.getAttribute("messages", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (messages == null){
messages = new org.openxava.util.Messages();
_jspx_page_context.setAttribute("messages", messages, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
out.write('\n');
org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager");
org.openxava.view.View view = (org.openxava.view.View) context.get(request, "xava_view");
boolean buttonBar = !"false".equalsIgnoreCase(request.getParameter("buttonBar"));
String focusPropertyId = manager.isListMode()?org.openxava.web.Lists.FOCUS_PROPERTY_ID:view.getFocusPropertyId();
out.write("\n");
out.write("<form id=\"");
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
return;
out.write("\" name=\"");
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
return;
out.write("\"\n");
out.write("\tmethod='POST' ");
out.print(manager.getEnctype());
out.write(' ');
out.write('\n');
out.write(' ');
out.print(manager.getFormAction(request));
out.write(" style=\"display: inline;\"\n");
out.write("\tonsubmit=\"return false\">\n");
out.write("\t\n");
out.write("\t\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f2(_jspx_page_context))
return;
out.write("\" value=\"\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f3(_jspx_page_context))
return;
out.write("\" value=\"\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f4(_jspx_page_context))
return;
out.write("\" value=\"\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f5(_jspx_page_context))
return;
out.write("\" value=\"\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f6(_jspx_page_context))
return;
out.write("\" value=\"");
out.print(request.getParameter("application"));
out.write("\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f7(_jspx_page_context))
return;
out.write("\" value=\"");
out.print(request.getParameter("module"));
out.write("\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f8(_jspx_page_context))
return;
out.write("\"/>\n");
out.write("<INPUT type=\"hidden\" id=\"");
if (_jspx_meth_xava_005fid_005f9(_jspx_page_context))
return;
out.write("\" \n");
out.write("\tname=\"");
if (_jspx_meth_xava_005fid_005f10(_jspx_page_context))
return;
out.write("\"/>\n");
out.write("<INPUT type=\"hidden\" id=\"");
if (_jspx_meth_xava_005fid_005f11(_jspx_page_context))
return;
out.write("\" \n");
out.write("\tname=\"");
if (_jspx_meth_xava_005fid_005f12(_jspx_page_context))
return;
out.write("\"/>\n");
out.write("<INPUT type=\"hidden\" name=\"");
if (_jspx_meth_xava_005fid_005f13(_jspx_page_context))
return;
out.write("\"/> \n");
out.write("<INPUT type=\"hidden\" id=\"");
if (_jspx_meth_xava_005fid_005f14(_jspx_page_context))
return;
out.write("\" \n");
out.write("\tname=\"");
if (_jspx_meth_xava_005fid_005f15(_jspx_page_context))
return;
out.write("\" value=\"");
out.print(focusPropertyId);
out.write("\"/>\n");
out.write("\t\n");
String listModeClass=manager.isListMode()?"class='" + style.getListMode() + "'":"";
out.write("\n");
out.write("\n");
out.write("<div ");
out.print(listModeClass);
out.write(' ');
out.print(style.getModuleSpacing());
out.write(">\n");
out.write("\n");
out.write("\t");
if (buttonBar) {
out.write(" \n");
out.write(" <div id='");
if (_jspx_meth_xava_005fid_005f16(_jspx_page_context))
return;
out.write("'> \n");
out.write("\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "buttonBar.jsp", out, false);
out.write(" \n");
out.write("\t</div>\n");
out.write("\t");
}
out.write("\n");
out.write("\t \n");
out.write(" \n");
out.write(" <div class=\"");
out.print(style.getView());
out.write("\">\n");
out.write(" ");
if (style.isShowModuleDescription() && !manager.isListMode()) {
out.write("\n");
out.write("\t\t<div class=\"");
out.print(style.getModuleDescription());
out.write("\"> \n");
out.write("\t\t");
out.print(manager.getModuleDescription());
out.write("\n");
out.write("\t\t</div>\n");
out.write("\t");
}
out.write(" \n");
out.write(" \n");
out.write(" \t<div id='");
if (_jspx_meth_xava_005fid_005f17(_jspx_page_context))
return;
out.write("' style=\"display: inline;\"> \n");
out.write(" \t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "errors.jsp", out, false);
out.write("\n");
out.write("\t\t</div>\n");
out.write(" \n");
out.write("\t\t<div id='");
if (_jspx_meth_xava_005fid_005f18(_jspx_page_context))
return;
out.write("' style=\"display: inline;\"> \n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "messages.jsp", out, false);
out.write("\n");
out.write("\t\t</div> \n");
out.write("\n");
out.write(" \t<div id='");
if (_jspx_meth_xava_005fid_005f19(_jspx_page_context))
return;
out.write('\'');
out.write(' ');
out.print(manager.isListMode()?"":("class='" + style.getDetail() + (view.isSimple()?" ox-simple-layout":"") + (view.isFlowLayout()?" ox-flow-layout":"") + "'"));
out.write(" style='padding-top: 2px;'>\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, manager.getViewURL(), out, false);
out.write("\t\t\n");
out.write("\t\t</div> \t\n");
out.write("\t\t\n");
out.write("\t\t");
out.write("\n");
out.write("\t\n");
out.write("\t</div>\n");
out.write("\n");
out.write("\t");
if (style.isSeparatorBeforeBottomButtons()) {
out.write("\n");
out.write("\t<div style=\"clear: both; padding-top: 2px;\"></div>\n");
out.write("\t");
}
out.write("\n");
out.write("\n");
out.write(" <div id='");
if (_jspx_meth_xava_005fid_005f20(_jspx_page_context))
return;
out.write("' class=\"");
out.print(style.getBottomButtons());
out.write("\" style=\"");
out.print(style.getBottomButtonsStyle());
out.write("\">\n");
out.write("\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "bottomButtons.jsp", out, false);
out.write("\n");
out.write("\t</div>\n");
out.write(" \n");
out.write("</div>\n");
out.write(" \n");
out.write("</form>\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f0_reused = false;
try {
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f0.setParent(null);
// /xava/core.jsp(14,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f0.setName("form");
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
_jspx_th_xava_005fid_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f1_reused = false;
try {
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f1.setParent(null);
// /xava/core.jsp(14,40) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f1.setName("form");
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
_jspx_th_xava_005fid_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f2_reused = false;
try {
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f2.setParent(null);
// /xava/core.jsp(24,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f2.setName("xava_action");
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
_jspx_th_xava_005fid_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f3 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f3_reused = false;
try {
_jspx_th_xava_005fid_005f3.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f3.setParent(null);
// /xava/core.jsp(25,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f3.setName("xava_action_argv");
int _jspx_eval_xava_005fid_005f3 = _jspx_th_xava_005fid_005f3.doStartTag();
if (_jspx_th_xava_005fid_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f3);
_jspx_th_xava_005fid_005f3_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f3_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f4 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f4_reused = false;
try {
_jspx_th_xava_005fid_005f4.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f4.setParent(null);
// /xava/core.jsp(26,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f4.setName("xava_action_range");
int _jspx_eval_xava_005fid_005f4 = _jspx_th_xava_005fid_005f4.doStartTag();
if (_jspx_th_xava_005fid_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f4);
_jspx_th_xava_005fid_005f4_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f4_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f5 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f5_reused = false;
try {
_jspx_th_xava_005fid_005f5.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f5.setParent(null);
// /xava/core.jsp(27,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f5.setName("xava_action_already_processed");
int _jspx_eval_xava_005fid_005f5 = _jspx_th_xava_005fid_005f5.doStartTag();
if (_jspx_th_xava_005fid_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f5);
_jspx_th_xava_005fid_005f5_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f5_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f6 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f6_reused = false;
try {
_jspx_th_xava_005fid_005f6.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f6.setParent(null);
// /xava/core.jsp(28,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f6.setName("xava_action_application");
int _jspx_eval_xava_005fid_005f6 = _jspx_th_xava_005fid_005f6.doStartTag();
if (_jspx_th_xava_005fid_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f6);
_jspx_th_xava_005fid_005f6_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f6_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f7(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f7 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f7_reused = false;
try {
_jspx_th_xava_005fid_005f7.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f7.setParent(null);
// /xava/core.jsp(29,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f7.setName("xava_action_module");
int _jspx_eval_xava_005fid_005f7 = _jspx_th_xava_005fid_005f7.doStartTag();
if (_jspx_th_xava_005fid_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f7);
_jspx_th_xava_005fid_005f7_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f7, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f7_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f8 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f8_reused = false;
try {
_jspx_th_xava_005fid_005f8.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f8.setParent(null);
// /xava/core.jsp(30,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f8.setName("xava_changed_property");
int _jspx_eval_xava_005fid_005f8 = _jspx_th_xava_005fid_005f8.doStartTag();
if (_jspx_th_xava_005fid_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f8);
_jspx_th_xava_005fid_005f8_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f8, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f8_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f9 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f9_reused = false;
try {
_jspx_th_xava_005fid_005f9.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f9.setParent(null);
// /xava/core.jsp(31,25) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f9.setName("xava_current_focus");
int _jspx_eval_xava_005fid_005f9 = _jspx_th_xava_005fid_005f9.doStartTag();
if (_jspx_th_xava_005fid_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f9);
_jspx_th_xava_005fid_005f9_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f9, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f9_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f10(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f10 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f10_reused = false;
try {
_jspx_th_xava_005fid_005f10.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f10.setParent(null);
// /xava/core.jsp(32,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f10.setName("xava_current_focus");
int _jspx_eval_xava_005fid_005f10 = _jspx_th_xava_005fid_005f10.doStartTag();
if (_jspx_th_xava_005fid_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f10);
_jspx_th_xava_005fid_005f10_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f10, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f10_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f11(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f11 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f11_reused = false;
try {
_jspx_th_xava_005fid_005f11.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f11.setParent(null);
// /xava/core.jsp(33,25) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f11.setName("xava_previous_focus");
int _jspx_eval_xava_005fid_005f11 = _jspx_th_xava_005fid_005f11.doStartTag();
if (_jspx_th_xava_005fid_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f11);
_jspx_th_xava_005fid_005f11_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f11, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f11_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f12(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f12 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f12_reused = false;
try {
_jspx_th_xava_005fid_005f12.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f12.setParent(null);
// /xava/core.jsp(34,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f12.setName("xava_previous_focus");
int _jspx_eval_xava_005fid_005f12 = _jspx_th_xava_005fid_005f12.doStartTag();
if (_jspx_th_xava_005fid_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f12);
_jspx_th_xava_005fid_005f12_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f12, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f12_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f13(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f13 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f13_reused = false;
try {
_jspx_th_xava_005fid_005f13.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f13.setParent(null);
// /xava/core.jsp(35,27) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f13.setName("xava_focus_forward");
int _jspx_eval_xava_005fid_005f13 = _jspx_th_xava_005fid_005f13.doStartTag();
if (_jspx_th_xava_005fid_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f13);
_jspx_th_xava_005fid_005f13_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f13, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f13_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f14(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f14 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f14_reused = false;
try {
_jspx_th_xava_005fid_005f14.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f14.setParent(null);
// /xava/core.jsp(36,25) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f14.setName("xava_focus_property_id");
int _jspx_eval_xava_005fid_005f14 = _jspx_th_xava_005fid_005f14.doStartTag();
if (_jspx_th_xava_005fid_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f14);
_jspx_th_xava_005fid_005f14_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f14, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f14_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f15(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f15 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f15_reused = false;
try {
_jspx_th_xava_005fid_005f15.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f15.setParent(null);
// /xava/core.jsp(37,7) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f15.setName("xava_focus_property_id");
int _jspx_eval_xava_005fid_005f15 = _jspx_th_xava_005fid_005f15.doStartTag();
if (_jspx_th_xava_005fid_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f15);
_jspx_th_xava_005fid_005f15_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f15, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f15_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f16(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f16 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f16_reused = false;
try {
_jspx_th_xava_005fid_005f16.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f16.setParent(null);
// /xava/core.jsp(46,13) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f16.setName("button_bar");
int _jspx_eval_xava_005fid_005f16 = _jspx_th_xava_005fid_005f16.doStartTag();
if (_jspx_th_xava_005fid_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f16);
_jspx_th_xava_005fid_005f16_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f16, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f16_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f17(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f17 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f17_reused = false;
try {
_jspx_th_xava_005fid_005f17.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f17.setParent(null);
// /xava/core.jsp(59,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f17.setName("errors");
int _jspx_eval_xava_005fid_005f17 = _jspx_th_xava_005fid_005f17.doStartTag();
if (_jspx_th_xava_005fid_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f17);
_jspx_th_xava_005fid_005f17_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f17, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f17_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f18(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f18 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f18_reused = false;
try {
_jspx_th_xava_005fid_005f18.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f18.setParent(null);
// /xava/core.jsp(63,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f18.setName("messages");
int _jspx_eval_xava_005fid_005f18 = _jspx_th_xava_005fid_005f18.doStartTag();
if (_jspx_th_xava_005fid_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f18);
_jspx_th_xava_005fid_005f18_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f18, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f18_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f19(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f19 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f19_reused = false;
try {
_jspx_th_xava_005fid_005f19.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f19.setParent(null);
// /xava/core.jsp(67,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f19.setName("view");
int _jspx_eval_xava_005fid_005f19 = _jspx_th_xava_005fid_005f19.doStartTag();
if (_jspx_th_xava_005fid_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f19);
_jspx_th_xava_005fid_005f19_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f19, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f19_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f20(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f20 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f20_reused = false;
try {
_jspx_th_xava_005fid_005f20.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f20.setParent(null);
// /xava/core.jsp(79,13) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f20.setName("bottom_buttons");
int _jspx_eval_xava_005fid_005f20 = _jspx_th_xava_005fid_005f20.doStartTag();
if (_jspx_th_xava_005fid_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f20);
_jspx_th_xava_005fid_005f20_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f20, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f20_reused);
}
return false;
}
}

View File

@@ -0,0 +1,754 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:45 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.Iterator;
import org.openxava.view.View;
import org.openxava.util.XavaPreferences;
import org.openxava.view.meta.MetaGroup;
import org.openxava.view.meta.PropertiesSeparator;
import org.openxava.model.meta.MetaProperty;
import org.openxava.model.meta.MetaReference;
import org.openxava.model.meta.MetaCollection;
import org.openxava.web.WebEditors;
import org.openxava.web.taglib.IdTag;
import org.openxava.web.Ids;
import org.openxava.model.meta.MetaMember;
public final class detail_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private boolean hasFrame(MetaMember m, View view) {
if (m instanceof MetaProperty) {
return WebEditors.hasFrame((MetaProperty) m, view.getViewName());
}
if (m instanceof MetaReference) {
return !view.displayReferenceWithNoFrameEditor((MetaReference) m);
}
return true;
}
private String openDivForFrame(View view) {
if (view.isFrame()) return openDiv(view);
return "<div>" + openDiv(view);
}
private String closeDivForFrame(View view) {
if (view.isFrame()) return closeDiv(view);
return closeDiv(view) + "</div>";
}
private String openDiv(View view) {
if (view.isFlowLayout()) return "";
return view.isFrame()?"<div class='ox-layout-detail'>":"";
}
private String closeDiv(View view) {
if (view.isFlowLayout()) return "";
return view.isFrame()?"</div>":"";
}
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(8);
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("/xava/referenceFrameHeaderExt.jsp", Long.valueOf(1590428781598L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/propertyActionsExt.jsp", Long.valueOf(1590428779118L));
_jspx_dependants.put("/xava/collectionFrameHeaderExt.jsp", Long.valueOf(1590428781744L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.model.meta.MetaCollection");
_jspx_imports_classes.add("java.util.Iterator");
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
_jspx_imports_classes.add("org.openxava.view.meta.MetaGroup");
_jspx_imports_classes.add("org.openxava.model.meta.MetaReference");
_jspx_imports_classes.add("org.openxava.web.taglib.IdTag");
_jspx_imports_classes.add("org.openxava.model.meta.MetaMember");
_jspx_imports_classes.add("org.openxava.view.View");
_jspx_imports_classes.add("org.openxava.view.meta.PropertiesSeparator");
_jspx_imports_classes.add("org.openxava.web.WebEditors");
_jspx_imports_classes.add("org.openxava.web.Ids");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
org.openxava.util.Messages errors = null;
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (errors == null){
errors = new org.openxava.util.Messages();
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
String viewObject = request.getParameter("viewObject");
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
view.setViewObject(viewObject);
String propertyPrefix = request.getParameter("propertyPrefix");
String representsSection = request.getParameter("representsSection");
boolean isSection = "true".equalsIgnoreCase(representsSection);
propertyPrefix = (propertyPrefix == null || "null".equals(propertyPrefix))?"":propertyPrefix;
view.setPropertyPrefix(propertyPrefix);
boolean onlySections = view.hasSections() && view.getMetaMembers().isEmpty();
out.write('\n');
out.write('\n');
if (!onlySections) { // IF Not Only Sections
out.write("\t\n");
out.write("\t\t");
out.print(openDiv(view));
out.write(' ');
out.write('\n');
Iterator it = view.getMetaMembers().iterator();
String sfirst = request.getParameter("first");
boolean first = !"false".equals(sfirst);
while (it.hasNext()) { // WHILE hasNext
MetaMember m = (MetaMember) it.next();
int frameWidth = view.isVariousMembersInSameLine(m)?0:100;
if (m instanceof MetaProperty) { // IF MetaProperty
MetaProperty p = (MetaProperty) m;
if (!PropertiesSeparator.INSTANCE.equals(m)) { // IF Not Properties Separator
boolean hasFrame = WebEditors.hasFrame(p, view.getViewName());
String propertyKey= Ids.decorate(
request.getParameter("application"),
request.getParameter("module"),
propertyPrefix + p.getName());
request.setAttribute(propertyKey, p);
String urlEditor = "editor.jsp" // in this way because websphere 6 has problems with jsp:param
+ "?propertyKey=" + propertyKey
+ "&first=" + first
+ "&hasFrame=" + hasFrame;
boolean withFrame = hasFrame &&
(!view.isSection() || view.getMetaMembers().size() > 1);
if (withFrame) { // IF MetaPropertt With Frame
String labelKey = Ids.decorate(
request.getParameter("application"),
request.getParameter("module"),
"label_" + propertyPrefix + p.getName());
String label = view.getLabelFor(p);
out.write("\n");
out.write("\t\t\t");
out.print(closeDivForFrame(view));
out.write(" \n");
out.write("\t\t\t");
out.print(style.getFrameHeaderStartDecoration(frameWidth) );
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameTitleStartDecoration() );
out.write("\n");
out.write("\t\t\t<span id=\"");
out.print(labelKey);
out.write('"');
out.write('>');
out.print(label);
out.write("</span>\t\t\n");
out.write("\t\t\t");
out.print(style.getFrameTitleEndDecoration() );
out.write("\t\n");
out.write("\t\t\t");
out.print(style.getFrameActionsStartDecoration());
out.write('\n');
String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + p.getName());
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
"&closed=" + view.isFrameClosed(frameId);
out.write("\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameActionsEndDecoration());
out.write(" \t\t\t\t\n");
out.write("\t\t\t");
out.write("\t\t\t\t\t\n");
out.write("\t\t\t");
out.print(style.getFrameHeaderEndDecoration() );
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)));
out.write('\n');
} // END MetaProperty With Frame
out.write(" \n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, urlEditor, out, false);
out.write(' ');
out.write(' ');
out.write('\n');
if (withFrame) { // IF MetaProperty With Frame
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameContentEndDecoration() );
out.write("\n");
out.write("\t\t\t");
out.print(openDivForFrame(view));
out.write(" \t\t\n");
} // END IF MetaProperty With Frame
first = false;
} // END IF Not Properties Separator
else { // IF Properties Separator
if (!it.hasNext()) break;
first = true;
out.write("\n");
out.write("\t<div class=\"ox-layout-new-line\"></div> \t\t\t\n");
} // END IF Properties Separator
} // END IF MetaProperty
else { // IF Not MetaProperty
if (m instanceof MetaReference) { // IF MetaReference
MetaReference ref = (MetaReference) m;
String referenceKey = Ids.decorate(
request.getParameter("application"),
request.getParameter("module"),
propertyPrefix + ref.getName());
request.setAttribute(referenceKey, ref);
if (view.displayReferenceWithNoFrameEditor(ref)) { // IF Display Reference Without Frame
String urlReferenceEditor = "reference.jsp" // in this way because websphere 6 has problems with jsp:param
+ "?referenceKey=" + referenceKey
+ "&first=" + first
+ "&frame=false&composite=false&onlyEditor=false";
out.write('\n');
out.write(' ');
out.write(' ');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, urlReferenceEditor, out, false);
out.write('\n');
first = false;
} // END IF Display MetaReference Without Frame
else { // IF Display MeteReference With Frame
String viewName = viewObject + "_" + ref.getName();
View subview = view.getSubview(ref.getName());
context.put(request, viewName, subview);
subview.setViewObject(viewName);
String propertyInReferencePrefix = propertyPrefix + ref.getName() + ".";
boolean withFrame = subview.displayWithFrame();
boolean firstForSubdetail = first || withFrame;
if (withFrame) { // IF MetaReference With Frame
String labelKey = Ids.decorate(
request.getParameter("application"),
request.getParameter("module"),
"label_" + propertyPrefix + ref.getName());
String label = view.getLabelFor(ref);
out.write("\t\t\t\t\n");
out.write("\t\t");
out.print(closeDivForFrame(view));
out.write(" \n");
out.write("\t\t");
out.print(style.getFrameHeaderStartDecoration(frameWidth) );
out.write('\n');
out.write(' ');
out.write(' ');
out.print(style.getFrameTitleStartDecoration() );
out.write("\n");
out.write("\t\t<span id=\"");
out.print(labelKey);
out.write('"');
out.write('>');
out.print(label);
out.write("</span>\n");
out.write("\t\t");
if (!ref.isAggregate()) {
out.write('\n');
out.write(' ');
out.write(' ');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "referenceFrameHeader.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("referenceName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(ref.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewObject), request.getCharacterEncoding()), out, false);
out.write('\n');
out.write(' ');
out.write(' ');
}
out.write('\n');
out.write(' ');
out.write(' ');
out.print(style.getFrameTitleEndDecoration() );
out.write('\n');
out.write(' ');
out.write(' ');
out.print(style.getFrameActionsStartDecoration());
out.write('\n');
String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + ref.getName());
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
"&closed=" + view.isFrameClosed(frameId);
out.write('\n');
out.write(' ');
out.write(' ');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
out.write('\n');
out.write(' ');
out.write(' ');
out.print(style.getFrameActionsEndDecoration());
out.write('\n');
out.write(' ');
out.write(' ');
out.write("\t\t\t\t \t\t\t\t\t\n");
out.write("\t\t");
out.print(style.getFrameHeaderEndDecoration() );
out.write('\n');
out.write(' ');
out.write(' ');
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)) );
out.write("\t\t\t\t\t\t\n");
} // END IF MetaReference With Frame
String urlReferenceEditor = null;
if (view.displayReferenceWithNotCompositeEditor(ref)) { // IF Display Reference Without Composite Editor
urlReferenceEditor = "reference.jsp" // in this way because websphere 6 has problems with jsp:param
+ "?referenceKey=" + referenceKey
+ "&onlyEditor=true&frame=true&composite=false"
+ "&first=" + first;
} // END IF Display Reference Without Composite Editor
else { // IF Display Reference With Composite Editor
urlReferenceEditor = "reference.jsp" // in this way because websphere 6 has problems with jsp:param
+ "?referenceKey=" + referenceKey
+ "&onlyEditor=true&frame=true&composite=true"
+ "&refViewObject=" + viewName
+ "&propertyPrefix=" + propertyInReferencePrefix
+ "&first=" + firstForSubdetail;
} // END IF Display Reference With Composite Editor
out.write(" \n");
out.write("\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, urlReferenceEditor, out, false);
out.write('\n');
if (withFrame) { // IF MetaReference With Frame
out.write("\t\t\t\n");
out.write("\t\t");
out.print(style.getFrameContentEndDecoration() );
out.write('\n');
out.write(' ');
out.write(' ');
out.print(openDivForFrame(view));
out.write(' ');
out.write('\n');
} // END IF MetaReference With Frame
} // END Display MetaReference With Frame
first = false;
} else if (m instanceof MetaCollection) { // IF MetaCollection
MetaCollection collection = (MetaCollection) m;
boolean withFrame = !view.isSection() || view.getMetaMembers().size() > 1;
boolean variousCollectionInLine = view.isVariousCollectionsInSameLine((MetaMember) m);
out.write("\n");
out.write("\t\t\t");
out.print(closeDivForFrame(view));
out.write('\n');
if (withFrame) { // IF MetaCollection With Frame
out.write("\t\n");
out.write("\t\t\t\t");
out.print(style.getCollectionFrameHeaderStartDecoration(variousCollectionInLine?50:frameWidth));
out.write("\n");
out.write("\t\t\t\t");
out.print(style.getFrameTitleStartDecoration());
out.write("\n");
out.write("\t\t\t\t");
out.print(collection.getLabel(request) );
out.write('\n');
String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + collection.getName());
String colletionHeaderId = frameId + "header";
out.write("\t\t\t\t\n");
out.write("\t\t\t\t<span id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f0_reused = false;
try {
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f0.setParent(null);
// /xava/detail.jsp(235,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f0.setName(colletionHeaderId);
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
_jspx_th_xava_005fid_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
}
out.write("\">\n");
out.write("\t\t\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "collectionFrameHeader.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("collectionName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(collection.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewObject), request.getCharacterEncoding()), out, false);
out.write("\t\t\t\n");
out.write("\t\t\t\t</span>\t\n");
out.write("\t\t\t\t");
out.print(style.getFrameTitleEndDecoration());
out.write("\n");
out.write("\t\t\t\t");
out.print(style.getFrameActionsStartDecoration());
out.write('\n');
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
"&closed=" + view.isFrameClosed(frameId);
out.write("\n");
out.write("\t\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
out.write("\n");
out.write("\t\t\t\t");
out.print(style.getFrameActionsEndDecoration());
out.write(" \t\n");
out.write("\t\t\t\t");
out.write("\t\t\t\t \t\t\t\t\t\n");
out.write("\t\t\t\t");
out.print(style.getFrameHeaderEndDecoration());
out.write("\n");
out.write("\t\t\t\t");
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)));
out.write('\n');
} // END IF MetaCollection With Frame
out.write("\t\n");
out.write("\t\t\t\t");
String collectionPrefix = propertyPrefix == null?collection.getName() + ".":propertyPrefix + collection.getName() + ".";
out.write("\n");
out.write("\t\t\t\t<div id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f1_reused = false;
try {
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f1.setParent(null);
// /xava/detail.jsp(258,13) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f1.setName("collection_" + collectionPrefix);
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
_jspx_th_xava_005fid_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
}
out.write("\">\t\t\t\t\n");
out.write("\t\t\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "collection.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("collectionName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(collection.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewObject), request.getCharacterEncoding()), out, false);
out.write("\n");
out.write("\t\t\t\t</div>\t\t\t\t\n");
if (withFrame) { // IF MetaCollection With Frame
out.write("\n");
out.write("\t\t\t\t");
out.print(style.getFrameContentEndDecoration());
out.write("\t\t\t\n");
} // END IF MetaCollection With Frame
out.write("\n");
out.write("\t\t\t");
out.print(openDivForFrame(view));
out.write(' ');
out.write('\n');
} else if (m instanceof MetaGroup) { // IF MetaGroup
MetaGroup group = (MetaGroup) m;
String viewName = viewObject + "_" + group.getName();
View subview = view.getGroupView(group.getName());
context.put(request, viewName, subview);
out.write("\n");
out.write("\t\t\t");
out.print(closeDivForFrame(view));
out.write(" \n");
out.write("\t\t\t");
out.print(style.getFrameHeaderStartDecoration(frameWidth));
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameTitleStartDecoration());
out.write("\n");
out.write("\t\t\t");
String labelId = Ids.decorate(request, "label_" + view.getPropertyPrefix() + group.getName());
out.write("\n");
out.write("\t\t\t<span id=\"");
out.print(labelId);
out.write('"');
out.write('>');
out.print(group.getLabel(request));
out.write("</span>\n");
out.write("\t\t\t");
out.print(style.getFrameTitleEndDecoration());
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameActionsStartDecoration());
out.write('\n');
String frameId = Ids.decorate(request, "frame_group_" + view.getPropertyPrefix() + group.getName());
String frameActionsURL = "frameActions.jsp?frameId=" + frameId +
"&closed=" + view.isFrameClosed(frameId);
out.write("\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, frameActionsURL, out, false);
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameActionsEndDecoration());
out.write(" \t\t\t\t\t \t\t\t\n");
out.write("\t\t\t");
out.print(style.getFrameHeaderEndDecoration());
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameContentStartDecoration(frameId + "content", view.isFrameClosed(frameId)) );
out.write("\n");
out.write("\t\t\t");
if (view.isFlowLayout()) {
out.write(" \n");
out.write("\t\t\t<div class='ox-flow-layout'>\n");
out.write("\t\t\t");
}
out.write("\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "detail.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(viewName), request.getCharacterEncoding()), out, false);
out.write("\n");
out.write("\t\t\t");
if (view.isFlowLayout()) {
out.write(" \n");
out.write("\t\t\t</div>\n");
out.write("\t\t\t");
}
out.write("\n");
out.write("\t\t\t");
out.print(style.getFrameContentEndDecoration() );
out.write("\n");
out.write("\t\t\t");
out.print(openDivForFrame(view));
out.write(' ');
out.write('\n');
} // END IF MetaGroup
} // END IF Not MetaProperty
} // END While hasNext
out.write('\n');
out.write('\n');
out.print(closeDiv(view));
out.write('\n');
out.write('\n');
} // END if (!onlySections) {
out.write('\n');
out.write('\n');
if (view.hasSections()) { // IF Has Sections
out.write("\n");
out.write("<div id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f2_reused = false;
try {
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f2.setParent(null);
// /xava/detail.jsp(321,9) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f2.setName("sections_" + viewObject);
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
_jspx_th_xava_005fid_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
}
out.write("\" class=\"");
out.print(style.getSections());
out.write("\">\n");
out.write("\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "sections.jsp", out, false);
out.write("\n");
out.write("</div>\t\n");
}
out.write('\n');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,176 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:02:01 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class editorWrapper_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590312433369L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
// xava:editor
org.openxava.web.taglib.EditorTag _jspx_th_xava_005feditor_005f0 = (org.openxava.web.taglib.EditorTag) _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.get(org.openxava.web.taglib.EditorTag.class);
boolean _jspx_th_xava_005feditor_005f0_reused = false;
try {
_jspx_th_xava_005feditor_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005feditor_005f0.setParent(null);
// /xava/editorWrapper.jsp(3,0) name = property type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005feditor_005f0.setProperty(request.getParameter("propertyName"));
// /xava/editorWrapper.jsp(3,0) name = editable type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005feditor_005f0.setEditable(Boolean.valueOf(request.getParameter("editable")).booleanValue());
// /xava/editorWrapper.jsp(3,0) name = throwPropertyChanged type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005feditor_005f0.setThrowPropertyChanged(Boolean.valueOf(request.getParameter("throwPropertyChanged")).booleanValue());
int _jspx_eval_xava_005feditor_005f0 = _jspx_th_xava_005feditor_005f0.doStartTag();
if (_jspx_th_xava_005feditor_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.reuse(_jspx_th_xava_005feditor_005f0);
_jspx_th_xava_005feditor_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005feditor_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005feditor_005f0_reused);
}
out.write('\n');
out.write(' ');
out.write('\n');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,429 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:46 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.util.XavaPreferences;
import org.openxava.util.Is;
import org.openxava.model.meta.MetaProperty;
import org.openxava.view.meta.MetaPropertyView;
public final class editor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(7);
_jspx_dependants.put("/xava/htmlTagsEditor.jsp", Long.valueOf(1590428775202L));
_jspx_dependants.put("/xava/imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/propertyActionsExt.jsp", Long.valueOf(1590428779118L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.util.XavaPreferences");
_jspx_imports_classes.add("org.openxava.view.meta.MetaPropertyView");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
org.openxava.util.Messages errors = null;
errors = (org.openxava.util.Messages) _jspx_page_context.getAttribute("errors", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (errors == null){
errors = new org.openxava.util.Messages();
_jspx_page_context.setAttribute("errors", errors, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
String viewObject = request.getParameter("viewObject");
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
String propertyKey = request.getParameter("propertyKey");
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
String shasFrame = request.getParameter("hasFrame");
boolean hasFrame="true".equals(shasFrame)?true:false;
boolean editable = view.isEditable(p);
boolean lastSearchKey = view.isLastSearchKey(p);
boolean throwPropertyChanged = view.throwsPropertyChanged(p);
int labelFormat = view.getLabelFormatForProperty(p);
String labelStyle = view.getLabelStyleForProperty(p);
if (Is.empty(labelStyle)) labelStyle = XavaPreferences.getInstance().getDefaultLabelStyle();
String label = view.getLabelFor(p);
out.write('\n');
out.write('\n');
if (view.isFlowLayout()) {
out.write(" \n");
out.write("<div> \n");
}
out.write('\n');
out.write('\n');
String sfirst = request.getParameter("first");
boolean first="true".equals(sfirst)?true:false;
String labelClass = null;
String editorClass = null;
if (view.isAlignedByColumns()) {
labelClass = editorClass = "ox-layout-aligned-cell";
}
else {
editorClass = "ox-layout-not-aligned-cell";
labelClass = first?"ox-layout-aligned-cell":"ox-layout-not-aligned-cell";
}
String preLabel="<div class='" + labelClass + " " + style.getLabel() + "'>";
String postLabel="</div>";
String preEditor="<div class='" + editorClass + " " + style.getEditorWrapper()+ "'>";
String postEditor="</div>";
out.write('\n');
if (first && !view.isAlignedByColumns()) label = org.openxava.util.Strings.change(label, " ", "&nbsp;");
out.write('\n');
out.write('\n');
if (!hasFrame) {
out.write('\n');
out.write('\n');
out.print(preLabel);
out.write('\n');
if (labelFormat == MetaPropertyView.NORMAL_LABEL) {
out.write("\n");
out.write("<span id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f0_reused = false;
try {
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f0.setParent(null);
// /xava/editor.jsp(47,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f0.setName("label_" + view.getPropertyPrefix() + p.getName());
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
_jspx_th_xava_005fid_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
}
out.write("\" class=\"");
out.print(labelStyle);
out.write('"');
out.write('>');
out.write('\n');
out.print(label);
out.write("\n");
out.write("</span>\n");
}
out.write('\n');
out.print(postLabel);
out.write('\n');
out.print(preEditor);
out.write('\n');
if (labelFormat == MetaPropertyView.SMALL_LABEL) {
out.write("\n");
out.write("<span id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f1_reused = false;
try {
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f1.setParent(null);
// /xava/editor.jsp(56,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f1.setName("label_" + view.getPropertyPrefix() + p.getName());
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
_jspx_th_xava_005fid_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
}
out.write("\" class=\"");
out.print(style.getSmallLabel());
out.write(' ');
out.print(labelStyle);
out.write('"');
out.write('>');
out.print(label);
out.write("</span><br/> \n");
}
out.write('\n');
} // if (!hasFrame)
String placeholder = !Is.empty(p.getPlaceholder()) ? "data-placeholder='" + p.getPlaceholder() + "'" : "";
String required = view.isEditable() && p.isRequired() ? style.getRequiredEditor():"";
out.write("\n");
out.write("<span id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f2_reused = false;
try {
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f2.setParent(null);
// /xava/editor.jsp(62,10) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f2.setName("editor_" + view.getPropertyPrefix() + p.getName());
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
_jspx_th_xava_005fid_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
}
out.write("\" class=\"xava_editor ");
out.print(required);
out.write('"');
out.write(' ');
out.print(placeholder);
out.write('>');
out.write('\n');
// xava:editor
org.openxava.web.taglib.EditorTag _jspx_th_xava_005feditor_005f0 = (org.openxava.web.taglib.EditorTag) _005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.get(org.openxava.web.taglib.EditorTag.class);
boolean _jspx_th_xava_005feditor_005f0_reused = false;
try {
_jspx_th_xava_005feditor_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005feditor_005f0.setParent(null);
// /xava/editor.jsp(63,0) name = property type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005feditor_005f0.setProperty(p.getName());
// /xava/editor.jsp(63,0) name = editable type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005feditor_005f0.setEditable(editable);
// /xava/editor.jsp(63,0) name = throwPropertyChanged type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005feditor_005f0.setThrowPropertyChanged(throwPropertyChanged);
int _jspx_eval_xava_005feditor_005f0 = _jspx_th_xava_005feditor_005f0.doStartTag();
if (_jspx_th_xava_005feditor_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005feditor_0026_005fthrowPropertyChanged_005fproperty_005feditable_005fnobody.reuse(_jspx_th_xava_005feditor_005f0);
_jspx_th_xava_005feditor_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005feditor_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005feditor_005f0_reused);
}
out.write("\n");
out.write("</span>\n");
out.write("\n");
if (!(lastSearchKey && view.displayWithFrame())) {
out.write(" \n");
out.write("\t<span id=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f3 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f3_reused = false;
try {
_jspx_th_xava_005fid_005f3.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f3.setParent(null);
// /xava/editor.jsp(67,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f3.setName("property_actions_" + view.getPropertyPrefix() + p.getName());
int _jspx_eval_xava_005fid_005f3 = _jspx_th_xava_005fid_005f3.doStartTag();
if (_jspx_th_xava_005fid_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f3);
_jspx_th_xava_005fid_005f3_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f3_reused);
}
out.write("\">\n");
out.write("\t\t");
if (view.propertyHasActions(p)) {
out.write("\n");
out.write("\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "propertyActions.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyName", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(p.getName()), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("lastSearchKey", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(lastSearchKey), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("editable", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(editable), request.getCharacterEncoding()), out, false);
out.write('\n');
out.write(' ');
out.write(' ');
}
out.write("\n");
out.write("\t</span>\n");
}
out.write(' ');
out.write('\n');
out.write('\n');
if (!hasFrame) {
out.write('\n');
out.write(' ');
out.write('\n');
out.print(postEditor);
out.write('\n');
if (labelFormat == MetaPropertyView.SMALL_LABEL) {
out.write('\n');
}
out.write('\n');
out.write('\n');
} // if (!hasFrame)
out.write('\n');
out.write('\n');
if (view.isFlowLayout()) {
out.write(" \n");
out.write("</div> \n");
}
out.write('\n');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,210 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:47:42 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class addColumns_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590312433369L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
out.write('\n');
String tabObject = request.getParameter("tabObject");
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, "xava_customizingTab");
String applicationName = request.getParameter("application");
String module = request.getParameter("module");
out.write("\n");
out.write("<input type=\"hidden\" id=\"xava_application\" value=\"");
out.print(applicationName);
out.write("\" /> \n");
out.write("<input type=\"hidden\" id=\"xava_module\" value=\"");
out.print(module);
out.write("\" /> \n");
out.write("<div id=\"xava_search_columns\">\n");
out.write("<input id=\"xava_search_columns_text\" type=\"text\" size=\"38\" placeholder='");
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
return;
out.write("'/>\n");
out.write("</div>\n");
out.write("<div id=\"xava_add_columns\">\n");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "selectColumns.jsp", out, false);
out.write("\n");
out.write("</div>");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /xava/editors/addColumns.jsp(15,72) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey("search_columns");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
return false;
}
}

View File

@@ -0,0 +1,655 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:56 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.web.Actions;
import org.openxava.web.Ids;
import org.openxava.model.meta.MetaProperty;
import org.openxava.tab.Tab;
import org.openxava.util.Is;
public final class comparatorsCombo_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.web.Actions");
_jspx_imports_classes.add("org.openxava.tab.Tab");
_jspx_imports_classes.add("org.openxava.web.Ids");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
String comparator = request.getParameter("comparator");
String prefix = request.getParameter("prefix");
if (prefix == null) prefix = "";
boolean isString = "true".equals(request.getParameter("isString"));
boolean isDate = "true".equals(request.getParameter("isDate"));
boolean isEmpty = "true".equals(request.getParameter("isEmpty"));
String eq = Tab.EQ_COMPARATOR.equals(comparator)?"selected='selected'":"";
String ne = Tab.NE_COMPARATOR.equals(comparator)?"selected='selected'":"";
String ge = Tab.GE_COMPARATOR.equals(comparator)?"selected='selected'":"";
String le = Tab.LE_COMPARATOR.equals(comparator)?"selected='selected'":"";
String gt = Tab.GT_COMPARATOR.equals(comparator)?"selected='selected'":"";
String lt = Tab.LT_COMPARATOR.equals(comparator)?"selected='selected'":"";
String in = Tab.IN_COMPARATOR.equals(comparator)?"selected='selected'":"";
String notIn = Tab.NOT_IN_COMPARATOR.equals(comparator)?"selected='selected'":"";
String startsWith = Tab.STARTS_COMPARATOR.equals(comparator)?"selected='selected'":"";
String contains = Tab.CONTAINS_COMPARATOR.equals(comparator)?"selected='selected'":"";
String endsWith = Tab.ENDS_COMPARATOR.equals(comparator)?"selected='selected'":"";
String empty = Tab.EMPTY_COMPARATOR.equals(comparator)?"selected='selected'":"";
String notEmpty = Tab.NOT_EMPTY_COMPARATOR.equals(comparator)?"selected='selected'":"";
String notContains = Tab.NOT_CONTAINS_COMPARATOR.equals(comparator)?"selected='selected'":"";
String year = Tab.YEAR_COMPARATOR.equals(comparator)?"selected='selected'":"";
String month = Tab.MONTH_COMPARATOR.equals(comparator)?"selected='selected'":"";
String yearMonth = Tab.YEAR_MONTH_COMPARATOR.equals(comparator)?"selected='selected'":"";
String range = Tab.RANGE_COMPARATOR.equals(comparator)?"selected='selected'":"";
String idConditionValue = request.getParameter("idConditionValue");
String idConditionValueTo = request.getParameter("idConditionValueTo");
String propertyKey = request.getParameter("comparatorPropertyKey");
String name = null;
String script = null;
if (propertyKey == null) {
int index = Integer.parseInt(request.getParameter("index"));
name = Ids.decorate(request, prefix + "conditionComparator." + index);
script = Actions.getActionOnChangeComparator(name,idConditionValue,idConditionValueTo);
if (org.openxava.util.XavaPreferences.getInstance().isFilterOnChange()) {
String collection = request.getParameter("collection");
String collectionArgv = Is.emptyString(collection)?"":"collection="+collection;
script = new StringBuilder(script.replace(")\"", "); "))
.append("if (this.options[this.selectedIndex].value.indexOf('range') < 0) { ")
.append("openxava.executeAction('")
.append(request.getParameter("application"))
.append("', '")
.append(request.getParameter("module"))
.append("', '', false, 'List.filter','")
.append(collectionArgv).append("'); ")
.append("}\"").toString();
}
}
else {
name = propertyKey;
script = request.getParameter("script");
}
out.write("\n");
out.write("<select id=\"");
out.print(name);
out.write("\" name=\"");
out.print(name);
out.write("\" class=");
out.print(style.getEditor());
out.write(' ');
out.print(script);
out.write(" style=\"width: 100%;\">\n");
out.write("\t");
if (!isEmpty) {
out.write('\n');
out.write(' ');
if (isString) {
out.write("\t\t\t\t\n");
out.write("\t<option value=\"");
out.print(Tab.CONTAINS_COMPARATOR);
out.write('"');
out.write(' ');
out.print(contains);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /xava/editors/comparatorsCombo.jsp(72,60) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey(Tab.CONTAINS_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
out.write("</option>\t\t\n");
out.write("\t<option value=\"");
out.print(Tab.STARTS_COMPARATOR);
out.write('"');
out.write(' ');
out.print(startsWith);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
try {
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f1.setParent(null);
// /xava/editors/comparatorsCombo.jsp(73,60) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f1.setKey(Tab.STARTS_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
_jspx_th_xava_005fmessage_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.ENDS_COMPARATOR);
out.write('"');
out.write(' ');
out.print(endsWith);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
try {
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f2.setParent(null);
// /xava/editors/comparatorsCombo.jsp(74,56) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f2.setKey(Tab.ENDS_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
_jspx_th_xava_005fmessage_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.NOT_CONTAINS_COMPARATOR);
out.write('"');
out.write(' ');
out.print(notContains);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f3 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f3_reused = false;
try {
_jspx_th_xava_005fmessage_005f3.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f3.setParent(null);
// /xava/editors/comparatorsCombo.jsp(75,67) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f3.setKey(Tab.NOT_CONTAINS_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f3 = _jspx_th_xava_005fmessage_005f3.doStartTag();
if (_jspx_th_xava_005fmessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f3);
_jspx_th_xava_005fmessage_005f3_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f3_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.EMPTY_COMPARATOR);
out.write('"');
out.write(' ');
out.print(empty);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f4 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f4_reused = false;
try {
_jspx_th_xava_005fmessage_005f4.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f4.setParent(null);
// /xava/editors/comparatorsCombo.jsp(76,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f4.setKey(Tab.EMPTY_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f4 = _jspx_th_xava_005fmessage_005f4.doStartTag();
if (_jspx_th_xava_005fmessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f4);
_jspx_th_xava_005fmessage_005f4_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f4_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.NOT_EMPTY_COMPARATOR);
out.write('"');
out.write(' ');
out.print(notEmpty);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f5 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f5_reused = false;
try {
_jspx_th_xava_005fmessage_005f5.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f5.setParent(null);
// /xava/editors/comparatorsCombo.jsp(77,61) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f5.setKey(Tab.NOT_EMPTY_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f5 = _jspx_th_xava_005fmessage_005f5.doStartTag();
if (_jspx_th_xava_005fmessage_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f5);
_jspx_th_xava_005fmessage_005f5_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f5_reused);
}
out.write("</option>\n");
out.write("\t");
}
out.write("\n");
out.write("\t<option value=\"");
out.print(Tab.EQ_COMPARATOR);
out.write('"');
out.write(' ');
out.print(eq);
out.write(">=</option>\n");
out.write("\t<option value=\"");
out.print(Tab.NE_COMPARATOR);
out.write('"');
out.write(' ');
out.print(ne);
out.write("><></option>\n");
out.write("\t<option value=\"");
out.print(Tab.GE_COMPARATOR);
out.write('"');
out.write(' ');
out.print(ge);
out.write(">>=</option>\n");
out.write("\t<option value=\"");
out.print(Tab.LE_COMPARATOR);
out.write('"');
out.write(' ');
out.print(le);
out.write("><=</option>\t\n");
out.write("\t<option value=\"");
out.print(Tab.GT_COMPARATOR);
out.write('"');
out.write(' ');
out.print(gt);
out.write(">></option>\n");
out.write("\t<option value=\"");
out.print(Tab.LT_COMPARATOR);
out.write('"');
out.write(' ');
out.print(lt);
out.write("><</option>\n");
out.write("\t\n");
out.write("\t");
if (isDate) {
out.write("\n");
out.write("\t<option value=\"");
out.print(Tab.EMPTY_COMPARATOR);
out.write('"');
out.write(' ');
out.print(empty);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f6 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f6_reused = false;
try {
_jspx_th_xava_005fmessage_005f6.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f6.setParent(null);
// /xava/editors/comparatorsCombo.jsp(91,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f6.setKey(Tab.EMPTY_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f6 = _jspx_th_xava_005fmessage_005f6.doStartTag();
if (_jspx_th_xava_005fmessage_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f6);
_jspx_th_xava_005fmessage_005f6_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f6_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.NOT_EMPTY_COMPARATOR);
out.write('"');
out.write(' ');
out.print(notEmpty);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f7 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f7_reused = false;
try {
_jspx_th_xava_005fmessage_005f7.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f7.setParent(null);
// /xava/editors/comparatorsCombo.jsp(92,61) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f7.setKey(Tab.NOT_EMPTY_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f7 = _jspx_th_xava_005fmessage_005f7.doStartTag();
if (_jspx_th_xava_005fmessage_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f7);
_jspx_th_xava_005fmessage_005f7_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f7, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f7_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.YEAR_COMPARATOR);
out.write('"');
out.write(' ');
out.print(year);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f8 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f8_reused = false;
try {
_jspx_th_xava_005fmessage_005f8.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f8.setParent(null);
// /xava/editors/comparatorsCombo.jsp(93,52) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f8.setKey(Tab.YEAR_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f8 = _jspx_th_xava_005fmessage_005f8.doStartTag();
if (_jspx_th_xava_005fmessage_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f8);
_jspx_th_xava_005fmessage_005f8_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f8, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f8_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.MONTH_COMPARATOR);
out.write('"');
out.write(' ');
out.print(month);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f9 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f9_reused = false;
try {
_jspx_th_xava_005fmessage_005f9.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f9.setParent(null);
// /xava/editors/comparatorsCombo.jsp(94,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f9.setKey(Tab.MONTH_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f9 = _jspx_th_xava_005fmessage_005f9.doStartTag();
if (_jspx_th_xava_005fmessage_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f9);
_jspx_th_xava_005fmessage_005f9_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f9, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f9_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.YEAR_MONTH_COMPARATOR);
out.write('"');
out.write(' ');
out.print(yearMonth);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f10 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f10_reused = false;
try {
_jspx_th_xava_005fmessage_005f10.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f10.setParent(null);
// /xava/editors/comparatorsCombo.jsp(95,63) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f10.setKey(Tab.YEAR_MONTH_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f10 = _jspx_th_xava_005fmessage_005f10.doStartTag();
if (_jspx_th_xava_005fmessage_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f10);
_jspx_th_xava_005fmessage_005f10_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f10, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f10_reused);
}
out.write("</option>\n");
out.write("\t");
}
out.write("\n");
out.write("\t<option value=\"");
out.print(Tab.IN_COMPARATOR);
out.write('"');
out.write(' ');
out.print(in);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f11 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f11_reused = false;
try {
_jspx_th_xava_005fmessage_005f11.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f11.setParent(null);
// /xava/editors/comparatorsCombo.jsp(99,48) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f11.setKey(Tab.IN_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f11 = _jspx_th_xava_005fmessage_005f11.doStartTag();
if (_jspx_th_xava_005fmessage_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f11);
_jspx_th_xava_005fmessage_005f11_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f11, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f11_reused);
}
out.write("</option>\n");
out.write("\t<option value=\"");
out.print(Tab.NOT_IN_COMPARATOR);
out.write('"');
out.write(' ');
out.print(notIn);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f12 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f12_reused = false;
try {
_jspx_th_xava_005fmessage_005f12.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f12.setParent(null);
// /xava/editors/comparatorsCombo.jsp(100,55) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f12.setKey(Tab.NOT_IN_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f12 = _jspx_th_xava_005fmessage_005f12.doStartTag();
if (_jspx_th_xava_005fmessage_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f12);
_jspx_th_xava_005fmessage_005f12_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f12, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f12_reused);
}
out.write("</option>\n");
out.write("\t");
if (propertyKey == null) {
out.write("\t\n");
out.write("\t<option value=\"");
out.print(Tab.RANGE_COMPARATOR);
out.write('"');
out.write(' ');
out.print(range);
out.write('>');
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f13 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f13_reused = false;
try {
_jspx_th_xava_005fmessage_005f13.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f13.setParent(null);
// /xava/editors/comparatorsCombo.jsp(104,54) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f13.setKey(Tab.RANGE_COMPARATOR);
int _jspx_eval_xava_005fmessage_005f13 = _jspx_th_xava_005fmessage_005f13.doStartTag();
if (_jspx_th_xava_005fmessage_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f13);
_jspx_th_xava_005fmessage_005f13_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f13, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f13_reused);
}
out.write("</option>\n");
out.write("\t");
}
out.write('\n');
out.write(' ');
} // isEmpty
out.write("\n");
out.write("</select>\t\n");
out.write("\t");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,406 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:56 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.filters.IFilter;
import org.openxava.filters.IRequestFilter;
import org.openxava.component.MetaComponent;
import org.openxava.tab.Tab;
import org.openxava.tab.meta.MetaTab;
import org.openxava.util.KeyAndDescription;
import org.openxava.util.Is;
import org.openxava.util.XavaResources;
import org.openxava.model.meta.MetaProperty;
import org.openxava.calculators.DescriptionsCalculator;
import org.openxava.formatters.IFormatter;
public final class comparatorsDescriptionsList_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590428772409L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590428780661L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590428772892L));
_jspx_dependants.put("jar:file:/C:/Users/socrates/git/Babydatenbank/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.tab.meta.MetaTab");
_jspx_imports_classes.add("org.openxava.filters.IRequestFilter");
_jspx_imports_classes.add("org.openxava.calculators.DescriptionsCalculator");
_jspx_imports_classes.add("org.openxava.formatters.IFormatter");
_jspx_imports_classes.add("org.openxava.tab.Tab");
_jspx_imports_classes.add("org.openxava.util.XavaResources");
_jspx_imports_classes.add("org.openxava.component.MetaComponent");
_jspx_imports_classes.add("org.openxava.filters.IFilter");
_jspx_imports_classes.add("org.openxava.util.KeyAndDescription");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
out.write('\n');
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
String propertyKey = request.getParameter("propertyKey");
int index = Integer.parseInt(request.getParameter("index"));
String prefix = request.getParameter("prefix");
if (prefix == null) prefix = "";
String value = index < 0?(String) request.getAttribute(propertyKey + ".fvalue"):request.getParameter("value");
IFormatter formatter = null;
String descriptionsFormatterClass=request.getParameter("descriptionsFormatter");
if (descriptionsFormatterClass == null) {
descriptionsFormatterClass=request.getParameter("formateadorDescripciones");
}
if (descriptionsFormatterClass != null) {
String descriptionsFormatterKey = propertyKey + ".descriptionsFormatter";
formatter = (IFormatter) request.getSession().getAttribute(descriptionsFormatterKey);
if (formatter == null) {
try {
formatter = (IFormatter) Class.forName(descriptionsFormatterClass).newInstance();
request.getSession().setAttribute(descriptionsFormatterKey, formatter);
}
catch (Exception ex) {
ex.printStackTrace();
System.err.println(XavaResources.getString("descriptionsEditor_descriptions_formatter_warning", propertyKey));
}
}
}
DescriptionsCalculator calculator = new DescriptionsCalculator();
// The arguments in English and Spanish for compatibility with
// a big amount of stereotypes made in spanish using this editor
String model = request.getParameter("model");
if (model == null) model = request.getParameter("modelo");
MetaTab metaTab = MetaComponent.get(model).getMetaTab();
if (metaTab.getMetaFilter() != null){
if (metaTab.getMetaFilter().getFilter() != null) {
IFilter filter = metaTab.getMetaFilter().getFilter();
if (filter instanceof IRequestFilter) {
((IRequestFilter) filter).setRequest(request);
}
calculator.setParameters(null, filter);
}
}
calculator.setModel(model);
String condition = metaTab.getBaseCondition();
if (!Is.empty(condition) && !Is.empty(request.getParameter("condition"))) condition = condition + " AND ";
condition = condition + request.getParameter("condition");
calculator.setCondition(condition);
String order = request.getParameter("order");
calculator.setOrder(order == null?metaTab.getDefaultOrder():order);
calculator.setUseConvertersInKeys(true);
String keyProperty = request.getParameter("keyProperty");
if (keyProperty == null) keyProperty = request.getParameter("propiedadClave");
calculator.setKeyProperty(keyProperty);
String keyProperties = request.getParameter("keyProperties");
if (keyProperties == null) keyProperties = request.getParameter("propiedadesClave");
calculator.setKeyProperties(keyProperties);
String descriptionProperty = request.getParameter("descriptionProperty");
if (descriptionProperty == null) descriptionProperty = request.getParameter("propiedadDescripcion");
calculator.setDescriptionProperty(descriptionProperty);
String descriptionProperties = request.getParameter("descriptionProperties");
if (descriptionProperties == null) descriptionProperties = request.getParameter("propiedadesDescripcion");
calculator.setDescriptionProperties(descriptionProperties);
String orderByKey = request.getParameter("orderByKey");
if (orderByKey == null) orderByKey = request.getParameter("ordenadoPorClave");
calculator.setOrderByKey(orderByKey);
java.util.Collection descriptions = calculator.getDescriptions();
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
boolean filterOnChange = org.openxava.util.XavaPreferences.getInstance().isFilterOnChange();
String collection = request.getParameter("collection");
String collectionArgv = Is.emptyString(collection)?"":"collection="+collection;
out.write("\n");
out.write("<div>\n");
out.write("\t<input type=\"hidden\" name=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f0_reused = false;
try {
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f0.setParent(null);
// /xava/editors/comparatorsDescriptionsList.jsp(90,28) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f0.setName(prefix + "conditionComparator." + index);
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
_jspx_th_xava_005fid_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
}
out.write("\" value=\"");
out.print(Tab.EQ_COMPARATOR);
out.write("\">\n");
out.write("\t<input type=\"hidden\" name=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f1_reused = false;
try {
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f1.setParent(null);
// /xava/editors/comparatorsDescriptionsList.jsp(91,28) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f1.setName(prefix + "conditionValueTo." + index);
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
_jspx_th_xava_005fid_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
}
out.write("\" >\n");
out.write("\t<!-- conditionValueTo: we need all indexes to implement the range filters -->\n");
out.write("</div>\n");
if (index < 0) {
out.write("\n");
out.write("<select id=\"");
out.print(propertyKey);
out.write("\" name=\"");
out.print(propertyKey);
out.write("\" tabindex=\"1\" style=\"width: 100%;\" class=");
out.print(style.getEditor());
out.write('>');
out.write('\n');
} else {
out.write("\n");
out.write("<select name=\"");
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f2 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f2_reused = false;
try {
_jspx_th_xava_005fid_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f2.setParent(null);
// /xava/editors/comparatorsDescriptionsList.jsp(97,14) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f2.setName(prefix + "conditionValue." + index);
int _jspx_eval_xava_005fid_005f2 = _jspx_th_xava_005fid_005f2.doStartTag();
if (_jspx_th_xava_005fid_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f2);
_jspx_th_xava_005fid_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f2_reused);
}
out.write("\" style=\"width: 100%;\" class=");
out.print(style.getEditor());
out.write('\n');
if(filterOnChange) {
out.write("\n");
out.write("\tonchange=\"openxava.executeAction('");
out.print(request.getParameter("application"));
out.write("', '");
out.print(request.getParameter("module"));
out.write("', '', false, 'List.filter','");
out.print(collectionArgv);
out.write("')\"\n");
}
out.write("\n");
out.write(">\n");
out.write("\n");
}
out.write("\n");
out.write("\t<option value=\"\"></option>\n");
java.util.Iterator it = descriptions.iterator();
String selectedDescription = "";
String valuePrefix = value.split(Tab.DESCRIPTIONS_LIST_SEPARATOR)[0] + Tab.DESCRIPTIONS_LIST_SEPARATOR;
while (it.hasNext()) {
KeyAndDescription cl = (KeyAndDescription) it.next();
String selected = "";
String description = formatter==null?cl.getDescription().toString():formatter.format(request, cl.getDescription());
// Intead of asking index < 0 it would better to use a specific parameter such as descriptionInKey or so
String keyPrefix = cl.getKey() + Tab.DESCRIPTIONS_LIST_SEPARATOR;
Object key = keyPrefix + description;
if (keyPrefix.equals(valuePrefix)) {
selected = "selected";
selectedDescription = description;
}
out.write("\n");
out.write("\t<option value=\"");
out.print(key);
out.write('"');
out.write(' ');
out.print(selected);
out.write('>');
out.print(description);
out.write("</option>\n");
} // del while
out.write("\n");
out.write("</select>\n");
if (index < 0) {
out.write("\n");
out.write("<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("__DESCRIPTION__\" value=\"");
out.print(selectedDescription);
out.write("\"/>\n");
}
out.write('\n');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,220 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:11:52 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.model.meta.MetaProperty;
public final class dateCalendarEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write("\n");
out.write(" \n");
String propertyKey = request.getParameter("propertyKey");
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
String align = p.isNumber()?"right":"left";
boolean editable="true".equals(request.getParameter("editable"));
String disabled=editable?"":"disabled";
String script = request.getParameter("script");
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel();
String browser = request.getHeader("user-agent");
int sizeIncrement = browser.contains("Chrome")?0:2;
if (editable || !label) {
out.write("\n");
out.write("<span class=\"");
out.print(style.getDateCalendar());
out.write("\">\n");
out.write("<input type=\"text\" name=\"");
out.print(propertyKey);
out.write("\" id=\"");
out.print(propertyKey);
out.write("\" class=");
out.print(style.getEditor());
out.write(" title=\"");
out.print(p.getDescription(request));
out.write("\"\n");
out.write("\ttabindex=\"1\" \n");
out.write("\talign='");
out.print(align);
out.write("'\n");
out.write("\tmaxlength=\"");
out.print(p.getSize());
out.write("\" \n");
out.write("\tsize=\"");
out.print(p.getSize() + sizeIncrement);
out.write("\" \t \n");
out.write("\tvalue=\"");
out.print(fvalue);
out.write('"');
out.write(' ');
out.print(disabled);
out.write(' ');
out.print(script);
out.write('>');
if (editable) {
out.write("<a style=\"position: relative; right: 25px;\" href=\"javascript:showCalendar('");
out.print(propertyKey);
out.write("', '");
out.print(org.openxava.util.Dates.dateFormatForJSCalendar(org.openxava.util.Locales.getCurrent()));
out.write("')\"><i class=\"mdi mdi-calendar\"></i></a>");
}
out.write("\t\n");
out.write("</span> \n");
} else {
out.write('\n');
out.print(fvalue);
out.write("&nbsp;\t\n");
}
out.write('\n');
if (!editable) {
out.write("\n");
out.write("\t<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("\" value=\"");
out.print(fvalue);
out.write('"');
out.write('>');
out.write('\n');
}
out.write("\t\t\t\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,217 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 14:21:17 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.model.meta.MetaProperty;
public final class dateTimeCombinedCalendarEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write("\n");
out.write(" \n");
out.write(" ");
String propertyKey = request.getParameter("propertyKey");
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
String align = p.isNumber()?"right":"left";
boolean editable="true".equals(request.getParameter("editable"));
String disabled=editable?"":"disabled";
String script = request.getParameter("script");
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel();
if (editable || !label) {
out.write("\n");
out.write("<span class=\"");
out.print(style.getDateCalendar());
out.write("\">\n");
out.write("<input type=\"text\" name=\"");
out.print(propertyKey);
out.write("\" id=\"");
out.print(propertyKey);
out.write("\" class=");
out.print(style.getEditor());
out.write(" title=\"");
out.print(p.getDescription(request));
out.write("\"\n");
out.write("\ttabindex=\"1\" \n");
out.write("\talign='");
out.print(align);
out.write("'\n");
out.write("\tmaxlength=\"19\" \n");
out.write("\tsize=\"19\" \t\n");
out.write("\tvalue=\"");
out.print(fvalue);
out.write('"');
out.write('\n');
out.write(' ');
out.print(disabled);
out.write('\n');
out.write(' ');
out.print(script);
out.write('>');
if (editable) {
out.write("<a style=\"position: relative; right: 25px;\" href=\"javascript:showCalendar('");
out.print(propertyKey);
out.write("', '");
out.print(org.openxava.util.Dates.dateTimeFormatForJSCalendar(org.openxava.util.Locales.getCurrent()));
out.write("', '12')\"><i class=\"mdi mdi-calendar-clock\"></i></a>");
}
out.write("\n");
out.write("</span>\n");
} else {
out.write('\n');
out.print(fvalue);
out.write("&nbsp;\t\n");
}
out.write('\n');
if (!editable) {
out.write("\n");
out.write("\t<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("\" value=\"");
out.print(fvalue);
out.write('"');
out.write('>');
out.write('\n');
}
out.write("\t\t\t\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,473 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:02:18 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.util.KeyAndDescription;
import org.openxava.util.Is;
import org.openxava.util.XavaResources;
import org.openxava.model.meta.MetaProperty;
import org.openxava.calculators.DescriptionsCalculator;
import org.openxava.formatters.IFormatter;
import org.openxava.filters.IFilter;
import org.openxava.filters.IRequestFilter;
import org.openxava.mapping.PropertyMapping;
import org.openxava.converters.IConverter;
public final class descriptionsEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.calculators.DescriptionsCalculator");
_jspx_imports_classes.add("org.openxava.formatters.IFormatter");
_jspx_imports_classes.add("org.openxava.filters.IRequestFilter");
_jspx_imports_classes.add("org.openxava.util.XavaResources");
_jspx_imports_classes.add("org.openxava.mapping.PropertyMapping");
_jspx_imports_classes.add("org.openxava.filters.IFilter");
_jspx_imports_classes.add("org.openxava.util.KeyAndDescription");
_jspx_imports_classes.add("org.openxava.converters.IConverter");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\r');
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
String viewObject = request.getParameter("viewObject");
viewObject = (viewObject == null || viewObject.equals(""))?"xava_view":viewObject;
org.openxava.view.View view = (org.openxava.view.View) context.get(request, viewObject);
String propertyKey = request.getParameter("propertyKey");
String script = request.getParameter("script");
//modelForId is for have a different cache for each condition
String modelForId = "." + view.getModelName();
// conditionForId is for have a different cache for each condition
String conditionForId = request.getParameter("condition");
if (Is.emptyString(conditionForId)) conditionForId = request.getParameter("condicion");
conditionForId = Is.emptyString(conditionForId)?"":"." + conditionForId;
// orderByKeyForId is for have a different cache for each orderByKey
String orderByKeyForId = request.getParameter("orderByKey");
if (Is.emptyString(orderByKeyForId)) orderByKeyForId = request.getParameter("ordenadoPorClave");
orderByKeyForId = Is.emptyString(orderByKeyForId)?"":"." + orderByKeyForId;
//orderForId is for have a different cache for each order
String orderForId = request.getParameter("order");
if (Is.emptyString(orderForId)) orderForId = request.getParameter("orden");
orderForId = Is.emptyString(orderForId)?"":"." + orderForId;
String descriptionsCalculatorKey = propertyKey + modelForId + conditionForId + orderByKeyForId + orderForId + ".descriptionsCalculator";
DescriptionsCalculator calculator = (DescriptionsCalculator) request.getSession().getAttribute(descriptionsCalculatorKey);
IFilter filter = null;
String filterClass=request.getParameter("filter");
if (Is.emptyString(filterClass)) filterClass=request.getParameter("filtro");
if (!Is.emptyString(filterClass)) {
String filterKey = propertyKey + ".filter";
filter = (IFilter) request.getSession().getAttribute(filterKey);
if (filter == null) {
try {
filter = (IFilter) Class.forName(filterClass).newInstance();
request.getSession().setAttribute(filterKey, filter);
}
catch (Exception ex) {
ex.printStackTrace();
System.err.println(XavaResources.getString("descriptionsEditor_filter_warning", propertyKey));
}
}
if (filter instanceof IRequestFilter) {
((IRequestFilter) filter).setRequest(request);
}
}
IFormatter formatter = null;
String descriptionsFormatterClass=request.getParameter("descriptionsFormatter");
if (descriptionsFormatterClass == null) {
descriptionsFormatterClass=request.getParameter("formateadorDescripciones");
}
if (descriptionsFormatterClass != null) {
String descriptionsFormatterKey = propertyKey + ".descriptionsFormatter";
formatter = (IFormatter) request.getSession().getAttribute(descriptionsFormatterKey);
if (formatter == null) {
try {
formatter = (IFormatter) Class.forName(descriptionsFormatterClass).newInstance();
request.getSession().setAttribute(descriptionsFormatterKey, formatter);
}
catch (Exception ex) {
ex.printStackTrace();
System.err.println(XavaResources.getString("descriptionsEditor_descriptions_formatter_warning", propertyKey));
}
}
}
String parameterValuesProperties=request.getParameter("parameterValuesProperties");
if (parameterValuesProperties == null) {
parameterValuesProperties=request.getParameter("propiedadesValoresParametros");
}
String parameterValuesStereotypes=request.getParameter("parameterValuesStereotypes");
if (parameterValuesStereotypes == null) {
parameterValuesStereotypes=request.getParameter("estereotiposValoresParametros");
}
if (calculator == null) {
calculator = new DescriptionsCalculator();
// The arguments in English and Spanish for compatibility with
// a big amount of stereotypes made in spanish using this editor
String condition = request.getParameter("condition");
if (condition == null) condition = request.getParameter("condicion");
calculator.setCondition(condition);
String order = request.getParameter("order");
if (order == null) order = request.getParameter("orden");
calculator.setOrder(order);
calculator.setUseConvertersInKeys(true);
String model = request.getParameter("model");
if (model == null) model = request.getParameter("modelo");
calculator.setModel(model);
String keyProperty = request.getParameter("keyProperty");
if (keyProperty == null) keyProperty = request.getParameter("propiedadClave");
calculator.setKeyProperty(keyProperty);
String keyProperties = request.getParameter("keyProperties");
if (keyProperties == null) keyProperties = request.getParameter("propiedadesClave");
calculator.setKeyProperties(keyProperties);
String descriptionProperty = request.getParameter("descriptionProperty");
if (descriptionProperty == null) descriptionProperty = request.getParameter("propiedadDescripcion");
calculator.setDescriptionProperty(descriptionProperty);
String descriptionProperties = request.getParameter("descriptionProperties");
if (descriptionProperties == null) descriptionProperties = request.getParameter("propiedadesDescripcion");
calculator.setDescriptionProperties(descriptionProperties);
String orderByKey = request.getParameter("orderByKey");
if (orderByKey == null) orderByKey = request.getParameter("ordenadoPorClave");
calculator.setOrderByKey(orderByKey);
request.getSession().setAttribute(descriptionsCalculatorKey, calculator);
}
if (parameterValuesStereotypes != null || parameterValuesProperties != null) {
java.util.Iterator it = null;
if (parameterValuesStereotypes != null) {
it = view.getPropertiesNamesFromStereotypesList(parameterValuesStereotypes).iterator();
}
else {
it = view.getPropertiesNamesFromPropertiesList(parameterValuesProperties).iterator();
}
java.util.Collection p = new java.util.ArrayList();
while (it.hasNext()) {
String parameterValueKey = (String) it.next();
org.openxava.view.View v = null;
if (parameterValueKey != null && parameterValueKey.startsWith("this.")) {
parameterValueKey = parameterValueKey.substring(5);
v = view;
}
else if (parameterValueKey != null && view.isMemberFromElementCollection(parameterValueKey)) {
v = view;
}
else {
v = view.getRoot();
}
Object parameterValue = parameterValueKey==null?null:v.getValue(parameterValueKey);
if (parameterValueKey != null) {
PropertyMapping mapping = v.getMetaProperty(parameterValueKey).getMapping();
if (mapping != null) {
IConverter converter = mapping.getConverter();
if (converter != null) {
parameterValue = converter.toDB(parameterValue);
}
}
}
p.add(parameterValue);
}
calculator.setParameters(p, filter);
}
else if (filter != null) {
calculator.setParameters(null, filter);
}
java.util.Collection descriptions = calculator.getDescriptions();
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
String title = (p == null)?"":p.getDescription(request);
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
boolean editable = "true".equals(request.getParameter("editable"));
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel() || "true".equalsIgnoreCase(request.getParameter("readOnlyAsLabel"));
if (editable) {
java.util.Iterator it = descriptions.iterator();
String selectedDescription = "";
String selectedKey = "";
StringBuffer values = new StringBuffer("[");
int maxDescriptionLength = 0;
while (it.hasNext()) {
KeyAndDescription cl = (KeyAndDescription) it.next();
String selected = "";
String description = formatter==null?cl.getDescription().toString():formatter.format(request, cl.getDescription());
if (description.length() > maxDescriptionLength) maxDescriptionLength = description.length();
if (Is.equalAsStringIgnoreCase(fvalue, cl.getKey())) {
selected = "selected";
selectedDescription = description;
selectedKey = cl.getKey().toString();
}
values.append("{label:\"");
values.append(description.replaceAll("'", "&apos;").replaceAll("\"", "&Prime;"));
values.append("\",value:\"");
values.append(cl.getKey().toString().replaceAll("'", "&apos;").replaceAll("\"", "&Prime;"));
values.append("\"}");
if (it.hasNext()) values.append(",");
}
values.append("]");
String browser = request.getHeader("user-agent");
maxDescriptionLength += 5;
selectedDescription = selectedDescription.replaceAll("\"", "&quot;");
out.write("\r\n");
out.write("\t<span class=\"");
out.print(style.getDescriptionsList());
out.write(' ');
out.print(style.getEditor());
out.write("\">\r\n");
out.write("\t");
out.write("\r\n");
out.write("\t<input name=\"");
out.print(propertyKey);
out.write("__CONTROL__\" type=\"text\" tabindex=\"1\" class=\"xava_select ");
out.print(style.getEditor());
out.write("\" size=\"");
out.print(maxDescriptionLength);
out.write('"');
out.write(' ');
out.print(script);
out.write(" title=\"");
out.print(title);
out.write("\" \r\n");
out.write("\t\tdata-values='");
out.print(values);
out.write("' value=\"");
out.print(selectedDescription);
out.write("\"/>\r\n");
out.write("\t<input id=\"");
out.print(propertyKey);
out.write("\" type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("\" value=\"");
out.print(selectedKey);
out.write("\"/>\r\n");
out.write("\t<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("__DESCRIPTION__\" value=\"");
out.print(selectedDescription);
out.write("\"/>\r\n");
out.write("\t<a class=\"ox-layout-descriptions-editor-handler\" href=\"javascript:descriptionsEditor.open('");
out.print(propertyKey);
out.write("')\"><i class=\"mdi mdi-menu-down\"></i></a> \t\t\r\n");
out.write("\t<a class=\"ox-layout-descriptions-editor-handler\" href=\"javascript:descriptionsEditor.close('");
out.print(propertyKey);
out.write("')\" style=\"display: none\"><i class=\"mdi mdi-menu-up\"></i></a>\r\n");
out.write("\t</span>\r\n");
out.write("\t");
} else {
Object description = "";
java.util.Iterator it = descriptions.iterator();
while (it.hasNext()) {
KeyAndDescription cl = (KeyAndDescription) it.next();
if (Is.equalAsString(fvalue, cl.getKey())) {
description = formatter==null?cl.getDescription().toString():formatter.format(request, cl.getDescription());
break;
}
}
if (label) {
out.write("\r\n");
out.write("\r\n");
Object b = (Object) request.getParameter("bold");
boolean bold = b == null ? false : new Boolean(b.toString()).booleanValue();
if (bold) {
out.write(" <b> ");
}
out.write(" \r\n");
out.write("\r\n");
out.write("\t");
out.print(description);
out.write("&nbsp;\r\n");
if (bold) {
out.write(" </b> ");
}
out.write('\r');
out.write('\n');
}
else {
out.write("\r\n");
out.write("\t<input name=\"");
out.print(propertyKey);
out.write("__DESCRIPTION__\" class=");
out.print(style.getEditor());
out.write("\r\n");
out.write("\t\ttype=\"text\" \r\n");
out.write("\t\ttitle=\"");
out.print(title);
out.write("\"\r\n");
out.write("\t\tmaxlength=\"");
out.print(description.toString().length());
out.write("\" \r\n");
out.write("\t\tsize=\"");
out.print(description.toString().length() + 5);
out.write("\" \r\n");
out.write("\t\tvalue=\"");
out.print(description);
out.write("\"\r\n");
out.write("\t\tdisabled\r\n");
out.write("\t/>\r\n");
}
out.write("\t\r\n");
out.write("\t<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("\" value=\"");
out.print(fvalue);
out.write("\"/>\t\r\n");
}
out.write("\t\t\t\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,760 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:02:18 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.util.Locales;
public final class filePondTranslation_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590312433369L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.util.Locales");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
if (!Locales.getCurrent().getLanguage().equals("en") && request.getAttribute("xava.filepond.transaled") == null) {
out.write("\r\n");
out.write("\t<script>\r\n");
out.write("\tFilePond.setOptions({\r\n");
out.write("\t\tlabelIdle: '");
if (_jspx_meth_xava_005fmessage_005f0(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileWaitingForSize: '");
if (_jspx_meth_xava_005fmessage_005f1(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileSizeNotAvailable: '");
if (_jspx_meth_xava_005fmessage_005f2(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileLoading: '");
if (_jspx_meth_xava_005fmessage_005f3(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tlabelFileLoadError: '");
if (_jspx_meth_xava_005fmessage_005f4(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileProcessing: '");
if (_jspx_meth_xava_005fmessage_005f5(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tlabelFileProcessingComplete: '");
if (_jspx_meth_xava_005fmessage_005f6(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileProcessingAborted: '");
if (_jspx_meth_xava_005fmessage_005f7(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileProcessingError: '");
if (_jspx_meth_xava_005fmessage_005f8(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileProcessingRevertError: '");
if (_jspx_meth_xava_005fmessage_005f9(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelFileRemoveError: '");
if (_jspx_meth_xava_005fmessage_005f10(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelTapToCancel: '");
if (_jspx_meth_xava_005fmessage_005f11(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelTapToRetry: '");
if (_jspx_meth_xava_005fmessage_005f12(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelTapToUndo: '");
if (_jspx_meth_xava_005fmessage_005f13(_jspx_page_context))
return;
out.write("',\r\n");
out.write("\t\tlabelButtonRemoveItem: '");
if (_jspx_meth_xava_005flabel_005f0(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tlabelButtonAbortItemLoad: '");
if (_jspx_meth_xava_005flabel_005f1(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tlabelButtonRetryItemLoad: '");
if (_jspx_meth_xava_005flabel_005f2(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tlabelButtonAbortItemProcessing: '");
if (_jspx_meth_xava_005flabel_005f3(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tlabelButtonUndoItemProcessing: '");
if (_jspx_meth_xava_005flabel_005f4(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tfilepond_labelButtonRetryItemProcessing: '");
if (_jspx_meth_xava_005flabel_005f5(_jspx_page_context))
return;
out.write("', \r\n");
out.write("\t\tfilepond_labelButtonProcessItem: '");
if (_jspx_meth_xava_005flabel_005f6(_jspx_page_context))
return;
out.write("' \r\n");
out.write("\t});\r\n");
out.write("\t</script>\r\n");
request.setAttribute("xava.filepond.transaled", true);
}
out.write(" \t\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fmessage_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f0 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f0_reused = false;
try {
_jspx_th_xava_005fmessage_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f0.setParent(null);
// /xava/editors/filePondTranslation.jsp(10,14) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f0.setKey("filepond_labelIdle");
int _jspx_eval_xava_005fmessage_005f0 = _jspx_th_xava_005fmessage_005f0.doStartTag();
if (_jspx_th_xava_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f0);
_jspx_th_xava_005fmessage_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f1 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f1_reused = false;
try {
_jspx_th_xava_005fmessage_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f1.setParent(null);
// /xava/editors/filePondTranslation.jsp(11,28) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f1.setKey("filepond_labelFileWaitingForSize");
int _jspx_eval_xava_005fmessage_005f1 = _jspx_th_xava_005fmessage_005f1.doStartTag();
if (_jspx_th_xava_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f1);
_jspx_th_xava_005fmessage_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f1_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f2 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f2_reused = false;
try {
_jspx_th_xava_005fmessage_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f2.setParent(null);
// /xava/editors/filePondTranslation.jsp(12,30) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f2.setKey("filepond_labelFileSizeNotAvailable");
int _jspx_eval_xava_005fmessage_005f2 = _jspx_th_xava_005fmessage_005f2.doStartTag();
if (_jspx_th_xava_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f2);
_jspx_th_xava_005fmessage_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f2_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f3 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f3_reused = false;
try {
_jspx_th_xava_005fmessage_005f3.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f3.setParent(null);
// /xava/editors/filePondTranslation.jsp(13,21) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f3.setKey("loading");
int _jspx_eval_xava_005fmessage_005f3 = _jspx_th_xava_005fmessage_005f3.doStartTag();
if (_jspx_th_xava_005fmessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f3);
_jspx_th_xava_005fmessage_005f3_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f3_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f4 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f4_reused = false;
try {
_jspx_th_xava_005fmessage_005f4.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f4.setParent(null);
// /xava/editors/filePondTranslation.jsp(14,23) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f4.setKey("filepond_labelFileLoadError");
int _jspx_eval_xava_005fmessage_005f4 = _jspx_th_xava_005fmessage_005f4.doStartTag();
if (_jspx_th_xava_005fmessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f4);
_jspx_th_xava_005fmessage_005f4_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f4_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f5 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f5_reused = false;
try {
_jspx_th_xava_005fmessage_005f5.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f5.setParent(null);
// /xava/editors/filePondTranslation.jsp(15,24) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f5.setKey("file_uploading");
int _jspx_eval_xava_005fmessage_005f5 = _jspx_th_xava_005fmessage_005f5.doStartTag();
if (_jspx_th_xava_005fmessage_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f5);
_jspx_th_xava_005fmessage_005f5_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f5_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f6 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f6_reused = false;
try {
_jspx_th_xava_005fmessage_005f6.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f6.setParent(null);
// /xava/editors/filePondTranslation.jsp(16,32) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f6.setKey("filepond_labelFileProcessingComplete");
int _jspx_eval_xava_005fmessage_005f6 = _jspx_th_xava_005fmessage_005f6.doStartTag();
if (_jspx_th_xava_005fmessage_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f6);
_jspx_th_xava_005fmessage_005f6_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f6_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f7(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f7 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f7_reused = false;
try {
_jspx_th_xava_005fmessage_005f7.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f7.setParent(null);
// /xava/editors/filePondTranslation.jsp(17,31) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f7.setKey("filepond_labelFileProcessingAborted");
int _jspx_eval_xava_005fmessage_005f7 = _jspx_th_xava_005fmessage_005f7.doStartTag();
if (_jspx_th_xava_005fmessage_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f7);
_jspx_th_xava_005fmessage_005f7_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f7, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f7_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f8 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f8_reused = false;
try {
_jspx_th_xava_005fmessage_005f8.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f8.setParent(null);
// /xava/editors/filePondTranslation.jsp(18,29) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f8.setKey("filepond_labelFileProcessingError");
int _jspx_eval_xava_005fmessage_005f8 = _jspx_th_xava_005fmessage_005f8.doStartTag();
if (_jspx_th_xava_005fmessage_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f8);
_jspx_th_xava_005fmessage_005f8_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f8, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f8_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f9 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f9_reused = false;
try {
_jspx_th_xava_005fmessage_005f9.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f9.setParent(null);
// /xava/editors/filePondTranslation.jsp(19,35) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f9.setKey("filepond_labelFileProcessingRevertError");
int _jspx_eval_xava_005fmessage_005f9 = _jspx_th_xava_005fmessage_005f9.doStartTag();
if (_jspx_th_xava_005fmessage_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f9);
_jspx_th_xava_005fmessage_005f9_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f9, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f9_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f10(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f10 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f10_reused = false;
try {
_jspx_th_xava_005fmessage_005f10.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f10.setParent(null);
// /xava/editors/filePondTranslation.jsp(20,25) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f10.setKey("filepond_labelFileRemoveError");
int _jspx_eval_xava_005fmessage_005f10 = _jspx_th_xava_005fmessage_005f10.doStartTag();
if (_jspx_th_xava_005fmessage_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f10);
_jspx_th_xava_005fmessage_005f10_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f10, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f10_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f11(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f11 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f11_reused = false;
try {
_jspx_th_xava_005fmessage_005f11.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f11.setParent(null);
// /xava/editors/filePondTranslation.jsp(21,21) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f11.setKey("filepond_labelTapToCancel");
int _jspx_eval_xava_005fmessage_005f11 = _jspx_th_xava_005fmessage_005f11.doStartTag();
if (_jspx_th_xava_005fmessage_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f11);
_jspx_th_xava_005fmessage_005f11_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f11, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f11_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f12(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f12 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f12_reused = false;
try {
_jspx_th_xava_005fmessage_005f12.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f12.setParent(null);
// /xava/editors/filePondTranslation.jsp(22,20) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f12.setKey("filepond_labelTapToRetry");
int _jspx_eval_xava_005fmessage_005f12 = _jspx_th_xava_005fmessage_005f12.doStartTag();
if (_jspx_th_xava_005fmessage_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f12);
_jspx_th_xava_005fmessage_005f12_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f12, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f12_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fmessage_005f13(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:message
org.openxava.web.taglib.MessageTag _jspx_th_xava_005fmessage_005f13 = (org.openxava.web.taglib.MessageTag) _005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.get(org.openxava.web.taglib.MessageTag.class);
boolean _jspx_th_xava_005fmessage_005f13_reused = false;
try {
_jspx_th_xava_005fmessage_005f13.setPageContext(_jspx_page_context);
_jspx_th_xava_005fmessage_005f13.setParent(null);
// /xava/editors/filePondTranslation.jsp(23,19) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fmessage_005f13.setKey("filepond_labelTapToUndo");
int _jspx_eval_xava_005fmessage_005f13 = _jspx_th_xava_005fmessage_005f13.doStartTag();
if (_jspx_th_xava_005fmessage_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005fmessage_005f13);
_jspx_th_xava_005fmessage_005f13_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fmessage_005f13, _jsp_getInstanceManager(), _jspx_th_xava_005fmessage_005f13_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f0 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f0_reused = false;
try {
_jspx_th_xava_005flabel_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f0.setParent(null);
// /xava/editors/filePondTranslation.jsp(24,26) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f0.setKey("remove");
int _jspx_eval_xava_005flabel_005f0 = _jspx_th_xava_005flabel_005f0.doStartTag();
if (_jspx_th_xava_005flabel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f0);
_jspx_th_xava_005flabel_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f1 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f1_reused = false;
try {
_jspx_th_xava_005flabel_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f1.setParent(null);
// /xava/editors/filePondTranslation.jsp(25,29) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f1.setKey("abort");
int _jspx_eval_xava_005flabel_005f1 = _jspx_th_xava_005flabel_005f1.doStartTag();
if (_jspx_th_xava_005flabel_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f1);
_jspx_th_xava_005flabel_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f1_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f2 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f2_reused = false;
try {
_jspx_th_xava_005flabel_005f2.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f2.setParent(null);
// /xava/editors/filePondTranslation.jsp(26,29) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f2.setKey("retry");
int _jspx_eval_xava_005flabel_005f2 = _jspx_th_xava_005flabel_005f2.doStartTag();
if (_jspx_th_xava_005flabel_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f2);
_jspx_th_xava_005flabel_005f2_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f2, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f2_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f3 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f3_reused = false;
try {
_jspx_th_xava_005flabel_005f3.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f3.setParent(null);
// /xava/editors/filePondTranslation.jsp(27,35) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f3.setKey("cancel");
int _jspx_eval_xava_005flabel_005f3 = _jspx_th_xava_005flabel_005f3.doStartTag();
if (_jspx_th_xava_005flabel_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f3);
_jspx_th_xava_005flabel_005f3_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f3, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f3_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f4 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f4_reused = false;
try {
_jspx_th_xava_005flabel_005f4.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f4.setParent(null);
// /xava/editors/filePondTranslation.jsp(28,34) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f4.setKey("undo");
int _jspx_eval_xava_005flabel_005f4 = _jspx_th_xava_005flabel_005f4.doStartTag();
if (_jspx_th_xava_005flabel_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f4);
_jspx_th_xava_005flabel_005f4_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f4, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f4_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f5 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f5_reused = false;
try {
_jspx_th_xava_005flabel_005f5.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f5.setParent(null);
// /xava/editors/filePondTranslation.jsp(29,44) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f5.setKey("retry");
int _jspx_eval_xava_005flabel_005f5 = _jspx_th_xava_005flabel_005f5.doStartTag();
if (_jspx_th_xava_005flabel_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f5);
_jspx_th_xava_005flabel_005f5_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f5, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f5_reused);
}
return false;
}
private boolean _jspx_meth_xava_005flabel_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:label
org.openxava.web.taglib.LabelTag _jspx_th_xava_005flabel_005f6 = (org.openxava.web.taglib.LabelTag) _005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.get(org.openxava.web.taglib.LabelTag.class);
boolean _jspx_th_xava_005flabel_005f6_reused = false;
try {
_jspx_th_xava_005flabel_005f6.setPageContext(_jspx_page_context);
_jspx_th_xava_005flabel_005f6.setParent(null);
// /xava/editors/filePondTranslation.jsp(30,36) name = key type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flabel_005f6.setKey("upload");
int _jspx_eval_xava_005flabel_005f6 = _jspx_th_xava_005flabel_005f6.doStartTag();
if (_jspx_th_xava_005flabel_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005flabel_0026_005fkey_005fnobody.reuse(_jspx_th_xava_005flabel_005f6);
_jspx_th_xava_005flabel_005f6_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flabel_005f6, _jsp_getInstanceManager(), _jspx_th_xava_005flabel_005f6_reused);
}
return false;
}
}

View File

@@ -0,0 +1,169 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:02:19 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.Currency;
import java.util.Locale;
public final class moneyEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("java.util.Locale");
_jspx_imports_classes.add("java.util.Currency");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
String symbol = null;
try {
symbol = Currency.getInstance(Locale.getDefault()).getSymbol();
}
catch (Exception ex) { // Because Locale.getDefault() may not contain the country
symbol = "?";
}
out.write('\n');
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write("\n");
out.write("\n");
out.write("<span class=\"");
out.print(style.getMoney());
out.write("\">\n");
out.write("<b>");
out.print(symbol);
out.write("</b>\n");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "textEditor.jsp", out, false);
out.write("\n");
out.write("</span>\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,136 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:46 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class passwordEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "textEditor.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("inputType", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("password", request.getCharacterEncoding()), out, false);
out.write(' ');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,136 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 19:07:57 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class referenceEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../detail.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("viewObject", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(request.getParameter("viewObject")), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("propertyPrefix", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(request.getParameter("propertyPrefix")), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("first", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(request.getParameter("first")), request.getCharacterEncoding()), out, false);
out.write('\n');
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,431 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:47:43 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.Iterator;
import java.util.Locale;
import org.openxava.util.Locales;
import org.openxava.util.Labels;
import org.openxava.util.Is;
import org.openxava.web.Ids;
public final class selectColumns_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(5);
_jspx_dependants.put("/WEB-INF/lib/standard-jstlel.jar", Long.valueOf(1590312434113L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/c-1_0.tld", Long.valueOf(1425975068000L));
_jspx_dependants.put("/xava/editors/../imports.jsp", Long.valueOf(1590312433369L));
_jspx_dependants.put("/WEB-INF/openxava.tld", Long.valueOf(1590312434122L));
_jspx_dependants.put("jar:file:/Users/socrates/Documents/openxava-6.3.2/workspace/Babydatenbank/web/WEB-INF/lib/standard-jstlel.jar!/META-INF/fmt-1_0.tld", Long.valueOf(1425975068000L));
}
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("java.util.Iterator");
_jspx_imports_classes.add("org.openxava.util.Labels");
_jspx_imports_classes.add("java.util.Locale");
_jspx_imports_classes.add("org.openxava.web.Ids");
_jspx_imports_classes.add("org.openxava.util.Locales");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody;
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.release();
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction.release();
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
out.write("\n");
out.write("\n");
out.write("\n");
out.write(" ");
out.write('\n');
out.write(' ');
out.write('\n');
out.write(' ');
out.write("\n");
out.write(" \n");
out.write("\n");
out.write("\n");
org.openxava.controller.ModuleContext context = null;
synchronized (session) {
context = (org.openxava.controller.ModuleContext) _jspx_page_context.getAttribute("context", javax.servlet.jsp.PageContext.SESSION_SCOPE);
if (context == null){
context = new org.openxava.controller.ModuleContext();
_jspx_page_context.setAttribute("context", context, javax.servlet.jsp.PageContext.SESSION_SCOPE);
}
}
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
String tabObject = request.getParameter("tabObject");
tabObject = (tabObject == null || tabObject.equals(""))?"xava_tab":tabObject;
org.openxava.tab.Tab tab = (org.openxava.tab.Tab) context.get(request, "xava_customizingTab");
String searchWord = request.getParameter("searchWord");
searchWord = searchWord == null?"":searchWord.toLowerCase();
boolean originalColumnsToAddUntilSecondLevel = tab.isColumnsToAddUntilSecondLevel();
if (!Is.emptyString(searchWord)) tab.setColumnsToAddUntilSecondLevel(false);
out.write("\n");
out.write("<table id=\"");
if (_jspx_meth_xava_005fid_005f0(_jspx_page_context))
return;
out.write("\" class='");
out.print(style.getList());
out.write("' width=\"100%\" ");
out.print(style.getListCellSpacing());
out.write(" style=\"margin-bottom: 5px; ");
out.print(style.getListStyle());
out.write("\">\n");
out.write("<tr class=\"");
out.print(style.getListPair());
out.write("\" style=\"border-bottom: 1px solid; height: 0px;\"/> \n");
int f=0;
Locale currentLocale = Locales.getCurrent(); //Trifon
int c=0;
for (Iterator it=tab.getColumnsToAdd().iterator(); it.hasNext();) {
String property = (String) it.next();
String cssClass=c%2==0?style.getListPair():style.getListOdd();
String cssCellClass=c%2==0?style.getListPairCell():style.getListOddCell();
String events=c%2==0?style.getListPairEvents():style.getListOddEvents();
String rowId = Ids.decorate(request, "xavaPropertiesList") + f;
String actionOnClick = org.openxava.web.Actions.getActionOnClick(
request.getParameter("application"), request.getParameter("module"),
null, f, null, rowId,
"", "",
null, tabObject);
f++;
String propertyI18n = Labels.getQualified(property, currentLocale);
if (!Is.emptyString(searchWord) && !propertyI18n.toLowerCase().contains(searchWord)) continue;
c++;
if (tab.isColumnsToAddUntilSecondLevel() && c > 20) break;
out.write("\n");
out.write("<tr id=\"");
out.print(rowId);
out.write("\" class=\"");
out.print(cssClass);
out.write('"');
out.write(' ');
out.print(events);
out.write(" style=\"border-bottom: 1px solid;\">\n");
out.write("\t<td class=\"");
out.print(cssCellClass);
out.write("\" style=\"");
out.print(style.getListCellStyle());
out.write("\" width=\"5\">\n");
out.write("\t\t");
// xava:action
org.openxava.web.taglib.ActionTag _jspx_th_xava_005faction_005f0 = (org.openxava.web.taglib.ActionTag) _005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.get(org.openxava.web.taglib.ActionTag.class);
boolean _jspx_th_xava_005faction_005f0_reused = false;
try {
_jspx_th_xava_005faction_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005faction_005f0.setParent(null);
// /xava/editors/selectColumns.jsp(47,2) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005faction_005f0.setAction("AddColumns.addColumn");
// /xava/editors/selectColumns.jsp(47,2) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005faction_005f0.setArgv("property=" + property);
int _jspx_eval_xava_005faction_005f0 = _jspx_th_xava_005faction_005f0.doStartTag();
if (_jspx_th_xava_005faction_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005faction_0026_005fargv_005faction_005fnobody.reuse(_jspx_th_xava_005faction_005f0);
_jspx_th_xava_005faction_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005faction_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005faction_005f0_reused);
}
out.write("\n");
out.write("\t</td>\t\t\n");
out.write("\t<td class=\"");
out.print(cssCellClass);
out.write("\" style=\"");
out.print(style.getListCellStyle());
out.write("\" width=\"5\">\n");
out.write("\t\t<input type=\"checkbox\" name=\"");
if (_jspx_meth_xava_005fid_005f1(_jspx_page_context))
return;
out.write("\" value=\"selectedProperties:");
out.print(property);
out.write('"');
out.write(' ');
out.print(actionOnClick);
out.write("/>\n");
out.write("\t</td>\n");
out.write("\t<td class=\"");
out.print(cssCellClass);
out.write("\" style=\"");
out.print(style.getListCellStyle());
out.write("\"> \n");
out.write("\t\t");
// xava:link
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f0 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction.get(org.openxava.web.taglib.LinkTag.class);
boolean _jspx_th_xava_005flink_005f0_reused = false;
try {
_jspx_th_xava_005flink_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005flink_005f0.setParent(null);
// /xava/editors/selectColumns.jsp(53,2) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setAction("AddColumns.addColumn");
// /xava/editors/selectColumns.jsp(53,2) name = argv type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setArgv("property=" + property);
// /xava/editors/selectColumns.jsp(53,2) name = cssStyle type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f0.setCssStyle("text-decoration: none; outline: none;");
int _jspx_eval_xava_005flink_005f0 = _jspx_th_xava_005flink_005f0.doStartTag();
if (_jspx_eval_xava_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t<div>");
out.print(propertyI18n);
out.write("</div>\n");
out.write("\t\t");
int evalDoAfterBody = _jspx_th_xava_005flink_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_xava_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fargv_005faction.reuse(_jspx_th_xava_005flink_005f0);
_jspx_th_xava_005flink_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f0_reused);
}
out.write("\n");
out.write("\t</td>\n");
out.write("</tr>\n");
}
out.write('\n');
out.write('\n');
if (tab.isColumnsToAddUntilSecondLevel()) {
out.write("\n");
out.write("<tr class=\"");
out.print(style.getListPair());
out.write("\">\n");
out.write("<td/>\n");
out.write("<td/>\n");
out.write("<td>\n");
// xava:link
org.openxava.web.taglib.LinkTag _jspx_th_xava_005flink_005f1 = (org.openxava.web.taglib.LinkTag) _005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody.get(org.openxava.web.taglib.LinkTag.class);
boolean _jspx_th_xava_005flink_005f1_reused = false;
try {
_jspx_th_xava_005flink_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005flink_005f1.setParent(null);
// /xava/editors/selectColumns.jsp(69,0) name = action type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f1.setAction("AddColumns.showMoreColumns");
// /xava/editors/selectColumns.jsp(69,0) name = cssClass type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f1.setCssClass(style.getActionLink());
// /xava/editors/selectColumns.jsp(69,0) name = cssStyle type = null reqTime = true required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005flink_005f1.setCssStyle("margin-left: 0px;");
int _jspx_eval_xava_005flink_005f1 = _jspx_th_xava_005flink_005f1.doStartTag();
if (_jspx_th_xava_005flink_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return;
}
_005fjspx_005ftagPool_005fxava_005flink_0026_005fcssStyle_005fcssClass_005faction_005fnobody.reuse(_jspx_th_xava_005flink_005f1);
_jspx_th_xava_005flink_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005flink_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005flink_005f1_reused);
}
out.write(" \n");
out.write("</td>\n");
out.write("</tr>\n");
}
tab.setColumnsToAddUntilSecondLevel(originalColumnsToAddUntilSecondLevel);
out.write("\n");
out.write("\n");
out.write("</table>\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_xava_005fid_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f0 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f0_reused = false;
try {
_jspx_th_xava_005fid_005f0.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f0.setParent(null);
// /xava/editors/selectColumns.jsp(22,11) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f0.setName("xavaPropertiesList");
int _jspx_eval_xava_005fid_005f0 = _jspx_th_xava_005fid_005f0.doStartTag();
if (_jspx_th_xava_005fid_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f0);
_jspx_th_xava_005fid_005f0_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f0, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f0_reused);
}
return false;
}
private boolean _jspx_meth_xava_005fid_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// xava:id
org.openxava.web.taglib.IdTag _jspx_th_xava_005fid_005f1 = (org.openxava.web.taglib.IdTag) _005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.get(org.openxava.web.taglib.IdTag.class);
boolean _jspx_th_xava_005fid_005f1_reused = false;
try {
_jspx_th_xava_005fid_005f1.setPageContext(_jspx_page_context);
_jspx_th_xava_005fid_005f1.setParent(null);
// /xava/editors/selectColumns.jsp(50,31) name = name type = null reqTime = true required = true fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_xava_005fid_005f1.setName("xava_selected");
int _jspx_eval_xava_005fid_005f1 = _jspx_th_xava_005fid_005f1.doStartTag();
if (_jspx_th_xava_005fid_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
return true;
}
_005fjspx_005ftagPool_005fxava_005fid_0026_005fname_005fnobody.reuse(_jspx_th_xava_005fid_005f1);
_jspx_th_xava_005fid_005f1_reused = true;
} finally {
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_xava_005fid_005f1, _jsp_getInstanceManager(), _jspx_th_xava_005fid_005f1_reused);
}
return false;
}
}

View File

@@ -0,0 +1,200 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-24 13:02:19 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.openxava.model.meta.MetaProperty;
import org.openxava.util.Is;
public final class textAreaEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.util.Is");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
out.write('\n');
out.write('\n');
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
String propertyKey = request.getParameter("propertyKey");
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
if ("0".equals(fvalue)) fvalue = "";
String align = p.isNumber()?"right":"left";
boolean editable="true".equals(request.getParameter("editable"));
String disabled=editable?"":"disabled";
String script = request.getParameter("script");
int rows = p.getSize() / 80 + 1;
if (rows > 25) rows = 25;
script = script + " onkeyup='return openxava.limitLength(event, " + p.getSize() + ")' ";
boolean rich = Is.equalAsStringIgnoreCase("true", request.getParameter("rich"));
String cssClass = request.getParameter("cssClass");
if (cssClass == null) cssClass = style.getEditor();
out.write("\n");
out.write("\n");
out.write("<textarea id=\"");
out.print(propertyKey);
out.write("\" name=\"");
out.print(propertyKey);
out.write("\" class=\"");
out.print(cssClass);
out.write("\"\n");
out.write("\ttabindex=\"1\" \n");
out.write("\trows=\"");
out.print(rows);
out.write("\" cols=\"80\"\n");
out.write("\ttitle=\"");
out.print(p.getDescription(request));
out.write("\"\t\n");
out.write("\t");
out.print(disabled);
out.write('\n');
out.write(' ');
out.print(script);
out.write('>');
out.print(fvalue);
out.write("</textarea>\t\n");
if (!editable) {
out.write("\n");
out.write("\t<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("\" value=\"");
out.print(fvalue);
out.write('"');
out.write('>');
out.write('\n');
}
out.write("\t\t\t\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

View File

@@ -0,0 +1,326 @@
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/9.0.22
* Generated at: 2020-05-25 17:47:46 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.xava.editors;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.text.NumberFormat;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import org.openxava.model.meta.MetaProperty;
import org.openxava.util.Strings;
import org.openxava.util.Align;
import org.openxava.util.Locales;
import org.openxava.util.XavaResources;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log;
public final class textEditor_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static Log log = LogFactory.getLog("textEditor.jsp");
private String getNumericAlt(int size, int scale) {
try {
DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(Locales.getCurrent());
DecimalFormatSymbols symbols = df.getDecimalFormatSymbols();
StringBuffer result = new StringBuffer("alt='n"); // Negatives always allowed
result.append(size > 9?"0":Integer.toString(size)); // Size
if (scale == 0 || !df.isGroupingUsed()) result.append("x"); // no grouping separator
else {
switch (symbols.getGroupingSeparator()) {
case ',':
result.append("c"); // comma
break;
case '.':
result.append("p"); // period
break;
case ' ':
result.append("s"); // space
break;
case '\'':
result.append("a"); // apostrophe
break;
default:
result.append("x"); // none
}
}
result.append(df.getGroupingSize());
switch (symbols.getDecimalSeparator()) {
case ',':
result.append("c"); // comma
break;
default:
result.append("p"); // period
}
result.append(scale > 9?"9":Integer.toString(scale)); // Scale
result.append("'");
return result.toString();
}
catch (Exception ex) {
log.warn(XavaResources.getString("default_numeric_editor_configuration"));
return "alt='n0c3p2'";
}
}
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = new java.util.HashSet<>();
_jspx_imports_classes.add("org.openxava.model.meta.MetaProperty");
_jspx_imports_classes.add("org.openxava.util.Strings");
_jspx_imports_classes.add("java.text.DecimalFormatSymbols");
_jspx_imports_classes.add("org.openxava.util.Align");
_jspx_imports_classes.add("java.text.DecimalFormat");
_jspx_imports_classes.add("org.openxava.util.XavaResources");
_jspx_imports_classes.add("org.apache.commons.logging.Log");
_jspx_imports_classes.add("org.apache.commons.logging.LogFactory");
_jspx_imports_classes.add("org.openxava.util.Locales");
_jspx_imports_classes.add("java.text.NumberFormat");
}
private volatile javax.el.ExpressionFactory _el_expressionfactory;
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
if (_el_expressionfactory == null) {
synchronized (this) {
if (_el_expressionfactory == null) {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
}
}
}
return _el_expressionfactory;
}
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
if (_jsp_instancemanager == null) {
synchronized (this) {
if (_jsp_instancemanager == null) {
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
}
}
return _jsp_instancemanager;
}
public void _jspInit() {
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
final java.lang.String _jspx_method = request.getMethod();
if ("OPTIONS".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
return;
}
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
return;
}
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
out.write("\n");
org.openxava.web.style.Style style = null;
style = (org.openxava.web.style.Style) _jspx_page_context.getAttribute("style", javax.servlet.jsp.PageContext.REQUEST_SCOPE);
if (style == null){
style = new org.openxava.web.style.Style();
_jspx_page_context.setAttribute("style", style, javax.servlet.jsp.PageContext.REQUEST_SCOPE);
}
out.write('\n');
out.write('\n');
String propertyKey = request.getParameter("propertyKey");
MetaProperty p = (MetaProperty) request.getAttribute(propertyKey);
String fvalue = (String) request.getAttribute(propertyKey + ".fvalue");
String align = p.isNumber()?"style='text-align:right'":"";
boolean editable="true".equals(request.getParameter("editable"));
String disabled=editable?"":"disabled";
String script = request.getParameter("script");
boolean label = org.openxava.util.XavaPreferences.getInstance().isReadOnlyAsLabel();
String inputType = request.getParameter("inputType");
if (inputType == null) inputType = "text";
String smaxSize = request.getParameter("maxSize");
int maxSize = 0;
if (!org.openxava.util.Is.emptyString(smaxSize)) {
maxSize = Integer.parseInt(smaxSize);
}
else {
maxSize = org.openxava.util.XavaPreferences.getInstance().getMaxSizeForTextEditor();
}
int size = p.getSize() > maxSize?maxSize:p.getSize();
int maxLength = p.getSize();
String numericAlt = "";
String numericClass = "";
if (p.isNumber()) {
if (p.getScale() > 0) {
int sizeIncrement = (size - 1) / 3 + 2; // The points/commas for thousands + point/comma for decimal + minus sign
size += sizeIncrement;
maxLength += sizeIncrement;
}
String integer = p.getScale() == 0?"true":"false";
numericAlt = getNumericAlt(p.getSize(), p.getScale());
numericClass = "xava_numeric";
}
boolean fillWithZeros = "true".equals(request.getParameter("fillWithZeros"));
if (fillWithZeros && fvalue.length() > 0) {
fvalue = Strings.fix(fvalue, size, Align.RIGHT, '0');
}
if (editable || !label) {
out.write("\n");
out.write("<input id=\"");
out.print(propertyKey);
out.write("\"\n");
out.write(" name=\"");
out.print(propertyKey);
out.write("\" class=\"");
out.print(style.getEditor());
out.write(' ');
out.print(numericClass);
out.write("\"\n");
out.write("\ttype=\"");
out.print(inputType);
out.write("\" \n");
out.write("\ttabindex=\"1\"\n");
out.write("\ttitle=\"");
out.print(p.getDescription(request));
out.write('"');
out.write('\n');
out.write(' ');
out.print(align);
out.write("\n");
out.write("\tmaxlength=\"");
out.print(maxLength);
out.write("\" \n");
out.write("\tsize=\"");
out.print(size);
out.write('"');
out.write('\n');
out.write(' ');
out.print(numericAlt);
out.write(" \n");
out.write("\tvalue=\"");
out.print(Strings.change(fvalue, "\"", "&quot;"));
out.write("\"\t\n");
out.write("\t");
out.print(disabled);
out.write('\n');
out.write(' ');
out.print(script);
out.write("\t\n");
out.write("\t/>\n");
} else {
out.write('\n');
out.print(fvalue);
out.write("&nbsp;\t\n");
}
out.write('\n');
if (!editable) {
out.write("\n");
out.write("\t<input type=\"hidden\" name=\"");
out.print(propertyKey);
out.write("\" value=\"");
out.print(fvalue);
out.write('"');
out.write('>');
out.write('\n');
}
out.write("\t\t\t\n");
out.write("\n");
out.write("\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}

Some files were not shown because too many files have changed in this diff Show More