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.
212 lines
10 KiB
212 lines
10 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 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> |
|
|
|
|
|
|
|
|
|
|