Browse Source

Berichtsassistent Patch erzeugt, Oberfläche angepaßt #1

userinfo_gueltigkeit
Daniel Quathamer 2 years ago
parent
commit
7811143fa3
  1. 10
      src/de/superx/servlet/SuperXmlTabelle.java
  2. 2
      superx/WEB-INF/conf/edustore/db/install/MODULINFO
  3. 2
      superx/WEB-INF/conf/edustore/db/install/VERSION
  4. 22
      superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheet_param.tab
  5. 14
      superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheets.tab
  6. 3
      superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_pg.xml
  7. 8
      superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql
  8. 2
      superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml
  9. 6
      superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_pg.xml
  10. 78
      superx/WEB-INF/conf/edustore/db/install/conf/kern.html
  11. 2
      superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml
  12. 2
      superx/WEB-INF/conf/edustore/db/install/conf/kern_load.html
  13. 1
      superx/WEB-INF/conf/edustore/db/install/conf/module_alter_table_schema.x
  14. 7
      superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x
  15. 7
      superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x
  16. 245
      superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql
  17. 60
      superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_loeschen.sql
  18. 12
      superx/WEB-INF/conf/edustore/db/install/conf/sx_tables_fuellen.sql
  19. 3
      superx/WEB-INF/conf/edustore/db/install/kern_backup.x
  20. 1
      superx/WEB-INF/conf/edustore/db/install/kern_drop_pg.sql
  21. 4
      superx/WEB-INF/conf/edustore/db/install/kern_indexes_drop.sql
  22. 55
      superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql
  23. 1
      superx/WEB-INF/conf/edustore/db/install/kern_restore.x
  24. 178
      superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql
  25. 37
      superx/WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql
  26. 101
      superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_fields_pg.sql
  27. 1
      superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_indexes_pg.sql
  28. 6
      superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql
  29. 56
      superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_tables_pg.sql
  30. 2572
      superx/WEB-INF/kern_dbforms-config_pg.xml
  31. BIN
      superx/WEB-INF/lib/superx4.9.jar
  32. 40
      superx/WEB-INF/patch/patch_archive/patch_2022-07-11_bash_var.sh
  33. 116
      superx/WEB-INF/patch/patch_archive/patch_2022-07-11_readme.htm
  34. 40
      superx/WEB-INF/patch/patch_archive/patch_2022-08-23_bash_var.sh
  35. 116
      superx/WEB-INF/patch/patch_archive/patch_2022-08-23_readme.htm
  36. 62
      superx/WEB-INF/patch/xml/patch_2022-07-11.xml
  37. 62
      superx/WEB-INF/patch/xml/patch_2022-08-23.xml
  38. 295
      superx/edit/kern/data_upload_edit.jsp
  39. 186
      superx/edit/kern/dbconnections_edit.jsp
  40. 113
      superx/edit/kern/dbconnections_list.jsp
  41. 244
      superx/edit/kern/felderinfo_edit.jsp
  42. 161
      superx/edit/kern/fm_templates_edit.jsp
  43. 110
      superx/edit/kern/fm_templates_list.jsp
  44. 141
      superx/edit/kern/group_field_pref_edit.jsp
  45. 110
      superx/edit/kern/group_field_pref_list.jsp
  46. 122
      superx/edit/kern/group_masken_bez_edit.jsp
  47. 122
      superx/edit/kern/group_sachgeb_bez_edit.jsp
  48. 114
      superx/edit/kern/group_sichtarten_edit.jsp
  49. 113
      superx/edit/kern/group_sichten_edit.jsp
  50. 244
      superx/edit/kern/groupinfo_edit.jsp
  51. 162
      superx/edit/kern/hochschulinfo_edit.jsp
  52. 166
      superx/edit/kern/konstante_edit.jsp
  53. 141
      superx/edit/kern/konstanten_edit.jsp
  54. 212
      superx/edit/kern/macro_masken_bez_edit.jsp
  55. 129
      superx/edit/kern/macro_masken_bez_list.jsp
  56. 122
      superx/edit/kern/maske_system_bez_edit.jsp
  57. 122
      superx/edit/kern/masken_felder_bez_edit.jsp
  58. 250
      superx/edit/kern/maskeninfo_edit.jsp
  59. 158
      superx/edit/kern/maskeninfo_style.jsp
  60. 247
      superx/edit/kern/organigramm_edit.jsp
  61. 202
      superx/edit/kern/organigramm_editnodeattrib.jsp
  62. 102
      superx/edit/kern/organigramm_list.jsp
  63. 194
      superx/edit/kern/portlets_edit.jsp
  64. 129
      superx/edit/kern/portlets_list.jsp
  65. 122
      superx/edit/kern/sachgeb_maske_bez_edit.jsp
  66. 105
      superx/edit/kern/sachgeb_sichtarten_edit.jsp
  67. 104
      superx/edit/kern/sachgeb_sichten_edit.jsp
  68. 124
      superx/edit/kern/sachgebiete_edit.jsp
  69. 165
      superx/edit/kern/sichtart_rechttabelle_edit.jsp
  70. 113
      superx/edit/kern/sichtart_rechttabelle_list.jsp
  71. 372
      superx/edit/kern/sichten_edit.jsp
  72. 142
      superx/edit/kern/stylesheet_field_edit.jsp
  73. 121
      superx/edit/kern/stylesheet_field_list.jsp
  74. 208
      superx/edit/kern/sx_captions_edit.jsp
  75. 211
      superx/edit/kern/sx_downloads_edit.jsp
  76. 194
      superx/edit/kern/sx_jobs_edit.jsp
  77. 114
      superx/edit/kern/sx_jobs_list.jsp
  78. 132
      superx/edit/kern/sx_keywords_edit.jsp
  79. 233
      superx/edit/kern/sx_repository_edit.jsp
  80. 122
      superx/edit/kern/sx_repository_list.jsp
  81. 162
      superx/edit/kern/sx_stylesheet_param_edit.jsp
  82. 121
      superx/edit/kern/sx_stylesheet_param_list.jsp
  83. 219
      superx/edit/kern/sx_stylesheets_edit.jsp
  84. 127
      superx/edit/kern/systeminfo_edit.jsp
  85. 208
      superx/edit/kern/themenbaum_edit.jsp
  86. 183
      superx/edit/kern/trans_inst_edit.jsp
  87. 121
      superx/edit/kern/trans_inst_list.jsp
  88. 145
      superx/edit/kern/unload_params_edit.jsp
  89. 124
      superx/edit/kern/user_group_bez_edit.jsp
  90. 131
      superx/edit/kern/user_institution_edit.jsp
  91. 124
      superx/edit/kern/user_masken_bez_edit.jsp
  92. 124
      superx/edit/kern/user_sachgeb_bez_edit.jsp
  93. 114
      superx/edit/kern/user_sichtarten_edit.jsp
  94. 115
      superx/edit/kern/user_sichten_edit.jsp
  95. 161
      superx/edit/kern/userinfo_edit.jsp
  96. 4
      superx/xml/jr_templates.xsl
  97. 46
      superx/xml/viz_rpt_assistent.xsl

10
src/de/superx/servlet/SuperXmlTabelle.java

@ -50,6 +50,7 @@ import javax.servlet.http.HttpServletResponse; @@ -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; @@ -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 { @@ -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");

2
superx/WEB-INF/conf/edustore/db/install/MODULINFO

@ -1,6 +1,6 @@ @@ -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

2
superx/WEB-INF/conf/edustore/db/install/VERSION

@ -1 +1 @@ @@ -1 +1 @@
4.9
5.0b

22
superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheet_param.tab

@ -0,0 +1,22 @@ @@ -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';

14
superx/WEB-INF/conf/edustore/db/install/conf/his1/dbconv/sch.eduetl/sx_stylesheets.tab

@ -7,7 +7,11 @@ description NCHAR(255) , @@ -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'; @@ -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]';

3
superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_drop_pg.xml

@ -388,6 +388,9 @@ @@ -388,6 +388,9 @@
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">eduetl:drop table sx_mask_style cascade;
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">eduetl:drop table sx_stylesheet_param cascade;
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">eduetl:drop table sx_captions cascade;

8
superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql

@ -7,7 +7,7 @@ @@ -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'; @@ -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) @@ -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;

2
superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml

@ -170,7 +170,7 @@ @@ -170,7 +170,7 @@
<dbi:dbaction dbi:action="executeFile">
<dbi:file database="eduetl" encoding="UTF-8" withNativeClient="n" structure="SQL" filename="$SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql"/>
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">eduetl:UPDATE db_version SET version = '4.9'
<dbi:dbaction dbi:action="sqlexec">eduetl:UPDATE db_version SET version = '5.0b'
WHERE his_system = 'kern';
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlquery">eduetl:select setval('themenbaum_tid_seq',(select max(tid)+1 from themenbaum));

6
superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_update/edustore_kern_load_pg.xml

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><dbi:dbactions dbi:want-result="true" dbi:autocommit="true" xmlns:dsd="http://www.his.de/Abt1/Interfaces/dsd_V1.0" xmlns:dbi="http://www.his.de/Abt1/Interfaces/dbi_V1.0">
<!--Automatisch generiert von Edustore für mode=load,database=eduetl und dbsystem=POSTGRES--><!--ETL-Step Action Nr. 1/home/superx/git/superx/superx/WEB-INF/conf/edustore/db/conf/../install: --><dbi:dbaction dbi:action="sqlexec">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);
<!--Automatisch generiert von Edustore für mode=load,database=eduetl und dbsystem=POSTGRES--><!--ETL-Step Action Nr. 1/home/superx/git/kern/superx/WEB-INF/conf/edustore/db/conf/../install: --><dbi:dbaction dbi:action="sqlexec">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);
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">eduetl:CREATE TABLE tmp_user_group_bez (userinfo_id integer, groupinfo_id integer, external_entry smallint);
</dbi:dbaction>
@ -71,7 +71,7 @@ @@ -71,7 +71,7 @@
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">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);
</dbi:dbaction>
<!--ETL-Step Action Nr. 2/home/superx/git/superx/superx/WEB-INF/conf/edustore/db/conf/../install: -->
<!--ETL-Step Action Nr. 2/home/superx/git/kern/superx/WEB-INF/conf/edustore/db/conf/../install: -->
<dbi:dbaction dbi:action="sqlexec">eduetl:truncate table tmp_hochschulinfo cascade;
</dbi:dbaction>
<dbi:dbaction dbi:action="sqlexec">eduetl:truncate table tmp_userinfo cascade;
@ -324,7 +324,7 @@ @@ -324,7 +324,7 @@
<dbi:file encoding="UTF-8" separator="^" trailingSeparator="y" withNativeClient="y" firstLinedescription="n" structure="CSV" filename="$SUPERX_DIR/db/install/rohdaten/unl/kenn_zahl_wert.unl"/>
</dbi:data>
</dbi:dbaction>
<!--ETL-Step Action Nr. 3/home/superx/git/superx/superx/WEB-INF/conf/edustore/db/conf/../install: -->
<!--ETL-Step Action Nr. 3/home/superx/git/kern/superx/WEB-INF/conf/edustore/db/conf/../install: -->
<dbi:dbaction dbi:action="executeFile">
<dbi:file database="eduetl" encoding="UTF-8" withNativeClient="n" structure="SQL" filename="$SUPERX_DIR/db/install/schluesseltabellen/trans_tables.sql"/>
</dbi:dbaction>

78
superx/WEB-INF/conf/edustore/db/install/conf/kern.html

@ -91,7 +91,7 @@ font-style:italic: @@ -91,7 +91,7 @@ font-style:italic:
<td class="themenspalte">SuperX-Version</td><td>2</td>
</tr>
<tr>
<td class="themenspalte">Modulversion</td><td>4.9</td>
<td class="themenspalte">Modulversion</td><td>5.0b</td>
</tr>
<tr>
<td class="themenspalte">Sachgebiet</td><td>Administration id 0</td>
@ -337,6 +337,9 @@ font-style:italic: @@ -337,6 +337,9 @@ font-style:italic:
<a href="#tab_sx_repository">sx_repository</a>
</li>
<li>
<a href="#tab_sx_stylesheet_param">sx_stylesheet_param</a>
</li>
<li>
<a href="#tab_sx_stylesheets">sx_stylesheets</a>
</li>
<li>
@ -706,6 +709,9 @@ font-style:italic: @@ -706,6 +709,9 @@ font-style:italic:
<a href="#tab_sx_repository">sx_repository</a>
</li>
<li>
<a href="#tab_sx_stylesheet_param">sx_stylesheet_param</a>
</li>
<li>
<a href="#tab_sx_stylesheets">sx_stylesheets</a>
</li>
<li>
@ -1000,6 +1006,9 @@ font-style:italic: @@ -1000,6 +1006,9 @@ font-style:italic:
<a href="#tab_sx_repository">sx_repository</a>
</li>
<li>
<a href="#tab_sx_stylesheet_param">sx_stylesheet_param</a>
</li>
<li>
<a href="#tab_sx_stylesheets">sx_stylesheets</a>
</li>
<li>
@ -1340,6 +1349,9 @@ font-style:italic: @@ -1340,6 +1349,9 @@ font-style:italic:
<a href="#tab_sx_repository">sx_repository</a>
</li>
<li>
<a href="#tab_sx_stylesheet_param">sx_stylesheet_param</a>
</li>
<li>
<a href="#tab_sx_stylesheets">sx_stylesheets</a>
</li>
<li>
@ -4695,6 +4707,44 @@ gueltig_bis ); @@ -4695,6 +4707,44 @@ gueltig_bis );
<ul>Wird benutzt in folgenden Masken:
</ul>
<h5>
<a name="tab_sx_stylesheet_param">Tabelle sx_stylesheet_param</a>
</h5>
<p></p>
<p>Typ: Schl&uuml;sseltabelle, Themenbereich: Administration</p>
<table class="tabellenbeschreibung">
<tr>
<th>Feldname</th><th>Feldtyp</th><th>Gr&ouml;&szlig;e</th><th>Default</th><th>Not Null</th><th>Beschreibung</th><th>Kommentar</th><th>Fremdschl&uuml;ssel</th>
</tr>
<tr>
<td class="tabellenzeile">tid</td><td class="tabellenzeile">SERIAL</td><td class="tabellenzeile">4</td><td class="tabellenzeile"></td><td class="tabellenzeile">true</td><td class="tabellenzeile">Laufnummer</td><td class="tabellenzeile"></td><td class="tabellenzeile"></td>
</tr>
<tr>
<td class="tabellenzeile">stylesheet_id</td><td class="tabellenzeile">INTEGER</td><td class="tabellenzeile">4</td><td class="tabellenzeile"></td><td class="tabellenzeile">true</td><td class="tabellenzeile">Tid des Stylesheets</td><td class="tabellenzeile"></td><td class="tabellenzeile"><a href="#tab_sx_stylesheets">sx_stylesheets : tid</a>
<br>
</td>
</tr>
<tr>
<td class="tabellenzeile">param_name</td><td class="tabellenzeile">VARCHAR</td><td class="tabellenzeile">255</td><td class="tabellenzeile"></td><td class="tabellenzeile">true</td><td class="tabellenzeile">Name des Paramaters</td><td class="tabellenzeile"></td><td class="tabellenzeile"></td>
</tr>
<tr>
<td class="tabellenzeile">default_val</td><td class="tabellenzeile">VARCHAR</td><td class="tabellenzeile">255</td><td class="tabellenzeile"></td><td class="tabellenzeile">false</td><td class="tabellenzeile">Default-Wert der Variable</td><td class="tabellenzeile"></td><td class="tabellenzeile"></td>
</tr>
<tr>
<td class="tabellenzeile">description</td><td class="tabellenzeile">VARCHAR</td><td class="tabellenzeile">255</td><td class="tabellenzeile"></td><td class="tabellenzeile">false</td><td class="tabellenzeile">Beschreibung der Variable</td><td class="tabellenzeile"></td><td class="tabellenzeile"></td>
</tr>
<tr>
<td class="tabellenzeile">wertebereich</td><td class="tabellenzeile">VARCHAR</td><td class="tabellenzeile">255</td><td class="tabellenzeile"></td><td class="tabellenzeile">false</td><td class="tabellenzeile">Wertebereich</td><td class="tabellenzeile"></td><td class="tabellenzeile"></td>
</tr>
</table>
<p style="font-size:smaller">Prim&auml;rschl&uuml;ssel <span style="font-family:courier,monospace;font-size:0.9em">c_stylesheet_param</span>
</p>
<ol>
<li>tid</li>
</ol>
<ul></ul>
<ul>Wird benutzt in folgenden Masken:
</ul>
<h5>
<a name="tab_sx_stylesheets">Tabelle sx_stylesheets</a>
</h5>
<p></p>
@ -4733,11 +4783,35 @@ useragent<br> @@ -4733,11 +4783,35 @@ useragent<br>
<tr>
<td class="tabellenzeile">contenttype</td><td class="tabellenzeile">CHAR</td><td class="tabellenzeile">200</td><td class="tabellenzeile"></td><td class="tabellenzeile">false</td><td class="tabellenzeile">Dateityp</td><td class="tabellenzeile">z.B.: text/html; charset=ISO-8859-1. Bei XSL Stylesheets
ist dies das Ausgabeformat, bei JasperReports Templates ist dies
das default Ausgabeformat</td><td class="tabellenzeile"></td>
das default Ausgabeformat</td><td class="tabellenzeile"><a href="#tab_menu_element">menu_element : element</a>
<br>element_value :
contenttype<br>
</td>
</tr>
<tr>
<td class="tabellenzeile">is_generic</td><td class="tabellenzeile">SMALLINT</td><td class="tabellenzeile">2</td><td class="tabellenzeile">0</td><td class="tabellenzeile">false</td><td class="tabellenzeile">Generisches Stylesheet</td><td class="tabellenzeile">Wird nur f&uuml;r Ergebnistabellen ausgewertet, nicht f&uuml;r Masken-Stylesheets. Wenn 1, dann ist das Stylesheet f&uuml;r alle Ergebnistabellen nutzbar</td><td class="tabellenzeile"></td>
</tr>
<tr>
<td class="tabellenzeile">toolbar_icon_filepath</td><td class="tabellenzeile">VARCHAR</td><td class="tabellenzeile">255</td><td class="tabellenzeile"></td><td class="tabellenzeile">false</td><td class="tabellenzeile">Icon in der Symbolleiste</td><td class="tabellenzeile">Pfad relativ zu webapps/superx</td><td class="tabellenzeile"></td>
</tr>
<tr>
<td class="tabellenzeile">usage_resultset_data</td><td class="tabellenzeile">CHAR</td><td class="tabellenzeile">10</td><td class="tabellenzeile">T</td><td class="tabellenzeile">false</td><td class="tabellenzeile">Nutzung der Ergebnisdaten</td><td class="tabellenzeile">Welche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Daten</td><td class="tabellenzeile"><a href="#tab_menu_element">menu_element : element</a>
<br>element_value :
usage_resultset_data<br>
</td>
</tr>
<tr>
<td class="tabellenzeile">stylesheet_type</td><td class="tabellenzeile">CHAR</td><td class="tabellenzeile">10</td><td class="tabellenzeile">XSL</td><td class="tabellenzeile">false</td><td class="tabellenzeile">Art des Stylesheets</td><td class="tabellenzeile">XSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSX</td><td class="tabellenzeile"><a href="#tab_menu_element">menu_element : element</a>
<br>element_value :
stylesheet_type<br>
</td>
</tr>
<tr>
<td class="tabellenzeile">jr_datasource</td><td class="tabellenzeile">CHAR</td><td class="tabellenzeile">10</td><td class="tabellenzeile"></td><td class="tabellenzeile">false</td><td class="tabellenzeile">Datenquelle (JR)</td><td class="tabellenzeile">Wird nur bei JR ausgewertet. M&ouml;gliche Werte: RS,XMLSOURCE</td><td class="tabellenzeile"><a href="#tab_menu_element">menu_element : element</a>
<br>element_value :
jr_datasource<br>
</td>
</tr>
</table>
<p style="font-size:smaller">Prim&auml;rschl&uuml;ssel <span style="font-family:courier,monospace;font-size:0.9em">c_stylesheets</span>
</p>

