Daniel Quathamer
2 years ago
97 changed files with 13129 additions and 27 deletions
@ -1,6 +1,6 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
|
|
||||||
export MODUL_VERSION=4.9 |
export MODUL_VERSION=5.0b |
||||||
export MODULNAME=kern |
export MODULNAME=kern |
||||||
export SACHGEBIETID=0 |
export SACHGEBIETID=0 |
||||||
export SACHGEBIET=Administration |
export SACHGEBIET=Administration |
||||||
|
@ -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'; |
||||||
|
|
@ -1,5 +1,5 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?><module xmlns:dbi="http://www.his.de/Abt1/Interfaces/dbi_V1.0"> |
<?xml version="1.0" encoding="UTF-8"?><module xmlns:dbi="http://www.his.de/Abt1/Interfaces/dbi_V1.0"> |
||||||
<database> |
<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> |
Sie können diese Tabellen als Vorlage für Ladetabellen in EDUDATA benutzen--></database> |
||||||
</module> |
</module> |
||||||
|
@ -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> |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -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 " |
||||||
|
|
@ -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> |
@ -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 " |
||||||
|
|
@ -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> |
@ -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> |
@ -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> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ü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ält die Datei Spaltenü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ä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ü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ügen,0=Alles Löschen und Hinzufü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ür Website (Datenlegende o.ä.).</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ä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 ü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ä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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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ä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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins24" flavor="image"/></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins26" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Feldern in Masken fü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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Feldern in Masken fü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins24" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins14" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins12" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Gruppen-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</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ü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins18" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Gruppen-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</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ü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins16" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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> </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ä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 änderbar,0=ä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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ä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 änderbar,0=ä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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins11" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins10" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins9" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins8" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ä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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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> </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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ü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="Ü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ü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ü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ä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="Ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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üssel</td><td><db:label nullFieldValue="" fieldName="key_apnr" /> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
<tr> |
||||||
|
<td class="db_label">Ü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ültig von</td><td><db:label nullFieldValue="" fieldName="gueltig_seit" /> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
<tr> |
||||||
|
<td class="db_label">Gü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">Übergeordnete langlebige ID</td><td><db:label nullFieldValue="" fieldName="parent_lid" /> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
<tr> |
||||||
|
<td class="db_label">Eindeutiger Name/Schlü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ü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> |
@ -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"> </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"> </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ä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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins25" flavor="image"/></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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üß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ü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ü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ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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üßungstext HTML, oder Wiki?"/></th><th align="left"> |
||||||
|
<db:message key="CSS-class für Portlets"/></th><th align="left"> |
||||||
|
<db:message key="Icon fü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ültigkeit"/></th><th align="left"> |
||||||
|
<db:message key="Ende der Gü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins27" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins7" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins21" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins20" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins1" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Rechtetabellen fü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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ür zusätzliche berechtigte Schlü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Rechtetabellen fü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins28" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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="Ü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ü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ü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ü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ü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ä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ä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ä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ächl. für alte Organigramm-Sichten, hieß 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ü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ünftig fü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ünftig fü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ändert werden kö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ä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ä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ä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ä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ü</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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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ö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"> </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"> </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örige Felder. </span><img border="0" alt="Erläuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie von Stylesheets benö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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ö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"> </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"> </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örige Felder. </span><img border="0" alt="Erläuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie von Stylesheets benö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ö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> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Beschriftungen bearbeiten. Für Masken- und Spalten- und Felderlä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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ö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ü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ür Website (Datenlegende o.ä.).</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ü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ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins27" flavor="image"/></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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="Ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrücke bearbeiten.</span> |
||||||
|
<% String href=""; |
||||||
|
%>Nach Ä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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins15" flavor="image"/></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ü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ü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ü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ü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ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie hochschulspezifische Konstanten oder SQL-Ausdrü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ö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> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins31" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ür XSL-Stylesheets relativ zum |
||||||
|
Verzeichnis: webapps/superx/xml, fü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ü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ür eine Maske oder eine Tabelle. Bei |
||||||
|
JasperReports-Templates müssen Sie immer Tabelle wä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ür Ergebnistabellen ausgewertet, nicht für Masken-Stylesheets. Wenn 1, dann ist das Stylesheet fü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ö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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins2" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Ä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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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="Ü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ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Kostenstellen umschlü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ö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ügen des neuen Datensatzes klicken Sie dann auf das Hä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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfü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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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ü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ü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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Kostenstellen umschlü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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins22" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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> </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ändert werden</span></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
</td><td align="center" style="padding-left:10px"></td> |
||||||
|
</table> |
||||||
|
</db:body> |
||||||
|
<db:footer/></db:dbform></body> |
||||||
|
</html> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Benutzer zu Gruppen zuordnen. Achtung: Zuordnung zur Gruppe Administratoren für admins von externem System (HisInOne) werden bei Neuanmeldung überschrieben</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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins4" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Benutzern Rechte auf einzelne Insitutionen geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung ü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ültig von "/></th><th align="left"> |
||||||
|
<db:message key="Gü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins6" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular kö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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins5" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Benutzern Sachgebietsrechte geben. Achtung: Einträge von externem System (HisInOne) werden bei Neuanmeldung ü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins3" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie User-Rechte für Sichtarten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</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ü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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins17" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie User-Rechte für Sichten bearbeiten. Bitte beachten Sie: bei Änderungen an den Sichten muss der Themenbaum neu geladen werden (SuperXManager)</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ö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ügemodus, alle vorhandenen Datensätze werden ausgeblendet. Zum Einfügen des neuen Datensatzes klicken Sie dann auf das Hä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ügen. Wenn Sie einen neuen Datensatz erzeugt haben, können Sie diesen mit diesem Button speichern.</span> |
||||||
|
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins15" flavor="image"/></td></tr> |
||||||
|
</table> |
||||||
|
</db:footer></db:dbform></body> |
||||||
|
</html> |
@ -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"> </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"> </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äuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">Sie können hier die Benutzerdaten wie Kennung, Name, E-Mail Adresse ... einsehen und auch verändern. |
||||||
|
Sie Können das Passwort ändern, den Benutzer als Administrator setzten und auch den Benutzer dazu veranlassen |
||||||
|
beim nächsten Login sein Passwort zu ändern. |
||||||
|
Außerdem können Sie hier dem Benutzer Berechtigungen über Gruppen, Sachgebiete, Masken, Institutionen, Projekten (Kostenträgern), Sichten und Sichtarten geben und auch entziehen. |
||||||
|
</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ö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üsselfelder an/aus"><img alt="Schlüsselfelder an/aus" src="../../images/key.svg" border="0"></a></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<p> </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> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in new issue