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.
111 lines
4.0 KiB
111 lines
4.0 KiB
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> |
|
|
|
|
|
<!-- DIESES FORMULAR IST MANUELL erzeugt --> |
|
|
|
|
|
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> |
|
<html> |
|
<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> |
|
<h3>Konstante Organigrammquelle</h3><p>In diesem Formular können Sie die Konstante Organigrammquelle verwalten.</p> |
|
|
|
<db:dbform tableName="konstanten" maxRows="1" autoUpdate="false" captionResource="false" multipart="false" followUp="/edit/kern/konstante_organigrammquelle.jsp" filter="beschreibung=Organigrammquelle" |
|
dbConnectionName="<%= mandantenid %>" > |
|
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/> |
|
<db:header> |
|
<table class="dbform_tab" border="1" > |
|
|
|
<tr> |
|
<th align="left">Organigrammquelle</th><th align="left">Speichern</th> |
|
</tr> |
|
</db:header> |
|
<db:errors/> |
|
<db:body allowNew="false"> |
|
<tr> |
|
<td align="left"> |
|
<% sql = "select 0,'manuell' from xdummy union select 3,'MBS' from xdummy union select 6,'HisInOne' from xdummy union select 10,'COB' from xdummy "; %> |
|
<db:select id="apnr_id" styleClass="clsInputStyle" fieldName="apnr" customEntry=",,true"><db:queryData name="orgaquelle_apnr" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> |
|
</db:select> |
|
</td> |
|
<td align="left"><db:updateButton styleClass="clsButtonStyle" style="height:18px" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td> |
|
<!-- <td class="naviBtn"><db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" style="height:18px" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td> |
|
--> |
|
</tr> |
|
</db:body> |
|
<db:footer> |
|
</table> |
|
</db:footer></db:dbform></body> |
|
</html>
|
|
|