2
superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><module xmlns:dbi="http://www.his.de/Abt1/Interfaces/dbi_V1.0">
<database>
<!--Automatisch generiert von Edustore für database=eduetl und dbsystem=INFORMIX
<!--Automatisch generiert von Edustore für database=eduetl und dbsystem=POSTGRES
Sie können diese Tabellen als Vorlage für Ladetabellen in EDUDATA benutzen--></database>
</module>

2
superx/WEB-INF/conf/edustore/db/install/conf/kern_load.html

@ -92,7 +92,7 @@ font-style:italic: @@ -92,7 +92,7 @@ font-style:italic:
<td class="themenspalte">SuperX-Version</td><td>2</td>
</tr>
<tr>
<td class="themenspalte">Modulversion</td><td>4.9</td>
<td class="themenspalte">Modulversion</td><td>5.0b</td>
</tr>
<tr>
<td class="themenspalte">Sachgebiet</td><td>Administration id 0</td>

1
superx/WEB-INF/conf/edustore/db/install/conf/module_alter_table_schema.x

@ -63,6 +63,7 @@ DOQUERY "alter table konstanten SET SCHEMA $SCHEMA;" @@ -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;"

7
superx/WEB-INF/conf/edustore/db/install/conf/module_grant.x

@ -129,6 +129,13 @@ if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] @@ -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" ]

7
superx/WEB-INF/conf/edustore/db/install/conf/module_revoke.x

@ -129,6 +129,13 @@ if [ "$DATABASE" == "POSTGRES" -a "$RIGHT" != "select" ] @@ -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" ]

245
superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_fuellen.sql

@ -13253,6 +13253,147 @@ values('sx_repository', @@ -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', @@ -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', @@ -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,

60
superx/WEB-INF/conf/edustore/db/install/conf/sx_fields_loeschen.sql

@ -3492,6 +3492,42 @@ name) @@ -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) @@ -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)

12
superx/WEB-INF/conf/edustore/db/install/conf/sx_tables_fuellen.sql

@ -599,6 +599,14 @@ values('sx_repository','','Eine Sammlung hochschulspezifischer Konstanten und @@ -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) @@ -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);

3
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 @@ -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

1
superx/WEB-INF/conf/edustore/db/install/kern_drop_pg.sql

@ -144,6 +144,7 @@ drop table konstanten; @@ -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;

4
superx/WEB-INF/conf/edustore/db/install/kern_indexes_drop.sql

@ -1,8 +1,8 @@ @@ -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 ;

55
superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql

@ -1645,6 +1645,10 @@ relation CHAR(10) , @@ -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'; @@ -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'; @@ -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'; @@ -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'; @@ -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) @@ -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;

1
superx/WEB-INF/conf/edustore/db/install/kern_restore.x

@ -59,6 +59,7 @@ sx_auto_upload_table.x konstanten tmp"$MANDANTENID"/konstanten.unl @@ -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

178
superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql

@ -0,0 +1,178 @@ @@ -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>
<#foreach column in m_stylesheet_field>
delete from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}');
</#foreach>
-- 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 />
</#foreach>
<#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);
</#if>
--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
</#if>
)
SELECT tid, filename, caption, description, relation, useragent, contenttype
<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')>
,is_generic
</#if>
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 />
</#foreach>
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 />
</#foreach>
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');
</#if>
</#macro>

37
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 ; @@ -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 );
</#if>
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>
<#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>
</#if>
<#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>
</#if>
<#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>
</#if>
<#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) );
</#if>
</#if>

101
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', @@ -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 ; @@ -3879,6 +3880,46 @@ alter table sx_stylesheets add column is_generic SMALLINT default 0 ;
</#if>
<#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>
<#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>
<#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>
<#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>
<#if !fields?seq_contains("sx_mask_style.tid") >
@ -3919,6 +3960,66 @@ alter table sx_mask_style add column ord SMALLINT ; @@ -3919,6 +3960,66 @@ alter table sx_mask_style add column ord SMALLINT ;
</#if>
<#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>
<#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>
<#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>
<#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>
<#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>
<#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>
<#if !fields?seq_contains("sx_captions.tid") >

1
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', @@ -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',

6
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)); @@ -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) @@ -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;

56
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 ( @@ -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) , @@ -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'; @@ -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)';
</#if>
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'; @@ -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';
</#if>
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") >

2572
superx/WEB-INF/kern_dbforms-config_pg.xml

File diff suppressed because it is too large Load Diff

BIN
superx/WEB-INF/lib/superx4.9.jar

Binary file not shown.

40
superx/WEB-INF/patch/patch_archive/patch_2022-07-11_bash_var.sh

@ -0,0 +1,40 @@ @@ -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 "

116
superx/WEB-INF/patch/patch_archive/patch_2022-07-11_readme.htm

@ -0,0 +1,116 @@ @@ -0,0 +1,116 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Patch </title>
<META NAME="author" content="Daniel Quathamer">
<META NAME="copyright" content="(c)2022 Daniel Quathamer">
<META NAME="date" content="17.08.2022 09:42:07">
<meta name="viewport" content="width=device-width, initial-scale=1"><style type="text/css">
@page { }
table { border-collapse:collapse; border-spacing:0; empty-cells:show }
td, th { vertical-align:top; font-size:12pt;}
h1, h2, h3, h4, h5, h6 { clear:both }
span.footnodeNumber { padding-right:1em; }
span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
</style><LINK REL="stylesheet" type="text/css" href="https://super-ics.de/superx/style/bulma.css">
<base target="_parent">
</head>
<body>
<div class="container has-text-left">
<div class="columns is-mobile is-left">
<div class="column is-14">
<div class="card has-background">
<div class="card">
<header class="card-header">
<div class="media-content">
<div class="media-left">
<figure class="image is-96x96"><a href="http://www.superx-projekt.de"><img src="https://super-ics.de/superx/images/superx_logo_pur.png"></a></figure>
</div>
<div class="media-right">
<p class="title is-1"></p>
<p class="title is-3">Patchnotes mit Administrationshilfe</p>
<p class="subtitle is-5">made by MEMTEXT</p>
<p class="subtitle is-5"></p>
</div>
</div>
</header>
<div class="card-content">
<div class="media">
<div class="media-left">
<figure class="image is-48x48"><img src="https://super-ics.de/superx/images/context_add.svg"></figure>
</div>
<div class="media-content">
<p class="title is-5">Modul: KERN</p>
<p class="subtitle is-5">PATCH 2022-07-11</p>
</div>
</div>
<div class="content">
<p><strong>Achtung: Der Patch ist nur für aktuelle Modulversionen geeignet!</strong></p>
<p></p>
<patch-description feature_id=""><strong>Generischer Export Tabellen mit JR </strong><br>
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).
<br>
Nach Einspielen des Patches müssen Sie Tomcat neu starten.<br>
<strong>Achtung:</strong> 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.<br>
</patch-description>
<p>Dateien:</p>
<ul type="circle">
<li>Datei: images/icons/magic.svg<br>Logo Berichtsassistent
</li>
<li>Datei: WEB-INF/lib/superx4.9.jar<br>SuperX-Servlet
</li>
<li>Datei: WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql<br>Erweiterung Tabelle sx_stylesheets um Spalte is_generic
</li>
<li>Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql<br></li>
<li>Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql<br></li>
<li>Datei: WEB-INF/reports/simple_table.jrtx<br>Ausgelagerte Styles für JRXML
</li>
<li>Datei: xml/pageComponents_html.xsl<br>Export JR Button
</li>
<li>Datei: xml/tabelle_jrxml_a4_quer.xsl<br>XSL Stylesheet erzeugt JRXML
</li>
<li>Datei: xml/jr_templates.xsl<br>XSL Stylesheet erzeugt JRXML
</li>
<li>Datei: xml/viz_rpt_assistent.xsl<br>XSL Stylesheet Berichtsassistent
</li>
</ul>
<p>Änderungen:</p>
<ul type="circle">
<li>Anpassung Stylesheets-Tabelle<br>Scriptfile: $SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sql
</li>
<li>Anpassung Stylesheets-Tabelle<br>Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql
</li>
<li>Anpassung Stylesheets-Tabelle<br>Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql
</li>
</ul>
<hr>
<h3>Download</h3>
<ul>
<li><strong>Patch SuperX <a href="http://www.superx-projekt.de/dist/patch/patch_2022-07-11_superx_iso.zip">klassisch in ISO</a></strong></li>
<li><strong>Patch SuperX <a href="http://www.superx-projekt.de/dist/patch/patch_2022-07-11_superx_utf8.zip">klassisch in UTF8</a></strong></li>
<li><strong>Patch SuperX <a href="http://www.superx-projekt.de/dist/patch/patch_2022-07-11_webapps_utf8.zip">webapps in UTF8</a></strong></li>
</ul>
<p><small>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.</small></p>
</div>
<footer class="card-footer"><a href="http://download.superx-projekt.de/" class="card-footer-item"> Link zur Downloadseite
<figure class="image is-48x48"><img src="https://super-ics.de/superx/images/downloadblck.svg"></figure></a><a href="http://www.superx-projekt.de/doku/kern_modul/admin/f_Patcheinspielen.htm" class="card-footer-item"> Hinweise zur Patchinstallation
<figure class="image is-48x48"><img src="https://super-ics.de/superx/images/bookblck.svg"></figure></a><a href="https://super-ics.de/impressum.htm" class="card-footer-item"> Impressum </a><a href="https://super-ics.de/datenschutz_public.htm" class="card-footer-item"> Datenschutz </a></footer>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

40
superx/WEB-INF/patch/patch_archive/patch_2022-08-23_bash_var.sh

@ -0,0 +1,40 @@ @@ -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 "

116
superx/WEB-INF/patch/patch_archive/patch_2022-08-23_readme.htm

@ -0,0 +1,116 @@ @@ -0,0 +1,116 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Patch </title>
<META NAME="author" content="Daniel Quathamer">
<META NAME="copyright" content="(c)2022 Daniel Quathamer">
<META NAME="date" content="23.08.2022 21:48:00">
<meta name="viewport" content="width=device-width, initial-scale=1"><style type="text/css">
@page { }
table { border-collapse:collapse; border-spacing:0; empty-cells:show }
td, th { vertical-align:top; font-size:12pt;}
h1, h2, h3, h4, h5, h6 { clear:both }
span.footnodeNumber { padding-right:1em; }
span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
</style><LINK REL="stylesheet" type="text/css" href="https://super-ics.de/superx/style/bulma.css">
<base target="_parent">
</head>
<body>
<div class="container has-text-left">
<div class="columns is-mobile is-left">
<div class="column is-14">
<div class="card has-background">
<div class="card">
<header class="card-header">
<div class="media-content">
<div class="media-left">
<figure class="image is-96x96"><a href="http://www.superx-projekt.de"><img src="https://super-ics.de/superx/images/superx_logo_pur.png"></a></figure>
</div>
<div class="media-right">
<p class="title is-1"></p>
<p class="title is-3">Patchnotes mit Administrationshilfe</p>
<p class="subtitle is-5">made by MEMTEXT</p>
<p class="subtitle is-5"></p>
</div>
</div>
</header>
<div class="card-content">
<div class="media">
<div class="media-left">
<figure class="image is-48x48"><img src="https://super-ics.de/superx/images/context_add.svg"></figure>
</div>
<div class="media-content">
<p class="title is-5">Modul: KERN</p>
<p class="subtitle is-5">PATCH 2022-08-23</p>
</div>
</div>
<div class="content">
<p><strong>Achtung: Der Patch ist nur für aktuelle Modulversionen geeignet!</strong></p>
<p></p>
<patch-description feature_id=""><strong>Generischer Export Tabellen mit JR </strong><br>
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).
<br>
Nach Einspielen des Patches müssen Sie Tomcat neu starten.<br>
<strong>Achtung:</strong> 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.<br>
</patch-description>
<p>Dateien:</p>
<ul type="circle">
<li>Datei: images/icons/magic.svg<br>Logo Berichtsassistent
</li>
<li>Datei: WEB-INF/lib/superx4.9.jar<br>SuperX-Servlet
</li>
<li>Datei: WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql<br>Erweiterung Tabelle sx_stylesheets um Spalte is_generic
</li>
<li>Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql<br></li>
<li>Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql<br></li>
<li>Datei: WEB-INF/reports/simple_table.jrtx<br>Ausgelagerte Styles für JRXML
</li>
<li>Datei: xml/pageComponents_html.xsl<br>Export JR Button
</li>
<li>Datei: xml/tabelle_jrxml_a4_quer.xsl<br>XSL Stylesheet erzeugt JRXML
</li>
<li>Datei: xml/jr_templates.xsl<br>XSL Stylesheet erzeugt JRXML
</li>
<li>Datei: xml/viz_rpt_assistent.xsl<br>XSL Stylesheet Berichtsassistent
</li>
</ul>
<p>Änderungen:</p>
<ul type="circle">
<li>Anpassung Stylesheets-Tabelle<br>Scriptfile: $SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sql
</li>
<li>Anpassung Stylesheets-Tabelle<br>Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql
</li>
<li>Anpassung Stylesheets-Tabelle<br>Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql
</li>
</ul>
<hr>
<h3>Download</h3>
<ul>
<li><strong>Patch SuperX <a href="http://www.superx-projekt.de/dist/patch/patch_2022-08-23_superx_iso.zip">klassisch in ISO</a></strong></li>
<li><strong>Patch SuperX <a href="http://www.superx-projekt.de/dist/patch/patch_2022-08-23_superx_utf8.zip">klassisch in UTF8</a></strong></li>
<li><strong>Patch SuperX <a href="http://www.superx-projekt.de/dist/patch/patch_2022-08-23_webapps_utf8.zip">webapps in UTF8</a></strong></li>
</ul>
<p><small>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.</small></p>
</div>
<footer class="card-footer"><a href="http://download.superx-projekt.de/" class="card-footer-item"> Link zur Downloadseite
<figure class="image is-48x48"><img src="https://super-ics.de/superx/images/downloadblck.svg"></figure></a><a href="http://www.superx-projekt.de/doku/kern_modul/admin/f_Patcheinspielen.htm" class="card-footer-item"> Hinweise zur Patchinstallation
<figure class="image is-48x48"><img src="https://super-ics.de/superx/images/bookblck.svg"></figure></a><a href="https://super-ics.de/impressum.htm" class="card-footer-item"> Impressum </a><a href="https://super-ics.de/datenschutz_public.htm" class="card-footer-item"> Datenschutz </a></footer>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

62
superx/WEB-INF/patch/xml/patch_2022-07-11.xml

@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<patch patch_id="2022-07-11">
<systeme>
<!--<system name="his1" codierung="utf8"/>-->
<system name="superx" codierung="utf8"/>
<system name="superx" codierung="iso"/>
</systeme>
<module name="kern" systeminfo_id="xxx" inst_from="xx">
<patch-description feature_id=""><strong>Generischer Export Tabellen mit JR </strong><br />
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).
<br />
Nach Einspielen des Patches müssen Sie Tomcat neu starten.<br />
<strong>Achtung:</strong> 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.<br />
</patch-description>
<patch-test>
<!-- Bisher nur sql erlaubt. Ergebniss muss 0 sein, um zu erlauben, dass der Patch eingespielt wird! -->
<nativeaction sql="select 0 from xdummy where (select count(*) from db_version where his_system='kern') > 0 " scriptfile="" database=""/>
</patch-test>
<patch-data>
<files>
<file path="images/icons/magic.svg"><patch-description feature_id="">Logo Berichtsassistent</patch-description></file>
<file path="WEB-INF/lib/superx4.9.jar"><patch-description feature_id="">SuperX-Servlet</patch-description></file>
<file path="WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql"><patch-description feature_id="">Erweiterung Tabelle sx_stylesheets um Spalte is_generic</patch-description></file>
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql"></file>
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql"></file>
<file path="WEB-INF/reports/simple_table.jrtx"><patch-description>Ausgelagerte Styles für JRXML</patch-description></file>
<file path="xml/pageComponents_html.xsl"><patch-description>Export JR Button</patch-description></file>
<file path="xml/tabelle_jrxml_a4_quer.xsl"><patch-description>XSL Stylesheet erzeugt JRXML</patch-description></file>
<file path="xml/jr_templates.xsl"><patch-description>XSL Stylesheet erzeugt JRXML</patch-description></file>
<file path="xml/viz_rpt_assistent.xsl"><patch-description>XSL Stylesheet Berichtsassistent</patch-description></file>
</files>
<database name="superx">
<!-- TODO: hier können beliebige Elemente der normalen Modul-XML stehen-->
<masken>
</masken>
</database>
<upgrade>
<upgrade-step>
<action>
<nativeaction sql="" scriptfile="$SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sql" database=""><patch-description>Anpassung Stylesheets-Tabelle</patch-description></nativeaction>
<nativeaction sql="" scriptfile="$SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql" database=""><patch-description>Anpassung Stylesheets-Tabelle</patch-description></nativeaction>
<nativeaction sql="" scriptfile="$SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql" database=""><patch-description>Anpassung Stylesheets-Tabelle</patch-description></nativeaction>
</action>
</upgrade-step>
</upgrade>
</patch-data>
</module>
</patch>

62
superx/WEB-INF/patch/xml/patch_2022-08-23.xml

