SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

219 lines
13 KiB

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