diff --git a/src/de/superx/servlet/SuperXmlTabelle.java b/src/de/superx/servlet/SuperXmlTabelle.java index 703e896..603450d 100644 --- a/src/de/superx/servlet/SuperXmlTabelle.java +++ b/src/de/superx/servlet/SuperXmlTabelle.java @@ -50,6 +50,7 @@ import javax.servlet.http.HttpServletResponse; import javax.sql.DataSource; import javax.xml.parsers.FactoryConfigurationError; import javax.xml.parsers.ParserConfigurationException; +import javax.xml.transform.Transformer; import javax.xml.transform.TransformerConfigurationException; import javax.xml.transform.TransformerException; import javax.xml.transform.TransformerFactory; @@ -100,6 +101,7 @@ import de.superx.common.ObligatoryFieldEmptyException; import de.superx.common.SichtException; import de.superx.common.Stylesheet; import de.superx.common.SxUser; +import de.superx.common.TransletCache; import de.superx.common.UngueltigeEingabeException; import de.superx.stat.StatisticExport; import de.superx.stat.StatisticExport.ExportFormat; @@ -1794,9 +1796,13 @@ public class SuperXmlTabelle extends AbstractSuperXServlet { String xslFilePath=getServletConfig().getServletContext().getRealPath("/")+"xml"+File.separator+xslStylesheetFile; FileWriter myFilewriter=new FileWriter(jrxmlFilePath); PrintWriter myOutwriter = new PrintWriter(new BufferedWriter(myFilewriter)); - javax.xml.transform.TransformerFactory tFactory = javax.xml.transform.TransformerFactory.newInstance(); + + Logger.getLogger("superx_" + mandantenid + "_xml").log(Level.INFO, - javax.xml.transform.Transformer transformer = tFactory.newTransformer(new javax.xml.transform.stream.StreamSource(xslFilePath)); + " Translet für Ergebnisvorbereitung:" + xslFilePath); + Transformer transformer = TransletCache.getTransformer(mandantenid, xslFilePath); + + StringReader s1 = new StringReader(currentXml); transformer.setOutputProperty(javax.xml.transform.OutputKeys.ENCODING, SqlStringUtils.getEncoding()); transformer.setOutputProperty(javax.xml.transform.OutputKeys.METHOD, "xml"); diff --git a/superx/WEB-INF/conf/edustore/db/install/MODULINFO b/superx/WEB-INF/conf/edustore/db/install/MODULINFO index 0ecf8bf..162d637 100644 --- a/superx/WEB-INF/conf/edustore/db/install/MODULINFO +++ b/superx/WEB-INF/conf/edustore/db/install/MODULINFO @@ -1,6 +1,6 @@ #!/bin/bash -export MODUL_VERSION=4.9 +export MODUL_VERSION=5.0b export MODULNAME=kern export SACHGEBIETID=0 export SACHGEBIET=Administration diff --git a/superx/WEB-INF/conf/edustore/db/install/VERSION b/superx/WEB-INF/conf/edustore/db/install/VERSION index 86a9588..2eca894 100644 --- a/superx/WEB-INF/conf/edustore/db/install/VERSION +++ b/superx/WEB-INF/conf/edustore/db/install/VERSION @@ -1 +1 @@ -4.9 +5.0b diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheet_param.tab b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheet_param.tab new file mode 100644 index 0000000..fc3b1ab --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheet_param.tab @@ -0,0 +1,22 @@ +{### sx_stylesheet_param - automatisch generiert #########} +create table sx_stylesheet_param( + tid SERIAL not null, +stylesheet_id INTEGER not null, +param_name NVARCHAR(255) not null, +default_val NVARCHAR(255) , +description NVARCHAR(255) , +wertebereich NVARCHAR(255) +); + +comment on column sx_stylesheet_param.tid is 'Laufnummer'; + +comment on column sx_stylesheet_param.stylesheet_id is 'Tid des Stylesheets'; + +comment on column sx_stylesheet_param.param_name is 'Name des Paramaters'; + +comment on column sx_stylesheet_param.default_val is 'Default-Wert der Variable'; + +comment on column sx_stylesheet_param.description is 'Beschreibung der Variable'; + +comment on column sx_stylesheet_param.wertebereich is 'Wertebereich'; + \ No newline at end of file diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheets.tab b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheets.tab index ef92af4..942e521 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheets.tab +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheets.tab @@ -7,7 +7,11 @@ description NCHAR(255) , relation CHAR(10) , useragent NCHAR(255) , contenttype NCHAR(200) , -is_generic SMALLINT default 0 +is_generic SMALLINT default 0 , +toolbar_icon_filepath NVARCHAR(255) , +usage_resultset_data CHAR(10) default 'T' , +stylesheet_type CHAR(10) default 'XSL' , +jr_datasource CHAR(10) ); comment on column sx_stylesheets.tid is 'Laufnummer'; @@ -25,4 +29,12 @@ comment on column sx_stylesheets.useragent is 'Webbrowser'; comment on column sx_stylesheets.contenttype is 'Dateityp'; comment on column sx_stylesheets.is_generic is 'Generisches Stylesheet'; + +comment on column sx_stylesheets.toolbar_icon_filepath is 'Icon in der Symbolleiste'; + +comment on column sx_stylesheets.usage_resultset_data is 'Nutzung der Ergebnisdaten'; + +comment on column sx_stylesheets.stylesheet_type is 'Art des Stylesheets'; + +comment on column sx_stylesheets.jr_datasource is 'Datenquelle [JR]'; \ No newline at end of file diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_pg.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_pg.xml index dc5f11b..439cda7 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_pg.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_pg.xml @@ -388,6 +388,9 @@ eduetl:drop table sx_mask_style cascade; + +eduetl:drop table sx_stylesheet_param cascade; + eduetl:drop table sx_captions cascade; diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql index 5541e20..3f37392 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql @@ -7,7 +7,7 @@ -- Fülle db_version delete from db_version where his_system='kern'; -insert into db_version (his_system,version) values('kern','4.9'); +insert into db_version (his_system,version) values('kern','5.0b'); @@ -118,6 +118,8 @@ delete from db_tabellen where name='sx_stylesheets'; insert into db_tabellen (name,protokollierung) values('sx_stylesheets',0); delete from db_tabellen where name='sx_mask_style'; insert into db_tabellen (name,protokollierung) values('sx_mask_style',0); +delete from db_tabellen where name='sx_stylesheet_param'; +insert into db_tabellen (name,protokollierung) values('sx_stylesheet_param',0); delete from db_tabellen where name='sx_captions'; insert into db_tabellen (name,protokollierung) values('sx_captions',0); delete from db_tabellen where name='fm_templates'; @@ -749,6 +751,10 @@ insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); create temp table tmp_hilf(tid integer); insert into tmp_hilf select max(tid) from db_forms; diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml index 0116174..df59d35 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml @@ -170,7 +170,7 @@ -eduetl:UPDATE db_version SET version = '4.9' +eduetl:UPDATE db_version SET version = '5.0b' WHERE his_system = 'kern'; eduetl:select setval('themenbaum_tid_seq',(select max(tid)+1 from themenbaum)); diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_pg.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_pg.xml index 5acd2ef..55d5cb7 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_pg.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_pg.xml @@ -1,5 +1,5 @@ -eduetl:CREATE TABLE tmp_userinfo (tid integer, benutzer char(30), kennwort char(16), name char(50), max_versuch smallint, akt_versuch smallint, email char(255), administration smallint, archiv_recht smallint, passwd_sha char(40), info char(255), extern_account_id varchar(255), extern_person_id varchar(255),sieht_projekte SMALLINT); +eduetl:CREATE TABLE tmp_userinfo (tid integer, benutzer char(30), kennwort char(16), name char(50), max_versuch smallint, akt_versuch smallint, email char(255), administration smallint, archiv_recht smallint, passwd_sha char(40), info char(255), extern_account_id varchar(255), extern_person_id varchar(255),sieht_projekte SMALLINT); eduetl:CREATE TABLE tmp_user_group_bez (userinfo_id integer, groupinfo_id integer, external_entry smallint); @@ -71,7 +71,7 @@ eduetl:CREATE TABLE tmp_kenn_zahl_wert (tid integer, hs_nr integer, kenn_zahl char(40), jahr smallint, sem smallint, ch110_institut char(10), stugkey char(20), bund_fachgebiet char(10), wert numeric(14,2), titel char(10), wert_str varchar(255), geschlecht SMALLINT , ca12_staat SMALLINT); - + eduetl:truncate table tmp_hochschulinfo cascade; eduetl:truncate table tmp_userinfo cascade; @@ -324,7 +324,7 @@ - + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern.html b/superx/WEB-INF/conf/edustore/db/install/conf/kern.html index eabb45c..5346158 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern.html +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern.html @@ -91,7 +91,7 @@ font-style:italic: SuperX-Version2 -Modulversion4.9 +Modulversion5.0b SachgebietAdministration id 0 @@ -337,6 +337,9 @@ font-style:italic: sx_repository
  • +sx_stylesheet_param +
  • +
  • sx_stylesheets
  • @@ -706,6 +709,9 @@ font-style:italic: sx_repository
  • +sx_stylesheet_param +
  • +
  • sx_stylesheets
  • @@ -1000,6 +1006,9 @@ font-style:italic: sx_repository
  • +sx_stylesheet_param +
  • +
  • sx_stylesheets
  • @@ -1340,6 +1349,9 @@ font-style:italic: sx_repository
  • +sx_stylesheet_param +
  • +
  • sx_stylesheets
  • @@ -4695,6 +4707,44 @@ gueltig_bis );
      Wird benutzt in folgenden Masken:
    +Tabelle sx_stylesheet_param +
    +

    +

    Typ: Schlüsseltabelle, Themenbereich: Administration

    + + + + + + + + + + + + + + + + + + + + + + +
    FeldnameFeldtypGrößeDefaultNot NullBeschreibungKommentarFremdschlüssel
    tidSERIAL4trueLaufnummer
    stylesheet_idINTEGER4trueTid des Stylesheetssx_stylesheets : tid +
    +
    param_nameVARCHAR255trueName des Paramaters
    default_valVARCHAR255falseDefault-Wert der Variable
    descriptionVARCHAR255falseBeschreibung der Variable
    wertebereichVARCHAR255falseWertebereich
    +

    Primärschlüssel c_stylesheet_param +

    +
      +
    1. tid
    2. +
    +
      +
        Wird benutzt in folgenden Masken: +
      +
      Tabelle sx_stylesheets

      @@ -4733,11 +4783,35 @@ useragent
      contenttypeCHAR200falseDateitypz.B.: text/html; charset=ISO-8859-1. Bei XSL Stylesheets ist dies das Ausgabeformat, bei JasperReports Templates ist dies - das default Ausgabeformat + das default Ausgabeformatmenu_element : element +
      element_value : +contenttype
      + is_genericSMALLINT20falseGenerisches StylesheetWird nur für Ergebnistabellen ausgewertet, nicht für Masken-Stylesheets. Wenn 1, dann ist das Stylesheet für alle Ergebnistabellen nutzbar + +toolbar_icon_filepathVARCHAR255falseIcon in der SymbolleistePfad relativ zu webapps/superx + + +usage_resultset_dataCHAR10TfalseNutzung der ErgebnisdatenWelche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Datenmenu_element : element +
      element_value : +usage_resultset_data
      + + + +stylesheet_typeCHAR10XSLfalseArt des StylesheetsXSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSXmenu_element : element +
      element_value : +stylesheet_type
      + + + +jr_datasourceCHAR10falseDatenquelle (JR)Wird nur bei JR ausgewertet. Mögliche Werte: RS,XMLSOURCEmenu_element : element +
      element_value : +jr_datasource
      + +

      Primärschlüssel c_stylesheets

      diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml b/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml index 5ae11c8..7a3b9ea 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml @@ -1,5 +1,5 @@ - diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern_load.html b/superx/WEB-INF/conf/edustore/db/install/conf/kern_load.html index 2dc8279..a5ba8c3 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern_load.html +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern_load.html @@ -92,7 +92,7 @@ font-style:italic: SuperX-Version2 -Modulversion4.9 +Modulversion5.0b SachgebietAdministration id 0 diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/module_alter_table_schema.x b/superx/WEB-INF/conf/edustore/db/install/conf/module_alter_table_schema.x index c6d0b65..357aee4 100755 --- a/superx/WEB-INF/conf/edustore/db/install/conf/module_alter_table_schema.x +++ b/superx/WEB-INF/conf/edustore/db/install/conf/module_alter_table_schema.x @@ -63,6 +63,7 @@ DOQUERY "alter table konstanten SET SCHEMA $SCHEMA;" DOQUERY "alter table lehreinheit_inst SET SCHEMA $SCHEMA;" DOQUERY "alter table sx_stylesheets SET SCHEMA $SCHEMA;" DOQUERY "alter table sx_mask_style SET SCHEMA $SCHEMA;" +DOQUERY "alter table sx_stylesheet_param SET SCHEMA $SCHEMA;" DOQUERY "alter table sx_captions SET SCHEMA $SCHEMA;" DOQUERY "alter table fm_templates SET SCHEMA $SCHEMA;" DOQUERY "alter table user_sichten SET SCHEMA $SCHEMA;" diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x b/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x index 8370336..3ffbe62 100755 --- a/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x +++ b/superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x @@ -129,6 +129,13 @@ if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] DOQUERY "grant update on sx_mask_style_tid_seq to $GRANTEE;" fi +DOQUERY "grant $RIGHT on sx_stylesheet_param to $GRANTEE;" + +if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] + then +DOQUERY "grant update on sx_stylesheet_param_tid_seq to $GRANTEE;" +fi + DOQUERY "grant $RIGHT on sx_captions to $GRANTEE;" if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x b/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x index a6890e3..f82595e 100755 --- a/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x +++ b/superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x @@ -129,6 +129,13 @@ if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] DOQUERY "revoke update on sx_mask_style_tid_seq from $GRANTEE;" fi +DOQUERY "revoke $RIGHT on sx_stylesheet_param from $GRANTEE;" + +if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] + then +DOQUERY "revoke update on sx_stylesheet_param_tid_seq from $GRANTEE;" +fi + DOQUERY "revoke $RIGHT on sx_captions from $GRANTEE;" if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql b/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql index 05ef0d5..78c7205 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql @@ -13253,6 +13253,147 @@ values('sx_repository', 0, 1); +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheet_param', +'tid', +'Laufnummer', +'', +'SERIAL', +'4', +1, +1, +0, +1); + +update tmp_fields set is_primarykey=1 +where trim(table_name) || '_' || trim(name) ='sx_stylesheet_param_tid'; + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheet_param', +'stylesheet_id', +'Tid des Stylesheets', +'', +'INTEGER', +'4', +1, +1, +0, +1); + +update tmp_fields set foreignkey_tab='sx_stylesheets', +foreignkey_col='tid', +foreignkey_cap='filename', +foreignkey_uniquename='' +where trim(table_name) || '_' || trim(name) ='sx_stylesheet_param_stylesheet_id'; + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheet_param', +'param_name', +'Name des Paramaters', +'', +'VARCHAR', +'255', +1, +1, +0, +1); + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheet_param', +'default_val', +'Default-Wert der Variable', +'', +'VARCHAR', +'255', +0, +1, +0, +1); + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheet_param', +'description', +'Beschreibung der Variable', +'', +'VARCHAR', +'255', +0, +1, +0, +1); + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheet_param', +'wertebereich', +'Wertebereich', +'', +'VARCHAR', +'255', +0, +1, +0, +1); + insert into tmp_fields ( table_name, name, @@ -13418,6 +13559,10 @@ values('sx_stylesheets', 0, 1); +update tmp_fields set foreignkey_cond='''contenttype''=menu_element.element' +where trim(table_name) || '_' || trim(name) ='sx_stylesheets_contenttype' +and trim(foreignkey_tab) = 'menu_element'; + insert into tmp_fields ( table_name, name, @@ -13440,6 +13585,106 @@ values('sx_stylesheets', 0, 1); +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheets', +'toolbar_icon_filepath', +'Icon in der Symbolleiste', +'Pfad relativ zu webapps/superx', +'VARCHAR', +'255', +0, +1, +0, +1); + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheets', +'usage_resultset_data', +'Nutzung der Ergebnisdaten', +'Welche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Daten', +'CHAR', +'10', +0, +1, +0, +1); + +update tmp_fields set foreignkey_cond='''usage_resultset_data''=menu_element.element' +where trim(table_name) || '_' || trim(name) ='sx_stylesheets_usage_resultset_data' +and trim(foreignkey_tab) = 'menu_element'; + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheets', +'stylesheet_type', +'Art des Stylesheets', +'XSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSX', +'CHAR', +'10', +0, +1, +0, +1); + +update tmp_fields set foreignkey_cond='''stylesheet_type''=menu_element.element' +where trim(table_name) || '_' || trim(name) ='sx_stylesheets_stylesheet_type' +and trim(foreignkey_tab) = 'menu_element'; + +insert into tmp_fields ( +table_name, +name, +caption, +description, +field_type, +field_size, +field_not_null, +currentlyUsed, +check_integrity, +is_sum) +values('sx_stylesheets', +'jr_datasource', +'Datenquelle (JR)', +'Wird nur bei JR ausgewertet. Mögliche Werte: RS,XMLSOURCE', +'CHAR', +'10', +0, +1, +0, +1); + +update tmp_fields set foreignkey_cond='''jr_datasource''=menu_element.element' +where trim(table_name) || '_' || trim(name) ='sx_stylesheets_jr_datasource' +and trim(foreignkey_tab) = 'menu_element'; + insert into tmp_fields ( table_name, name, diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_loeschen.sql b/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_loeschen.sql index 6710d5a..84d952a 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_loeschen.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_loeschen.sql @@ -3492,6 +3492,42 @@ name) values('sx_repository', 'gueltig_bis'); +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheet_param', +'tid'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheet_param', +'stylesheet_id'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheet_param', +'param_name'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheet_param', +'default_val'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheet_param', +'description'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheet_param', +'wertebereich'); + insert into tmp_fields ( table_name, name) @@ -3540,6 +3576,30 @@ name) values('sx_stylesheets', 'is_generic'); +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheets', +'toolbar_icon_filepath'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheets', +'usage_resultset_data'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheets', +'stylesheet_type'); + +insert into tmp_fields ( +table_name, +name) +values('sx_stylesheets', +'jr_datasource'); + insert into tmp_fields ( table_name, name) diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/sx_tables_fuellen.sql b/superx/WEB-INF/conf/edustore/db/install/conf/sx_tables_fuellen.sql index a1b1e45..8da3a85 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/sx_tables_fuellen.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/sx_tables_fuellen.sql @@ -599,6 +599,14 @@ values('sx_repository','','Eine Sammlung hochschulspezifischer Konstanten und 'Administration', 0); +insert into tmp_tables (name,caption,description,table_type,systeminfo_id,systeminfo_orig,thema,sachgebiete_id) +values('sx_stylesheet_param','','', +'Schlüsseltabelle', +9, +9, +'Administration', +0); + insert into tmp_tables (name,caption,description,table_type,systeminfo_id,systeminfo_orig,thema,sachgebiete_id) values('sx_stylesheets','','', 'Schlüsseltabelle', @@ -1084,6 +1092,10 @@ insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); delete from db_forms where name in (select name from tmp_db_forms); diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_backup.x b/superx/WEB-INF/conf/edustore/db/install/kern_backup.x index 1463021..2534a57 100755 --- a/superx/WEB-INF/conf/edustore/db/install/kern_backup.x +++ b/superx/WEB-INF/conf/edustore/db/install/kern_backup.x @@ -63,8 +63,9 @@ DOQUERY "select protokoll_id, proto_fkt_id, userinfo_id, ip_adresse, client_name DOQUERY "select tid, instnr, ch110_institut, name, gueltig_von, gueltig_bis, systeminfo_id from trans_inst;" false $DBDELIMITER tmp"$MANDANTENID"/trans_inst.unl txt DOQUERY "select tid, apnr, beschreibung, defaultvalue, description, systeminfo_id, sachgebiete_id, doku_link, read_only, wertebereich, ab_version, gruppe from konstanten;" false $DBDELIMITER tmp"$MANDANTENID"/konstanten.unl txt DOQUERY "select key_apnr, parent, drucktext, lehr, gueltig_seit, gueltig_bis from lehreinheit_inst;" false $DBDELIMITER tmp"$MANDANTENID"/lehreinheit_inst.unl txt -DOQUERY "select tid, filename, caption, description, relation, useragent, contenttype, is_generic from sx_stylesheets;" false $DBDELIMITER tmp"$MANDANTENID"/sx_stylesheets.unl txt +DOQUERY "select tid, filename, caption, description, relation, useragent, contenttype, is_generic, toolbar_icon_filepath, usage_resultset_data, stylesheet_type, jr_datasource from sx_stylesheets;" false $DBDELIMITER tmp"$MANDANTENID"/sx_stylesheets.unl txt DOQUERY "select tid, maskeninfo_id, stylesheet_id, ord from sx_mask_style;" false $DBDELIMITER tmp"$MANDANTENID"/sx_mask_style.unl txt +DOQUERY "select tid, stylesheet_id, param_name, default_val, description, wertebereich from sx_stylesheet_param;" false $DBDELIMITER tmp"$MANDANTENID"/sx_stylesheet_param.unl txt DOQUERY "select tid, id, table_name, field_name, record_no, locale, contents_short, contents_long, equalitystatus, sachgebiete_id, doku_link, export_to_glossar from sx_captions;" false $DBDELIMITER tmp"$MANDANTENID"/sx_captions.unl txt DOQUERY "select tid, id, content, description, comment, version from fm_templates;" false $DBDELIMITER tmp"$MANDANTENID"/fm_templates.unl txt DOQUERY "select userinfo_id, sicht_name_intern, external_entry from user_sichten;" false $DBDELIMITER tmp"$MANDANTENID"/user_sichten.unl txt diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_drop_pg.sql b/superx/WEB-INF/conf/edustore/db/install/kern_drop_pg.sql index eb0628f..f047255 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_drop_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_drop_pg.sql @@ -144,6 +144,7 @@ drop table konstanten; drop table lehreinheit_inst; drop table sx_stylesheets; drop table sx_mask_style; +drop table sx_stylesheet_param; drop table sx_captions; drop table fm_templates; drop table user_sichten; diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_indexes_drop.sql b/superx/WEB-INF/conf/edustore/db/install/kern_indexes_drop.sql index 06c41d6..b2507ea 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_indexes_drop.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_indexes_drop.sql @@ -1,8 +1,8 @@ -- XML-generiertes SQL-Script -- -! echo "Dropping indexes for tables" -! echo `date` +\! echo "Dropping indexes for tables" +\! echo `date` drop index ix_group_felder2 ; drop index ix_style_feld2 ; diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql b/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql index 75fa34e..c6f2a29 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql @@ -1645,6 +1645,10 @@ relation CHAR(10) , useragent CHAR(255) , contenttype CHAR(200) , is_generic SMALLINT default 0 , +toolbar_icon_filepath VARCHAR(255) , +usage_resultset_data CHAR(10) default 'T' , +stylesheet_type CHAR(10) default 'XSL' , +jr_datasource CHAR(10) , constraint c_stylesheets primary key (tid) ) @@ -1668,6 +1672,14 @@ comment on column sx_stylesheets.contenttype is 'Dateityp'; comment on column sx_stylesheets.is_generic is 'Generisches Stylesheet'; +comment on column sx_stylesheets.toolbar_icon_filepath is 'Icon in der Symbolleiste'; + +comment on column sx_stylesheets.usage_resultset_data is 'Nutzung der Ergebnisdaten'; + +comment on column sx_stylesheets.stylesheet_type is 'Art des Stylesheets'; + +comment on column sx_stylesheets.jr_datasource is 'Datenquelle (JR)'; + \! echo "Tabelle sx_stylesheets erzeugt" \! echo `date` @@ -1703,6 +1715,41 @@ comment on column sx_mask_style.ord is 'Sortiernummer'; +\! echo "Erzeuge Tabelle sx_stylesheet_param" +\! echo `date` + +create table sx_stylesheet_param( + tid SERIAL not null, +stylesheet_id INTEGER not null, +param_name VARCHAR(255) not null, +default_val VARCHAR(255) , +description VARCHAR(255) , +wertebereich VARCHAR(255) , + constraint c_stylesheet_param primary key (tid) + +) +; + + + +comment on column sx_stylesheet_param.tid is 'Laufnummer'; + +comment on column sx_stylesheet_param.stylesheet_id is 'Tid des Stylesheets'; + +comment on column sx_stylesheet_param.param_name is 'Name des Paramaters'; + +comment on column sx_stylesheet_param.default_val is 'Default-Wert der Variable'; + +comment on column sx_stylesheet_param.description is 'Beschreibung der Variable'; + +comment on column sx_stylesheet_param.wertebereich is 'Wertebereich'; + + +\! echo "Tabelle sx_stylesheet_param erzeugt" +\! echo `date` + + + \! echo "Erzeuge Tabelle sx_captions" \! echo `date` @@ -4853,7 +4900,7 @@ $1 is null;' LANGUAGE 'sql'; delete from db_version where his_system='kern'; -insert into db_version (his_system,version) values('kern','4.9'); +insert into db_version (his_system,version) values('kern','5.0b'); @@ -4966,6 +5013,8 @@ delete from db_tabellen where name='sx_stylesheets'; insert into db_tabellen (name,protokollierung) values('sx_stylesheets',0); delete from db_tabellen where name='sx_mask_style'; insert into db_tabellen (name,protokollierung) values('sx_mask_style',0); +delete from db_tabellen where name='sx_stylesheet_param'; +insert into db_tabellen (name,protokollierung) values('sx_stylesheet_param',0); delete from db_tabellen where name='sx_captions'; insert into db_tabellen (name,protokollierung) values('sx_captions',0); delete from db_tabellen where name='fm_templates'; @@ -5609,6 +5658,10 @@ insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); create temp table tmp_hilf(tid integer); insert into tmp_hilf select max(tid) from db_forms; diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_restore.x b/superx/WEB-INF/conf/edustore/db/install/kern_restore.x index e846712..b11ae65 100755 --- a/superx/WEB-INF/conf/edustore/db/install/kern_restore.x +++ b/superx/WEB-INF/conf/edustore/db/install/kern_restore.x @@ -59,6 +59,7 @@ sx_auto_upload_table.x konstanten tmp"$MANDANTENID"/konstanten.unl sx_auto_upload_table.x lehreinheit_inst tmp"$MANDANTENID"/lehreinheit_inst.unl sx_auto_upload_table.x sx_stylesheets tmp"$MANDANTENID"/sx_stylesheets.unl sx_auto_upload_table.x sx_mask_style tmp"$MANDANTENID"/sx_mask_style.unl +sx_auto_upload_table.x sx_stylesheet_param tmp"$MANDANTENID"/sx_stylesheet_param.unl sx_auto_upload_table.x sx_captions tmp"$MANDANTENID"/sx_captions.unl sx_auto_upload_table.x fm_templates tmp"$MANDANTENID"/fm_templates.unl sx_auto_upload_table.x user_sichten tmp"$MANDANTENID"/user_sichten.unl diff --git a/superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql b/superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql new file mode 100755 index 0000000..0d7dc31 --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql @@ -0,0 +1,178 @@ +--Freemarker Template +--Achtung: Macro fügt Inhalte ein +--Bitte nur Freemarker Variablen füllen + +<#assign masken = [ +] /> + +<#assign stylesheet = [ +{"filename":"tabelle_jrxml_a4_quer.xsl", +"caption":"Gener. Standardlayout JR (A4 quer)", +"description":"Gener. Standardlayout JR (A4 quer)", +"relation":"table", +"contenttype":"text/xml", +"is_generic":"1" +}, +{"filename":"viz_rpt_assistent.xsl", +"caption":"Berichtsassistent", +"description":"Export als formatierter Bericht", +"relation":"table", +"contenttype":"text/html", +"is_generic":"1"} +] /> + +<#assign stylesheet_field = [ + + +] /> + +--Hier eventuell notwendige delete's auf die Tabellen sx_mask_style, sx_stylesheets oder stylesheet_field einfügen. + +--Achtung: ab hier nicht ändern, Mutterdatei ist $SUPERX_DIR/db/module/sos/schluesseltabellen/sx_stylesheets_fuellen.sql + <@sx_stylesheets_insert +m_masken=masken +m_stylesheet=stylesheet +m_stylesheet_field=stylesheet_field +/> + + +<#macro sx_stylesheets_insert m_masken m_stylesheet m_stylesheet_field> + +--Sicherstellen, dass keine Duplikate vorkommen: +--#################################################################################################### +<#foreach column in m_masken> +delete from sx_mask_style where maskeninfo_id=${column.mask} and stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}') and ord=${column.ord}; + + +<#foreach column in m_stylesheet_field> +delete from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}'); + + + + + +-- Stylesheets füllen +--#################################################################################################### +create temp table tmp_stylesheets ( +tid serial not null, +filename CHAR(255) , +caption CHAR(255) , +description CHAR(255) , +relation CHAR(10) , +useragent CHAR(255) , +contenttype CHAR(200) , +is_generic smallint +); + +create temp table tmp_hilf (tid integer); +insert into tmp_hilf select max(tid) from sx_stylesheets; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_stylesheet> +insert into tmp_stylesheets (tid,filename,caption,description,relation,contenttype,is_generic) +select max(tid)+${counter_tid},'${column.filename}', +'${column.caption}', + '${column.description}', + '${column.relation}', +'${column.contenttype}', +${column.is_generic} +from tmp_hilf; +<#assign counter_tid = counter_tid + 1 /> + + +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +update sx_stylesheets set is_generic=1 +where filename in (select T.filename from tmp_stylesheets T where T.is_generic=1); + + + +--delete für tml_stylesheets hinzugefügt #ak 06.03.2013 +delete from tmp_stylesheets where filename in (select filename from sx_stylesheets); + + +insert into sx_stylesheets (tid, +filename, caption, description, relation, useragent, contenttype +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +,is_generic + +) +SELECT tid, filename, caption, description, relation, useragent, contenttype +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +,is_generic + +FROM tmp_stylesheets; + +drop table tmp_stylesheets; + + +-- Mask Style füllen +--#################################################################################################### +create temp table tmp_mask_style ( +tid serial not null, +maskeninfo_id INTEGER , +stylesheet_id INTEGER , +ord SMALLINT, +filename char(255) +); + +delete from tmp_hilf; +insert into tmp_hilf select max(tid) from sx_mask_style; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_masken> +insert into tmp_mask_style (tid,maskeninfo_id,ord,filename) +select max(tid)+${counter_tid},${column.mask},${column.ord},'${column.filename}' from tmp_hilf; + +update tmp_mask_style set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') +where filename='${column.filename}'; +<#assign counter_tid = counter_tid + 1 /> + + +insert into sx_mask_style ( tid, maskeninfo_id, stylesheet_id, ord) +SELECT tid, maskeninfo_id, stylesheet_id, ord +FROM tmp_mask_style; + +drop table tmp_mask_style; + + +--Field zu Stylesheet Zuordnungen: +--#################################################################################################### +CREATE temp TABLE tmp_stylesheet_field +( +tid serial NOT NULL, +stylesheet_id INTEGER, +tablename char(255), +fieldname char(255), +filename char(255) +); + +delete from tmp_hilf; +insert into tmp_hilf select max(tid) from stylesheet_field; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_stylesheet_field> +INSERT INTO tmp_stylesheet_field (tid, filename, tablename, fieldname) +select max(tid)+${counter_tid}, '${column.filename}', '${column.tablename}', '${column.fieldname}' from tmp_hilf; + +update tmp_stylesheet_field set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') +where filename='${column.filename}'; +<#assign counter_tid = counter_tid + 1 /> + + +insert into stylesheet_field ( tid, stylesheet_id, tablename, fieldname) +SELECT tid, stylesheet_id, tablename, fieldname +FROM tmp_stylesheet_field; + +drop table tmp_stylesheet_field; +drop table tmp_hilf; + +<#if SQLdialect='Postgres'> +select sp_update_sequence('sx_stylesheets'); +select sp_update_sequence('sx_mask_style'); +select sp_update_sequence('stylesheet_field'); + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql index 0c09d8d..b1adab0 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql @@ -8,8 +8,37 @@ alter table sx_stylesheets add column is_generic SMALLINT default 0 ; <#else> alter table sx_stylesheets add ( is_generic SMALLINT default 0 ); -update sx_stylesheets set is_generic=1 -where filename in ('tabelle_html.xsl','tabelle_html_p.xsl','tabelle_xml.xsl','tabelle_fo_pdf.xsl','tabelle_xls.xsl','tabelle2jasperreport_generic.xsl'); -update sx_stylesheets set is_generic=0 -where is_generic is null; + +<#if TableFieldExists?exists && !TableFieldExists('sx_stylesheets','toolbar_icon_filepath')> +<#if SQLdialect='Postgres'> +alter table sx_stylesheets add column toolbar_icon_filepath VARCHAR(255) ; +<#else> +alter table sx_stylesheets add ( toolbar_icon_filepath VARCHAR(255) ); + + + +<#if TableFieldExists?exists && !TableFieldExists('sx_stylesheets','usage_resultset_data')> +<#if SQLdialect='Postgres'> +alter table sx_stylesheets add column usage_resultset_data CHAR(10) default 'T' ; +<#else> +alter table sx_stylesheets add ( toolbar_icon_filepath CHAR(10) default 'T' ); + + + +<#if TableFieldExists?exists && !TableFieldExists('sx_stylesheets','stylesheet_type')> +<#if SQLdialect='Postgres'> +alter table sx_stylesheets add column stylesheet_type CHAR(10) default 'XSL' ; +<#else> +alter table sx_stylesheets add ( stylesheet_type CHAR(10) default 'XSL' ); + + + +<#if TableFieldExists?exists && !TableFieldExists('sx_stylesheets','jr_datasource')> +<#if SQLdialect='Postgres'> +alter table sx_stylesheets add column jr_datasource CHAR(10) ; +<#else> +alter table sx_stylesheets add ( jr_datasource CHAR(10) ); + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql index 648b9c8..c981742 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql @@ -61,6 +61,7 @@ and C.relname::varchar(255) in ('sichtart_rechttabelle', 'lehreinheit_inst', 'sx_stylesheets', 'sx_mask_style', +'sx_stylesheet_param', 'sx_captions', 'fm_templates', 'user_sichten', @@ -3879,6 +3880,46 @@ alter table sx_stylesheets add column is_generic SMALLINT default 0 ; +<#if !fields?seq_contains("sx_stylesheets.toolbar_icon_filepath") > + + +\! echo "field sx_stylesheets.toolbar_icon_filepath will be added" +\! echo `date` + +alter table sx_stylesheets add column toolbar_icon_filepath VARCHAR(255) ; + + + +<#if !fields?seq_contains("sx_stylesheets.usage_resultset_data") > + + +\! echo "field sx_stylesheets.usage_resultset_data will be added" +\! echo `date` + +alter table sx_stylesheets add column usage_resultset_data CHAR(10) default 'T' ; + + + +<#if !fields?seq_contains("sx_stylesheets.stylesheet_type") > + + +\! echo "field sx_stylesheets.stylesheet_type will be added" +\! echo `date` + +alter table sx_stylesheets add column stylesheet_type CHAR(10) default 'XSL' ; + + + +<#if !fields?seq_contains("sx_stylesheets.jr_datasource") > + + +\! echo "field sx_stylesheets.jr_datasource will be added" +\! echo `date` + +alter table sx_stylesheets add column jr_datasource CHAR(10) ; + + + <#if !fields?seq_contains("sx_mask_style.tid") > @@ -3919,6 +3960,66 @@ alter table sx_mask_style add column ord SMALLINT ; +<#if !fields?seq_contains("sx_stylesheet_param.tid") > + + +\! echo "field sx_stylesheet_param.tid will be added" +\! echo `date` + +alter table sx_stylesheet_param add column tid SERIAL not null; + + + +<#if !fields?seq_contains("sx_stylesheet_param.stylesheet_id") > + + +\! echo "field sx_stylesheet_param.stylesheet_id will be added" +\! echo `date` + +alter table sx_stylesheet_param add column stylesheet_id INTEGER not null; + + + +<#if !fields?seq_contains("sx_stylesheet_param.param_name") > + + +\! echo "field sx_stylesheet_param.param_name will be added" +\! echo `date` + +alter table sx_stylesheet_param add column param_name VARCHAR(255) not null; + + + +<#if !fields?seq_contains("sx_stylesheet_param.default_val") > + + +\! echo "field sx_stylesheet_param.default_val will be added" +\! echo `date` + +alter table sx_stylesheet_param add column default_val VARCHAR(255) ; + + + +<#if !fields?seq_contains("sx_stylesheet_param.description") > + + +\! echo "field sx_stylesheet_param.description will be added" +\! echo `date` + +alter table sx_stylesheet_param add column description VARCHAR(255) ; + + + +<#if !fields?seq_contains("sx_stylesheet_param.wertebereich") > + + +\! echo "field sx_stylesheet_param.wertebereich will be added" +\! echo `date` + +alter table sx_stylesheet_param add column wertebereich VARCHAR(255) ; + + + <#if !fields?seq_contains("sx_captions.tid") > diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_pg.sql index 127aecb..a0a9f31 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_pg.sql @@ -62,6 +62,7 @@ where D.relname::varchar(200) in ('sichtart_rechttabelle', 'lehreinheit_inst', 'sx_stylesheets', 'sx_mask_style', +'sx_stylesheet_param', 'sx_captions', 'fm_templates', 'user_sichten', diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql index f477009..8acfbd0 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql @@ -356,7 +356,7 @@ select setval('themenbaum_tid_seq',(select max(tid)+1 from themenbaum)); delete from db_version where his_system='kern'; -insert into db_version (his_system,version) values('kern','4.9'); +insert into db_version (his_system,version) values('kern','5.0b'); @@ -490,6 +490,10 @@ insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sx_jobs_list','sx_jobs','/edit/kern/sx_jobs_list.jsp','Ladejobs verwalten','In diesem Formular können Sie Ladejobs verwalten'); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('organigramm_list','organigramm','/edit/kern/organigramm_list.jsp','Organigramm','In diesem Formular können Sie das Organigramm aufrufen'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_edit','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_edit.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); +insert into tmp_db_forms (name, tablename,form_path,caption,description) +values ('sx_stylesheet_param_list','sx_stylesheet_param','/edit/kern/sx_stylesheet_param_list.jsp','Stylesheet-Parameter','In diesem Formular können Sie Stylesheet-Parameter bearbeiten.'); create temp table tmp_hilf(tid integer); insert into tmp_hilf select max(tid) from db_forms; diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql index 0ba0437..1c94860 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql @@ -57,6 +57,7 @@ select relname,relname as tabelle from pg_class where relname::varchar(200) in ( 'lehreinheit_inst', 'sx_stylesheets', 'sx_mask_style', +'sx_stylesheet_param', 'sx_captions', 'fm_templates', 'user_sichten', @@ -2184,6 +2185,10 @@ relation CHAR(10) , useragent CHAR(255) , contenttype CHAR(200) , is_generic SMALLINT default 0 , +toolbar_icon_filepath VARCHAR(255) , +usage_resultset_data CHAR(10) default 'T' , +stylesheet_type CHAR(10) default 'XSL' , +jr_datasource CHAR(10) , constraint c_stylesheets primary key (tid) ) @@ -2207,6 +2212,14 @@ comment on column sx_stylesheets.contenttype is 'Dateityp'; comment on column sx_stylesheets.is_generic is 'Generisches Stylesheet'; +comment on column sx_stylesheets.toolbar_icon_filepath is 'Icon in der Symbolleiste'; + +comment on column sx_stylesheets.usage_resultset_data is 'Nutzung der Ergebnisdaten'; + +comment on column sx_stylesheets.stylesheet_type is 'Art des Stylesheets'; + +comment on column sx_stylesheets.jr_datasource is 'Datenquelle (JR)'; + delete from db_tabellen where name='sx_stylesheets'; insert into db_tabellen (name,protokollierung) values('sx_stylesheets',0); @@ -2248,6 +2261,49 @@ comment on column sx_mask_style.ord is 'Sortiernummer'; delete from db_tabellen where name='sx_mask_style'; insert into db_tabellen (name,protokollierung) values('sx_mask_style',0); +<#if !deleted_tables?seq_contains("sx_stylesheet_param") && tables?seq_contains("sx_stylesheet_param") > + + +\! echo "table sx_stylesheet_param exists - fine" +\! echo `date` + + +<#else> + + +\! echo "Erzeuge Tabelle sx_stylesheet_param" +\! echo `date` + +create table sx_stylesheet_param( + tid SERIAL not null, +stylesheet_id INTEGER not null, +param_name VARCHAR(255) not null, +default_val VARCHAR(255) , +description VARCHAR(255) , +wertebereich VARCHAR(255) , + constraint c_stylesheet_param primary key (tid) + +) +; + + + +comment on column sx_stylesheet_param.tid is 'Laufnummer'; + +comment on column sx_stylesheet_param.stylesheet_id is 'Tid des Stylesheets'; + +comment on column sx_stylesheet_param.param_name is 'Name des Paramaters'; + +comment on column sx_stylesheet_param.default_val is 'Default-Wert der Variable'; + +comment on column sx_stylesheet_param.description is 'Beschreibung der Variable'; + +comment on column sx_stylesheet_param.wertebereich is 'Wertebereich'; + + +delete from db_tabellen where name='sx_stylesheet_param'; +insert into db_tabellen (name,protokollierung) values('sx_stylesheet_param',0); + <#if !deleted_tables?seq_contains("sx_captions") && tables?seq_contains("sx_captions") > diff --git a/superx/WEB-INF/kern_dbforms-config_pg.xml b/superx/WEB-INF/kern_dbforms-config_pg.xml new file mode 100644 index 0000000..a61f3bb --- /dev/null +++ b/superx/WEB-INF/kern_dbforms-config_pg.xml @@ -0,0 +1,2572 @@ + +dd.MM.yyyy + + + + + + +
      + + + + + + + +
      + + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + +Bei ICE-Schlüsseln + + + + + + + +Bei GX der hiskey, bei HISINONE hiskey_id + + + + + + + + + + + + + + + + + + + + + + +
      + + + + +Pfad zur Datei (relativ zu webapps/superx/WEB-INF/ ) + + + + +(Nur bei CSV-Format) + + +utf8,ISO-8859-1 (Nur bei Text-Format) + + +Enthält die Datei Spaltenüberschriften? 1=ja,0=nein + + + +Anzahl der gelieferten Datensätze + + +1=ja,0=nein + + + +Person, die den Download eingereicht hat + + +Spezielle Email-Adresse für die Protokollierung des Ladens + + + +Datum/Uhrzeit des Imports in die SuperX-Datenbank + + + +1=Hinzufügen,0=Alles Löschen und Hinzufügen + + +Kommentar für Website (Datenlegende o.ä.). + + +Lieferung bestätigt (per mail an submission_email) + + + +1=ja,0=nein + + +1=ja,0=nein + + +Email vom Adminstrator, der über die Datei informiert + werden soll + + +1=ja + + +1=ja, Verarbeitung bestätigt (per mail an submission_email + und processor_email) + + + + + + + + + + + +
      + + + + + + + + +
      + + + + + + +
      + + + + + + + + +
      + + + + + + + + + + + + +
      + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + + + + + + +ggf. zusätzliche where-Bedingung für blueprint + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +
      + + + + + + + + + + + + + + + + + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +
      + + + + +
      + + + + +
      + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + +
      + + + + + + + + + + + + + +
      + + + + + + + + + + + + +
      + + + + +
      + + + + + + + + + + +
      + + + + +
      + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + + + + + + + +
      + + + + +
      + + + + + + + +(Obsolet) + + +(Obsolet) + + + + + +
      + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + +
      + + + + + +
      + + + + + + + +
      + + + + + + + + +
      + + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + + + + + + + + +
      + + + + + + + + + + + + + +
      + + + + + + + + + + + +Applet=0, XML=1, Alle=2, 3=Angular + + + + + + + + + + + +
      + + + + + + + + +
      + + + + + + + + +
      + + + +
      + + + + + + + + + + + +gem. COB-GX:30=Lehreinheit,20=Fakultät + + + + + +(referenziert BI-Tabelle cifx mit key=1) + + + +z.B. 10=Kostenrechnung,3=MBS vergl. BI-Tabelle systeminfo + + + + + + + + + +
      + + + + + + + + + + + + +
      + + + + +Querverweis zur Systeminfo + + + + + + + + +
      + + + + + +Querverweis zur Systeminfo + + + + + + + + +
      + + + + + + + +
      + + + + +
      + + + + +
      + + + + + + + + + + + + + + + + + + + + + +
      + + + + +
      + + + + + + + + + + +
      + + + + + + + +
      + + + + + + + + + + +
      + + + + + +
      + + + + + + + +Wenn der jew. User keine sichtartspez. Rechte hat, gibt es einen Fallback zur normalen user_institution (1=ja, 0=nein) + + +
      + + + +Um zukünftig evtl. Hierarchien von Sichten abzubilden + + + +Querverweis zur Systeminfo + + + +10 ist standardsicht, 20 ist alt.Hierarchie + + +Es kann eine Kurzbeschreibung für interne Zwecke + hinterlegt werden + + +Bezeichnung der Sicht, die für User angezeigt wird + + + + +kann für Sortierungen benutzt werden + + +Angabe einer Tabelle mit + key,parent,name,gueltig_seit,gueltig_bis oder Prozedur, die mit + sp_ anfängt + + +id der alt.Hier in angegebenen Quelltabelle null bei + regulärer Hierarchie + + +Tabelle mit Infos zu TreeView aus Cob + + +id des benutzen trees aus Cob-Tabelle trees null bei + regulärer Hierachie + + +hauptsächl. für alte Organigramm-Sichten, hieß mal lehre + + + +sollen User Rechte berücksichtigt werden, derzeit von + Org.Sichten ausgewertet + + +zukünftig für erweiterte Rechtevergabe + + +zukünftig für erweiterte Rechtevergabe + + +soll der Stand geändert werden können + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann + + +Max. Zeilen im Klappmenü + + + + +soll Sicht im Applet gecachet werden + + +soll Sicht im XML-Frontend gecachet werden + + + + + + +
      + + + + + + + + + + +
      + + + + + + + + +
      + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + +
      + + + + + + + + + +Bei Maskenfeldern wird dieses Feld für Tooltips genutzt. + + + + + + + + + + + + + + +
      + + + + + +Worauf bezieht sich der Download (für Ermittlung + Bezugsjahr,- Monat oder Sem.) + + +Datum des Imports in die SuperX-Datenbank + + +Kommentar für Website (Datenlegende o.ä.). + + +Verweis auf umfangreichere Anleitungen und Kommentare, + beginnend mit http:// oder relativ zu + http://superx-server:Port/superx/servlet + + +Mime-Type der Datei (für pdf z.B. application/pdf, html + etc). + + +Pfad zur Datei (relativ zu webapps/superx/WEB-INF/) + + + + + + + + +
      + + + + + + + + + +1=true + + +1=ja, 0=nein + + +1=ja, 0=nein + + + + +Für Ganzzahl-Transformation ICE + + + + + +1=ja, 0=nein. Wird beim CSV-Upload ausgewertet. + + +1=ja, 0=nein. Das Feld Semester ist z.B. nicht summierbar, + das Feld Geschlecht schon (für ICE Ausprägung alle) + + + +
      + + + + + + + + + + + + + + + +
      + + + + +Wird derzeit noch nicht ausgewertet. + + +
      + + + + + + + + + + + + + + +wird per Reflection aufgerufen + + + + +wird per Reflection aufgerufen + + + +wird per Reflection aufgerufen + + + +
      + + + + + +Das Stylesheet mit der kleinsten Nummer wird zuerst + aufgerufen + + + + + + + + +
      + + + + + +"green" oder "red" + + +z.B. "icon-user-plus" oder "icon-help-circled" + + + + +false=wird nicht ausgegeben, all=auch nicht angemeldete Personen sehen das Portlet. + + + + +
      + + + +Der Variablenname wird in Freemarker-Scripten, beginnend + mit Modulname-_..., z.B. SVA_Technisches_Personal + + + + + + + +(Für weitere Gruppierungsebenen) + + +(Für noch weitere Gruppierungsebenen) + + + + + + + + + + + + + +
      + + + + + + + + + + + +
      + + + +Pfad und Dateiname. Für XSL-Stylesheets relativ zum + Verzeichnis: webapps/superx/xml, für JasperReports-Templates + relativ zu webapps/superx/WEB-INF/reports + + +wird für Hyperlinks benutzt + + + +Gilt das Stylesheet für eine Maske oder eine Tabelle. Bei + JasperReports-Templates müssen Sie immer Tabelle wählen. + + + +z.B.: text/html; charset=ISO-8859-1. Bei XSL Stylesheets + ist dies das Ausgabeformat, bei JasperReports Templates ist dies + das default Ausgabeformat + + +Wird nur für Ergebnistabellen ausgewertet, nicht für Masken-Stylesheets. Wenn 1, dann ist das Stylesheet für alle Ergebnistabellen nutzbar + + +Pfad relativ zu webapps/superx + + +Welche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Daten + + +XSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSX + + +Wird nur bei JR ausgewertet. Mögliche Werte: RS,XMLSOURCE + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + +Voreinstellung bei Auslieferung + + + + +
      + + + + + +
      + + + + + + + + + + + + + + + + + +
      + + + + + + + + + +
      + + + + + + + + +
      + + + + + + + + + + + + +
      + + + + + + +
      + + + + + + + + + + + + + + + +
      + + + + + + + +Dieser Wert darf keinesfalls geändert werden + + + + + +
      + + + +Querverweis zur Systeminfo + + +z.B. zul_bew für Bewerber aus ZUL/APP + + +10 ist standardsicht, 20 ist alt.Hierarchie + + + + +
      + + +Querverweis zur Systeminfo + + +z.B. zul_bew für Bewerber aus ZUL/APP + + +10 ist standardsicht, 20 ist alt.Hierarchie + + + +
      + + + + + + + + + + + + + + + + + + +
      + + + + + + + + +
      + + + + +
      + + + + + + + + + + + +
      + + + + +
      + + + +Nur deskriptiv + + + + + + + + + + + + + + + +
      + + + + +Nur deskriptiv + + + + + + +
      + + + + + + + + + + + +
      + + + + +
      + + + + + +
      + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + + +
      + + + + + + + + +
      + + + +Rechte für eine einzelne Sicht geben + + + + + + + + + +
      + + + + + + + +
      + + + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + + + +
      + + + +
      + + + + + + + + + + + + +
      + + + + +
      + + + + +
      + + + + + + + +
      + + + + + + + + +
      + + + + + + + + + + + + + +ggf. zusätzliche where-Bedingung für blueprint + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + +wird von Anwendung gesetzt, darf nicht geändert werden + + + + +
      + + + + + + + + + + +
      + + + +
      + + + + + + + +
      + + + + + + + +
      + + + + + + + +
      + + + +
      + + + + + +
      + + + + + + + + + +
      + + + + + +
      +In diesem Formular können Sie Benutzer verwalten. +Sie können hier die Benutzerdaten wie Kennung, Name, E-Mail Adresse ... einsehen und auch verändern. +Sie Können das Passwort ändern, den Benutzer als Administrator setzten und auch den Benutzer dazu veranlassen +beim nächsten Login sein Passwort zu ändern. +Außerdem können Sie hier dem Benutzer Berechtigungen über Gruppen, Sachgebiete, Masken, Institutionen, Projekten (Kostenträgern), Sichten und Sichtarten geben und auch entziehen. + + +tid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + In diesem Formular können Sie Gruppen verwalten. + + + Sie können hier einer Gruppe Berechtigungen über Sachgebiete, Masken, + Sichten und Sichtarten geben und auch entziehen. + Außerdem können Sie auch hier sehen, welche Benutzer der Gruppe zugehören + und auch neue Benutzer hinzufügen oder Gruppeninhaber aus der + Gruppe nehmen. + + tid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Sachgebiete verwalten. + +name + + + + +
      +In diesem Formular können Sie XSL-Stylesheets verwalten. + +filename + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Institutionen verwalten. + +name +tid + + + + + + + + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie die Sichtbarkeit von Organisationseinheiten verwalten. + +name +tid + + + + + + + + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Masken verwalten. + +name + + + + +
      +In diesem Formular können Sie Felder verwalten. + +tid + + + + +
      +In diesem Formular können Sie Quellsysteme verwalten. + +name + + + + +
      +In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben + +userinfo_id +sachgebiete_id + + + + +
      +In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben + +userinfo_id +groupinfo_id + + + + +
      +In diesem Formular können Sie Benutzern Rechte auf einzelne Masken geben. + +userinfo_id +maskeninfo_id + + + + +
      +In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung überschrieben + + +ch110_institut + + + + +
      +In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager) + +maskeninfo_id +name + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Masken zu XSL-Stylesheets zuordnen. + +tid + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Sichten auf das Organigramm verwalten. + +art +name + + + + +
      +In diesem Formular können Sie Masken zu Sachgebieten zuordnen. + +maskeninfo_id +sachgebiete_id + + + + +
      +In diesem Formular können Sie Felder zu Masken zuordnen. + +maskeninfo_id +felderinfo_id + + + + +
      +In diesem Formular können Sie Masken zu Quellsystemen zuordnen. + +maskeninfo_id +systeminfo_id + + + +
      +In diesem Formular können Sie Masken zu Makros zuordnen. + +maskeninfo_id1 +maskeninfo_id2 + + + + +
      +In diesem Formular können Sie Masken zu Makros zuordnen. + +maskeninfo_id1 +maskeninfo_id2 + + + + + + + + + +
      +In diesem Formular können Sie Konstanten verwalten. + +beschreibung + + + + +
      +In diesem Formular können Sie eine Konstante bearbeiten verwalten. + + + + + + + + + + + + + +
      +In diesem Formular können Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu. + +name + + + + + + + + + +
      +In diesem Formular können Sie Gruppen zu Sachgebieten zuordnen. + +groupinfo_id +sachgebiete_id + + + + +
      +In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen. + +groupinfo_id +maskeninfo_id + + + + +
      +In diesem Formular können Sie Gruppen zu einzelnen Masken zuordnen. + +groupinfo_id +maskeninfo_id + + + + +
      +In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sicht_name_intern + + + + +
      +In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sicht_name_intern + + + + +
      +In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderläuterungen. + +tid + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sichtart + + + + + +
      +In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager) + +sichtart + + + + + +
      +In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten. +Nach Änderungen sollten Sie den Cache aktualisieren + +tid +sachgebiete_id + + + + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten. + +sachgebiete_id + + + + + + + + + + + +
      +In diesem Formular können Sie Downloads bearbeiten. + +tid + + + + +
      +In diesem Formular können Sie Stichworte bearbeiten. + + + + + + +
      +In diesem Formular können Sie Sichten zu Sachgebieten zuordnen. + + + + + + +
      +In diesem Formular können Sie Sichtarten zu Sachgebieten zuordnen. + + + + + + + + + +
      +In diesem Formular können Sie Entladeparameter für das jew. Quellsystem verwalten. + + + + + + + + + + +
      +In diesem Formular können Sie Kostenstellen umschlüsseln. + +systeminfo_id + + + + + + + + +
      +In diesem Formular können Sie Kostenstellen umschlüsseln. + +systeminfo_id + + + +
      +In diesem Formular können Sie Uploads bearbeiten. + +tid + + + + + +
      +In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen. + +tid +stylesheet_id + + + + + + + +
      +In diesem Formular können Sie von Stylesheets benötigte Felder entsprechend zuordnen. + +stylesheet_id + + + + + + + + +
      +In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen. + + + + + + + + + +
      +In diesem Formular können Sie Feldern in Masken für bestimmte Gruppen Attribute wie Verstecken zuweisen. + + + + + + + +
      +In diesem Formular können Sie Freemarker-Templates verwalten. + + + + + + + +
      +In diesem Formular können Sie Freemarker-Templates verwalten. + +tid + + + + + + + + +
      +In diesem Formular können Sie DB Connections bearbeiten. + + + + + + + +
      +In diesem Formular können Sie DB-Connections verwalten. + + + +id + + + + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Portlets bearbeiten. + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Portlets verwalten. + + + +tid + + + + + + + + + + + + + + +
      +In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten. + + + + + + + + +
      +In diesem Formular können Sie Rechtetabellen für Sichtarten bearbeiten. + +tid + + + + + + + + + + + +
      +In diesem Formular können Sie Ladejobs verwalten + +tid + + + + + + + + + + + + + +
      +In diesem Formular können Sie Ladejobs verwalten + + + + + + + + + + +
      +In diesem Formular können Sie das Organigramm aufrufen + + + + + + +
      +In diesem Formular können Sie Stylesheet-Parameter bearbeiten. + +tid + + + + + + + + + +
      +In diesem Formular können Sie Stylesheet-Parameter bearbeiten. + +stylesheet_id + + + + + + +
      + + +
      diff --git a/superx/WEB-INF/lib/superx4.9.jar b/superx/WEB-INF/lib/superx4.9.jar index 0ae4933..a000370 100644 Binary files a/superx/WEB-INF/lib/superx4.9.jar and b/superx/WEB-INF/lib/superx4.9.jar differ diff --git a/superx/WEB-INF/patch/patch_archive/patch_2022-07-11_bash_var.sh b/superx/WEB-INF/patch/patch_archive/patch_2022-07-11_bash_var.sh new file mode 100755 index 0000000..a53276e --- /dev/null +++ b/superx/WEB-INF/patch/patch_archive/patch_2022-07-11_bash_var.sh @@ -0,0 +1,40 @@ + + +export ANLEITUNG="Modul: KERN +PATCH 2022-07-11Generischer Export Tabellen mit JR +Pilotversion des Exports von Berichtsergebnissen im gener. Standardlayout nach Excel mit JR. Der Export bietet mehr Möglichkeiten der Fomatierung als der bisherige Excel Export (POI). + +Nach Einspielen des Patches müssen Sie Tomcat neu starten. +Achtung: Dieser Patch ist für SuperX 4.9 geeignet, nicht für HISinOne-BI. Für HISinOne-BI sind die Funktionen mit Version 2022.12 verfügbar. + + +Dateien: + +Datei: +images/icons/magic.svgLogo Berichtsassistent +Datei: +WEB-INF/lib/superx4.9.jarSuperX-Servlet +Datei: +WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sqlErweiterung Tabelle sx_stylesheets um Spalte is_generic +Datei: +WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql +Datei: +WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql +Datei: +WEB-INF/reports/simple_table.jrtxAusgelagerte Styles für JRXML +Datei: +xml/pageComponents_html.xslExport JR Button +Datei: +xml/tabelle_jrxml_a4_quer.xslXSL Stylesheet erzeugt JRXML +Datei: +xml/jr_templates.xslXSL Stylesheet erzeugt JRXML +Datei: +xml/viz_rpt_assistent.xslXSL Stylesheet Berichtsassistent +Änderungen: +Anpassung Stylesheets-Tabelle +Scriptfile: $SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sqlAnpassung Stylesheets-Tabelle +Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sqlAnpassung Stylesheets-Tabelle +Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql +" +export MODULE_LIST="kern " + diff --git a/superx/WEB-INF/patch/patch_archive/patch_2022-07-11_readme.htm b/superx/WEB-INF/patch/patch_archive/patch_2022-07-11_readme.htm new file mode 100644 index 0000000..b45ac29 --- /dev/null +++ b/superx/WEB-INF/patch/patch_archive/patch_2022-07-11_readme.htm @@ -0,0 +1,116 @@ + + + + Patch + + + + + + + +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +

      +

      Patchnotes mit Administrationshilfe

      +

      made by MEMTEXT

      +

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +

      Modul: KERN

      +

      PATCH 2022-07-11

      +
      +
      +
      +

      Achtung: Der Patch ist nur für aktuelle Modulversionen geeignet!

      +

      + Generischer Export Tabellen mit JR
      + Pilotversion des Exports von Berichtsergebnissen im gener. Standardlayout nach Excel mit JR. Der Export bietet mehr Möglichkeiten + der Fomatierung als der bisherige Excel Export (POI). +
      + Nach Einspielen des Patches müssen Sie Tomcat neu starten.
      + Achtung: Dieser Patch ist für SuperX 4.9 geeignet, nicht für HISinOne-BI. Für HISinOne-BI sind die Funktionen mit Version 2022.12 + verfügbar.
      + + +
      +

      Dateien:

      +
        +
      • Datei: images/icons/magic.svg
        Logo Berichtsassistent +
      • +
      • Datei: WEB-INF/lib/superx4.9.jar
        SuperX-Servlet +
      • +
      • Datei: WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql
        Erweiterung Tabelle sx_stylesheets um Spalte is_generic +
      • +
      • Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql
      • +
      • Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql
      • +
      • Datei: WEB-INF/reports/simple_table.jrtx
        Ausgelagerte Styles für JRXML +
      • +
      • Datei: xml/pageComponents_html.xsl
        Export JR Button +
      • +
      • Datei: xml/tabelle_jrxml_a4_quer.xsl
        XSL Stylesheet erzeugt JRXML +
      • +
      • Datei: xml/jr_templates.xsl
        XSL Stylesheet erzeugt JRXML +
      • +
      • Datei: xml/viz_rpt_assistent.xsl
        XSL Stylesheet Berichtsassistent +
      • +
      +

      Änderungen:

      +
        +
      • Anpassung Stylesheets-Tabelle
        Scriptfile: $SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sql +
      • +
      • Anpassung Stylesheets-Tabelle
        Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql +
      • +
      • Anpassung Stylesheets-Tabelle
        Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql +
      • +
      +
      +

      Download

      + +

      In der klassischen SuperX-Variante liegt das db und webserver Verzeichnis auf einer Ebene meistens unterhalb von /home/superx. + Bei der webapps-Variante liegt alles unterhalb von webapps/superx.

      +
      + +
      +
      +
      +
      +
      +
      + + diff --git a/superx/WEB-INF/patch/patch_archive/patch_2022-08-23_bash_var.sh b/superx/WEB-INF/patch/patch_archive/patch_2022-08-23_bash_var.sh new file mode 100755 index 0000000..6339711 --- /dev/null +++ b/superx/WEB-INF/patch/patch_archive/patch_2022-08-23_bash_var.sh @@ -0,0 +1,40 @@ + + +export ANLEITUNG="Modul: KERN +PATCH 2022-08-23Generischer Export Tabellen mit JR +Pilotversion des Exports von Berichtsergebnissen im gener. Standardlayout nach Excel mit JR. Der Export bietet mehr Möglichkeiten der Fomatierung als der bisherige Excel Export (POI). + +Nach Einspielen des Patches müssen Sie Tomcat neu starten. +Achtung: Dieser Patch ist für SuperX 4.9 geeignet, nicht für HISinOne-BI. Für HISinOne-BI sind die Funktionen mit Version 2022.12 verfügbar. + + +Dateien: + +Datei: +images/icons/magic.svgLogo Berichtsassistent +Datei: +WEB-INF/lib/superx4.9.jarSuperX-Servlet +Datei: +WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sqlErweiterung Tabelle sx_stylesheets um Spalte is_generic +Datei: +WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql +Datei: +WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql +Datei: +WEB-INF/reports/simple_table.jrtxAusgelagerte Styles für JRXML +Datei: +xml/pageComponents_html.xslExport JR Button +Datei: +xml/tabelle_jrxml_a4_quer.xslXSL Stylesheet erzeugt JRXML +Datei: +xml/jr_templates.xslXSL Stylesheet erzeugt JRXML +Datei: +xml/viz_rpt_assistent.xslXSL Stylesheet Berichtsassistent +Änderungen: +Anpassung Stylesheets-Tabelle +Scriptfile: $SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sqlAnpassung Stylesheets-Tabelle +Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sqlAnpassung Stylesheets-Tabelle +Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql +" +export MODULE_LIST="kern " + diff --git a/superx/WEB-INF/patch/patch_archive/patch_2022-08-23_readme.htm b/superx/WEB-INF/patch/patch_archive/patch_2022-08-23_readme.htm new file mode 100644 index 0000000..20c8836 --- /dev/null +++ b/superx/WEB-INF/patch/patch_archive/patch_2022-08-23_readme.htm @@ -0,0 +1,116 @@ + + + + Patch + + + + + + + +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +

      +

      Patchnotes mit Administrationshilfe

      +

      made by MEMTEXT

      +

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +

      Modul: KERN

      +

      PATCH 2022-08-23

      +
      +
      +
      +

      Achtung: Der Patch ist nur für aktuelle Modulversionen geeignet!

      +

      + Generischer Export Tabellen mit JR
      + Pilotversion des Exports von Berichtsergebnissen im gener. Standardlayout nach Excel mit JR. Der Export bietet mehr Möglichkeiten + der Fomatierung als der bisherige Excel Export (POI). +
      + Nach Einspielen des Patches müssen Sie Tomcat neu starten.
      + Achtung: Dieser Patch ist für SuperX 4.9 geeignet, nicht für HISinOne-BI. Für HISinOne-BI sind die Funktionen mit Version 2022.12 + verfügbar.
      + + +
      +

      Dateien:

      +
        +
      • Datei: images/icons/magic.svg
        Logo Berichtsassistent +
      • +
      • Datei: WEB-INF/lib/superx4.9.jar
        SuperX-Servlet +
      • +
      • Datei: WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql
        Erweiterung Tabelle sx_stylesheets um Spalte is_generic +
      • +
      • Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql
      • +
      • Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql
      • +
      • Datei: WEB-INF/reports/simple_table.jrtx
        Ausgelagerte Styles für JRXML +
      • +
      • Datei: xml/pageComponents_html.xsl
        Export JR Button +
      • +
      • Datei: xml/tabelle_jrxml_a4_quer.xsl
        XSL Stylesheet erzeugt JRXML +
      • +
      • Datei: xml/jr_templates.xsl
        XSL Stylesheet erzeugt JRXML +
      • +
      • Datei: xml/viz_rpt_assistent.xsl
        XSL Stylesheet Berichtsassistent +
      • +
      +

      Änderungen:

      +
        +
      • Anpassung Stylesheets-Tabelle
        Scriptfile: $SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sql +
      • +
      • Anpassung Stylesheets-Tabelle
        Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql +
      • +
      • Anpassung Stylesheets-Tabelle
        Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql +
      • +
      +
      +

      Download

      + +

      In der klassischen SuperX-Variante liegt das db und webserver Verzeichnis auf einer Ebene meistens unterhalb von /home/superx. + Bei der webapps-Variante liegt alles unterhalb von webapps/superx.

      +
      + +
      +
      +
      +
      +
      +
      + + diff --git a/superx/WEB-INF/patch/xml/patch_2022-07-11.xml b/superx/WEB-INF/patch/xml/patch_2022-07-11.xml new file mode 100644 index 0000000..25eece9 --- /dev/null +++ b/superx/WEB-INF/patch/xml/patch_2022-07-11.xml @@ -0,0 +1,62 @@ + + + + + + + + + + +Generischer Export Tabellen mit JR
      +Pilotversion des Exports von Berichtsergebnissen im gener. Standardlayout nach Excel mit JR. Der Export bietet mehr Möglichkeiten der Fomatierung als der bisherige Excel Export (POI). +
      +Nach Einspielen des Patches müssen Sie Tomcat neu starten.
      +Achtung: Dieser Patch ist für SuperX 4.9 geeignet, nicht für HISinOne-BI. Für HISinOne-BI sind die Funktionen mit Version 2022.12 verfügbar.
      + +
      + + + + + + + + + +Logo Berichtsassistent +SuperX-Servlet +Erweiterung Tabelle sx_stylesheets um Spalte is_generic + + +Ausgelagerte Styles für JRXML +Export JR Button +XSL Stylesheet erzeugt JRXML +XSL Stylesheet erzeugt JRXML +XSL Stylesheet Berichtsassistent + + + + + + + + + + + + +Anpassung Stylesheets-Tabelle +Anpassung Stylesheets-Tabelle +Anpassung Stylesheets-Tabelle + + + + + + +
      + + + +
      diff --git a/superx/WEB-INF/patch/xml/patch_2022-08-23.xml b/superx/WEB-INF/patch/xml/patch_2022-08-23.xml new file mode 100644 index 0000000..0ebf9e1 --- /dev/null +++ b/superx/WEB-INF/patch/xml/patch_2022-08-23.xml @@ -0,0 +1,62 @@ + + + + + + + + + + +Generischer Export Tabellen mit JR
      +Pilotversion des Exports von Berichtsergebnissen im gener. Standardlayout nach Excel mit JR. Der Export bietet mehr Möglichkeiten der Fomatierung als der bisherige Excel Export (POI). +
      +Nach Einspielen des Patches müssen Sie Tomcat neu starten.
      +Achtung: Dieser Patch ist für SuperX 4.9 geeignet, nicht für HISinOne-BI. Für HISinOne-BI sind die Funktionen mit Version 2022.12 verfügbar.
      + +
      + + + + + + + + + +Logo Berichtsassistent +SuperX-Servlet +Erweiterung Tabelle sx_stylesheets um Spalte is_generic + + +Ausgelagerte Styles für JRXML +Export JR Button +XSL Stylesheet erzeugt JRXML +XSL Stylesheet erzeugt JRXML +XSL Stylesheet Berichtsassistent + + + + + + + + + + + + +Anpassung Stylesheets-Tabelle +Anpassung Stylesheets-Tabelle +Anpassung Stylesheets-Tabelle + + + + + + +
      + + + +
      diff --git a/superx/edit/kern/data_upload_edit.jsp b/superx/edit/kern/data_upload_edit.jsp new file mode 100644 index 0000000..572c87e --- /dev/null +++ b/superx/edit/kern/data_upload_edit.jsp @@ -0,0 +1,295 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Verzeichnis der Datei-Uploads + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="data_upload"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      tid +
      + +
      + +<% sql = "select name, name from sx_tables order by name;"; %> +
      +
      + +
      + +
      +Pfad zur Datei (relativ zu webapps/superx/WEB-INF/ ) +
      + +
      + +
      +
      + +
      + +
      +(Nur bei CSV-Format)
      + +
      + +
      +utf8,ISO-8859-1 (Nur bei Text-Format)
      + +
      + +
      +Enthält die Datei Spaltenüberschriften? 1=ja,0=nein +
      + +
      + +
      +Anzahl der gelieferten Datensätze
      + +
      + +
      +1=ja,0=nein
      + +
      + +<% sql = "select key_apnr::char(10), trim(key_apnr) || '-' || trim(name) from organigramm order by trim(key_apnr) || '-' || trim(name);"; %> +
      +
      + +
      + +<% sql = "select tid, name from userinfo order by name;"; %> +
      +Person, die den Download eingereicht hat
      + +
      + +
      +Spezielle Email-Adresse für die Protokollierung des Ladens +
      + +
      + +
      +Datum/Uhrzeit des Imports in die SuperX-Datenbank +
      + +
      + +
      +1=Hinzufügen,0=Alles Löschen und Hinzufügen
      + +
      + +
      +Kommentar für Website (Datenlegende o.ä.).
      + +
      + +
      +Lieferung bestätigt (per mail an submission_email) +
      + +
      + +
      +1=ja,0=nein
      + +
      + +
      +1=ja,0=nein
      + +
      + +
      +Email vom Adminstrator, der über die Datei informiert + werden soll
      + +
      + +
      +1=ja
      + +
      + +
      +1=ja, Verarbeitung bestätigt (per mail an submission_email + und processor_email)
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/dbconnections_edit.jsp b/superx/edit/kern/dbconnections_edit.jsp new file mode 100644 index 0000000..1c9308e --- /dev/null +++ b/superx/edit/kern/dbconnections_edit.jsp @@ -0,0 +1,186 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske DB Connections verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="dbconnections"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String id = request.getParameter("id"); +if(id != null && !id.equals("null")){ + filter +="id="+id; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      id +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/dbconnections_list.jsp b/superx/edit/kern/dbconnections_list.jsp new file mode 100644 index 0000000..c03134f --- /dev/null +++ b/superx/edit/kern/dbconnections_list.jsp @@ -0,0 +1,113 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular DB-Connections + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="dbconnections"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + + +Details
      + + + <% + if(currentRow_dbconnections != null) +{ +%>?id=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/dbconnections_edit.jsp") %>?id=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/felderinfo_edit.jsp b/superx/edit/kern/felderinfo_edit.jsp new file mode 100644 index 0000000..65673ce --- /dev/null +++ b/superx/edit/kern/felderinfo_edit.jsp @@ -0,0 +1,244 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Felderinfo verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="felderinfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select element_value::char(15)::char(15), description from menu_element where menu_element.element = \'Feldtyp\' order by description;"; %> +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select element_value, description from menu_element_mandatory where menu_element_mandatory.element = \'obligatorisch\' order by description;"; %> +
      +
      + +
      + +<% sql = "select element_value, description from menu_element_fieldmode where menu_element_fieldmode.element = \'Feldart\' order by description;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/fm_templates_edit.jsp b/superx/edit/kern/fm_templates_edit.jsp new file mode 100644 index 0000000..77c235f --- /dev/null +++ b/superx/edit/kern/fm_templates_edit.jsp @@ -0,0 +1,161 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Freemarker-Templates bearbeiten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="fm_templates"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/fm_templates_list.jsp b/superx/edit/kern/fm_templates_list.jsp new file mode 100644 index 0000000..0baa115 --- /dev/null +++ b/superx/edit/kern/fm_templates_list.jsp @@ -0,0 +1,110 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Freemarker-Templates bearbeiten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="fm_templates"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + +Details
      + +<% + if(currentRow_fm_templates != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/fm_templates_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/group_field_pref_edit.jsp b/superx/edit/kern/group_field_pref_edit.jsp new file mode 100644 index 0000000..04f70ca --- /dev/null +++ b/superx/edit/kern/group_field_pref_edit.jsp @@ -0,0 +1,141 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Gruppen Feldattribute zuweisen + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="group_field_pref"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + + + + + + + +
      +

       

      +
      +

      + + +
      + + + + + + + + + +<%@ include file="/edit/kern/group_field_pref_edit_hidden.inc" %>
      Laufnummer +
      + +
      + +<% sql = "select tid, trim(name) from groupinfo order by trim(name);"; %> +
      +
      + +
      + +<% sql = "select tid, tid || ' - ' || trim(name) from felderinfo order by tid || ' - ' || trim(name);"; %> +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/group_field_pref_list.jsp b/superx/edit/kern/group_field_pref_list.jsp new file mode 100644 index 0000000..18b9613 --- /dev/null +++ b/superx/edit/kern/group_field_pref_list.jsp @@ -0,0 +1,110 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Gruppen Felderattribute zuweisen + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="group_field_pref"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + +Details
      <% sql = "select tid, trim(name) from groupinfo order by trim(name);"; %> <% sql = "select tid, tid || ' - ' || trim(name) from felderinfo order by tid || ' - ' || trim(name);"; %><% + if(currentRow_group_field_pref != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/group_field_pref_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/group_masken_bez_edit.jsp b/superx/edit/kern/group_masken_bez_edit.jsp new file mode 100644 index 0000000..148776e --- /dev/null +++ b/superx/edit/kern/group_masken_bez_edit.jsp @@ -0,0 +1,122 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Gruppen und Masken + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="group_masken_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String groupinfo_id = request.getParameter("groupinfo_id"); +if(groupinfo_id != null && !groupinfo_id.equals("null")){ + filter +="groupinfo_id="+groupinfo_id; +} +%> + +<% +String maskeninfo_id = request.getParameter("maskeninfo_id"); +if(maskeninfo_id != null && !maskeninfo_id.equals("null")){ + filter +=",maskeninfo_id="+maskeninfo_id; +} +%> + + + + + + + + + + + + + + +
      + +
      + + + + <% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from groupinfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %> <% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from maskeninfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %>
      +
      + diff --git a/superx/edit/kern/group_sachgeb_bez_edit.jsp b/superx/edit/kern/group_sachgeb_bez_edit.jsp new file mode 100644 index 0000000..7a8d2a1 --- /dev/null +++ b/superx/edit/kern/group_sachgeb_bez_edit.jsp @@ -0,0 +1,122 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Gruppen und Sachgebiete + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="group_sachgeb_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String groupinfo_id = request.getParameter("groupinfo_id"); +if(groupinfo_id != null && !groupinfo_id.equals("null")){ + filter +="groupinfo_id="+groupinfo_id; +} +%> + +<% +String sachgebiete_id = request.getParameter("sachgebiete_id"); +if(sachgebiete_id != null && !sachgebiete_id.equals("null")){ + filter +=",sachgebiete_id="+sachgebiete_id; +} +%> + + + + + + + + + + + + + + +
      + +
      + + + + <% sql = "select tid, name from groupinfo order by name;"; %> <% sql = "select tid, name from sachgebiete order by name;"; %>
      +
      + diff --git a/superx/edit/kern/group_sichtarten_edit.jsp b/superx/edit/kern/group_sichtarten_edit.jsp new file mode 100644 index 0000000..39a389f --- /dev/null +++ b/superx/edit/kern/group_sichtarten_edit.jsp @@ -0,0 +1,114 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Gruppen und Sichtarten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="group_sichtarten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String sichtart = request.getParameter("sichtart"); +if(sichtart != null && !sichtart.equals("null")){ + filter +="sichtart="+sichtart; +} +%> + + + + + + + + + + + + + + +
      + +
      + + <% sql = "select tid, name from groupinfo order by name;"; %> +
      +
      + diff --git a/superx/edit/kern/group_sichten_edit.jsp b/superx/edit/kern/group_sichten_edit.jsp new file mode 100644 index 0000000..60914a9 --- /dev/null +++ b/superx/edit/kern/group_sichten_edit.jsp @@ -0,0 +1,113 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Gruppen und Sichten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="group_sichten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String sicht_name_intern = request.getParameter("sicht_name_intern"); +if(sicht_name_intern != null && !sicht_name_intern.equals("null")){ + filter +="sicht_name_intern="+sicht_name_intern; +} +%> + + + + + + + + + + + + + + +
      + +
      + + <% sql = "select tid, name from groupinfo order by name;"; %> <% sql = "select name_intern::char(200), tid || ' - ' || name from sichten order by tid || ' - ' || name;"; %>
      +
      + diff --git a/superx/edit/kern/groupinfo_edit.jsp b/superx/edit/kern/groupinfo_edit.jsp new file mode 100644 index 0000000..0a7af74 --- /dev/null +++ b/superx/edit/kern/groupinfo_edit.jsp @@ -0,0 +1,244 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Gruppen verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="groupinfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + +<%@ include file="/edit/kern/groupinfo_edit_sichtarten.inc" %> + + +
      tid +
      + +
      + +
      +
      Sachgebiete + + + + + + + + + + + + + +
      +
      + +<% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      +
      Masken + + + + + + + + + + + + + +
      +
      + +<% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from maskeninfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %> +
      +
      +
      Sichten + + + + + + + + + + + + + +
      +
      + +<% sql = "select name_intern::char(200), tid || ' - ' || name from sichten order by tid || ' - ' || name;"; %> +
      +
      +
      User + + + + + + + + + + + + + +
      +
      + +<% sql = "select tid, trim(benutzer) || ' (' || trim(name) || ')' from userinfo order by trim(benutzer) || ' (' || trim(name) || ')';"; %> +
      +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/hochschulinfo_edit.jsp b/superx/edit/kern/hochschulinfo_edit.jsp new file mode 100644 index 0000000..acaa140 --- /dev/null +++ b/superx/edit/kern/hochschulinfo_edit.jsp @@ -0,0 +1,162 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Hochschulinfo + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="hochschulinfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String hs_nr = request.getParameter("hs_nr"); +Hashtable gotoMyHash = null; +if(hs_nr !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("hs_nr",hs_nr); +} +%> + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +="name~'"+name+"'"; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + +
      + +
      + +<% sql = "select hs_nr, hs_nr || '-'::char(1) || name from hochschulen order by hs_nr || '-'::char(1) || name;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/konstante_edit.jsp b/superx/edit/kern/konstante_edit.jsp new file mode 100644 index 0000000..260b776 --- /dev/null +++ b/superx/edit/kern/konstante_edit.jsp @@ -0,0 +1,166 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Konstante verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="konstanten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + + + + + + + +
      +

       

      +
      +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      beschreibung +
      + +
      + +
      +
      Standardwert +
      Erläuterungstext +
      + +
      + +<% sql = "select tid, name from systeminfo order by name;"; %> +
      +
      + +
      + +<% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      Link zur Dokumentation +
      1=nicht änderbar,0=änderbar +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/konstanten_edit.jsp b/superx/edit/kern/konstanten_edit.jsp new file mode 100644 index 0000000..fcd07fa --- /dev/null +++ b/superx/edit/kern/konstanten_edit.jsp @@ -0,0 +1,141 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Konstanten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="konstanten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String beschreibung = request.getParameter("beschreibung"); +if(beschreibung != null && !beschreibung.equals("null")){ + filter +="beschreibung~'"+beschreibung+"'"; +} +%> + + + + + + + + + + + + + + +
      + + + + + + + + + + + +
      + + + + + + + <% sql = "select tid, name from systeminfo order by name;"; %> <% sql = "select tid, name from sachgebiete order by name;"; %> + + + + +
      +
      + diff --git a/superx/edit/kern/macro_masken_bez_edit.jsp b/superx/edit/kern/macro_masken_bez_edit.jsp new file mode 100644 index 0000000..32cfe0c --- /dev/null +++ b/superx/edit/kern/macro_masken_bez_edit.jsp @@ -0,0 +1,212 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Masken und Makros (Einzelbearbeitung) + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="macro_masken_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String maskeninfo_id1 = request.getParameter("maskeninfo_id1"); +if(maskeninfo_id1 != null && !maskeninfo_id1.equals("null")){ + filter +="maskeninfo_id1="+maskeninfo_id1; +} +%> + +<% +String maskeninfo_id2 = request.getParameter("maskeninfo_id2"); +if(maskeninfo_id2 != null && !maskeninfo_id2.equals("null")){ + filter +=",maskeninfo_id2="+maskeninfo_id2; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +<% sql = "select tid, name from maskeninfo order by name;"; %> +
      +
      + +
      + +<% sql = "select tid, name from maskeninfo order by name;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/macro_masken_bez_list.jsp b/superx/edit/kern/macro_masken_bez_list.jsp new file mode 100644 index 0000000..dbbd045 --- /dev/null +++ b/superx/edit/kern/macro_masken_bez_list.jsp @@ -0,0 +1,129 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Masken und Makros (Liste) + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="macro_masken_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String maskeninfo_id1 = request.getParameter("maskeninfo_id1"); +if(maskeninfo_id1 != null && !maskeninfo_id1.equals("null")){ + filter +="maskeninfo_id1="+maskeninfo_id1; +} +%> + +<% +String maskeninfo_id2 = request.getParameter("maskeninfo_id2"); +if(maskeninfo_id2 != null && !maskeninfo_id2.equals("null")){ + filter +=",maskeninfo_id2="+maskeninfo_id2; +} +%> + + + + + + + + + + + + + + +
      + + +Details
      + + + + <% sql = "select tid, name from maskeninfo order by name;"; %> <% sql = "select tid, name from maskeninfo order by name;"; %> +<% + if(currentRow_macro_masken_bez != null) +{ +%>?maskeninfo_id1=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/macro_masken_bez_edit.jsp") %>?maskeninfo_id1=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/maske_system_bez_edit.jsp b/superx/edit/kern/maske_system_bez_edit.jsp new file mode 100644 index 0000000..01d6adc --- /dev/null +++ b/superx/edit/kern/maske_system_bez_edit.jsp @@ -0,0 +1,122 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Masken und Systeme + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="maske_system_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String maskeninfo_id = request.getParameter("maskeninfo_id"); +if(maskeninfo_id != null && !maskeninfo_id.equals("null")){ + filter +="maskeninfo_id="+maskeninfo_id; +} +%> + +<% +String systeminfo_id = request.getParameter("systeminfo_id"); +if(systeminfo_id != null && !systeminfo_id.equals("null")){ + filter +=",systeminfo_id="+systeminfo_id; +} +%> + + + + + + + + + + + + + + +
      + +
      + + + + <% sql = "select tid, name from maskeninfo order by name;"; %> <% sql = "select tid, name from systeminfo order by name;"; %>
      +
      + diff --git a/superx/edit/kern/masken_felder_bez_edit.jsp b/superx/edit/kern/masken_felder_bez_edit.jsp new file mode 100644 index 0000000..b5e128b --- /dev/null +++ b/superx/edit/kern/masken_felder_bez_edit.jsp @@ -0,0 +1,122 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Masken und Felder + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="masken_felder_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String maskeninfo_id = request.getParameter("maskeninfo_id"); +if(maskeninfo_id != null && !maskeninfo_id.equals("null")){ + filter +="maskeninfo_id="+maskeninfo_id; +} +%> + +<% +String felderinfo_id = request.getParameter("felderinfo_id"); +if(felderinfo_id != null && !felderinfo_id.equals("null")){ + filter +=",felderinfo_id="+felderinfo_id; +} +%> + + + + + + + + + + + + + + +
      + +
      + + + + <% sql = "select tid, name from maskeninfo order by name;"; %> <% sql = "select tid, name from felderinfo order by name;"; %>
      +
      + diff --git a/superx/edit/kern/maskeninfo_edit.jsp b/superx/edit/kern/maskeninfo_edit.jsp new file mode 100644 index 0000000..5ef6392 --- /dev/null +++ b/superx/edit/kern/maskeninfo_edit.jsp @@ -0,0 +1,250 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Maskeninfo verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="maskeninfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +="name~'"+name+"'"; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select val(element_value), description from menu_element where menu_element.element = \'Frontend\' order by description;"; %> +
      +Applet=0, XML=1, Alle=2, 3=Angular
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/maskeninfo_style.jsp b/superx/edit/kern/maskeninfo_style.jsp new file mode 100644 index 0000000..d742d6b --- /dev/null +++ b/superx/edit/kern/maskeninfo_style.jsp @@ -0,0 +1,158 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Masken und Stylesheets + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="maskeninfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + +
      Name der Maske +
      Stylesheets + + + + + + + + + + + + + + + + + +
      Tid des StylesheetsSortiernummer
      +
      + +<% sql = "select tid, filename from sx_stylesheets order by filename;"; %> +
      +
      +
      + +
      +Das Stylesheet mit der kleinsten Nummer wird zuerst + aufgerufen
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/organigramm_edit.jsp b/superx/edit/kern/organigramm_edit.jsp new file mode 100644 index 0000000..4fd6fcb --- /dev/null +++ b/superx/edit/kern/organigramm_edit.jsp @@ -0,0 +1,247 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Organigramm verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="organigramm"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +="name~'"+name+"'"; +} +%> + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +=",tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      +<%@ include file="/edit/kern/organigramm_tid.inc" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + +
      + +<% sql = "select key_apnr::char(10), name from organigramm order by name;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select orgstruktur, description from menu_element_orgstructure order by description;"; %> +
      +gem. COB-GX:30=Lehreinheit,20=Fakultät
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      Quellsystem +
      ID im Quellsystem +
      BI-Komponente +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/organigramm_editnodeattrib.jsp b/superx/edit/kern/organigramm_editnodeattrib.jsp new file mode 100644 index 0000000..d4b8563 --- /dev/null +++ b/superx/edit/kern/organigramm_editnodeattrib.jsp @@ -0,0 +1,202 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Organigramm Sichtbarkeit verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="organigramm"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +="name~'"+name+"'"; +} +%> + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +=",tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Tupelidentifier +
      Schlüssel +
      Übergeordneter Knoten im Baum +
      Drucktext +
      Name +
      Ebene im Baum +
      Lehre (1=ja) +
      Gültig von +
      Gültig bis +
      Strukturmerkmal +
      Langlebige ID +
      Übergeordnete langlebige ID +
      Eindeutiger Name/Schlüssel bei GX +
      Quellsystem +
      ID im Quellsystem +
      BI-Komponente +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/organigramm_list.jsp b/superx/edit/kern/organigramm_list.jsp new file mode 100644 index 0000000..49e8f65 --- /dev/null +++ b/superx/edit/kern/organigramm_list.jsp @@ -0,0 +1,102 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Organigramm + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="organigramm"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + +
      + +
      +
      + diff --git a/superx/edit/kern/portlets_edit.jsp b/superx/edit/kern/portlets_edit.jsp new file mode 100644 index 0000000..13810be --- /dev/null +++ b/superx/edit/kern/portlets_edit.jsp @@ -0,0 +1,194 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Portlets verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_portlet"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Feld ID +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +"green" oder "red"
      + +
      + +
      +z.B. "icon-user-plus" oder "icon-help-circled"
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +false=wird nicht ausgegeben, all=auch nicht angemeldete Personen sehen das Portlet.
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/portlets_list.jsp b/superx/edit/kern/portlets_list.jsp new file mode 100644 index 0000000..f5072d4 --- /dev/null +++ b/superx/edit/kern/portlets_list.jsp @@ -0,0 +1,129 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Portlets + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_portlet"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + + + + + + + + +Details
      + + + + + + + + + + +<% + if(currentRow_sx_portlet != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/portlets_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/sachgeb_maske_bez_edit.jsp b/superx/edit/kern/sachgeb_maske_bez_edit.jsp new file mode 100644 index 0000000..63c67d8 --- /dev/null +++ b/superx/edit/kern/sachgeb_maske_bez_edit.jsp @@ -0,0 +1,122 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Masken und Sachgebiete + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sachgeb_maske_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String maskeninfo_id = request.getParameter("maskeninfo_id"); +if(maskeninfo_id != null && !maskeninfo_id.equals("null")){ + filter +="maskeninfo_id="+maskeninfo_id; +} +%> + +<% +String sachgebiete_id = request.getParameter("sachgebiete_id"); +if(sachgebiete_id != null && !sachgebiete_id.equals("null")){ + filter +=",sachgebiete_id="+sachgebiete_id; +} +%> + + + + + + + + + + + + + + +
      + +
      + + + + <% sql = "select tid, name from sachgebiete order by name;"; %> <% sql = "select tid, name from maskeninfo order by name;"; %>
      +
      + diff --git a/superx/edit/kern/sachgeb_sichtarten_edit.jsp b/superx/edit/kern/sachgeb_sichtarten_edit.jsp new file mode 100644 index 0000000..ef5fe30 --- /dev/null +++ b/superx/edit/kern/sachgeb_sichtarten_edit.jsp @@ -0,0 +1,105 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Zuordnung Sichtarten zu Sachgebieten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sachgeb_sichtarten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + +
      <% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      + diff --git a/superx/edit/kern/sachgeb_sichten_edit.jsp b/superx/edit/kern/sachgeb_sichten_edit.jsp new file mode 100644 index 0000000..f6e17e3 --- /dev/null +++ b/superx/edit/kern/sachgeb_sichten_edit.jsp @@ -0,0 +1,104 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Zuordnung Sichten zu Sachgebieten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sachgeb_sichten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + +
      <% sql = "select tid, name from sachgebiete order by name;"; %> <% sql = "select name_intern::char(200), tid || ' - ' || trim(name) || ' (' || trim(name_intern) || ')' from sichten order by tid || ' - ' || trim(name) || ' (' || trim(name_intern) || ')';"; %>
      +
      + diff --git a/superx/edit/kern/sachgebiete_edit.jsp b/superx/edit/kern/sachgebiete_edit.jsp new file mode 100644 index 0000000..7b7b7bd --- /dev/null +++ b/superx/edit/kern/sachgebiete_edit.jsp @@ -0,0 +1,124 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + +Formular Sachgebiete verwalten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sachgebiete"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +="name~'"+name+"'"; +} +%> + + + + + + + + + + + + + + +
      + + +
      + + + + +
      +
      + diff --git a/superx/edit/kern/sichtart_rechttabelle_edit.jsp b/superx/edit/kern/sichtart_rechttabelle_edit.jsp new file mode 100644 index 0000000..34cdf31 --- /dev/null +++ b/superx/edit/kern/sichtart_rechttabelle_edit.jsp @@ -0,0 +1,165 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Spezielle Sichtart-Rechte Einzelbarbeitung + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sichtart_rechttabelle"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + +
      Laufnummer +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +Wenn der jew. User keine sichtartspez. Rechte hat, gibt es einen Fallback zur normalen user_institution (1=ja, 0=nein)
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/sichtart_rechttabelle_list.jsp b/superx/edit/kern/sichtart_rechttabelle_list.jsp new file mode 100644 index 0000000..212b723 --- /dev/null +++ b/superx/edit/kern/sichtart_rechttabelle_list.jsp @@ -0,0 +1,113 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Spezielle Sichtart-Rechte + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sichtart_rechttabelle"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + + +Details
      + + +<% + if(currentRow_sichtart_rechttabelle != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sichtart_rechttabelle_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/sichten_edit.jsp b/superx/edit/kern/sichten_edit.jsp new file mode 100644 index 0000000..d6036d1 --- /dev/null +++ b/superx/edit/kern/sichten_edit.jsp @@ -0,0 +1,372 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Sichten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sichten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String art = request.getParameter("art"); +if(art != null && !art.equals("null")){ + filter +="art="+art; +} +%> + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +=",name~'"+name+"'"; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      tid +
      + +
      + +
      +Um zukünftig evtl. Hierarchien von Sichten abzubilden +
      + +
      + +<% sql = "select tid, name from systeminfo order by name;"; %> +
      +Querverweis zur Systeminfo
      + +
      + +
      +
      + +
      + +
      +10 ist standardsicht, 20 ist alt.Hierarchie
      + +
      + +
      +Es kann eine Kurzbeschreibung für interne Zwecke + hinterlegt werden
      + +
      + +
      +Bezeichnung der Sicht, die für User angezeigt wird +
      + +
      + +
      +
      + +
      + +
      +kann für Sortierungen benutzt werden
      + +
      + +
      +Angabe einer Tabelle mit + key,parent,name,gueltig_seit,gueltig_bis oder Prozedur, die mit + sp_ anfängt
      + +
      + +
      +id der alt.Hier in angegebenen Quelltabelle null bei + regulärer Hierarchie
      + +
      + +
      +Tabelle mit Infos zu TreeView aus Cob
      + +
      + +
      +id des benutzen trees aus Cob-Tabelle trees null bei + regulärer Hierachie
      + +
      + +
      +hauptsächl. für alte Organigramm-Sichten, hieß mal lehre +
      + +
      + +
      +sollen User Rechte berücksichtigt werden, derzeit von + Org.Sichten ausgewertet
      + +
      + +
      +zukünftig für erweiterte Rechtevergabe
      + +
      + +
      +zukünftig für erweiterte Rechtevergabe
      + +
      + +
      +soll der Stand geändert werden können
      + +
      + +
      +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann
      + +
      + +
      +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann
      + +
      + +
      +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann
      + +
      + +
      +bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + die man bei Bedarf Einschränkungen fahren kann
      + +
      + +
      +Max. Zeilen im Klappmenü
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +soll Sicht im Applet gecachet werden
      + +
      + +
      +soll Sicht im XML-Frontend gecachet werden
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/stylesheet_field_edit.jsp b/superx/edit/kern/stylesheet_field_edit.jsp new file mode 100644 index 0000000..9cd8f4d --- /dev/null +++ b/superx/edit/kern/stylesheet_field_edit.jsp @@ -0,0 +1,142 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Stylesheets und zugehörige Felder + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="stylesheet_field"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + +<% +String stylesheet_id = request.getParameter("stylesheet_id"); +if(stylesheet_id != null && !stylesheet_id.equals("null")){ + filter +=",stylesheet_id="+stylesheet_id; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      + + + + + + +<%@ include file="/edit/kern/stylesheet_field_edit_tablename.inc" %><%@ include file="/edit/kern/stylesheet_field_edit_fieldname.inc" %>
      Tid +
      + +
      + +<% sql = "select tid, trim(caption) || ' (' || trim(filename) || ')' from sx_stylesheets where sx_stylesheets.relation = \'table\' order by trim(caption) || ' (' || trim(filename) || ')';"; %> +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/stylesheet_field_list.jsp b/superx/edit/kern/stylesheet_field_list.jsp new file mode 100644 index 0000000..62b58f4 --- /dev/null +++ b/superx/edit/kern/stylesheet_field_list.jsp @@ -0,0 +1,121 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Stylesheets und zugehörige Felder + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="stylesheet_field"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String stylesheet_id = request.getParameter("stylesheet_id"); +if(stylesheet_id != null && !stylesheet_id.equals("null")){ + filter +="stylesheet_id="+stylesheet_id; +} +%> + + + + + + + + + + + + + + +
      + + + +Details
      + + + <% sql = "select tid, trim(caption) || ' (' || trim(filename) || ')' from sx_stylesheets where sx_stylesheets.relation = \'table\' order by trim(caption) || ' (' || trim(filename) || ')';"; %> + + <% + if(currentRow_stylesheet_field != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/stylesheet_field_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/sx_captions_edit.jsp b/superx/edit/kern/sx_captions_edit.jsp new file mode 100644 index 0000000..7bf85d4 --- /dev/null +++ b/superx/edit/kern/sx_captions_edit.jsp @@ -0,0 +1,208 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Beschriftungen + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_captions"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      tid +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select element_value::char(10)::char(10), description from menu_element where menu_element.element = \'locale\' order by description;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +Bei Maskenfeldern wird dieses Feld für Tooltips genutzt. +
      + +
      + +<% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      + + +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/sx_downloads_edit.jsp b/superx/edit/kern/sx_downloads_edit.jsp new file mode 100644 index 0000000..3c772c6 --- /dev/null +++ b/superx/edit/kern/sx_downloads_edit.jsp @@ -0,0 +1,211 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Downloads + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_downloads"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      tid +
      + +
      + +
      +
      + +
      + +<% sql = "select key_apnr::char(10), name from organigramm order by name;"; %> +
      +
      + +
      + +
      +Worauf bezieht sich der Download (für Ermittlung + Bezugsjahr,- Monat oder Sem.)
      + +
      + +
      +Datum des Imports in die SuperX-Datenbank
      + +
      + +
      +Kommentar für Website (Datenlegende o.ä.).
      + +
      + +
      +Verweis auf umfangreichere Anleitungen und Kommentare, + beginnend mit http:// oder relativ zu + http://superx-server:Port/superx/servlet
      + +
      + +
      +Mime-Type der Datei (für pdf z.B. application/pdf, html + etc).
      + +
      + +
      +Pfad zur Datei (relativ zu webapps/superx/WEB-INF/) +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/sx_jobs_edit.jsp b/superx/edit/kern/sx_jobs_edit.jsp new file mode 100644 index 0000000..3adf1bf --- /dev/null +++ b/superx/edit/kern/sx_jobs_edit.jsp @@ -0,0 +1,194 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Ladejobs verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_jobs"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      tid +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/sx_jobs_list.jsp b/superx/edit/kern/sx_jobs_list.jsp new file mode 100644 index 0000000..e13825e --- /dev/null +++ b/superx/edit/kern/sx_jobs_list.jsp @@ -0,0 +1,114 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Ladejobs verwalten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_jobs"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + + + + + + + + + + + + + + +
      + + + + +Details
      + + + + <% sql = "select tid, name from sachgebiete order by name;"; %><% + if(currentRow_sx_jobs != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sx_jobs_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/sx_keywords_edit.jsp b/superx/edit/kern/sx_keywords_edit.jsp new file mode 100644 index 0000000..567ee5e --- /dev/null +++ b/superx/edit/kern/sx_keywords_edit.jsp @@ -0,0 +1,132 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Stichworte + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_keywords"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + + + + + + + +
      +

       

      +
      +

      + + +
      + + + + + + + + + + +
      Tupelidentifier +
      + +
      + +
      +
      + +
      + +
      +Wird derzeit noch nicht ausgewertet.
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/sx_repository_edit.jsp b/superx/edit/kern/sx_repository_edit.jsp new file mode 100644 index 0000000..71b69d4 --- /dev/null +++ b/superx/edit/kern/sx_repository_edit.jsp @@ -0,0 +1,233 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Hochschul-Repository + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_repository"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + +<% +String sachgebiete_id = request.getParameter("sachgebiete_id"); +if(sachgebiete_id != null && !sachgebiete_id.equals("null")){ + filter +=",sachgebiete_id="+sachgebiete_id; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      + + + + + + +<%@ include file="/edit/kern/sx_repository_edit_content.inc" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      tid +
      + +
      + +
      +Der Variablenname wird in Freemarker-Scripten, beginnend + mit Modulname-_..., z.B. SVA_Technisches_Personal
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +(Für weitere Gruppierungsebenen)
      + +
      + +<% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/sx_repository_list.jsp b/superx/edit/kern/sx_repository_list.jsp new file mode 100644 index 0000000..e5619c0 --- /dev/null +++ b/superx/edit/kern/sx_repository_list.jsp @@ -0,0 +1,122 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Hochschul-Repository + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_repository"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String sachgebiete_id = request.getParameter("sachgebiete_id"); +if(sachgebiete_id != null && !sachgebiete_id.equals("null")){ + filter +="sachgebiete_id="+sachgebiete_id; +} +%> + + + + + + + + + + + + + + +
      + + + +Details
      + + + + + +<% + if(currentRow_sx_repository != null) +{ +%>?sachgebiete_id=<%= sachgebiete_id %>&tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sx_repository_edit.jsp") %>?sachgebiete_id=<%= sachgebiete_id %>&tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/sx_stylesheet_param_edit.jsp b/superx/edit/kern/sx_stylesheet_param_edit.jsp new file mode 100644 index 0000000..5329bf3 --- /dev/null +++ b/superx/edit/kern/sx_stylesheet_param_edit.jsp @@ -0,0 +1,162 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Stylesheet-Parameter + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_stylesheet_param"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + +
      Laufnummer +
      + +
      + +<% sql = "select tid, filename from sx_stylesheets order by filename;"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + diff --git a/superx/edit/kern/sx_stylesheet_param_list.jsp b/superx/edit/kern/sx_stylesheet_param_list.jsp new file mode 100644 index 0000000..22bb923 --- /dev/null +++ b/superx/edit/kern/sx_stylesheet_param_list.jsp @@ -0,0 +1,121 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Stylesheet-Parameter + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_stylesheet_param"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String stylesheet_id = request.getParameter("stylesheet_id"); +if(stylesheet_id != null && !stylesheet_id.equals("null")){ + filter +="stylesheet_id="+stylesheet_id; +} +%> + + + + + + + + + + + + + + +
      + + +Details
      + + <% sql = "select tid, filename from sx_stylesheets order by filename;"; %> + +<% + if(currentRow_sx_stylesheet_param != null) +{ +%>?tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sx_stylesheet_param_edit.jsp") %>?tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/sx_stylesheets_edit.jsp b/superx/edit/kern/sx_stylesheets_edit.jsp new file mode 100644 index 0000000..5fc4f63 --- /dev/null +++ b/superx/edit/kern/sx_stylesheets_edit.jsp @@ -0,0 +1,219 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Stylesheets verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="sx_stylesheets"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String filename = request.getParameter("filename"); +if(filename != null && !filename.equals("null")){ + filter +="filename~'"+filename+"'"; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +Pfad und Dateiname. Für XSL-Stylesheets relativ zum + Verzeichnis: webapps/superx/xml, für JasperReports-Templates + relativ zu webapps/superx/WEB-INF/reports
      + +
      + +
      +wird für Hyperlinks benutzt
      + +
      + +
      +
      + +
      + +<% sql = "select element_value::char(10)::char(10), description from menu_element where menu_element.element = \'stylesheet-relation\' order by description;"; %> +
      +Gilt das Stylesheet für eine Maske oder eine Tabelle. Bei + JasperReports-Templates müssen Sie immer Tabelle wählen.
      + +
      + +<% sql = "select element_value::char(200), description from menu_element where menu_element.element = \'contenttype\' order by description;"; %> +
      +z.B.: text/html; charset=ISO-8859-1. Bei XSL Stylesheets + ist dies das Ausgabeformat, bei JasperReports Templates ist dies + das default Ausgabeformat
      + +
      + +
      +Wird nur für Ergebnistabellen ausgewertet, nicht für Masken-Stylesheets. Wenn 1, dann ist das Stylesheet für alle Ergebnistabellen nutzbar
      + +
      + +<% sql = "select element_value::char(10), description from menu_element where menu_element.element = \'stylesheet_type\' order by description;"; %> +
      +XSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSX
      + +
      + +<% sql = "select element_value::char(10), description from menu_element where menu_element.element = \'usage_resultset_data\' order by description;"; %> +
      +Welche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Daten
      + +
      + +<% sql = "select element_value::char(10), description from menu_element where menu_element.element = \'jr_datasource\' order by description;"; %> +
      +Wird nur bei JR ausgewertet. Mögliche Werte: RS,XMLSOURCE
      + +
      + +
      +Pfad relativ zu webapps/superx
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/systeminfo_edit.jsp b/superx/edit/kern/systeminfo_edit.jsp new file mode 100644 index 0000000..2336f15 --- /dev/null +++ b/superx/edit/kern/systeminfo_edit.jsp @@ -0,0 +1,127 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Systeminfo verwalten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="systeminfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +="name~'"+name+"'"; +} +%> + + + + + + + + + + + + + + +
      + + +
      + + + + + +
      +
      + diff --git a/superx/edit/kern/themenbaum_edit.jsp b/superx/edit/kern/themenbaum_edit.jsp new file mode 100644 index 0000000..4597529 --- /dev/null +++ b/superx/edit/kern/themenbaum_edit.jsp @@ -0,0 +1,208 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Themenbaum + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="themenbaum"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String maskeninfo_id = request.getParameter("maskeninfo_id"); +if(maskeninfo_id != null && !maskeninfo_id.equals("null")){ + filter +="maskeninfo_id="+maskeninfo_id; +} +%> + +<% +String name = request.getParameter("name"); +if(name != null && !name.equals("null")){ + filter +=",name~'"+name+"'"; +} +%> + + + + + + + +
      +

       

      +
      +

      + + + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Tid +
      + +
      + +
      +
      + +
      + +<% sql = "select tid, sp_trunc_string((tid || '-' || name),60) from maskeninfo order by sp_trunc_string((tid || '-' || name),60);"; %> +
      +
      + +
      + +<% sql = "select tid, sp_trunc_string(name,50) from themenbaum order by sp_trunc_string(name,50);"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/trans_inst_edit.jsp b/superx/edit/kern/trans_inst_edit.jsp new file mode 100644 index 0000000..9786c47 --- /dev/null +++ b/superx/edit/kern/trans_inst_edit.jsp @@ -0,0 +1,183 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Kostenstellen transformieren (Details) + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="trans_inst"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + +<% +String systeminfo_id = request.getParameter("systeminfo_id"); +if(systeminfo_id != null && !systeminfo_id.equals("null")){ + filter +="systeminfo_id="+systeminfo_id; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + + + + + + + + + + + +
      Tupelidentifier +
      + +
      + +
      +
      + +
      + +<% sql = "select key_apnr::char(10), trim(key_apnr) || '-' || trim(name) from organigramm order by trim(key_apnr) || '-' || trim(name);"; %> +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +<% sql = "select tid, name from systeminfo order by name;"; %> +
      +
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/trans_inst_list.jsp b/superx/edit/kern/trans_inst_list.jsp new file mode 100644 index 0000000..9acb6b3 --- /dev/null +++ b/superx/edit/kern/trans_inst_list.jsp @@ -0,0 +1,121 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Kostenstellen transformieren (Liste) + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="trans_inst"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String systeminfo_id = request.getParameter("systeminfo_id"); +if(systeminfo_id != null && !systeminfo_id.equals("null")){ + filter +="systeminfo_id="+systeminfo_id; +} +%> + + + + + + + + + + + + + + +
      + + + +Details
      + + + + <% sql = "select key_apnr::char(10), trim(key_apnr) || '-' || trim(name) from organigramm order by trim(key_apnr) || '-' || trim(name);"; %> <% sql = "select tid, name from systeminfo order by name;"; %><% + if(currentRow_trans_inst != null) +{ +%>?systeminfo_id=<%= systeminfo_id %>&tid=" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/trans_inst_edit.jsp") %>?systeminfo_id=<%= systeminfo_id %>&tid=','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;">Details<% + } +%>
      +
      + diff --git a/superx/edit/kern/unload_params_edit.jsp b/superx/edit/kern/unload_params_edit.jsp new file mode 100644 index 0000000..66be08c --- /dev/null +++ b/superx/edit/kern/unload_params_edit.jsp @@ -0,0 +1,145 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Maske Entladeparameter verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="unload_params"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +<% +String tid = request.getParameter("tid"); +Hashtable gotoMyHash = null; +if(tid !=null) { +gotoMyHash= new Hashtable(); +gotoMyHash.put("tid",tid); +} +%> + + + + + + + +
      +

       

      +
      +

      + + +
      + + + + + + + + + + + + + + + + + + + +
      Laufnummer +
      Name der Variable +
      + +
      + +
      +
      Default-Wert der Variable +
      Beschreibung der Variable +
      + +
      + +<% sql = "select tid, name from systeminfo order by name;"; %> +
      +Dieser Wert darf keinesfalls geändert werden
      +
      +
      +
      + + + + + diff --git a/superx/edit/kern/user_group_bez_edit.jsp b/superx/edit/kern/user_group_bez_edit.jsp new file mode 100644 index 0000000..43a737b --- /dev/null +++ b/superx/edit/kern/user_group_bez_edit.jsp @@ -0,0 +1,124 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Benutzer und Gruppen verwalten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="user_group_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String userinfo_id = request.getParameter("userinfo_id"); +if(userinfo_id != null && !userinfo_id.equals("null")){ + filter +="userinfo_id="+userinfo_id; +} +%> + +<% +String groupinfo_id = request.getParameter("groupinfo_id"); +if(groupinfo_id != null && !groupinfo_id.equals("null")){ + filter +=",groupinfo_id="+groupinfo_id; +} +%> + + + + + + + + + + + + + + +
      + + +
      + + + + <% sql = "select tid, trim(benutzer) || ' (' || trim(name) || ')' from userinfo order by trim(benutzer) || ' (' || trim(name) || ')';"; %> <% sql = "select tid, name from groupinfo order by name;"; %> +
      +
      + diff --git a/superx/edit/kern/user_institution_edit.jsp b/superx/edit/kern/user_institution_edit.jsp new file mode 100644 index 0000000..4919551 --- /dev/null +++ b/superx/edit/kern/user_institution_edit.jsp @@ -0,0 +1,131 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Institutionsrechte von Benutzern + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="user_institution"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String ch110_institut = request.getParameter("ch110_institut"); +if(ch110_institut != null && !ch110_institut.equals("null")){ + filter +="ch110_institut="+ch110_institut; +} +%> + + + + + + + + + + + + + + +
      + + + + + + + + +
      + + <% sql = "select tid, benutzer from userinfo order by benutzer;"; %> + <% sql = "select key_apnr::char(10), trim(key_apnr) || ' - ' || trim(name) from organigramm order by trim(key_apnr) || ' - ' || trim(name);"; %> + + + + + + + +
      +
      + diff --git a/superx/edit/kern/user_masken_bez_edit.jsp b/superx/edit/kern/user_masken_bez_edit.jsp new file mode 100644 index 0000000..6ad4e29 --- /dev/null +++ b/superx/edit/kern/user_masken_bez_edit.jsp @@ -0,0 +1,124 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Maskenrechte von Benutzern + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="user_masken_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String userinfo_id = request.getParameter("userinfo_id"); +if(userinfo_id != null && !userinfo_id.equals("null")){ + filter +="userinfo_id="+userinfo_id; +} +%> + +<% +String maskeninfo_id = request.getParameter("maskeninfo_id"); +if(maskeninfo_id != null && !maskeninfo_id.equals("null")){ + filter +=",maskeninfo_id="+maskeninfo_id; +} +%> + + + + + + + + + + + + + + +
      + + +
      + + + + <% sql = "select tid, benutzer from userinfo order by benutzer;"; %> <% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from maskeninfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %> +
      +
      + diff --git a/superx/edit/kern/user_sachgeb_bez_edit.jsp b/superx/edit/kern/user_sachgeb_bez_edit.jsp new file mode 100644 index 0000000..2bcadfe --- /dev/null +++ b/superx/edit/kern/user_sachgeb_bez_edit.jsp @@ -0,0 +1,124 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Benutzer und Sachgebiete verwalten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="user_sachgeb_bez"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String userinfo_id = request.getParameter("userinfo_id"); +if(userinfo_id != null && !userinfo_id.equals("null")){ + filter +="userinfo_id="+userinfo_id; +} +%> + +<% +String sachgebiete_id = request.getParameter("sachgebiete_id"); +if(sachgebiete_id != null && !sachgebiete_id.equals("null")){ + filter +=",sachgebiete_id="+sachgebiete_id; +} +%> + + + + + + + + + + + + + + +
      + + +
      + + + + <% sql = "select benutzer, benutzer from userinfo order by benutzer;"; %> <% sql = "select tid, name from sachgebiete order by name;"; %> +
      +
      + diff --git a/superx/edit/kern/user_sichtarten_edit.jsp b/superx/edit/kern/user_sichtarten_edit.jsp new file mode 100644 index 0000000..55ba706 --- /dev/null +++ b/superx/edit/kern/user_sichtarten_edit.jsp @@ -0,0 +1,114 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Benutzer und Sichtarten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="user_sichtarten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String sichtart = request.getParameter("sichtart"); +if(sichtart != null && !sichtart.equals("null")){ + filter +="sichtart="+sichtart; +} +%> + + + + + + + + + + + + + + +
      + +
      + + <% sql = "select tid, name from userinfo order by name;"; %> +
      +
      + diff --git a/superx/edit/kern/user_sichten_edit.jsp b/superx/edit/kern/user_sichten_edit.jsp new file mode 100644 index 0000000..aa4b9b3 --- /dev/null +++ b/superx/edit/kern/user_sichten_edit.jsp @@ -0,0 +1,115 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + +Formular Benutzer und Sichten + + + +<%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="user_sichten"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + +

      +Logo +
      <% if(!mandantenid.equals("default") && !mandantenid.equals("")) +out.println("Mandant: " + mandantenid +""); +%>

      + +<% +String sicht_name_intern = request.getParameter("sicht_name_intern"); +if(sicht_name_intern != null && !sicht_name_intern.equals("null")){ + filter +="sicht_name_intern="+sicht_name_intern; +} +%> + + + + + + + + + + + + + + +
      + + +
      + + <% sql = "select tid, name from userinfo order by name;"; %> <% sql = "select name_intern::char(200), tid || ' - ' || name from sichten order by tid || ' - ' || name;"; %> +
      +
      + diff --git a/superx/edit/kern/userinfo_edit.jsp b/superx/edit/kern/userinfo_edit.jsp new file mode 100644 index 0000000..e5df6a8 --- /dev/null +++ b/superx/edit/kern/userinfo_edit.jsp @@ -0,0 +1,161 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> +<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + +Maske Benutzer verwalten + + + + + <%@ page import ="java.util.Hashtable" %> +<% +//HttpSession session=request.getSession(true); +if (request.getCharacterEncoding() == null) + request.setCharacterEncoding("UTF-8"); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +else + userid=userobject.toString(); +Object mandantobject=request.getSession().getAttribute("MandantenID"); +String mandantenid=""; +if(mandantobject != null) + mandantenid=mandantobject.toString(); +//der superx-Default-Mandant ist bei dbforms ein Leerstring +if(mandantenid.equals("default")) + mandantenid=""; +String db_form_name="userinfo"; +String erlaubt="0"; +%> +<%@ include file="/edit/check_authentication.inc" %> +<% +if(erlaubt.equals("0")) +{ +%> + + +<% +} + +String keyfieldsused="false"; +Object kf=request.getParameter("keyfieldsused"); +if(kf != null) +keyfieldsused=kf.toString(); + +%> + + + + +<% +String tid = request.getParameter("tid"); +if(tid != null && !tid.equals("null")){ + filter +="tid="+tid; +} +%> + + + + + + + +
      +

       

      +
      +

      + +

      + + +
      + + + + + + + + + + + + +<%@ include file="/edit/kern/userinfo_edit_admin.inc" %> + + + + +<%@ include file="/edit/kern/userinfo_edit_pw.inc" %><%@ include file="/edit/kern/userinfo_edit_pw_aendern.inc" %><%@ include file="/edit/kern/userinfo_edit_gruppe.inc" %><%@ include file="/edit/kern/userinfo_edit_sachgebiete.inc" %><%@ include file="/edit/kern/userinfo_edit_masken.inc" %><%@ include file="/edit/kern/userinfo_edit_institution.inc" %><%@ include file="/edit/kern/userinfo_edit_sieht_projekte.inc" %><%@ include file="/edit/kern/userinfo_edit_kostentraeger.inc" %><%@ include file="/edit/kern/userinfo_edit_sichten.inc" %><%@ include file="/edit/kern/userinfo_edit_sichtarten.inc" %>
      tid +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      + +
      + +
      +
      +
      +
      +
      + + + + + diff --git a/superx/xml/jr_templates.xsl b/superx/xml/jr_templates.xsl index 45e7f8f..068e83f 100644 --- a/superx/xml/jr_templates.xsl +++ b/superx/xml/jr_templates.xsl @@ -553,7 +553,7 @@ isIgnorePagination="{$isIgnorePagination}" > - + @@ -581,7 +581,7 @@ isIgnorePagination="{$isIgnorePagination}" > - + diff --git a/superx/xml/viz_rpt_assistent.xsl b/superx/xml/viz_rpt_assistent.xsl index 75966f0..21ef2fc 100644 --- a/superx/xml/viz_rpt_assistent.xsl +++ b/superx/xml/viz_rpt_assistent.xsl @@ -116,7 +116,26 @@ margin-bottom:30px; padding-bottom:10px; border-bottom:thick solid gray; } - +/*Selektionsfelder-Formular*/ +.label-container, .button-label { /*für Responsibility der Eingabefelder*/ + display: flex; + justify-content: left; + background: inherit; + min-width: 10.0em; } + +.label { /*für Selektionsfeld-Bezeichner*/ + font-family: sans-serif; + font-weight: normal; + font-size: 2rem; + margin-left: 1.0em; + margin-top: 0.4em; } + +.control-new { /*für einheitliche Controlbreite*/ + min-width: 25.0em; } + +.button { /*für Button-Bezeichner-Ausrichtung*/ + display: flex; + justify-content: left; } @@ -1234,6 +1253,30 @@ var platform='superx'; +
      +
      + +
      +   +   + +
      +
      +

      +

      + + +
      +

      +
      + +
      +
      @@ -1260,7 +1303,6 @@ var platform='superx'; -