@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<patch patch_id="2022-08-23">
<systeme>
<!--<system name="his1" codierung="utf8"/>-->
<system name="superx" codierung="utf8"/>
<system name="superx" codierung="iso"/>
</systeme>
<module name="kern" systeminfo_id="xxx" inst_from="xx">
<patch-description feature_id=""><strong>Generischer Export Tabellen mit JR </strong><br />
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).
<br />
Nach Einspielen des Patches müssen Sie Tomcat neu starten.<br />
<strong>Achtung:</strong> 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.<br />
</patch-description>
<patch-test>
<!-- Bisher nur sql erlaubt. Ergebniss muss 0 sein, um zu erlauben, dass der Patch eingespielt wird! -->
<nativeaction sql="select 0 from xdummy where (select count(*) from db_version where his_system='kern') > 0 " scriptfile="" database=""/>
</patch-test>
<patch-data>
<files>
<file path="images/icons/magic.svg"><patch-description feature_id="">Logo Berichtsassistent</patch-description></file>
<file path="WEB-INF/lib/superx4.9.jar"><patch-description feature_id="">SuperX-Servlet</patch-description></file>
<file path="WEB-INF/conf/edustore/db/install/upgrade/kern49_patch_jr.sql"><patch-description feature_id="">Erweiterung Tabelle sx_stylesheets um Spalte is_generic</patch-description></file>
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql"></file>
<file path="WEB-INF/conf/edustore/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql"></file>
<file path="WEB-INF/reports/simple_table.jrtx"><patch-description>Ausgelagerte Styles für JRXML</patch-description></file>
<file path="xml/pageComponents_html.xsl"><patch-description>Export JR Button</patch-description></file>
<file path="xml/tabelle_jrxml_a4_quer.xsl"><patch-description>XSL Stylesheet erzeugt JRXML</patch-description></file>
<file path="xml/jr_templates.xsl"><patch-description>XSL Stylesheet erzeugt JRXML</patch-description></file>
<file path="xml/viz_rpt_assistent.xsl"><patch-description>XSL Stylesheet Berichtsassistent</patch-description></file>
</files>
<database name="superx">
<!-- TODO: hier können beliebige Elemente der normalen Modul-XML stehen-->
<masken>
</masken>
</database>
<upgrade>
<upgrade-step>
<action>
<nativeaction sql="" scriptfile="$SUPERX_DIR/db/install/upgrade/kern49_patch_jr.sql" database=""><patch-description>Anpassung Stylesheets-Tabelle</patch-description></nativeaction>
<nativeaction sql="" scriptfile="$SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheets_fuellen.sql" database=""><patch-description>Anpassung Stylesheets-Tabelle</patch-description></nativeaction>
<nativeaction sql="" scriptfile="$SUPERX_DIR/db/install/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql" database=""><patch-description>Anpassung Stylesheets-Tabelle</patch-description></nativeaction>
</action>
</upgrade-step>
</upgrade>
</patch-data>
</module>
</patch>

295
superx/edit/kern/data_upload_edit.jsp

@ -0,0 +1,295 @@ @@ -0,0 +1,295 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Verzeichnis der Datei-Uploads</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Verzeichnis der Datei-Uploads. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Uploads bearbeiten. </span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="data_upload" maxRows="1" autoUpdate="false" captionResource="true" multipart="true" followUp="/edit/kern/data_upload_edit.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy20" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy20" flavor="image"/></td><td class="naviBtn"><span connectId="new20" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new20" flavor="image"/></td><td class="naviBtn"><span connectId="ins20" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins20" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Tabellenname"/></td><td align="left">
<div id="fld_tablename">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_data_uploadtablename" class="schluesselfeld" type="text">
<db:select id="inp_data_uploadtablename" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="tablename" customEntry=",,true"><% sql = "select name, name from sx_tables order by name;"; %><db:queryData name="data_upload_sx_tables67" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Datei "/></td><td align="left">
<div id="fld_filename">
<db:file styleClass="clsInputStyle" fieldName="filename"/>
</div>
<span style="display:none" connectId="fld_filename" dojoType="tooltip">Pfad zur Datei (relativ zu webapps/superx/WEB-INF/ )
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Dateityp"/></td><td align="left">
<div id="fld_datatype">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_data_uploaddatatype" fieldName="datatype"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Trennzeichen"/></td><td align="left">
<div id="fld_datadelimiter">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_data_uploaddatadelimiter" fieldName="datadelimiter"/>
</div>
<span style="display:none" connectId="fld_datadelimiter" dojoType="tooltip">(Nur bei CSV-Format)</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Kodierung"/></td><td align="left">
<div id="fld_dataencoding">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_data_uploaddataencoding" fieldName="dataencoding"/>
</div>
<span style="display:none" connectId="fld_dataencoding" dojoType="tooltip">utf8,ISO-8859-1 (Nur bei Text-Format)</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Spalten&uuml;berschriften"/></td><td align="left">
<div id="fld_withheader">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadwithheader" size="6" fieldName="withheader"/>
</div>
<span style="display:none" connectId="fld_withheader" dojoType="tooltip">Enth&auml;lt die Datei Spalten&uuml;berschriften? 1=ja,0=nein
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Zeilenanzahl"/></td><td align="left">
<div id="fld_rownumber">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadrownumber" size="6" fieldName="rownumber"/>
</div>
<span style="display:none" connectId="fld_rownumber" dojoType="tooltip">Anzahl der gelieferten Datens&auml;tze</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="zip-Komprimiert"/></td><td align="left">
<div id="fld_zipped">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadzipped" size="6" fieldName="zipped"/>
</div>
<span style="display:none" connectId="fld_zipped" dojoType="tooltip">1=ja,0=nein</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Institution"/></td><td align="left">
<div id="fld_ch110_institut">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_data_uploadch110_institut" class="schluesselfeld" type="text">
<db:select id="inp_data_uploadch110_institut" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="ch110_institut" customEntry=",,true"><% sql = "select key_apnr::char(10), trim(key_apnr) || '-' || trim(name) from organigramm order by trim(key_apnr) || '-' || trim(name);"; %><db:queryData name="data_upload_organigramm68" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="User"/></td><td align="left">
<div id="fld_submission_userid">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_data_uploadsubmission_userid" class="schluesselfeld" type="text">
<db:select id="inp_data_uploadsubmission_userid" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="submission_userid" customEntry=",,true"><% sql = "select tid, name from userinfo order by name;"; %><db:queryData name="data_upload_userinfo66" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_submission_userid" dojoType="tooltip">Person, die den Download eingereicht hat</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Email"/></td><td align="left">
<div id="fld_submission_email">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_data_uploadsubmission_email" fieldName="submission_email"/>
</div>
<span style="display:none" connectId="fld_submission_email" dojoType="tooltip">Spezielle Email-Adresse f&uuml;r die Protokollierung des Ladens
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Importdatum"/></td><td align="left">
<div id="fld_submission_date">
<db:dateField styleClass="clsInputStyle" onBlur="" pattern="dd.MM.yyyy hh:mm:ss" size="18" id="inp_data_uploadsubmission_date" fieldName="submission_date"/>
</div>
<span style="display:none" connectId="fld_submission_date" dojoType="tooltip">Datum/Uhrzeit des Imports in die SuperX-Datenbank
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Importmodus"/></td><td align="left">
<div id="fld_submission_mode">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadsubmission_mode" size="6" fieldName="submission_mode"/>
</div>
<span style="display:none" connectId="fld_submission_mode" dojoType="tooltip">1=Hinzuf&uuml;gen,0=Alles L&ouml;schen und Hinzuf&uuml;gen</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Kommentar"/></td><td align="left">
<div id="fld_submission_comm">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="submission_comm"/>
</div>
<span style="display:none" connectId="fld_submission_comm" dojoType="tooltip">Kommentar f&uuml;r Website (Datenlegende o.&auml;.).</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Nachricht bei Lieferung"/></td><td align="left">
<div id="fld_submission_noted">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadsubmission_noted" size="6" fieldName="submission_noted"/>
</div>
<span style="display:none" connectId="fld_submission_noted" dojoType="tooltip">Lieferung best&auml;tigt (per mail an submission_email)
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Hochgeladen?"/></td><td align="left">
<div id="fld_uploaded">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploaduploaded" size="6" fieldName="uploaded"/>
</div>
<span style="display:none" connectId="fld_uploaded" dojoType="tooltip">1=ja,0=nein</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Erfolgreich Verarbeitet?"/></td><td align="left">
<div id="fld_processed">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadprocessed" size="6" fieldName="processed"/>
</div>
<span style="display:none" connectId="fld_processed" dojoType="tooltip">1=ja,0=nein</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Email"/></td><td align="left">
<div id="fld_processor_email">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_data_uploadprocessor_email" fieldName="processor_email"/>
</div>
<span style="display:none" connectId="fld_processor_email" dojoType="tooltip">Email vom Adminstrator, der &uuml;ber die Datei informiert
werden soll</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Datum Verarbeitung"/></td><td align="left">
<div id="fld_processed_date">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="processed_date" onBlur="" useJsCalendar="true"/>
</div>
<span style="display:none" connectId="fld_processed_date" dojoType="tooltip">1=ja</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Nachricht bei Verarbeitung"/></td><td align="left">
<div id="fld_processed_noted">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_data_uploadprocessed_noted" size="6" fieldName="processed_noted"/>
</div>
<span style="display:none" connectId="fld_processed_noted" dojoType="tooltip">1=ja, Verarbeitung best&auml;tigt (per mail an submission_email
und processor_email)</span></td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

186
superx/edit/kern/dbconnections_edit.jsp

@ -0,0 +1,186 @@ @@ -0,0 +1,186 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske DB Connections verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">DB Connections verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">
</span>
</div>
<%
String id = request.getParameter("id");
if(id != null && !id.equals("null")){
filter +="id="+id;
}
%>
<db:dbform tableName="dbconnections" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/dbconnections_edit.jsp" filter="<%= filter %>" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy24" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy24" flavor="image"/></td><td class="naviBtn"><span connectId="new24" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new24" flavor="image"/></td><td class="naviBtn"><span connectId="ins24" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins24" flavor="image"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="id" value="<%= id %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">id</td><td><db:label nullFieldValue="" fieldName="id" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_dbconnectionsname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Driver"/></td><td align="left">
<div id="fld_driver">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_dbconnectionsdriver" fieldName="driver"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Url"/></td><td align="left">
<div id="fld_url">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_dbconnectionsurl" fieldName="url"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Username"/></td><td align="left">
<div id="fld_username">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_dbconnectionsusername" fieldName="username"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Passwort"/></td><td align="left">
<div id="fld_passwort">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_dbconnectionspasswort" fieldName="passwort"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Minidle"/></td><td align="left">
<div id="fld_minidle">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_dbconnectionsminidle" size="6" fieldName="minidle"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Maxidle"/></td><td align="left">
<div id="fld_maxidle">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_dbconnectionsmaxidle" size="6" fieldName="maxidle"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Testsql"/></td><td align="left">
<div id="fld_testsql">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_dbconnectionstestsql" fieldName="testsql"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

113
superx/edit/kern/dbconnections_list.jsp

@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular DB-Connections</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">DB-Connections. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie DB Connections bearbeiten.</span>
</div><db:dbform tableName="dbconnections" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/dbconnections_list.jsp" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Id"/></th><th align="left">
<db:message key="Name"/></th><th align="left">
<db:message key="Url"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="25" fieldName="id"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="25" fieldName="name"/></td><td><db:label nullFieldValue="" fieldName="url" />
</td><td><%
if(currentRow_dbconnections != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/dbconnections_edit.jsp") %>?id=<db:label nullFieldValue="" pattern="######" fieldName="id"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/dbconnections_edit.jsp") %>?id=<db:label nullFieldValue="" pattern="######" fieldName="id"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new26" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new26" flavor="image"/></td><td class="naviBtn"><span connectId="ins26" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins26" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

244
superx/edit/kern/felderinfo_edit.jsp

@ -0,0 +1,244 @@ @@ -0,0 +1,244 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Felderinfo verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Felderinfo verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Felder verwalten.</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="felderinfo" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/felderinfo_edit.jsp" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy7" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy7" flavor="image"/></td><td class="naviBtn"><span connectId="new7" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new7" flavor="image"/></td><td class="naviBtn"><span connectId="ins7" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins7" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">
<db:message key="Tid"/></td><td align="left">
<div id="fld_tid">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfotid" size="6" fieldName="tid"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_felderinfoname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Nummer"/></td><td align="left">
<div id="fld_nummer">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfonummer" size="6" fieldName="nummer"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="X"/></td><td align="left">
<div id="fld_x">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfox" size="6" fieldName="x"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Y"/></td><td align="left">
<div id="fld_y">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfoy" size="6" fieldName="y"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Buttonbreite"/></td><td align="left">
<div id="fld_buttonbreite">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfobuttonbreite" size="6" fieldName="buttonbreite"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Feldbreite"/></td><td align="left">
<div id="fld_feldbreite">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfofeldbreite" size="6" fieldName="feldbreite"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Zeilenanzahl"/></td><td align="left">
<div id="fld_zeilenanzahl">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfozeilenanzahl" size="6" fieldName="zeilenanzahl"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Typ"/></td><td align="left">
<div id="fld_typ">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_felderinfotyp" class="schluesselfeld" type="text">
<db:select id="inp_felderinfotyp" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="typ" customEntry=",,true"><% sql = "select element_value::char(15)::char(15), description from menu_element where menu_element.element = \'Feldtyp\' order by description;"; %><db:queryData name="felderinfo_menu_element38" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Laenge"/></td><td align="left">
<div id="fld_laenge">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_felderinfolaenge" size="6" fieldName="laenge"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Obligatorisch"/></td><td align="left">
<div id="fld_obligatorisch">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_felderinfoobligatorisch" class="schluesselfeld" type="text">
<db:select id="inp_felderinfoobligatorisch" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="obligatorisch" customEntry=",,true"><% sql = "select element_value, description from menu_element_mandatory where menu_element_mandatory.element = \'obligatorisch\' order by description;"; %><db:queryData name="felderinfo_menu_element_mandatory39" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Art"/></td><td align="left">
<div id="fld_art">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_felderinfoart" class="schluesselfeld" type="text">
<db:select id="inp_felderinfoart" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="art" customEntry=",,true"><% sql = "select element_value, description from menu_element_fieldmode where menu_element_fieldmode.element = \'Feldart\' order by description;"; %><db:queryData name="felderinfo_menu_element_fieldmode37" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Relation"/></td><td align="left">
<div id="fld_relation">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="relation"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut"/></td><td align="left">
<div id="fld_attribut">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="100" size="40" id="inp_felderinfoattribut" fieldName="attribut"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Defaultwert"/></td><td align="left">
<div id="fld_defaultwert">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_felderinfodefaultwert" fieldName="defaultwert"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

161
superx/edit/kern/fm_templates_edit.jsp

@ -0,0 +1,161 @@ @@ -0,0 +1,161 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Freemarker-Templates bearbeiten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Freemarker-Templates bearbeiten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Freemarker-Templates verwalten.</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="fm_templates" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/fm_templates_edit.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy23" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy23" flavor="image"/></td><td class="naviBtn"><span connectId="new23" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new23" flavor="image"/></td><td class="naviBtn"><span connectId="ins23" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins23" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0"><db:textField hidden="true" fieldName="tid" />
<tr>
<td class="db_label">
<db:message key="Id"/></td><td align="left">
<div id="fld_id">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="30" id="inp_fm_templatesid" fieldName="id"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Content"/></td><td align="left">
<div id="fld_content">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="content"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Description"/></td><td align="left">
<div id="fld_description">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="50" id="inp_fm_templatesdescription" fieldName="description"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Comment"/></td><td align="left">
<div id="fld_comment">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="40" id="inp_fm_templatescomment" fieldName="comment"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Version"/></td><td align="left">
<div id="fld_version">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_fm_templatesversion" size="6" fieldName="version"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

110
superx/edit/kern/fm_templates_list.jsp

@ -0,0 +1,110 @@ @@ -0,0 +1,110 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Freemarker-Templates bearbeiten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Freemarker-Templates bearbeiten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Freemarker-Templates verwalten.</span>
</div><db:dbform tableName="fm_templates" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/fm_templates_list.jsp" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th></th><th align="left">
<db:message key="Id"/></th><th align="left">
<db:message key="Description"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="false">
<tr>
<td></td><td><db:textField nullFieldValue="" fieldName="tid" hidden="true" />
</td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="200" size="30" fieldName="id"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="200" size="30" fieldName="description"/></td><td><%
if(currentRow_fm_templates != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/fm_templates_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/fm_templates_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr></tr>
</table>
</db:footer></db:dbform></body>
</html>

141
superx/edit/kern/group_field_pref_edit.jsp

@ -0,0 +1,141 @@ @@ -0,0 +1,141 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Gruppen Feldattribute zuweisen</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen Feldattribute zuweisen. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Feldern in Masken f&uuml;r bestimmte Gruppen Attribute wie Verstecken zuweisen.</span>
</div><%
String tid = request.getParameter("tid");
Hashtable gotoMyHash = null;
if(tid !=null) {
gotoMyHash= new Hashtable();
gotoMyHash.put("tid",tid);
}
%>
<db:dbform tableName="group_field_pref" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/group_field_pref_edit.jsp" gotoHt="<%= gotoMyHash %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy22" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy22" flavor="image"/></td><td class="naviBtn"><span connectId="new22" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new22" flavor="image"/></td><td class="naviBtn"><span connectId="ins22" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins22" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p></p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Laufnummer</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Gruppe"/></td><td align="left">
<div id="fld_groupinfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_group_field_prefgroupinfo_id" class="schluesselfeld" type="text">
<db:select id="inp_group_field_prefgroupinfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, trim(name) from groupinfo order by trim(name);"; %><db:queryData name="group_field_pref_groupinfo74" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Feld"/></td><td align="left">
<div id="fld_field_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_group_field_preffield_id" class="schluesselfeld" type="text">
<db:select id="inp_group_field_preffield_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="field_id" customEntry=",,true"><% sql = "select tid, tid || ' - ' || trim(name) from felderinfo order by tid || ' - ' || trim(name);"; %><db:queryData name="group_field_pref_felderinfo75" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr><%@ include file="/edit/kern/group_field_pref_edit_hidden.inc" %></table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

110
superx/edit/kern/group_field_pref_list.jsp

@ -0,0 +1,110 @@ @@ -0,0 +1,110 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Gruppen Felderattribute zuweisen</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen Felderattribute zuweisen. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Feldern in Masken f&uuml;r bestimmte Gruppen Attribute wie Verstecken zuweisen.</span>
</div><db:dbform tableName="group_field_pref" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/group_field_pref_list.jsp" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th></th><th align="left">
<db:message key="Gruppe"/></th><th align="left">
<db:message key="Feld"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td></td><td><db:textField nullFieldValue="" fieldName="tid" hidden="true" />
</td><td align="left"> <db:select fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, trim(name) from groupinfo order by trim(name);"; %><db:queryData name="group_field_pref_groupinfo74" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:dataLabel fieldName="field_id"><% sql = "select tid, tid || ' - ' || trim(name) from felderinfo order by tid || ' - ' || trim(name);"; %><db:queryData name="group_field_pref_felderinfo75" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:dataLabel></td><td><%
if(currentRow_group_field_pref != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/group_field_pref_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/group_field_pref_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new24" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new24" flavor="image"/></td><td class="naviBtn"><span connectId="ins24" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins24" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

122
superx/edit/kern/group_masken_bez_edit.jsp

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Gruppen und Masken</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen und Masken. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Gruppen zu einzelnen Masken zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="group_masken_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/group_masken_bez_edit.jsp" filter="<%= filter %>" orderBy="groupinfo_id,maskeninfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Groupinfo_id"/></th><th align="left">
<db:message key="Maskeninfo_id"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="groupinfo_id" value="<%= groupinfo_id %>" />
<input type="hidden" name="maskeninfo_id" value="<%= maskeninfo_id %>" />
</td><td align="left"> <db:select fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from groupinfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %><db:queryData name="group_masken_bez_groupinfo35" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from maskeninfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %><db:queryData name="group_masken_bez_maskeninfo36" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new14" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new14" flavor="image"/></td><td class="naviBtn"><span connectId="ins14" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins14" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

122
superx/edit/kern/group_sachgeb_bez_edit.jsp

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Gruppen und Sachgebiete</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen und Sachgebiete. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Gruppen zu Sachgebieten zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="group_sachgeb_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/group_sachgeb_bez_edit.jsp" filter="<%= filter %>" orderBy="groupinfo_id,sachgebiete_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Groupinfo_id"/></th><th align="left">
<db:message key="Sachgebiete_id"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="groupinfo_id" value="<%= groupinfo_id %>" />
<input type="hidden" name="sachgebiete_id" value="<%= sachgebiete_id %>" />
</td><td align="left"> <db:select fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, name from groupinfo order by name;"; %><db:queryData name="group_sachgeb_bez_groupinfo33" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="group_sachgeb_bez_sachgebiete34" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new12" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new12" flavor="image"/></td><td class="naviBtn"><span connectId="ins12" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins12" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

114
superx/edit/kern/group_sichtarten_edit.jsp

@ -0,0 +1,114 @@ @@ -0,0 +1,114 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Gruppen und Sichtarten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen und Sichtarten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Gruppen-Rechte f&uuml;r Sichtarten bearbeiten. Bitte beachten Sie: bei &Auml;nderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</span>
</div>
<%
String sichtart = request.getParameter("sichtart");
if(sichtart != null && !sichtart.equals("null")){
filter +="sichtart="+sichtart;
}
%>
<db:dbform tableName="group_sichtarten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/group_sichtarten_edit.jsp" filter="<%= filter %>" orderBy="groupinfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Groupinfo_id"/></th><th align="left">
<db:message key="Rechte f&uuml;r eine Art von Sichten geben"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="sichtart" value="<%= sichtart %>" />
</td><td align="left"> <db:select fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, name from groupinfo order by name;"; %><db:queryData name="group_sichtarten_groupinfo49" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="25" fieldName="sichtart"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new18" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new18" flavor="image"/></td><td class="naviBtn"><span connectId="ins18" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins18" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

113
superx/edit/kern/group_sichten_edit.jsp

@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Gruppen und Sichten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen und Sichten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Gruppen-Rechte f&uuml;r Sichten bearbeiten. Bitte beachten Sie: bei &Auml;nderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</span>
</div>
<%
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;
}
%>
<db:dbform tableName="group_sichten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/group_sichten_edit.jsp" filter="<%= filter %>" orderBy="groupinfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Groupinfo_id"/></th><th align="left">
<db:message key="Rechte f&uuml;r eine einzelne Sicht geben"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="sicht_name_intern" value="<%= sicht_name_intern %>" />
</td><td align="left"> <db:select fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, name from groupinfo order by name;"; %><db:queryData name="group_sichten_groupinfo47" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="sicht_name_intern" customEntry=",,true"><% sql = "select name_intern::char(200), tid || ' - ' || name from sichten order by tid || ' - ' || name;"; %><db:queryData name="group_sichten_sichten46" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new16" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new16" flavor="image"/></td><td class="naviBtn"><span connectId="ins16" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins16" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

244
superx/edit/kern/groupinfo_edit.jsp

@ -0,0 +1,244 @@ @@ -0,0 +1,244 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Gruppen verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Gruppen verwalten. </span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="groupinfo" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/groupinfo_edit.jsp" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy2" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy2" flavor="image"/></td><td class="naviBtn"><span connectId="new2" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new2" flavor="image"/></td><td class="naviBtn"><span connectId="ins2" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins2" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td><db:label nullFieldValue="" fieldName="tid" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_groupinfoname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">Sachgebiete</td><td>
<table class="subform">
<db:dbform orderBy="" childField="groupinfo_id" parentField="tid" tableName="group_sachgeb_bez" maxRows="*" captionResource="true" followUp="/edit/kern/groupinfo_edit.jsp" autoUpdate="false" multipart="false" dbConnectionName="<%= mandantenid %>">
<db:header/>
<db:body allowNew="true">
<tr class="subform_tr"><db:textField hidden="true" fieldName="groupinfo_id" overrideValue="<%= tid%>"/>
<td align="left">
<div id="fld_sachgebiete_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_group_sachgeb_bezsachgebiete_id" class="schluesselfeld" type="text">
<db:select id="inp_group_sachgeb_bezsachgebiete_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="group_sachgeb_bez_sachgebiete34" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer>
<tr class="subform_tr">
<td><td class="naviBtn"><span connectId="new3" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new3" flavor="image"/></td><td class="naviBtn"><span connectId="ins3" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins3" flavor="image"/></td></td>
</tr>
</db:footer>
</db:dbform>
</table>
</td>
</tr>
<tr>
<td class="db_label">Masken</td><td>
<table class="subform">
<db:dbform orderBy="" childField="groupinfo_id" parentField="tid" tableName="group_masken_bez" maxRows="*" captionResource="true" followUp="/edit/kern/groupinfo_edit.jsp" autoUpdate="false" multipart="false" dbConnectionName="<%= mandantenid %>">
<db:header/>
<db:body allowNew="true">
<tr class="subform_tr"><db:textField hidden="true" fieldName="groupinfo_id" overrideValue="<%= tid%>"/>
<td align="left">
<div id="fld_maskeninfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_group_masken_bezmaskeninfo_id" class="schluesselfeld" type="text">
<db:select id="inp_group_masken_bezmaskeninfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from maskeninfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %><db:queryData name="group_masken_bez_maskeninfo36" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer>
<tr class="subform_tr">
<td><td class="naviBtn"><span connectId="new4" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new4" flavor="image"/></td><td class="naviBtn"><span connectId="ins4" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins4" flavor="image"/></td></td>
</tr>
</db:footer>
</db:dbform>
</table>
</td>
</tr>
<tr>
<td class="db_label">Sichten</td><td>
<table class="subform">
<db:dbform orderBy="" childField="groupinfo_id" parentField="tid" tableName="group_sichten" maxRows="*" captionResource="true" followUp="/edit/kern/groupinfo_edit.jsp" autoUpdate="false" multipart="false" dbConnectionName="<%= mandantenid %>">
<db:header/>
<db:body allowNew="true">
<tr class="subform_tr"><db:textField hidden="true" fieldName="groupinfo_id" overrideValue="<%= tid%>"/>
<td align="left">
<div id="fld_sicht_name_intern">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_group_sichtensicht_name_intern" class="schluesselfeld" type="text">
<db:select id="inp_group_sichtensicht_name_intern" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="sicht_name_intern" customEntry=",,true"><% sql = "select name_intern::char(200), tid || ' - ' || name from sichten order by tid || ' - ' || name;"; %><db:queryData name="group_sichten_sichten46" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer>
<tr class="subform_tr">
<td><td class="naviBtn"><span connectId="new5" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new5" flavor="image"/></td><td class="naviBtn"><span connectId="ins5" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins5" flavor="image"/></td></td>
</tr>
</db:footer>
</db:dbform>
</table>
</td>
</tr><%@ include file="/edit/kern/groupinfo_edit_sichtarten.inc" %><tr>
<td class="db_label">User</td><td>
<table class="subform">
<db:dbform orderBy="" childField="groupinfo_id" parentField="tid" tableName="user_group_bez" maxRows="50" captionResource="true" followUp="/edit/kern/groupinfo_edit.jsp" autoUpdate="false" multipart="false" dbConnectionName="<%= mandantenid %>">
<db:header/>
<db:body allowNew="true">
<tr class="subform_tr"><db:textField hidden="true" fieldName="groupinfo_id" overrideValue="<%= tid%>"/>
<td align="left">
<div id="fld_userinfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_user_group_bezuserinfo_id" class="schluesselfeld" type="text">
<db:select id="inp_user_group_bezuserinfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="userinfo_id" customEntry=",,true"><% sql = "select tid, trim(benutzer) || ' (' || trim(name) || ')' from userinfo order by trim(benutzer) || ' (' || trim(name) || ')';"; %><db:queryData name="user_group_bez_userinfo4" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer>
<tr class="subform_tr">
<td><td class="naviBtn"><span connectId="new7" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new7" flavor="image"/></td><td class="naviBtn"><span connectId="ins7" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins7" flavor="image"/></td></td>
</tr>
</db:footer>
</db:dbform>
</table>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

162
superx/edit/kern/hochschulinfo_edit.jsp

@ -0,0 +1,162 @@ @@ -0,0 +1,162 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Hochschulinfo</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Hochschulinfo. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Infos zu Ihrer Hochschule speichern. Bitte ordnen Sie Ihre Hochschule im Feld Hochschulnummer (HIS) zu.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="hochschulinfo" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/hochschulinfo_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="false">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="name" value="<%= name %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">
<db:message key="Hochschulnummer (HIS)"/></td><td align="left">
<div id="fld_hs_nr">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_hochschulinfohs_nr" class="schluesselfeld" type="text">
<db:select id="inp_hochschulinfohs_nr" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="hs_nr" customEntry=",,true"><% sql = "select hs_nr, hs_nr || '-'::char(1) || name from hochschulen order by hs_nr || '-'::char(1) || name;"; %><db:queryData name="hochschulinfo_hochschulen1" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="100" size="40" id="inp_hochschulinfoname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Adresse"/></td><td align="left">
<div id="fld_adresse">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="40" id="inp_hochschulinfoadresse" fieldName="adresse"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Kapitel"/></td><td align="left">
<div id="fld_kapitel">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="5" size="20" id="inp_hochschulinfokapitel" fieldName="kapitel"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Superx_server"/></td><td align="left">
<div id="fld_superx_server">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="100" size="40" id="inp_hochschulinfosuperx_server" fieldName="superx_server"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

166
superx/edit/kern/konstante_edit.jsp

@ -0,0 +1,166 @@ @@ -0,0 +1,166 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Konstante verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Konstante verwalten. </span>
</div><%
String tid = request.getParameter("tid");
Hashtable gotoMyHash = null;
if(tid !=null) {
gotoMyHash= new Hashtable();
gotoMyHash.put("tid",tid);
}
%>
<db:dbform tableName="konstanten" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/konstante_edit.jsp" gotoHt="<%= gotoMyHash %>" orderBy="param_id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="false">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p></p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">
<db:message key="Tid"/></td><td align="left">
<div id="fld_tid">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_konstantentid" size="6" fieldName="tid"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">beschreibung</td><td><db:label nullFieldValue="" fieldName="beschreibung" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Apnr"/></td><td align="left">
<div id="fld_apnr">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_konstantenapnr" size="6" fieldName="apnr"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">Standardwert</td><td><db:label nullFieldValue="" fieldName="defaultvalue" />
</td>
</tr>
<tr>
<td class="db_label">Erl&auml;uterungstext</td><td><db:label nullFieldValue="" fieldName="description" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Komponente"/></td><td align="left">
<div id="fld_systeminfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_konstantensysteminfo_id" class="schluesselfeld" type="text">
<db:select id="inp_konstantensysteminfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="systeminfo_id" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="konstanten_systeminfo76" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sachgebiet"/></td><td align="left">
<div id="fld_sachgebiete_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_konstantensachgebiete_id" class="schluesselfeld" type="text">
<db:select id="inp_konstantensachgebiete_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="konstanten_sachgebiete77" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">Link zur Dokumentation</td><td><db:label nullFieldValue="" fieldName="doku_link" />
</td>
</tr>
<tr>
<td class="db_label">1=nicht &auml;nderbar,0=&auml;nderbar </td><td><db:label nullFieldValue="" fieldName="read_only" />
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

141
superx/edit/kern/konstanten_edit.jsp

@ -0,0 +1,141 @@ @@ -0,0 +1,141 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Konstanten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Konstanten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Konstanten verwalten.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="konstanten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/konstanten_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tid"/></th><th align="left">
<db:message key="Apnr"/></th><th align="left">
<db:message key="Beschreibung"/></th><th align="left">
<db:message key="Standardwert"/></th><th align="left">
<db:message key="Erl&auml;uterungstext"/></th><th align="left">
<db:message key="Komponente"/></th><th align="left">
<db:message key="Sachgebiet"/></th><th align="left">
<db:message key="Link zur Dokumentation"/></th><th align="left">
<db:message key="1=nicht &auml;nderbar,0=&auml;nderbar "/></th><th align="left">
<db:message key="Wertebereich"/></th><th align="left">
<db:message key="Nutzbar ab Version"/></th><th align="left">
<db:message key="Gruppe"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="beschreibung" value="<%= beschreibung %>" />
</td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="apnr"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="beschreibung"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="defaultvalue"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="description"/></td><td align="left"> <db:select fieldName="systeminfo_id" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="konstanten_systeminfo76" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="konstanten_sachgebiete77" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="doku_link"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="read_only"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="wertebereich"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="20" size="20" fieldName="ab_version"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="gruppe"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new11" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new11" flavor="image"/></td><td class="naviBtn"><span connectId="ins11" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins11" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

212
superx/edit/kern/macro_masken_bez_edit.jsp

@ -0,0 +1,212 @@ @@ -0,0 +1,212 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Masken und Makros (Einzelbearbeitung)</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Masken und Makros (Einzelbearbeitung). </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Masken zu Makros zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="macro_masken_bez" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/macro_masken_bez_edit.jsp" filter="<%= filter %>" orderBy="maskeninfo_id1,maskeninfo_id2"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy11" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy11" flavor="image"/></td><td class="naviBtn"><span connectId="new11" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new11" flavor="image"/></td><td class="naviBtn"><span connectId="ins11" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins11" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="maskeninfo_id1" value="<%= maskeninfo_id1 %>" />
<input type="hidden" name="maskeninfo_id2" value="<%= maskeninfo_id2 %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">
<db:message key="Hauptmaske"/></td><td align="left">
<div id="fld_maskeninfo_id1">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_macro_masken_bezmaskeninfo_id1" class="schluesselfeld" type="text">
<db:select id="inp_macro_masken_bezmaskeninfo_id1" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="maskeninfo_id1" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="macro_masken_bez_maskeninfo31" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Untermaske"/></td><td align="left">
<div id="fld_maskeninfo_id2">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_macro_masken_bezmaskeninfo_id2" class="schluesselfeld" type="text">
<db:select id="inp_macro_masken_bezmaskeninfo_id2" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="maskeninfo_id2" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="macro_masken_bez_maskeninfo32" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Active"/></td><td align="left">
<div id="fld_active">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_macro_masken_bezactive" size="6" fieldName="active"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sortnr"/></td><td align="left">
<div id="fld_sortnr">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_macro_masken_bezsortnr" size="6" fieldName="sortnr"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Schleifenrelation"/></td><td align="left">
<div id="fld_schleifenrelation">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_macro_masken_bezschleifenrelation" fieldName="schleifenrelation"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Schleifenfeldname"/></td><td align="left">
<div id="fld_schleifenfeldname">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_macro_masken_bezschleifenfeldname" fieldName="schleifenfeldname"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Alias"/></td><td align="left">
<div id="fld_alias">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_macro_masken_bezalias" fieldName="alias"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Schleifenfstand"/></td><td align="left">
<div id="fld_schleifenfstand">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_macro_masken_bezschleifenfstand" fieldName="schleifenfstand"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Schleifenfsicht"/></td><td align="left">
<div id="fld_schleifenfsicht">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_macro_masken_bezschleifenfsicht" fieldName="schleifenfsicht"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Aktion"/></td><td align="left">
<div id="fld_aktion">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_macro_masken_bezaktion" fieldName="aktion"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

129
superx/edit/kern/macro_masken_bez_list.jsp

@ -0,0 +1,129 @@ @@ -0,0 +1,129 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Masken und Makros (Liste)</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Masken und Makros (Liste). </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Masken zu Makros zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="macro_masken_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/macro_masken_bez_list.jsp" filter="<%= filter %>" orderBy="maskeninfo_id1,sortnr,maskeninfo_id2"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Hauptmaske"/></th><th align="left">
<db:message key="Untermaske"/></th><th align="left">
<db:message key="Sortnr"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="maskeninfo_id1" value="<%= maskeninfo_id1 %>" />
<input type="hidden" name="maskeninfo_id2" value="<%= maskeninfo_id2 %>" />
</td><td align="left"> <db:select fieldName="maskeninfo_id1" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="macro_masken_bez_maskeninfo31" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="maskeninfo_id2" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="macro_masken_bez_maskeninfo32" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="sortnr"/></td><td><%
if(currentRow_macro_masken_bez != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/macro_masken_bez_edit.jsp") %>?maskeninfo_id1=<db:label nullFieldValue="" pattern="######" fieldName="maskeninfo_id1"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/macro_masken_bez_edit.jsp") %>?maskeninfo_id1=<db:label nullFieldValue="" pattern="######" fieldName="maskeninfo_id1"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new10" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new10" flavor="image"/></td><td class="naviBtn"><span connectId="ins10" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins10" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

122
superx/edit/kern/maske_system_bez_edit.jsp

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Masken und Systeme</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Masken und Systeme. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Masken zu Quellsystemen zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="maske_system_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/maske_system_bez_edit.jsp" filter="<%= filter %>" orderBy="maskeninfo_id,systeminfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Maskeninfo_id"/></th><th align="left">
<db:message key="Systeminfo_id"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="maskeninfo_id" value="<%= maskeninfo_id %>" />
<input type="hidden" name="systeminfo_id" value="<%= systeminfo_id %>" />
</td><td align="left"> <db:select fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="maske_system_bez_maskeninfo29" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="systeminfo_id" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="maske_system_bez_systeminfo30" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new9" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new9" flavor="image"/></td><td class="naviBtn"><span connectId="ins9" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins9" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

122
superx/edit/kern/masken_felder_bez_edit.jsp

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Masken und Felder</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Masken und Felder. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Felder zu Masken zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="masken_felder_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/masken_felder_bez_edit.jsp" filter="<%= filter %>" orderBy="maskeninfo_id,felderinfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Masken ID"/></th><th align="left">
<db:message key="Feld ID"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="maskeninfo_id" value="<%= maskeninfo_id %>" />
<input type="hidden" name="felderinfo_id" value="<%= felderinfo_id %>" />
</td><td align="left"> <db:select fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="masken_felder_bez_maskeninfo27" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="felderinfo_id" customEntry=",,true"><% sql = "select tid, name from felderinfo order by name;"; %><db:queryData name="masken_felder_bez_felderinfo28" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new8" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new8" flavor="image"/></td><td class="naviBtn"><span connectId="ins8" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins8" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

250
superx/edit/kern/maskeninfo_edit.jsp

@ -0,0 +1,250 @@ @@ -0,0 +1,250 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Maskeninfo verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Maskeninfo verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Masken verwalten.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="maskeninfo" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/maskeninfo_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy6" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy6" flavor="image"/></td><td class="naviBtn"><span connectId="new6" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new6" flavor="image"/></td><td class="naviBtn"><span connectId="ins6" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins6" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="name" value="<%= name %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">
<db:message key="Tid"/></td><td align="left">
<div id="fld_tid">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_maskeninfotid" size="6" fieldName="tid"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name der Maske"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_maskeninfoname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Select-Statement"/></td><td align="left">
<div id="fld_select_stmt">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="select_stmt"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Spaltenlayout"/></td><td align="left">
<div id="fld_xil_proplist">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="xil_proplist"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Chart_xtitel"/></td><td align="left">
<div id="fld_chart_xtitel">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="50" size="40" id="inp_maskeninfochart_xtitel" fieldName="chart_xtitel"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Chart_ytitel"/></td><td align="left">
<div id="fld_chart_ytitel">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="50" size="40" id="inp_maskeninfochart_ytitel" fieldName="chart_ytitel"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Erl&auml;uterung"/></td><td align="left">
<div id="fld_erlaeuterung">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_maskeninfoerlaeuterung" fieldName="erlaeuterung"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Cleanup Statements"/></td><td align="left">
<div id="fld_cleanup_stmt">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="240" size="40" id="inp_maskeninfocleanup_stmt" fieldName="cleanup_stmt"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Default_file"/></td><td align="left">
<div id="fld_default_file">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="40" id="inp_maskeninfodefault_file" fieldName="default_file"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Spezielles Frontend"/></td><td align="left">
<div id="fld_frontend">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_maskeninfofrontend" class="schluesselfeld" type="text">
<db:select id="inp_maskeninfofrontend" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="frontend" customEntry=",,true"><% sql = "select val(element_value), description from menu_element where menu_element.element = \'Frontend\' order by description;"; %><db:queryData name="maskeninfo_menu_element42" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_frontend" dojoType="tooltip">Applet=0, XML=1, Alle=2, 3=Angular</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Breite"/></td><td align="left">
<div id="fld_breite">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_maskeninfobreite" size="6" fieldName="breite"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Hoehe"/></td><td align="left">
<div id="fld_hoehe">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_maskeninfohoehe" size="6" fieldName="hoehe"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Ampel"/></td><td align="left">
<div id="fld_ampel">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_maskeninfoampel" size="6" fieldName="ampel"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Hilfe-Button (Applet)"/></td><td align="left">
<div id="fld_hilfe">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_maskeninfohilfe" size="6" fieldName="hilfe"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Hinweistext"/></td><td align="left">
<div id="fld_hinweis">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="hinweis"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

158
superx/edit/kern/maskeninfo_style.jsp

@ -0,0 +1,158 @@ @@ -0,0 +1,158 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Masken und Stylesheets</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Masken und Stylesheets. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Masken zu XSL-Stylesheets zuordnen.</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="maskeninfo" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/maskeninfo_style.jsp" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="false">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0"><db:textField hidden="true" fieldName="tid" overrideValue="<%= tid%>"/>
<tr>
<td class="db_label">Name der Maske</td><td><db:label nullFieldValue="" fieldName="name" />
</td>
</tr>
<tr>
<td class="db_label">Stylesheets</td><td>
<table class="subform">
<db:dbform orderBy="ord" childField="maskeninfo_id" parentField="tid" tableName="sx_mask_style" maxRows="*" captionResource="true" followUp="/edit/kern/maskeninfo_style.jsp" autoUpdate="false" multipart="false" dbConnectionName="<%= mandantenid %>">
<db:header>
<tr class="subform_tr">
<th class="subform_th">Tid des Stylesheets</th><th class="subform_th">Sortiernummer</th>
</tr>
</db:header>
<db:body allowNew="true">
<tr class="subform_tr"><db:textField hidden="true" fieldName="maskeninfo_id" overrideValue="<%= tid%>"/>
<td align="left">
<div id="fld_stylesheet_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_mask_stylestylesheet_id" class="schluesselfeld" type="text">
<db:select id="inp_sx_mask_stylestylesheet_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="stylesheet_id" customEntry=",,true"><% sql = "select tid, filename from sx_stylesheets order by filename;"; %><db:queryData name="sx_mask_style_sx_stylesheets15" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td><td align="left">
<div id="fld_ord">
<db:textField styleClass="clsInputStyle" onBlur="" size="6" fieldName="ord"/>
</div>
<span style="display:none" connectId="fld_ord" dojoType="tooltip">Das Stylesheet mit der kleinsten Nummer wird zuerst
aufgerufen</span></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy3" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy3" flavor="image"/></td>
</tr>
</db:body>
<db:footer>
<tr class="subform_tr">
<td><td class="naviBtn"><span connectId="new3" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new3" flavor="image"/></td><td class="naviBtn"><span connectId="ins3" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins3" flavor="image"/></td></td>
</tr>
</db:footer>
</db:dbform>
</table>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

247
superx/edit/kern/organigramm_edit.jsp

@ -0,0 +1,247 @@ @@ -0,0 +1,247 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Organigramm verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Organigramm verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Institutionen verwalten.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="organigramm" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/organigramm_edit.jsp" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy4" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy4" flavor="image"/></td><td class="naviBtn"><span connectId="new4" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new4" flavor="image"/></td><td class="naviBtn"><span connectId="ins4" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins4" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="name" value="<%= name %>" />
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0"><%@ include file="/edit/kern/organigramm_tid.inc" %><tr>
<td class="db_label">
<db:message key="Schl&uuml;ssel"/></td><td align="left">
<div id="fld_key_apnr">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="10" size="40" id="inp_organigrammkey_apnr" fieldName="key_apnr"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="&Uuml;bergeordneter Knoten im Baum"/></td><td align="left">
<div id="fld_parent">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_organigrammparent" class="schluesselfeld" type="text">
<db:select id="inp_organigrammparent" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="parent" customEntry=",,true"><% sql = "select key_apnr::char(10), name from organigramm order by name;"; %><db:queryData name="organigramm_organigramm10" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Drucktext"/></td><td align="left">
<div id="fld_drucktext">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="50" size="200" id="inp_organigrammdrucktext" fieldName="drucktext"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="150" size="200" id="inp_organigrammname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Ebene im Baum"/></td><td align="left">
<div id="fld_ebene">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_organigrammebene" size="6" fieldName="ebene"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Lehre (1=ja)"/></td><td align="left">
<div id="fld_lehre">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_organigrammlehre" size="6" fieldName="lehre"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="G&uuml;ltig von"/></td><td align="left">
<div id="fld_gueltig_seit">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_seit" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="G&uuml;ltig bis"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Strukturmerkmal"/></td><td align="left">
<div id="fld_orgstruktur">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_organigrammorgstruktur" class="schluesselfeld" type="text">
<db:select id="inp_organigrammorgstruktur" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="orgstruktur" customEntry=",,true"><% sql = "select orgstruktur, description from menu_element_orgstructure order by description;"; %><db:queryData name="organigramm_menu_element_orgstructure11" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_orgstruktur" dojoType="tooltip">gem. COB-GX:30=Lehreinheit,20=Fakult&auml;t</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Langlebige ID"/></td><td align="left">
<div id="fld_lid">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_organigrammlid" fieldName="lid"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="&Uuml;bergeordnete langlebige ID"/></td><td align="left">
<div id="fld_parent_lid">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_organigrammparent_lid" fieldName="parent_lid"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Eindeutiger Name/Schl&uuml;ssel bei GX"/></td><td align="left">
<div id="fld_uniquename">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_organigrammuniquename" fieldName="uniquename"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">Quellsystem</td><td><db:label nullFieldValue="" fieldName="sourcesystem" />
</td>
</tr>
<tr>
<td class="db_label">ID im Quellsystem</td><td><db:label nullFieldValue="" fieldName="sourcesystem_id" />
</td>
</tr>
<tr>
<td class="db_label">BI-Komponente</td><td><db:label nullFieldValue="" fieldName="systeminfo_id" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut (1=verstecken)"/></td><td align="left">
<div id="fld_nodeattrib">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_organigrammnodeattrib" size="6" fieldName="nodeattrib"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

202
superx/edit/kern/organigramm_editnodeattrib.jsp

@ -0,0 +1,202 @@ @@ -0,0 +1,202 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Organigramm Sichtbarkeit verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Organigramm Sichtbarkeit verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie die Sichtbarkeit von Organisationseinheiten verwalten.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="organigramm" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/organigramm_editnodeattrib.jsp" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy5" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy5" flavor="image"/></td><td class="naviBtn"><span connectId="new5" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new5" flavor="image"/></td><td class="naviBtn"><span connectId="ins5" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins5" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="name" value="<%= name %>" />
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Tupelidentifier</td><td><db:label nullFieldValue="" fieldName="tid" />
</td>
</tr>
<tr>
<td class="db_label">Schl&uuml;ssel</td><td><db:label nullFieldValue="" fieldName="key_apnr" />
</td>
</tr>
<tr>
<td class="db_label">&Uuml;bergeordneter Knoten im Baum</td><td><db:label nullFieldValue="" fieldName="parent" />
</td>
</tr>
<tr>
<td class="db_label">Drucktext</td><td><db:label nullFieldValue="" fieldName="drucktext" />
</td>
</tr>
<tr>
<td class="db_label">Name</td><td><db:label nullFieldValue="" fieldName="name" />
</td>
</tr>
<tr>
<td class="db_label">Ebene im Baum</td><td><db:label nullFieldValue="" fieldName="ebene" />
</td>
</tr>
<tr>
<td class="db_label">Lehre (1=ja)</td><td><db:label nullFieldValue="" fieldName="lehre" />
</td>
</tr>
<tr>
<td class="db_label">G&uuml;ltig von</td><td><db:label nullFieldValue="" fieldName="gueltig_seit" />
</td>
</tr>
<tr>
<td class="db_label">G&uuml;ltig bis</td><td><db:label nullFieldValue="" fieldName="gueltig_bis" />
</td>
</tr>
<tr>
<td class="db_label">Strukturmerkmal</td><td><db:label nullFieldValue="" fieldName="orgstruktur" />
</td>
</tr>
<tr>
<td class="db_label">Langlebige ID</td><td><db:label nullFieldValue="" fieldName="lid" />
</td>
</tr>
<tr>
<td class="db_label">&Uuml;bergeordnete langlebige ID</td><td><db:label nullFieldValue="" fieldName="parent_lid" />
</td>
</tr>
<tr>
<td class="db_label">Eindeutiger Name/Schl&uuml;ssel bei GX</td><td><db:label nullFieldValue="" fieldName="uniquename" />
</td>
</tr>
<tr>
<td class="db_label">Quellsystem</td><td><db:label nullFieldValue="" fieldName="sourcesystem" />
</td>
</tr>
<tr>
<td class="db_label">ID im Quellsystem</td><td><db:label nullFieldValue="" fieldName="sourcesystem_id" />
</td>
</tr>
<tr>
<td class="db_label">BI-Komponente</td><td><db:label nullFieldValue="" fieldName="systeminfo_id" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut (1=verstecken)"/></td><td align="left">
<div id="fld_nodeattrib">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_organigrammnodeattrib" size="6" fieldName="nodeattrib"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

102
superx/edit/kern/organigramm_list.jsp

@ -0,0 +1,102 @@ @@ -0,0 +1,102 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Organigramm</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Organigramm. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie das Organigramm aufrufen</span>
</div><db:dbform tableName="organigramm" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/organigramm_list.jsp" orderBy="key_apnr"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Schl&uuml;ssel"/></th><th align="left">
<db:message key="Drucktext"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="false">
<tr>
<td></td><td><db:label nullFieldValue="" fieldName="key_apnr" />
</td><td><db:label nullFieldValue="" fieldName="drucktext" />
</td>
</tr>
</db:body>
<db:footer><tr></tr>
</table>
</db:footer></db:dbform></body>
</html>

194
superx/edit/kern/portlets_edit.jsp

@ -0,0 +1,194 @@ @@ -0,0 +1,194 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Portlets verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Portlets verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">
</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sx_portlet" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/portlets_edit.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy25" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy25" flavor="image"/></td><td class="naviBtn"><span connectId="new25" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new25" flavor="image"/></td><td class="naviBtn"><span connectId="ins25" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins25" flavor="image"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Feld ID</td><td><db:label nullFieldValue="" fieldName="tid" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name des Portlets"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portletname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Begr&uuml;&szlig;ungstext HTML, oder Wiki?"/></td><td align="left">
<div id="fld_type">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portlettype" fieldName="type"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="CSS-class f&uuml;r Portlets"/></td><td align="left">
<div id="fld_class">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portletclass" fieldName="class"/>
</div>
<span style="display:none" connectId="fld_class" dojoType="tooltip">"green" oder "red"</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Icon f&uuml;r Portlets"/></td><td align="left">
<div id="fld_icon">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portleticon" fieldName="icon"/>
</div>
<span style="display:none" connectId="fld_icon" dojoType="tooltip">z.B. "icon-user-plus" oder "icon-help-circled" </span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Inhalt"/></td><td align="left">
<div id="fld_content">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="content"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Reihenfolge."/></td><td align="left">
<div id="fld_sortnr_initial">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_portletsortnr_initial" size="6" fieldName="sortnr_initial"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sichtbar"/></td><td align="left">
<div id="fld_visible">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portletvisible" fieldName="visible"/>
</div>
<span style="display:none" connectId="fld_visible" dojoType="tooltip">false=wird nicht ausgegeben, all=auch nicht angemeldete Personen sehen das Portlet.</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Start der G&uuml;ltigkeit"/></td><td align="left">
<div id="fld_gueltig_von">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_von" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Ende der G&uuml;ltigkeit"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

129
superx/edit/kern/portlets_list.jsp

@ -0,0 +1,129 @@ @@ -0,0 +1,129 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Portlets</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Portlets. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Portlets bearbeiten.</span>
</div><db:dbform tableName="sx_portlet" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/portlets_list.jsp" orderBy="sortnr_initial"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Feld ID"/></th><th align="left">
<db:message key="Name des Portlets"/></th><th align="left">
<db:message key="Begr&uuml;&szlig;ungstext HTML, oder Wiki?"/></th><th align="left">
<db:message key="CSS-class f&uuml;r Portlets"/></th><th align="left">
<db:message key="Icon f&uuml;r Portlets"/></th><th align="left">
<db:message key="Sichtbar"/></th><th align="left">
<db:message key="Reihenfolge."/></th><th align="left">
<db:message key="Start der G&uuml;ltigkeit"/></th><th align="left">
<db:message key="Ende der G&uuml;ltigkeit"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td></td><td>
<db:label nullFieldValue="" styleClass="clsInputStyle" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="25" fieldName="name"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="6" fieldName="type"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="6" fieldName="class"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="6" fieldName="icon"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="6" fieldName="visible"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="sortnr_initial"/></td><td align="left">
<db:dateField styleClass="clsInputStyle" nullFieldValue=""
size="9" fieldName="gueltig_von"/>
</td><td align="left">
<db:dateField styleClass="clsInputStyle" nullFieldValue=""
size="9" fieldName="gueltig_bis"/>
</td><td><%
if(currentRow_sx_portlet != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/portlets_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/portlets_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new27" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new27" flavor="image"/></td><td class="naviBtn"><span connectId="ins27" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins27" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

122
superx/edit/kern/sachgeb_maske_bez_edit.jsp

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Masken und Sachgebiete</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Masken und Sachgebiete. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Masken zu Sachgebieten zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="sachgeb_maske_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sachgeb_maske_bez_edit.jsp" filter="<%= filter %>" orderBy="maskeninfo_id,sachgebiete_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Sachgebiete_id"/></th><th align="left">
<db:message key="Maskeninfo_id"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="maskeninfo_id" value="<%= maskeninfo_id %>" />
<input type="hidden" name="sachgebiete_id" value="<%= sachgebiete_id %>" />
</td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sachgeb_maske_bez_sachgebiete22" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="sachgeb_maske_bez_maskeninfo21" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new7" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new7" flavor="image"/></td><td class="naviBtn"><span connectId="ins7" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins7" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

105
superx/edit/kern/sachgeb_sichtarten_edit.jsp

@ -0,0 +1,105 @@ @@ -0,0 +1,105 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Zuordnung Sichtarten zu Sachgebieten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Zuordnung Sichtarten zu Sachgebieten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Sichtarten zu Sachgebieten zuordnen. </span>
</div><db:dbform tableName="sachgeb_sichtarten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sachgeb_sichtarten_edit.jsp" orderBy="sichtart"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Sachgebiete_id"/></th><th align="left">
<db:message key="Rechte f&uuml;r eine Art von Sichten geben"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td></td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sachgeb_sichtarten_sachgebiete56" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="30" fieldName="sichtart"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new21" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new21" flavor="image"/></td><td class="naviBtn"><span connectId="ins21" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins21" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

104
superx/edit/kern/sachgeb_sichten_edit.jsp

@ -0,0 +1,104 @@ @@ -0,0 +1,104 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Zuordnung Sichten zu Sachgebieten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Zuordnung Sichten zu Sachgebieten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Sichten zu Sachgebieten zuordnen. </span>
</div><db:dbform tableName="sachgeb_sichten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sachgeb_sichten_edit.jsp" orderBy="sicht_name_intern"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Sachgebiete_id"/></th><th align="left">
<db:message key="Rechte f&uuml;r eine einzelne Sicht geben"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td></td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sachgeb_sichten_sachgebiete54" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="sicht_name_intern" customEntry=",,true"><% sql = "select name_intern::char(200), tid || ' - ' || trim(name) || ' (' || trim(name_intern) || ')' from sichten order by tid || ' - ' || trim(name) || ' (' || trim(name_intern) || ')';"; %><db:queryData name="sachgeb_sichten_sichten55" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new20" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new20" flavor="image"/></td><td class="naviBtn"><span connectId="ins20" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins20" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

124
superx/edit/kern/sachgebiete_edit.jsp

@ -0,0 +1,124 @@ @@ -0,0 +1,124 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html xmlns:jsp="http://www.java.com/jsp" xmlns:db="http://www.wap-force.com/dbforms"><!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Sachgebiete verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Sachgebiete verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Sachgebiete verwalten.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="sachgebiete" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sachgebiete_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tid"/></th><th align="left">
<db:message key="Name"/></th><th align="left">
<db:message key="Rechtename in HIS1, das diesem Sachgebiet entspricht"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="name" value="<%= name %>" />
</td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="50" size="50" fieldName="name"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="rightname"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new1" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new1" flavor="image"/></td><td class="naviBtn"><span connectId="ins1" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins1" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

165
superx/edit/kern/sichtart_rechttabelle_edit.jsp

@ -0,0 +1,165 @@ @@ -0,0 +1,165 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Spezielle Sichtart-Rechte Einzelbarbeitung</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Spezielle Sichtart-Rechte Einzelbarbeitung. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Rechtetabellen f&uuml;r Sichtarten bearbeiten.</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sichtart_rechttabelle" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sichtart_rechttabelle_edit.jsp" filter="<%= filter %>" orderBy="art"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy26" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy26" flavor="image"/></td><td class="naviBtn"><span connectId="new26" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new26" flavor="image"/></td><td class="naviBtn"><span connectId="ins26" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins26" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Laufnummer</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Art"/></td><td align="left">
<div id="fld_art">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="40" size="40" id="inp_sichtart_rechttabelleart" fieldName="art"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Tabelle"/></td><td align="left">
<div id="fld_tabelle">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="40" size="40" id="inp_sichtart_rechttabelletabelle" fieldName="tabelle"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Feldname"/></td><td align="left">
<div id="fld_feldname">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="40" size="40" id="inp_sichtart_rechttabellefeldname" fieldName="feldname"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="SQL f&uuml;r zus&auml;tzliche berechtigte Schl&uuml;ssel"/></td><td align="left">
<div id="fld_additionalkeyssql">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="100" id="inp_sichtart_rechttabelleadditionalkeyssql" fieldName="additionalkeyssql"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Fallback zu user-Institution"/></td><td align="left">
<div id="fld_fallback_user_inst">
<db:checkbox checked="false" novalue="0" value="1" fieldName="fallback_user_inst"/>
</div>
<span style="display:none" connectId="fld_fallback_user_inst" dojoType="tooltip">Wenn der jew. User keine sichtartspez. Rechte hat, gibt es einen Fallback zur normalen user_institution (1=ja, 0=nein)</span></td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

113
superx/edit/kern/sichtart_rechttabelle_list.jsp

@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Spezielle Sichtart-Rechte</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Spezielle Sichtart-Rechte. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Rechtetabellen f&uuml;r Sichtarten bearbeiten.</span>
</div><db:dbform tableName="sichtart_rechttabelle" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sichtart_rechttabelle_list.jsp" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Laufnummer"/></th><th align="left">
<db:message key="Art"/></th><th align="left">
<db:message key="Fallback zu user-Institution"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td></td><td>
<db:label nullFieldValue="" styleClass="clsInputStyle" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="40" size="30" fieldName="art"/></td><td align="left">
<db:checkbox checked="false" novalue="0" value="1" fieldName="fallback_user_inst"/></td><td><%
if(currentRow_sichtart_rechttabelle != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/sichtart_rechttabelle_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sichtart_rechttabelle_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new28" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new28" flavor="image"/></td><td class="naviBtn"><span connectId="ins28" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins28" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

372
superx/edit/kern/sichten_edit.jsp

@ -0,0 +1,372 @@ @@ -0,0 +1,372 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Sichten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Sichten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Sichten auf das Organigramm verwalten.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="sichten" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sichten_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy10" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy10" flavor="image"/></td><td class="naviBtn"><span connectId="new10" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new10" flavor="image"/></td><td class="naviBtn"><span connectId="ins10" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins10" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="art" value="<%= art %>" />
<input type="hidden" name="name" value="<%= name %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="&Uuml;bergeordnete Sicht"/></td><td align="left">
<div id="fld_parent">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtenparent" fieldName="parent"/>
</div>
<span style="display:none" connectId="fld_parent" dojoType="tooltip">Um zuk&uuml;nftig evtl. Hierarchien von Sichten abzubilden
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Systeminfo"/></td><td align="left">
<div id="fld_systeminfoid">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sichtensysteminfoid" class="schluesselfeld" type="text">
<db:select id="inp_sichtensysteminfoid" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="systeminfoid" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="sichten_systeminfo43" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_systeminfoid" dojoType="tooltip">Querverweis zur Systeminfo</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Art"/></td><td align="left">
<div id="fld_art">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="40" size="40" id="inp_sichtenart" fieldName="art"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Type"/></td><td align="left">
<div id="fld_type">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtentype" size="6" fieldName="type"/>
</div>
<span style="display:none" connectId="fld_type" dojoType="tooltip">10 ist standardsicht, 20 ist alt.Hierarchie</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Interner Name"/></td><td align="left">
<div id="fld_name_intern">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="40" id="inp_sichtenname_intern" fieldName="name_intern"/>
</div>
<span style="display:none" connectId="fld_name_intern" dojoType="tooltip">Es kann eine Kurzbeschreibung f&uuml;r interne Zwecke
hinterlegt werden</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="40" id="inp_sichtenname" fieldName="name"/>
</div>
<span style="display:none" connectId="fld_name" dojoType="tooltip">Bezeichnung der Sicht, die f&uuml;r User angezeigt wird
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Beschreibung"/></td><td align="left">
<div id="fld_beschreibung">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtenbeschreibung" fieldName="beschreibung"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sortiernummer"/></td><td align="left">
<div id="fld_sortnr">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtensortnr" size="6" fieldName="sortnr"/>
</div>
<span style="display:none" connectId="fld_sortnr" dojoType="tooltip">kann f&uuml;r Sortierungen benutzt werden</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Quelle"/></td><td align="left">
<div id="fld_quelle">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtenquelle" fieldName="quelle"/>
</div>
<span style="display:none" connectId="fld_quelle" dojoType="tooltip">Angabe einer Tabelle mit
key,parent,name,gueltig_seit,gueltig_bis oder Prozedur, die mit
sp_ anf&auml;ngt</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Alt_hier_id"/></td><td align="left">
<div id="fld_alt_hier_id">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="150" size="40" id="inp_sichtenalt_hier_id" fieldName="alt_hier_id"/>
</div>
<span style="display:none" connectId="fld_alt_hier_id" dojoType="tooltip">id der alt.Hier in angegebenen Quelltabelle null bei
regul&auml;rer Hierarchie</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Treecfgtable"/></td><td align="left">
<div id="fld_treecfgtable">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtentreecfgtable" fieldName="treecfgtable"/>
</div>
<span style="display:none" connectId="fld_treecfgtable" dojoType="tooltip">Tabelle mit Infos zu TreeView aus Cob</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Treecfgid"/></td><td align="left">
<div id="fld_treecfgid">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="150" size="40" id="inp_sichtentreecfgid" fieldName="treecfgid"/>
</div>
<span style="display:none" connectId="fld_treecfgid" dojoType="tooltip">id des benutzen trees aus Cob-Tabelle trees null bei
regul&auml;rer Hierachie</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Label"/></td><td align="left">
<div id="fld_label">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenlabel" size="6" fieldName="label"/>
</div>
<span style="display:none" connectId="fld_label" dojoType="tooltip">haupts&auml;chl. f&uuml;r alte Organigramm-Sichten, hie&szlig; mal lehre
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="User_rechte"/></td><td align="left">
<div id="fld_user_rechte">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenuser_rechte" size="6" fieldName="user_rechte"/>
</div>
<span style="display:none" connectId="fld_user_rechte" dojoType="tooltip">sollen User Rechte ber&uuml;cksichtigt werden, derzeit von
Org.Sichten ausgewertet</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Rechtequelle"/></td><td align="left">
<div id="fld_rechtequelle">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtenrechtequelle" fieldName="rechtequelle"/>
</div>
<span style="display:none" connectId="fld_rechtequelle" dojoType="tooltip">zuk&uuml;nftig f&uuml;r erweiterte Rechtevergabe</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sesamkey"/></td><td align="left">
<div id="fld_sesamkey">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="100" size="40" id="inp_sichtensesamkey" fieldName="sesamkey"/>
</div>
<span style="display:none" connectId="fld_sesamkey" dojoType="tooltip">zuk&uuml;nftig f&uuml;r erweiterte Rechtevergabe</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Standbutton"/></td><td align="left">
<div id="fld_standbutton">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenstandbutton" size="6" fieldName="standbutton"/>
</div>
<span style="display:none" connectId="fld_standbutton" dojoType="tooltip">soll der Stand ge&auml;ndert werden k&ouml;nnen</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut1"/></td><td align="left">
<div id="fld_attribut1">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtenattribut1" fieldName="attribut1"/>
</div>
<span style="display:none" connectId="fld_attribut1" dojoType="tooltip">bei Bedarf noch Attribute der Sicht hinterlegt werden, auf
die man bei Bedarf Einschr&auml;nkungen fahren kann</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut2"/></td><td align="left">
<div id="fld_attribut2">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtenattribut2" fieldName="attribut2"/>
</div>
<span style="display:none" connectId="fld_attribut2" dojoType="tooltip">bei Bedarf noch Attribute der Sicht hinterlegt werden, auf
die man bei Bedarf Einschr&auml;nkungen fahren kann</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut3"/></td><td align="left">
<div id="fld_attribut3">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenattribut3" size="6" fieldName="attribut3"/>
</div>
<span style="display:none" connectId="fld_attribut3" dojoType="tooltip">bei Bedarf noch Attribute der Sicht hinterlegt werden, auf
die man bei Bedarf Einschr&auml;nkungen fahren kann</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Attribut4"/></td><td align="left">
<div id="fld_attribut4">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenattribut4" size="6" fieldName="attribut4"/>
</div>
<span style="display:none" connectId="fld_attribut4" dojoType="tooltip">bei Bedarf noch Attribute der Sicht hinterlegt werden, auf
die man bei Bedarf Einschr&auml;nkungen fahren kann</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Max. Zeilen XML"/></td><td align="left">
<div id="fld_xmlmaxentries">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenxmlmaxentries" size="6" fieldName="xmlmaxentries"/>
</div>
<span style="display:none" connectId="fld_xmlmaxentries" dojoType="tooltip">Max. Zeilen im Klappmen&uuml;</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Gueltig_seit"/></td><td align="left">
<div id="fld_gueltig_seit">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_seit" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Gueltig_bis"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Cacheapplet"/></td><td align="left">
<div id="fld_cacheapplet">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtencacheapplet" fieldName="cacheapplet"/>
</div>
<span style="display:none" connectId="fld_cacheapplet" dojoType="tooltip">soll Sicht im Applet gecachet werden</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Cachexml"/></td><td align="left">
<div id="fld_cachexml">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sichtencachexml" fieldName="cachexml"/>
</div>
<span style="display:none" connectId="fld_cachexml" dojoType="tooltip">soll Sicht im XML-Frontend gecachet werden</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Aktiv"/></td><td align="left">
<div id="fld_aktiv">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sichtenaktiv" size="6" fieldName="aktiv"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

142
superx/edit/kern/stylesheet_field_edit.jsp

@ -0,0 +1,142 @@ @@ -0,0 +1,142 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Stylesheets und zugeh&ouml;rige Felder</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Stylesheets und zugeh&ouml;rige Felder. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie von Stylesheets ben&ouml;tigte Felder entsprechend zuordnen.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="stylesheet_field" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/stylesheet_field_edit.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy21" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy21" flavor="image"/></td><td class="naviBtn"><span connectId="new21" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new21" flavor="image"/></td><td class="naviBtn"><span connectId="ins21" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins21" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
<input type="hidden" name="stylesheet_id" value="<%= stylesheet_id %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Stylesheet"/></td><td align="left">
<div id="fld_stylesheet_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_stylesheet_fieldstylesheet_id" class="schluesselfeld" type="text">
<db:select id="inp_stylesheet_fieldstylesheet_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="stylesheet_id" customEntry=",,true"><% sql = "select tid, trim(caption) || ' (' || trim(filename) || ')' from sx_stylesheets where sx_stylesheets.relation = \'table\' order by trim(caption) || ' (' || trim(filename) || ')';"; %><db:queryData name="stylesheet_field_sx_stylesheets71" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr><%@ include file="/edit/kern/stylesheet_field_edit_tablename.inc" %><%@ include file="/edit/kern/stylesheet_field_edit_fieldname.inc" %></table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

121
superx/edit/kern/stylesheet_field_list.jsp

@ -0,0 +1,121 @@ @@ -0,0 +1,121 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Stylesheets und zugeh&ouml;rige Felder</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Stylesheets und zugeh&ouml;rige Felder. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie von Stylesheets ben&ouml;tigte Felder entsprechend zuordnen.</span>
</div>
<%
String stylesheet_id = request.getParameter("stylesheet_id");
if(stylesheet_id != null && !stylesheet_id.equals("null")){
filter +="stylesheet_id="+stylesheet_id;
}
%>
<db:dbform tableName="stylesheet_field" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/stylesheet_field_list.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tid"/></th><th align="left">
<db:message key="Stylesheet"/></th><th align="left">
<db:message key="Tabellenname"/></th><th align="left">
<db:message key="Feldname"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="false">
<tr>
<td>
<input type="hidden" name="stylesheet_id" value="<%= stylesheet_id %>" />
</td><td>
<db:label nullFieldValue="" styleClass="clsInputStyle" fieldName="tid"/></td><td align="left"> <db:select fieldName="stylesheet_id" customEntry=",,true"><% sql = "select tid, trim(caption) || ' (' || trim(filename) || ')' from sx_stylesheets where sx_stylesheets.relation = \'table\' order by trim(caption) || ' (' || trim(filename) || ')';"; %><db:queryData name="stylesheet_field_sx_stylesheets71" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td><db:label nullFieldValue="" fieldName="tablename" />
</td><td><db:label nullFieldValue="" fieldName="fieldname" />
</td><td><%
if(currentRow_stylesheet_field != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/stylesheet_field_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/stylesheet_field_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr></tr>
</table>
</db:footer></db:dbform></body>
</html>

208
superx/edit/kern/sx_captions_edit.jsp

@ -0,0 +1,208 @@ @@ -0,0 +1,208 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Beschriftungen</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Beschriftungen. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Beschriftungen bearbeiten. F&uuml;r Masken- und Spalten- und Felderl&auml;uterungen.</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sx_captions" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_captions_edit.jsp" filter="<%= filter %>" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy14" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy14" flavor="image"/></td><td class="naviBtn"><span connectId="new14" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new14" flavor="image"/></td><td class="naviBtn"><span connectId="ins14" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins14" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Id"/></td><td align="left">
<div id="fld_id">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="50" id="inp_sx_captionsid" fieldName="id"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Tabellenname"/></td><td align="left">
<div id="fld_table_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="25" id="inp_sx_captionstable_name" fieldName="table_name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Feldname"/></td><td align="left">
<div id="fld_field_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="25" id="inp_sx_captionsfield_name" fieldName="field_name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Datensatz-Nr."/></td><td align="left">
<div id="fld_record_no">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_captionsrecord_no" size="6" fieldName="record_no"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sprache"/></td><td align="left">
<div id="fld_locale">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_captionslocale" class="schluesselfeld" type="text">
<db:select id="inp_sx_captionslocale" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="locale" customEntry=",,true"><% sql = "select element_value::char(10)::char(10), description from menu_element where menu_element.element = \'locale\' order by description;"; %><db:queryData name="sx_captions_menu_element52" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Beschriftung (kurz)"/></td><td align="left">
<div id="fld_contents_short">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="70" id="inp_sx_captionscontents_short" fieldName="contents_short"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Beschriftung (lang)"/></td><td align="left">
<div id="fld_contents_long">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="contents_long"/>
</div>
<span style="display:none" connectId="fld_contents_long" dojoType="tooltip">Bei Maskenfeldern wird dieses Feld f&uuml;r Tooltips genutzt.
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sachgebiet"/></td><td align="left">
<div id="fld_sachgebiete_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_captionssachgebiete_id" class="schluesselfeld" type="text">
<db:select id="inp_sx_captionssachgebiete_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sx_captions_sachgebiete51" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Link zur Dokumentation"/></td><td align="left">
<div id="fld_doku_link">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="70" id="inp_sx_captionsdoku_link" fieldName="doku_link"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Export des Eintrags in das Glossar (J=1, N=0)"/></td><td align="left">
<div id="fld_export_to_glossar">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_captionsexport_to_glossar" size="6" fieldName="export_to_glossar"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

211
superx/edit/kern/sx_downloads_edit.jsp

@ -0,0 +1,211 @@ @@ -0,0 +1,211 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Downloads</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Downloads. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Downloads bearbeiten. </span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sx_downloads" maxRows="1" autoUpdate="false" captionResource="true" multipart="true" followUp="/edit/kern/sx_downloads_edit.jsp" filter="<%= filter %>" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy16" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy16" flavor="image"/></td><td class="naviBtn"><span connectId="new16" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new16" flavor="image"/></td><td class="naviBtn"><span connectId="ins16" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins16" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_downloadsname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Zugeh&ouml;rige Kostenstelle"/></td><td align="left">
<div id="fld_ch110_institut">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_downloadsch110_institut" class="schluesselfeld" type="text">
<db:select id="inp_sx_downloadsch110_institut" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="ch110_institut" customEntry=",,true"><% sql = "select key_apnr::char(10), name from organigramm order by name;"; %><db:queryData name="sx_downloads_organigramm58" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Bezugsdatum"/></td><td align="left">
<div id="fld_bezugsdatum">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="bezugsdatum" onBlur="" useJsCalendar="true"/>
</div>
<span style="display:none" connectId="fld_bezugsdatum" dojoType="tooltip">Worauf bezieht sich der Download (f&uuml;r Ermittlung
Bezugsjahr,- Monat oder Sem.)</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Importdatum"/></td><td align="left">
<div id="fld_importdatum">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="importdatum" onBlur="" useJsCalendar="true"/>
</div>
<span style="display:none" connectId="fld_importdatum" dojoType="tooltip">Datum des Imports in die SuperX-Datenbank</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Kommentar"/></td><td align="left">
<div id="fld_kommentar">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="kommentar"/>
</div>
<span style="display:none" connectId="fld_kommentar" dojoType="tooltip">Kommentar f&uuml;r Website (Datenlegende o.&auml;.).</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Hyperlink zu Kommentar-Site"/></td><td align="left">
<div id="fld_kommentar_url">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_downloadskommentar_url" fieldName="kommentar_url"/>
</div>
<span style="display:none" connectId="fld_kommentar_url" dojoType="tooltip">Verweis auf umfangreichere Anleitungen und Kommentare,
beginnend mit http:// oder relativ zu
http://superx-server:Port/superx/servlet</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="MimeType"/></td><td align="left">
<div id="fld_contenttype">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_downloadscontenttype" fieldName="contenttype"/>
</div>
<span style="display:none" connectId="fld_contenttype" dojoType="tooltip">Mime-Type der Datei (f&uuml;r pdf z.B. application/pdf, html
etc).</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Datei "/></td><td align="left">
<div id="fld_datei">
<db:file styleClass="clsInputStyle" fieldName="datei"/>
</div>
<span style="display:none" connectId="fld_datei" dojoType="tooltip">Pfad zur Datei (relativ zu webapps/superx/WEB-INF/)
</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="G&uuml;ltig von"/></td><td align="left">
<div id="fld_gueltig_seit">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_seit" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="G&uuml;ltig bis"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

194
superx/edit/kern/sx_jobs_edit.jsp

@ -0,0 +1,194 @@ @@ -0,0 +1,194 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Ladejobs verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Ladejobs verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Ladejobs verwalten</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sx_jobs" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_jobs_edit.jsp" filter="<%= filter %>" orderBy="caption"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy27" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy27" flavor="image"/></td><td class="naviBtn"><span connectId="new27" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new27" flavor="image"/></td><td class="naviBtn"><span connectId="ins27" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins27" flavor="image"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Unique Name"/></td><td align="left">
<div id="fld_uniquename">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="100" id="inp_sx_jobsuniquename" fieldName="uniquename"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Bezeichnung"/></td><td align="left">
<div id="fld_caption">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="100" id="inp_sx_jobscaption" fieldName="caption"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Pfad zur Datei"/></td><td align="left">
<div id="fld_filepath">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="100" id="inp_sx_jobsfilepath" fieldName="filepath"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sachgebiet"/></td><td align="left">
<div id="fld_sachgebiete_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_jobssachgebiete_id" class="schluesselfeld" type="text">
<db:select id="inp_sx_jobssachgebiete_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sx_jobs_sachgebiete78" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Optional: Hochschulnummer"/></td><td align="left">
<div id="fld_hs_nr">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_jobshs_nr" size="6" fieldName="hs_nr"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Optional: Kenn-Profil"/></td><td align="left">
<div id="fld_kenn_profil">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_jobskenn_profil" size="6" fieldName="kenn_profil"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Modus unterst&uuml;tzt?"/></td><td align="left">
<div id="fld_modus_supported">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_jobsmodus_supported" size="6" fieldName="modus_supported"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="optionale Parameter"/></td><td align="left">
<div id="fld_params">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="255" id="inp_sx_jobsparams" fieldName="params"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="optionaler Pr&uuml;f-SQL"/></td><td align="left">
<div id="fld_check_sql">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="check_sql"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

114
superx/edit/kern/sx_jobs_list.jsp

@ -0,0 +1,114 @@ @@ -0,0 +1,114 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Ladejobs verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Ladejobs verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Ladejobs verwalten</span>
</div><db:dbform tableName="sx_jobs" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_jobs_list.jsp" orderBy="caption"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="tid"/></th><th align="left">
<db:message key="Unique Name"/></th><th align="left">
<db:message key="Bezeichnung"/></th><th align="left">
<db:message key="Pfad zur Datei"/></th><th align="left">
<db:message key="Sachgebiet"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="false">
<tr>
<td></td><td>
<db:label nullFieldValue="" styleClass="clsInputStyle" fieldName="tid"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="uniquename"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="caption"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="filepath"/></td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sx_jobs_sachgebiete78" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td><%
if(currentRow_sx_jobs != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/sx_jobs_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sx_jobs_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr></tr>
</table>
</db:footer></db:dbform></body>
</html>

132
superx/edit/kern/sx_keywords_edit.jsp

@ -0,0 +1,132 @@ @@ -0,0 +1,132 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Stichworte</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Stichworte. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Stichworte bearbeiten. </span>
</div><db:dbform tableName="sx_keywords" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_keywords_edit.jsp" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy17" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy17" flavor="image"/></td><td class="naviBtn"><span connectId="new17" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new17" flavor="image"/></td><td class="naviBtn"><span connectId="ins17" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins17" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p></p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Tupelidentifier</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Stichwort"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_keywordsname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="&Uuml;bergeordnetes Stichwort"/></td><td align="left">
<div id="fld_parent">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_keywordsparent" size="6" fieldName="parent"/>
</div>
<span style="display:none" connectId="fld_parent" dojoType="tooltip">Wird derzeit noch nicht ausgewertet.</span></td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

233
superx/edit/kern/sx_repository_edit.jsp

@ -0,0 +1,233 @@ @@ -0,0 +1,233 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Hochschul-Repository</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Hochschul-Repository. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie hochschulspezifische Konstanten oder SQL-Ausdr&uuml;cke bearbeiten.</span>
<% String href="";
%>Nach &Auml;nderungen sollten Sie den Cache aktualisieren<br>
<%
href=response.encodeURL("../../servlet/SuperXManager");
out.println("<a target='_blank' href=\""+href + "\">SuperX-Manager</a>");
%></div>
<%
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;
}
%>
<db:dbform tableName="sx_repository" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_repository_edit.jsp" filter="<%= filter %>" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy15" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy15" flavor="image"/></td><td class="naviBtn"><span connectId="new15" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new15" flavor="image"/></td><td class="naviBtn"><span connectId="ins15" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins15" flavor="image"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
<input type="hidden" name="sachgebiete_id" value="<%= sachgebiete_id %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Variablenname"/></td><td align="left">
<div id="fld_id">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="30" id="inp_sx_repositoryid" fieldName="id"/>
</div>
<span style="display:none" connectId="fld_id" dojoType="tooltip">Der Variablenname wird in Freemarker-Scripten, beginnend
mit Modulname-_..., z.B. SVA_Technisches_Personal</span></td>
</tr><%@ include file="/edit/kern/sx_repository_edit_content.inc" %><tr>
<td class="db_label">
<db:message key="Beschriftung (kurz)"/></td><td align="left">
<div id="fld_caption">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="30" id="inp_sx_repositorycaption" fieldName="caption"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Kommentar/Anleitung"/></td><td align="left">
<div id="fld_comment">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="comment"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Art der Variable"/></td><td align="left">
<div id="fld_art">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="30" id="inp_sx_repositoryart" fieldName="art"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Art der Variable (2)"/></td><td align="left">
<div id="fld_art2">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="30" id="inp_sx_repositoryart2" fieldName="art2"/>
</div>
<span style="display:none" connectId="fld_art2" dojoType="tooltip">(F&uuml;r weitere Gruppierungsebenen)</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sachgebiet"/></td><td align="left">
<div id="fld_sachgebiete_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_repositorysachgebiete_id" class="schluesselfeld" type="text">
<db:select id="inp_sx_repositorysachgebiete_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="sx_repository_sachgebiete57" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sortierschl&uuml;ssel 1"/></td><td align="left">
<div id="fld_sort1">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_repositorysort1" size="6" fieldName="sort1"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sortierschl&uuml;ssel 2"/></td><td align="left">
<div id="fld_sort2">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_repositorysort2" size="6" fieldName="sort2"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sortierschl&uuml;ssel 3"/></td><td align="left">
<div id="fld_sort3">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_repositorysort3" size="6" fieldName="sort3"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Aktiv (1,0)"/></td><td align="left">
<div id="fld_aktiv">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_repositoryaktiv" size="6" fieldName="aktiv"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="G&uuml;ltig von"/></td><td align="left">
<div id="fld_gueltig_seit">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_seit" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="G&uuml;ltig bis"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

122
superx/edit/kern/sx_repository_list.jsp

@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Hochschul-Repository</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Hochschul-Repository. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie hochschulspezifische Konstanten oder SQL-Ausdr&uuml;cke bearbeiten.</span>
</div>
<%
String sachgebiete_id = request.getParameter("sachgebiete_id");
if(sachgebiete_id != null && !sachgebiete_id.equals("null")){
filter +="sachgebiete_id="+sachgebiete_id;
}
%>
<db:dbform tableName="sx_repository" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_repository_list.jsp" filter="<%= filter %>" orderBy="id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tid"/></th><th align="left">
<db:message key="Variablenname"/></th><th align="left">
<db:message key="Beschriftung (kurz)"/></th><th align="left">
<db:message key="Art der Variable"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="false">
<tr>
<td>
<input type="hidden" name="sachgebiete_id" value="<%= sachgebiete_id %>" />
</td><td>
<db:label nullFieldValue="" styleClass="clsInputStyle" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="200" size="30" fieldName="id"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="200" size="30" fieldName="caption"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="200" size="30" fieldName="art"/></td><td><%
if(currentRow_sx_repository != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/sx_repository_edit.jsp") %>?sachgebiete_id=<%= sachgebiete_id %>&tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sx_repository_edit.jsp") %>?sachgebiete_id=<%= sachgebiete_id %>&tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr></tr>
</table>
</db:footer></db:dbform></body>
</html>

162
superx/edit/kern/sx_stylesheet_param_edit.jsp

@ -0,0 +1,162 @@ @@ -0,0 +1,162 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Stylesheet-Parameter</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Stylesheet-Parameter. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Stylesheet-Parameter bearbeiten.</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sx_stylesheet_param" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_stylesheet_param_edit.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy28" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy28" flavor="image"/></td><td class="naviBtn"><span connectId="new28" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new28" flavor="image"/></td><td class="naviBtn"><span connectId="ins28" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins28" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Laufnummer</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Tid des Stylesheets"/></td><td align="left">
<div id="fld_stylesheet_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_stylesheet_paramstylesheet_id" class="schluesselfeld" type="text">
<db:select id="inp_sx_stylesheet_paramstylesheet_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="stylesheet_id" customEntry=",,true"><% sql = "select tid, filename from sx_stylesheets order by filename;"; %><db:queryData name="sx_stylesheet_param_sx_stylesheets16" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name des Paramaters"/></td><td align="left">
<div id="fld_param_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="3" id="inp_sx_stylesheet_paramparam_name" fieldName="param_name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Default-Wert der Variable"/></td><td align="left">
<div id="fld_default_val">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="3" id="inp_sx_stylesheet_paramdefault_val" fieldName="default_val"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Beschreibung der Variable"/></td><td align="left">
<div id="fld_description">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="3" id="inp_sx_stylesheet_paramdescription" fieldName="description"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Wertebereich"/></td><td align="left">
<div id="fld_wertebereich">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="3" id="inp_sx_stylesheet_paramwertebereich" fieldName="wertebereich"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

121
superx/edit/kern/sx_stylesheet_param_list.jsp

@ -0,0 +1,121 @@ @@ -0,0 +1,121 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Stylesheet-Parameter</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Stylesheet-Parameter. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Stylesheet-Parameter bearbeiten.</span>
</div>
<%
String stylesheet_id = request.getParameter("stylesheet_id");
if(stylesheet_id != null && !stylesheet_id.equals("null")){
filter +="stylesheet_id="+stylesheet_id;
}
%>
<db:dbform tableName="sx_stylesheet_param" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_stylesheet_param_list.jsp" filter="<%= filter %>" orderBy="param_name"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tid des Stylesheets"/></th><th align="left">
<db:message key="Name des Paramaters"/></th><th align="left">
<db:message key="Beschreibung der Variable"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="stylesheet_id" value="<%= stylesheet_id %>" />
</td><td align="left"> <db:select fieldName="stylesheet_id" customEntry=",,true"><% sql = "select tid, filename from sx_stylesheets order by filename;"; %><db:queryData name="sx_stylesheet_param_sx_stylesheets16" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="3" fieldName="param_name"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="3" fieldName="description"/></td><td><%
if(currentRow_sx_stylesheet_param != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/sx_stylesheet_param_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/sx_stylesheet_param_edit.jsp") %>?tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new31" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new31" flavor="image"/></td><td class="naviBtn"><span connectId="ins31" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins31" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

219
superx/edit/kern/sx_stylesheets_edit.jsp

@ -0,0 +1,219 @@ @@ -0,0 +1,219 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Stylesheets verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Stylesheets verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie XSL-Stylesheets verwalten.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="sx_stylesheets" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/sx_stylesheets_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="filename"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy3" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy3" flavor="image"/></td><td class="naviBtn"><span connectId="new3" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new3" flavor="image"/></td><td class="naviBtn"><span connectId="ins3" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins3" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="filename" value="<%= filename %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">
<db:message key="Dateiname"/></td><td align="left">
<div id="fld_filename">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="50" id="inp_sx_stylesheetsfilename" fieldName="filename"/>
</div>
<span style="display:none" connectId="fld_filename" dojoType="tooltip">Pfad und Dateiname. F&uuml;r XSL-Stylesheets relativ zum
Verzeichnis: webapps/superx/xml, f&uuml;r JasperReports-Templates
relativ zu webapps/superx/WEB-INF/reports</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Beschriftung"/></td><td align="left">
<div id="fld_caption">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="50" id="inp_sx_stylesheetscaption" fieldName="caption"/>
</div>
<span style="display:none" connectId="fld_caption" dojoType="tooltip">wird f&uuml;r Hyperlinks benutzt</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Beschreibung"/></td><td align="left">
<div id="fld_description">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="80" id="inp_sx_stylesheetsdescription" fieldName="description"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Tabelle oder Maske"/></td><td align="left">
<div id="fld_relation">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_stylesheetsrelation" class="schluesselfeld" type="text">
<db:select id="inp_sx_stylesheetsrelation" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="relation" customEntry=",,true"><% sql = "select element_value::char(10)::char(10), description from menu_element where menu_element.element = \'stylesheet-relation\' order by description;"; %><db:queryData name="sx_stylesheets_menu_element40" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_relation" dojoType="tooltip">Gilt das Stylesheet f&uuml;r eine Maske oder eine Tabelle. Bei
JasperReports-Templates m&uuml;ssen Sie immer Tabelle w&auml;hlen.</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Dateityp"/></td><td align="left">
<div id="fld_contenttype">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_stylesheetscontenttype" class="schluesselfeld" type="text">
<db:select id="inp_sx_stylesheetscontenttype" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="contenttype" customEntry=",,true"><% sql = "select element_value::char(200), description from menu_element where menu_element.element = \'contenttype\' order by description;"; %><db:queryData name="sx_stylesheets_menu_element18" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_contenttype" dojoType="tooltip">z.B.: text/html; charset=ISO-8859-1. Bei XSL Stylesheets
ist dies das Ausgabeformat, bei JasperReports Templates ist dies
das default Ausgabeformat</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Generisches Stylesheet"/></td><td align="left">
<div id="fld_is_generic">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_stylesheetsis_generic" size="6" fieldName="is_generic"/>
</div>
<span style="display:none" connectId="fld_is_generic" dojoType="tooltip">Wird nur f&uuml;r Ergebnistabellen ausgewertet, nicht f&uuml;r Masken-Stylesheets. Wenn 1, dann ist das Stylesheet f&uuml;r alle Ergebnistabellen nutzbar</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Art des Stylesheets"/></td><td align="left">
<div id="fld_stylesheet_type">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_stylesheetsstylesheet_type" class="schluesselfeld" type="text">
<db:select id="inp_sx_stylesheetsstylesheet_type" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="stylesheet_type" customEntry=",,true"><% sql = "select element_value::char(10), description from menu_element where menu_element.element = \'stylesheet_type\' order by description;"; %><db:queryData name="sx_stylesheets_menu_element17" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_stylesheet_type" dojoType="tooltip">XSL,JRXML,XSL_JRXML,XSL_FO,XML,NATIVE,XLSX</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Nutzung der Ergebnisdaten"/></td><td align="left">
<div id="fld_usage_resultset_data">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_stylesheetsusage_resultset_data" class="schluesselfeld" type="text">
<db:select id="inp_sx_stylesheetsusage_resultset_data" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="usage_resultset_data" customEntry=",,true"><% sql = "select element_value::char(10), description from menu_element where menu_element.element = \'usage_resultset_data\' order by description;"; %><db:queryData name="sx_stylesheets_menu_element19" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_usage_resultset_data" dojoType="tooltip">Welche Ergebniszeilen soll das Stylesheet verarbeiten. S=Nur Schema, T=Aktuelle Baumstruktur,A=Alle Daten</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Datenquelle (JR)"/></td><td align="left">
<div id="fld_jr_datasource">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_sx_stylesheetsjr_datasource" class="schluesselfeld" type="text">
<db:select id="inp_sx_stylesheetsjr_datasource" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="jr_datasource" customEntry=",,true"><% sql = "select element_value::char(10), description from menu_element where menu_element.element = \'jr_datasource\' order by description;"; %><db:queryData name="sx_stylesheets_menu_element20" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_jr_datasource" dojoType="tooltip">Wird nur bei JR ausgewertet. M&ouml;gliche Werte: RS,XMLSOURCE</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Icon in der Symbolleiste"/></td><td align="left">
<div id="fld_toolbar_icon_filepath">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="50" id="inp_sx_stylesheetstoolbar_icon_filepath" fieldName="toolbar_icon_filepath"/>
</div>
<span style="display:none" connectId="fld_toolbar_icon_filepath" dojoType="tooltip">Pfad relativ zu webapps/superx</span></td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

127
superx/edit/kern/systeminfo_edit.jsp

@ -0,0 +1,127 @@ @@ -0,0 +1,127 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Systeminfo verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Systeminfo verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Quellsysteme verwalten.</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="systeminfo" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/systeminfo_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tid"/></th><th align="left">
<db:message key="Name"/></th><th align="left">
<db:message key="Datum"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="name" value="<%= name %>" />
</td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="50" size="50" fieldName="name"/></td><td align="left">
<db:dateField styleClass="clsInputStyle" nullFieldValue=""
size="9" fieldName="datum"/>
</td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new2" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new2" flavor="image"/></td><td class="naviBtn"><span connectId="ins2" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins2" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

208
superx/edit/kern/themenbaum_edit.jsp

@ -0,0 +1,208 @@ @@ -0,0 +1,208 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Themenbaum</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Themenbaum. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei &Auml;nderungen muss der Themenbaum neu geladen werden (SuperXManager)</span>
</div><%
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+"'";
}
%>
<db:dbform tableName="themenbaum" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/themenbaum_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy8" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy8" flavor="image"/></td><td class="naviBtn"><span connectId="new8" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new8" flavor="image"/></td><td class="naviBtn"><span connectId="ins8" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins8" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="maskeninfo_id" value="<%= maskeninfo_id %>" />
<input type="hidden" name="name" value="<%= name %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Tid</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="25" id="inp_themenbaumname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Maske"/></td><td align="left">
<div id="fld_maskeninfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_themenbaummaskeninfo_id" class="schluesselfeld" type="text">
<db:select id="inp_themenbaummaskeninfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, sp_trunc_string((tid || '-' || name),60) from maskeninfo order by sp_trunc_string((tid || '-' || name),60);"; %><db:queryData name="themenbaum_maskeninfo12" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="&Uuml;bergeordnet"/></td><td align="left">
<div id="fld_parent">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_themenbaumparent" class="schluesselfeld" type="text">
<db:select id="inp_themenbaumparent" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="parent" customEntry=",,true"><% sql = "select tid, sp_trunc_string(name,50) from themenbaum order by sp_trunc_string(name,50);"; %><db:queryData name="themenbaum_themenbaum13" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Erlaeuterung"/></td><td align="left">
<div id="fld_erlaeuterung">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="240" size="50" id="inp_themenbaumerlaeuterung" fieldName="erlaeuterung"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sortiernummer"/></td><td align="left">
<div id="fld_sort">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_themenbaumsort" size="6" fieldName="sort"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="g&uuml;ltig von"/></td><td align="left">
<div id="fld_gueltig_seit">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_seit" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="g&uuml;ltig bis"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="HTML CSS class"/></td><td align="left">
<div id="fld_css_class">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="15" id="inp_themenbaumcss_class" fieldName="css_class"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

183
superx/edit/kern/trans_inst_edit.jsp

@ -0,0 +1,183 @@ @@ -0,0 +1,183 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Kostenstellen transformieren (Details)</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Kostenstellen transformieren (Details). </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Kostenstellen umschl&uuml;sseln.</span>
</div><%
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;
}
%>
<db:dbform tableName="trans_inst" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/trans_inst_edit.jsp" gotoHt="<%= gotoMyHash %>" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:navFirstButton styleClass="clsButtonStyle" caption="button.nav.first" alt="button.nav.first" src="../../images/resultset_first.svg" flavor="image" id="db_navFirstButton"/></td><td class="naviBtn">
<db:navPrevButton styleClass="clsButtonStyle" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn">
<db:navNextButton styleClass="clsButtonStyle" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn">
<db:navLastButton styleClass="clsButtonStyle" alt="button.nav.last" src="../../images/resultset_last.svg" flavor="image" id="db_navLastButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy19" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy19" flavor="image"/></td><td class="naviBtn"><span connectId="new19" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new19" flavor="image"/></td><td class="naviBtn"><span connectId="ins19" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins19" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="systeminfo_id" value="<%= systeminfo_id %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Tupelidentifier</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Institutionsnr. (original)"/></td><td align="left">
<div id="fld_instnr">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="10" size="40" id="inp_trans_instinstnr" fieldName="instnr"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Institutionsnr. (transformiert)"/></td><td align="left">
<div id="fld_ch110_institut">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_trans_instch110_institut" class="schluesselfeld" type="text">
<db:select id="inp_trans_instch110_institut" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="ch110_institut" customEntry=",,true"><% sql = "select key_apnr::char(10), trim(key_apnr) || '-' || trim(name) from organigramm order by trim(key_apnr) || '-' || trim(name);"; %><db:queryData name="trans_inst_organigramm61" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Institutionsname (transformiert)"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="200" size="40" id="inp_trans_instname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="g&uuml;ltig von"/></td><td align="left">
<div id="fld_gueltig_von">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_von" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="g&uuml;ltig bis"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Quellsystem"/></td><td align="left">
<div id="fld_systeminfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_trans_instsysteminfo_id" class="schluesselfeld" type="text">
<db:select id="inp_trans_instsysteminfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="systeminfo_id" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="trans_inst_systeminfo60" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

121
superx/edit/kern/trans_inst_list.jsp

@ -0,0 +1,121 @@ @@ -0,0 +1,121 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Kostenstellen transformieren (Liste)</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Kostenstellen transformieren (Liste). </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Kostenstellen umschl&uuml;sseln.</span>
</div>
<%
String systeminfo_id = request.getParameter("systeminfo_id");
if(systeminfo_id != null && !systeminfo_id.equals("null")){
filter +="systeminfo_id="+systeminfo_id;
}
%>
<db:dbform tableName="trans_inst" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/trans_inst_list.jsp" filter="<%= filter %>" orderBy="name"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Tupelidentifier"/></th><th align="left">
<db:message key="Institutionsnr. (original)"/></th><th align="left">
<db:message key="Institutionsnr. (transformiert)"/></th><th align="left">
<db:message key="Quellsystem"/></th><th>Details</th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="systeminfo_id" value="<%= systeminfo_id %>" />
</td><td>
<db:label nullFieldValue="" styleClass="clsInputStyle" fieldName="tid"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="10" size="15" fieldName="instnr"/></td><td align="left"> <db:select fieldName="ch110_institut" customEntry=",,true"><% sql = "select key_apnr::char(10), trim(key_apnr) || '-' || trim(name) from organigramm order by trim(key_apnr) || '-' || trim(name);"; %><db:queryData name="trans_inst_organigramm61" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="systeminfo_id" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="trans_inst_systeminfo60" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td><%
if(currentRow_trans_inst != null)
{
%><a target="details" title="Details" href="<%= response.encodeURL("/superx/edit/kern/trans_inst_edit.jsp") %>?systeminfo_id=<%= systeminfo_id %>&tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>" onClick="javascript:neu=window.open('<%= response.encodeURL("/superx/edit/kern/trans_inst_edit.jsp") %>?systeminfo_id=<%= systeminfo_id %>&tid=<db:label nullFieldValue="" pattern="######" fieldName="tid"/>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img border="0" alt="Details" src="../../images/pencil.svg"></a><%
}
%></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new22" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new22" flavor="image"/></td><td class="naviBtn"><span connectId="ins22" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins22" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

145
superx/edit/kern/unload_params_edit.jsp

@ -0,0 +1,145 @@ @@ -0,0 +1,145 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Entladeparameter verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Entladeparameter verwalten. </span>
</div><%
String tid = request.getParameter("tid");
Hashtable gotoMyHash = null;
if(tid !=null) {
gotoMyHash= new Hashtable();
gotoMyHash.put("tid",tid);
}
%>
<db:dbform tableName="unload_params" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/unload_params_edit.jsp" gotoHt="<%= gotoMyHash %>" orderBy="param_id"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="false">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p></p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Laufnummer</td><td>
<db:label nullFieldValue="" fieldName="tid"/></td>
</tr>
<tr>
<td class="db_label">Name der Variable</td><td><db:label nullFieldValue="" fieldName="param_id" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Wert der Variable"/></td><td align="left">
<div id="fld_param_val">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="30" id="inp_unload_paramsparam_val" fieldName="param_val"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">Default-Wert der Variable</td><td><db:label nullFieldValue="" fieldName="default_val" />
</td>
</tr>
<tr>
<td class="db_label">Beschreibung der Variable</td><td><db:label nullFieldValue="" fieldName="description" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Quellsystem"/></td><td align="left">
<div id="fld_systeminfo_id">
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_unload_paramssysteminfo_id" class="schluesselfeld" type="text">
<db:select id="inp_unload_paramssysteminfo_id" styleClass="clsInputStyle" onChange="updateKeyfield(this)" fieldName="systeminfo_id" customEntry=",,true"><% sql = "select tid, name from systeminfo order by name;"; %><db:queryData name="unload_params_systeminfo59" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select>
</div>
<span style="display:none" connectId="fld_systeminfo_id" dojoType="tooltip">Dieser Wert darf keinesfalls ge&auml;ndert werden</span></td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

124
superx/edit/kern/user_group_bez_edit.jsp

@ -0,0 +1,124 @@ @@ -0,0 +1,124 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Benutzer und Gruppen verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Benutzer und Gruppen verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren f&uuml;r admins von externem System (HisInOne) werden bei Neuanmeldung &uuml;berschrieben</span>
</div>
<%
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;
}
%>
<db:dbform tableName="user_group_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/user_group_bez_edit.jsp" filter="<%= filter %>" orderBy="userinfo_id,groupinfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="UserID"/></th><th align="left">
<db:message key="Gruppe"/></th><th align="left">
<db:message key="Recht wird von externem System (HisInOne) gesetzt und entfernt"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="userinfo_id" value="<%= userinfo_id %>" />
<input type="hidden" name="groupinfo_id" value="<%= groupinfo_id %>" />
</td><td align="left"> <db:select fieldName="userinfo_id" customEntry=",,true"><% sql = "select tid, trim(benutzer) || ' (' || trim(name) || ')' from userinfo order by trim(benutzer) || ' (' || trim(name) || ')';"; %><db:queryData name="user_group_bez_userinfo4" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="groupinfo_id" customEntry=",,true"><% sql = "select tid, name from groupinfo order by name;"; %><db:queryData name="user_group_bez_groupinfo2" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="external_entry"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new4" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new4" flavor="image"/></td><td class="naviBtn"><span connectId="ins4" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins4" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

131
superx/edit/kern/user_institution_edit.jsp

@ -0,0 +1,131 @@ @@ -0,0 +1,131 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Institutionsrechte von Benutzern</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Institutionsrechte von Benutzern. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Eintr&auml;ge von externem System (HisInOne) werden bei Neuanmeldung &uuml;berschrieben</span>
</div>
<%
String ch110_institut = request.getParameter("ch110_institut");
if(ch110_institut != null && !ch110_institut.equals("null")){
filter +="ch110_institut="+ch110_institut;
}
%>
<db:dbform tableName="user_institution" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/user_institution_edit.jsp" filter="<%= filter %>" orderBy="userid,ch110_institut"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="UserID"/></th><th align="left">
<db:message key="Names des Instituts"/></th><th align="left">
<db:message key="Institut"/></th><th align="left">
<db:message key="obsoletes Feld"/></th><th align="left">
<db:message key="G&uuml;ltig von "/></th><th align="left">
<db:message key="G&uuml;ltig bis"/></th><th align="left">
<db:message key="obsoletes Feld"/></th><th align="left">
<db:message key="Recht wird von externem System (HisInOne) gesetzt und entfernt"/></th><th align="left">
<db:message key="ID der berechtigten Kostenstelle in externem System (HISinONe: orgunitid)"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="ch110_institut" value="<%= ch110_institut %>" />
</td><td align="left"> <db:select fieldName="userid" customEntry=",,true"><% sql = "select tid, benutzer from userinfo order by benutzer;"; %><db:queryData name="user_institution_userinfo8" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="50" size="50" fieldName="name"/></td><td align="left"> <db:select fieldName="ch110_institut" customEntry=",,true"><% sql = "select key_apnr::char(10), trim(key_apnr) || ' - ' || trim(name) from organigramm order by trim(key_apnr) || ' - ' || trim(name);"; %><db:queryData name="user_institution_organigramm9" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="hierarchie"/></td><td align="left">
<db:dateField styleClass="clsInputStyle" nullFieldValue=""
size="9" fieldName="gueltig_seit"/>
</td><td align="left">
<db:dateField styleClass="clsInputStyle" nullFieldValue=""
size="9" fieldName="gueltig_bis"/>
</td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="lehre"/></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="external_entry"/></td><td align="left">
<db:textArea nullFieldValue="" styleClass="clsInputStyle" wrap="virtual" rows="3" cols="20" fieldName="externalid"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new6" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new6" flavor="image"/></td><td class="naviBtn"><span connectId="ins6" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins6" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

124
superx/edit/kern/user_masken_bez_edit.jsp

@ -0,0 +1,124 @@ @@ -0,0 +1,124 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Maskenrechte von Benutzern</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Maskenrechte von Benutzern. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Benutzern Rechte auf einzelne Masken geben.</span>
</div>
<%
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;
}
%>
<db:dbform tableName="user_masken_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/user_masken_bez_edit.jsp" filter="<%= filter %>" orderBy="userinfo_id,maskeninfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Userinfo_id"/></th><th align="left">
<db:message key="Maskeninfo_id"/></th><th align="left">
<db:message key="Recht wird von externem System (HisInOne) gesetzt und entfernt"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="userinfo_id" value="<%= userinfo_id %>" />
<input type="hidden" name="maskeninfo_id" value="<%= maskeninfo_id %>" />
</td><td align="left"> <db:select fieldName="userinfo_id" customEntry=",,true"><% sql = "select tid, benutzer from userinfo order by benutzer;"; %><db:queryData name="user_masken_bez_userinfo6" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, sp_trunc_string((tid || ' - ' || trim(name)),60) from maskeninfo order by sp_trunc_string((tid || ' - ' || trim(name)),60);"; %><db:queryData name="user_masken_bez_maskeninfo7" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="external_entry"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new5" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new5" flavor="image"/></td><td class="naviBtn"><span connectId="ins5" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins5" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

124
superx/edit/kern/user_sachgeb_bez_edit.jsp

@ -0,0 +1,124 @@ @@ -0,0 +1,124 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Benutzer und Sachgebiete verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Benutzer und Sachgebiete verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie Benutzern Sachgebietsrechte geben. Achtung: Eintr&auml;ge von externem System (HisInOne) werden bei Neuanmeldung &uuml;berschrieben</span>
</div>
<%
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;
}
%>
<db:dbform tableName="user_sachgeb_bez" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/user_sachgeb_bez_edit.jsp" filter="<%= filter %>" orderBy="userinfo_id,sachgebiete_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Userinfo_id"/></th><th align="left">
<db:message key="Sachgebiete_id"/></th><th align="left">
<db:message key="Recht wird von externem System (HisInOne) gesetzt und entfernt"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="userinfo_id" value="<%= userinfo_id %>" />
<input type="hidden" name="sachgebiete_id" value="<%= sachgebiete_id %>" />
</td><td align="left"> <db:select fieldName="userinfo_id" customEntry=",,true"><% sql = "select benutzer, benutzer from userinfo order by benutzer;"; %><db:queryData name="user_sachgeb_bez_userinfo3" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="sachgebiete_id" customEntry=",,true"><% sql = "select tid, name from sachgebiete order by name;"; %><db:queryData name="user_sachgeb_bez_sachgebiete5" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="external_entry"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new3" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new3" flavor="image"/></td><td class="naviBtn"><span connectId="ins3" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins3" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

114
superx/edit/kern/user_sichtarten_edit.jsp

@ -0,0 +1,114 @@ @@ -0,0 +1,114 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Benutzer und Sichtarten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Benutzer und Sichtarten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie User-Rechte f&uuml;r Sichtarten bearbeiten. Bitte beachten Sie: bei &Auml;nderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</span>
</div>
<%
String sichtart = request.getParameter("sichtart");
if(sichtart != null && !sichtart.equals("null")){
filter +="sichtart="+sichtart;
}
%>
<db:dbform tableName="user_sichtarten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/user_sichtarten_edit.jsp" filter="<%= filter %>" orderBy="userinfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Userinfo_id"/></th><th align="left">
<db:message key="Rechte f&uuml;r eine Art von Sichten geben"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="sichtart" value="<%= sichtart %>" />
</td><td align="left"> <db:select fieldName="userinfo_id" customEntry=",,true"><% sql = "select tid, name from userinfo order by name;"; %><db:queryData name="user_sichtarten_userinfo50" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" maxlength="255" size="25" fieldName="sichtart"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new17" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new17" flavor="image"/></td><td class="naviBtn"><span connectId="ins17" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins17" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

115
superx/edit/kern/user_sichten_edit.jsp

@ -0,0 +1,115 @@ @@ -0,0 +1,115 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Formular Benutzer und Sichten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<p align="right">
<a target="_parent" href="http://www.superx-projekt.de"><img border="0" alt="Logo" src="../../images/logo.gif"></a>
<br><% if(!mandantenid.equals("default") && !mandantenid.equals(""))
out.println("<strong>Mandant: " + mandantenid +"</strong>");
%></p>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Benutzer und Sichten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular k&ouml;nnen Sie User-Rechte f&uuml;r Sichten bearbeiten. Bitte beachten Sie: bei &Auml;nderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</span>
</div>
<%
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;
}
%>
<db:dbform tableName="user_sichten" maxRows="*" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/user_sichten_edit.jsp" filter="<%= filter %>" orderBy="userinfo_id"
dbConnectionName="<%= mandantenid %>" ><db:header>
<table class="dbform_tab" border="1" >
<tr>
<th></th><th align="left">
<db:message key="Userinfo_id"/></th><th align="left">
<db:message key="Sicht_name_intern"/></th><th align="left">
<db:message key="Recht wird von externem System (HisInOne) gesetzt und entfernt"/></th>
</tr>
</db:header>
<db:errors/>
<db:body allowNew="true">
<tr>
<td>
<input type="hidden" name="sicht_name_intern" value="<%= sicht_name_intern %>" />
</td><td align="left"> <db:select fieldName="userinfo_id" customEntry=",,true"><% sql = "select tid, name from userinfo order by name;"; %><db:queryData name="user_sichten_userinfo44" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left"> <db:select fieldName="sicht_name_intern" customEntry=",,true"><% sql = "select name_intern::char(200), tid || ' - ' || name from sichten order by tid || ' - ' || name;"; %><db:queryData name="user_sichten_sichten45" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /></db:select></td><td align="left">
<db:textField nullFieldValue="" styleClass="clsInputStyle" size="6" fieldName="external_entry"/></td><td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td>
</tr>
</db:body>
<db:footer><tr><td class="naviBtn"><span connectId="new15" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new15" flavor="image"/></td><td class="naviBtn"><span connectId="ins15" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins15" flavor="image"/></td></tr>
</table>
</db:footer></db:dbform></body>
</html>

161
superx/edit/kern/userinfo_edit.jsp

@ -0,0 +1,161 @@ @@ -0,0 +1,161 @@
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html xmlns:jsp="http://www.java.com/jsp" xmlns:db="http://www.wap-force.com/dbforms"><!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Benutzer verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ 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)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
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"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Benutzer verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">Sie k&ouml;nnen hier die Benutzerdaten wie Kennung, Name, E-Mail Adresse ... einsehen und auch ver&auml;ndern.
Sie K&ouml;nnen das Passwort &auml;ndern, den Benutzer als Administrator setzten und auch den Benutzer dazu veranlassen
beim n&auml;chsten Login sein Passwort zu &auml;ndern.
Au&szlig;erdem k&ouml;nnen Sie hier dem Benutzer Berechtigungen &uuml;ber Gruppen, Sachgebiete, Masken, Institutionen, Projekten (Kostentr&auml;gern), Sichten und Sichtarten geben und auch entziehen.
</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="userinfo" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/userinfo_edit.jsp" filter="<%= filter %>" orderBy="benutzer"
dbConnectionName="<%= mandantenid %>" onSubmit="return validateUserForm();"
javascriptFieldsArray="true"
><db:header/>
<db:errors/>
<db:body allowNew="false">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><input type="hidden" name="keyfieldsused" value="<%= keyfieldsused %>" /><a onclick="maskeTogglekeyfields()" title="Schl&uuml;sselfelder an/aus"><img alt="Schl&uuml;sselfelder an/aus" src="../../images/key.svg" border="0"></a></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">tid</td><td><db:label nullFieldValue="" fieldName="tid" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Benutzer"/></td><td align="left">
<div id="fld_benutzer">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_userinfobenutzer" fieldName="benutzer"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="50" size="40" id="inp_userinfoname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Email"/></td><td align="left">
<div id="fld_email">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_userinfoemail" fieldName="email"/>
</div>
</td>
</tr><%@ include file="/edit/kern/userinfo_edit_admin.inc" %><tr>
<td class="db_label">
<db:message key="Max_versuch"/></td><td align="left">
<div id="fld_max_versuch">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_userinfomax_versuch" size="6" fieldName="max_versuch"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Akt_versuch"/></td><td align="left">
<div id="fld_akt_versuch">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_userinfoakt_versuch" size="6" fieldName="akt_versuch"/>
</div>
</td>
</tr><%@ 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" %></table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>

4
superx/xml/jr_templates.xsl

@ -553,7 +553,7 @@ isIgnorePagination="{$isIgnorePagination}" > @@ -553,7 +553,7 @@ isIgnorePagination="{$isIgnorePagination}" >
</xsl:choose>
</xsl:variable>
<staticText>
<reportElement style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset+( $rowCounter * $zeilenhoehe )}" width="{$columnWidth * $colspan}" height="{$zeilenhoehe*$rowspan}" backcolor="#7A93AB" />
<reportElement style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset+( $rowCounter * $zeilenhoehe )}" width="{$columnWidth * $colspan}" height="{$zeilenhoehe*$rowspan}" />
<text><xsl:value-of select="." /></text>
</staticText>
</xsl:if>
@ -581,7 +581,7 @@ isIgnorePagination="{$isIgnorePagination}" > @@ -581,7 +581,7 @@ isIgnorePagination="{$isIgnorePagination}" >
</xsl:variable>
<staticText>
<reportElement style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset}" width="{$columnWidth}" height="{$zeilenhoehe}" backcolor="#7A93AB" />
<reportElement style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset}" width="{$columnWidth}" height="{$zeilenhoehe}" />
<text><xsl:value-of select="wert" /></text>
</staticText>
</xsl:for-each>

46
superx/xml/viz_rpt_assistent.xsl

@ -116,7 +116,26 @@ margin-bottom:30px; @@ -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; }
</style>
</xsl:template>
@ -1234,6 +1253,30 @@ var platform='superx'; @@ -1234,6 +1253,30 @@ var platform='superx';
</div>
</div>
<div class="field is-grouped">
<div class="label-container">
<label class="label is-required is-small"> </label>
</div>
<span class="separator">&#160;</span>
<span class="separator">&#160;</span>
<div class="field-body">
<div class="field is-active">
<p class="control-new">
<div class="select is-small is-fullwidth is-focused">
<button class="button is-link is-outlined is-small" type="submit" onClick="startExport()">Abschicken</button>
</div>
</p>
</div>
<!--
<span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660');">
<figure class="image is-24x24">
<img src="../images/information_grey_liberation.svg" />
</figure>
</span>-->
</div>
</div>
<input name="navi" type="hidden" value="{/ergebnisse/@showNavigation}" />
<input type="hidden" name="tid">
<xsl:choose>
@ -1260,7 +1303,6 @@ var platform='superx'; @@ -1260,7 +1303,6 @@ var platform='superx';
<input type="hidden" name="RPTPageOrientation" value="Landscape"/>
<input type="hidden" name="RPTPagination" value="False"/>
<button class="button is-link is-outlined is-small" type="submit" onClick="startExport()">Abschicken</button>
</ul> <!--Ende Panel-Itemliste-->

Loading…
Cancel
Save