|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<xsl:stylesheet
|
|
|
|
|
version="1.0"
|
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
|
|
|
|
|
|
|
|
|
<xsl:import href="xsl_functions.xsl" />
|
|
|
|
|
<xsl:import href="pageComponents_html.xsl" />
|
|
|
|
|
<!--In diesem Stylesheet können Sie individuelle templates unterbringen,
|
|
|
|
|
die in ihrer Präzedenz das normale Stylesheet
|
|
|
|
|
pageComponents_html.xsl überragt. -->
|
|
|
|
|
<xsl:import href="pageComponents_html_final.xsl" />
|
|
|
|
|
<xsl:import href="maskComponents_html.xsl" />
|
|
|
|
|
<xsl:import href="levels.xsl" />
|
|
|
|
|
<xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" cdata-section-elements="script style" indent="yes" encoding="UTF-8"/>
|
|
|
|
|
<xsl:variable name="useragent" select="'mozilla'" />
|
|
|
|
|
<xsl:variable name="zeilenhoehe" select="'35'" /> <!--Zeilenhöhe in Masken, gemessen in Pixel-->
|
|
|
|
|
<xsl:template match="/">
|
|
|
|
|
<html>
|
|
|
|
|
<xsl:call-template name="head" ><xsl:with-param name="title" select="concat('Maske ',maske/felder/feld/maskenname)" /></xsl:call-template>
|
|
|
|
|
<xsl:call-template name="javascript"></xsl:call-template>
|
|
|
|
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'mask_post_javascript'"></xsl:with-param></xsl:call-template>
|
|
|
|
|
<xsl:call-template name="maskCSS"></xsl:call-template>
|
|
|
|
|
<body onload="maskonload()">
|
|
|
|
|
<xsl:choose><!-- progressbar (LadeFenster) soll bei einer JasperReports Ergebnistabelle nicht angezeigt werden, da diese nicht mehr endet -->
|
|
|
|
|
<xsl:when test="count(/maske/felder/feld[name='Ausgabeformat']) > 0"> <!-- progressbar dummy -->
|
|
|
|
|
<div id="progressbar" style="position:absolute; width:1px; height:1px; left:1px; top:1px; z-index:2001"></div>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<div id="progressbar" style="position: fixed; width: 250px; height: 115px; left: 50%; margin-left: -150px; top: 200px; background-color: rgba(255, 255, 255, 0.9); z-index: 2001; background-position: initial initial; background-repeat: initial initial; border: 1px solid #037AA6; -moz-border-radius: 4px; border-radius: 4px;"><center><p> <br/><img src="/superx/images/icons/loader_33.gif" style="position: center;"></img><br/><br/><b style="font-style: italic; font-weight: normal">Bitte warten ...</b></p></center></div>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<div class="divcontent">
|
|
|
|
|
<div class="submenu">
|
|
|
|
|
<div id="contentFrame">
|
|
|
|
|
<form name="maske" id="SuperXMaske" method="post" charset="UTF-8">
|
|
|
|
|
<xsl:attribute name="action"><xsl:value-of select="'SuperXmlTabelle'" /></xsl:attribute>
|
|
|
|
|
<xsl:if test="/maske/felder/feld[art=19]!=''" >
|
|
|
|
|
<xsl:attribute name="enctype">multipart/form-data</xsl:attribute>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
<h1 class="unsichtbar"><a name="content">Inhalt</a>
|
|
|
|
|
<input type="hidden" name="keyfieldsused" value="false"/>
|
|
|
|
|
<input type="hidden" name="tid"><xsl:attribute name="value"><xsl:value-of select="/maske/@tid"/></xsl:attribute></input>
|
|
|
|
|
<input type="hidden" name="stylesheet" value="" />
|
|
|
|
|
<!-- Merkfelder für Sichten/Stände -->
|
|
|
|
|
<xsl:for-each select="/maske/felder/feld">
|
|
|
|
|
<xsl:if test="art != '18' and attribut!='hidden'">
|
|
|
|
|
<xsl:for-each select="sichten/sicht">
|
|
|
|
|
<xsl:if test="@selected='true'">
|
|
|
|
|
<xsl:text>
|
|
|
|
|
</xsl:text>
|
|
|
|
|
<input type="hidden">
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="../../name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
<xsl:text>_Sichtmerker</xsl:text>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
|
<!-- MB 6.10.08 UTF <xsl:call-template name="umlaut_urlencode"><xsl:with-param name="s1"><xsl:value-of select="@name_intern"/></xsl:with-param></xsl:call-template>-->
|
|
|
|
|
<xsl:value-of select="@name_intern"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
</input>
|
|
|
|
|
<xsl:text>
|
|
|
|
|
</xsl:text>
|
|
|
|
|
<input type="hidden">
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="../../name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
<xsl:text>_Standmerker</xsl:text>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
|
<xsl:value-of select="@stand"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
</input>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</h1>
|
|
|
|
|
<h1><xsl:value-of select="/maske/@name" /></h1>
|
|
|
|
|
<xsl:call-template name="maskbreadcrumbs" />
|
|
|
|
|
<div class="clearerSpaceAboveHalfEm"></div>
|
|
|
|
|
<div id="maske" class="maske">
|
|
|
|
|
<div class="iconsTopAbove">
|
|
|
|
|
<!-- <a class="iconsTopAboveIcon" tabindex="22" href="/qisserver/pages/cs/sys/portal/documentation/documentation.faces?navigationPosition=documentation&site={/ergebnisse/ergebnis/maskenname/@helpcontext}" title="Hilfe" target="_blank"><img title="Dokumentation" alt="Dokumentation" src="../images/icons/book.gif" border="0" /></a> -->
|
|
|
|
|
<a type="button" class="linkLookImage" tabindex="23" title="Schlüsselfelder an- oder ausschalten" onclick="maskeTogglekeyfields(); return false;"><img border="0" src="../images/icons/edit_form.gif" title="Schlüsselfelder an- oder ausschalten" alt="Schlüsselfelder an- oder ausschalten" /></a>
|
|
|
|
|
<span class="separator"> </span>
|
|
|
|
|
<a class="linkLookImage" tabindex="22" href="/{/maske/@helpcontext}" title="Hilfe" target="_blank"><img title="Handbuch zu ..." alt="Handbuch zu ..." src="../images/icons/book.gif" border="0" /></a>
|
|
|
|
|
<span class="separator"> </span>
|
|
|
|
|
<a type="button" class="linkLookImage" tabindex="24" title="Aktuelle Maske als Lesezeichen im Browser speichern" onclick="maskepreparelesezeichendlg();versteckeCombosIE6();lesezeichendlg.show(); return false;"><img title="Aktuelle Maske als Lesezeichen im Browser speichern" alt="Aktuelle Maske als Lesezeichen im Browser speichern" src="../images/icons/attach.gif" border="0" /></a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <input tabindex="30" type="submit" class="submit" value="Abschicken" onclick="ok=validateForm(document.forms[0],'his1');if (ok==true) document.getElementById('progressbar').style.display='';return ok;" /> -->
|
|
|
|
|
<div class="clearer"></div>
|
|
|
|
|
<div>
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="count(/maske/felder/feld[art=18]) > 0">
|
|
|
|
|
<xsl:attribute name="class"><xsl:text>columnTwoThirdLeft_1024</xsl:text></xsl:attribute>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:attribute name="class"><xsl:text>columnFullSize</xsl:text></xsl:attribute>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
<div class="boxStandard">
|
|
|
|
|
<div class="box_container">
|
|
|
|
|
<div>
|
|
|
|
|
<div class="box_title">
|
|
|
|
|
<h2>Bericht erstellen: <xsl:value-of select="maske/@name" /></h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="box_content">
|
|
|
|
|
<fieldset class="fieldsetNoBorder">
|
|
|
|
|
<legend>No legend</legend>
|
|
|
|
|
<ol>
|
|
|
|
|
<xsl:for-each select="maske/felder/feld">
|
|
|
|
|
<xsl:if test="art != '18' and attribut!='hidden' and name!='##line##'">
|
|
|
|
|
<li>
|
|
|
|
|
<label class="label_40">
|
|
|
|
|
<xsl:attribute name="for"><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
|
|
|
|
<xsl:call-template name="inputlabel"/>
|
|
|
|
|
</label>
|
|
|
|
|
<xsl:call-template name="inputfeld"/>
|
|
|
|
|
<xsl:if test="caption_long != '' and art != '13' ">
|
|
|
|
|
<!-- <div connectId="{concat('f_',tid)}" style="display:none;z-index:1000">
|
|
|
|
|
<xsl:call-template name="br_to_newline">
|
|
|
|
|
<xsl:with-param name="string"><![CDATA[]]><xsl:value-of select="caption_long"/><![CDATA[]]></xsl:with-param>
|
|
|
|
|
<xsl:with-param name="search"><br></xsl:with-param>
|
|
|
|
|
</xsl:call-template>
|
|
|
|
|
</div>
|
|
|
|
|
<img alt="Informationen zu ...(label)" src="../images/icons/information.gif" name="{concat('f_',tid)}" id="{concat('f_',tid)}" />
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<input type="image" onclick="if(document.getElementById('{concat('f_',tid)}').style.display=='none')document.getElementById('{concat('f_',tid)}').style.display='block'; else document.getElementById('{concat('f_',tid)}').style.display='none'; return false;" src="../images/icons/information.gif" class="submit_image" value="Helptext" name="{concat('i_',tid)}" id="{concat('i_',tid)}"/>
|
|
|
|
|
<br/>
|
|
|
|
|
<p id="{concat('f_',tid)}" class="helptext" style="display: none;">
|
|
|
|
|
<xsl:call-template name="br_to_newline">
|
|
|
|
|
<xsl:with-param name="string"><![CDATA[]]><xsl:value-of select="caption_long"/><![CDATA[]]></xsl:with-param>
|
|
|
|
|
<xsl:with-param name="search"><br></xsl:with-param>
|
|
|
|
|
</xsl:call-template>
|
|
|
|
|
</p>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</li>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
<xsl:if test="name='##line##'">
|
|
|
|
|
<li><br/><hr style="margin-left:0; text-align:left; width:600px; color:rgb(24, 96, 144); height:1px;" /></li>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</ol>
|
|
|
|
|
</fieldset>
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box_bottom_left">
|
|
|
|
|
<div class="box_bottom_right">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<xsl:if test="count(/maske/felder/feld[art=18]) > 0">
|
|
|
|
|
<div>
|
|
|
|
|
<xsl:attribute name="class"><xsl:text>columnOneThirdRight_1024</xsl:text></xsl:attribute>
|
|
|
|
|
<div class="box_grey_bg_white">
|
|
|
|
|
<div class="box_container">
|
|
|
|
|
<div class="box_title">
|
|
|
|
|
<h2>Weitere Einstellungen:</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box_content">
|
|
|
|
|
<xsl:for-each select="/maske/felder/feld[art=18]">
|
|
|
|
|
<fieldset class="fieldsetNoBorder">
|
|
|
|
|
<legend>Weitere Einstellungen:</legend>
|
|
|
|
|
<a target="_blank">
|
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="contains(defaultwert/key,'|')">
|
|
|
|
|
<xsl:value-of select="concat(substring-before(defaultwert/key,'|'),'?',substring-after(defaultwert/key,'|'))"/>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:value-of select="defaultwert/key"/>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
</xsl:attribute><xsl:value-of select="name" />
|
|
|
|
|
</a>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box_bottom_left">
|
|
|
|
|
<div class="box_bottom_right"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
<div class="clearer"></div>
|
|
|
|
|
<div class="columnHalfLeft">
|
|
|
|
|
<input type="submit" value="@@reset@@" class="submit">
|
|
|
|
|
<xsl:attribute name="onclick">location.href='/superx/servlet/SuperXmlMaske?tid=<xsl:value-of select="/maske/@tid"/>&cachingcontrol=clearsessiondefaults';return false;</xsl:attribute>
|
|
|
|
|
</input>     
|
|
|
|
|
<input tabindex="10000" type="submit" class="submit" value="Abschicken" onclick="ok=validateForm(document.forms[0],'his1');if (ok==true) document.getElementById('progressbar').style.display='';return ok;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="clearer" class="clearer"> </div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="clearer"></div>
|
|
|
|
|
<div id="validation" style="color:#FF0000;font-weight:bolder"><p> </p></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<xsl:call-template name="maskDialogs"></xsl:call-template>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- start CSS -->
|
|
|
|
|
<xsl:template name="maskCSS">
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
body { font-family : sans-serif; }
|
|
|
|
|
.dojoDialog {background : #eee; border : 1px solid #999;-moz-border-radius : 5px;padding : 4px;width:550px;height:500px;overflow:scroll}
|
|
|
|
|
.sichtstand {font-size:80%;}
|
|
|
|
|
.header {font-size:150%;text-align:center}
|
|
|
|
|
form { margin-bottom : 0;}
|
|
|
|
|
</style>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
<!-- end CSS-->
|
|
|
|
|
|
|
|
|
|
<!-- start DOJO maskDialogs ******************************************************************************* -->
|
|
|
|
|
<xsl:template name="maskDialogs">
|
|
|
|
|
|
|
|
|
|
<!-- start Lesezeichen DLG -->
|
|
|
|
|
<div dojoType="dialog" id="lesezeichendlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100"
|
|
|
|
|
closeNode="lesezeichen_abbrechen" style="z-index:1010;display:none">
|
|
|
|
|
<form name="lesezeichenform" onsubmit="return false;">
|
|
|
|
|
<h1 align="center">Lesezeichen erstellen</h1>
|
|
|
|
|
<div id="lesezeichen_konfig">
|
|
|
|
|
<p>Bitte wählen Sie aus, ob die aktuelle Auswahl bei den<br/> folgenden Feldern, mit im Lesezeichen hinterlegt werden soll.</p>
|
|
|
|
|
<div id="lesezeichen_checkboxen" style="height:250px;overflow:scroll">
|
|
|
|
|
</div>
|
|
|
|
|
<table><tr><td valign="center">Dieses Lesezeichen soll</td><td><input type="radio" name="lesezeichenart" id="lesezeichen_maske" value="maske" checked="true">speziell für diese Maske gelten</input></td></tr>
|
|
|
|
|
<tr><td></td><td><input type="radio" id="lesezeichen_vorlage" name="lesezeichenart" value="vorlage">eine Merkmalsvorlage sein (<a href="/superx/xml/info_merkmalsvorlage.htm" target="blank">Was ist das?</a>)</input></td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="lesezeichenlinkdiv">
|
|
|
|
|
<p align="center"> Hier Ihr Lesezeichen-Link:</p>
|
|
|
|
|
<h3 align="center"><a id="lesezeichenlink"></a></h3>
|
|
|
|
|
<p align="center" id="lesezeicheninfoIE"> Klicken Sie mit der <b><font color="red">rechten Maustaste</font></b> auf den obigen Link und wählen Sie <br/><br/><b>"Zu Favoriten hinzufügen"</b><br/>
|
|
|
|
|
<br/>
|
|
|
|
|
Es folgt ein Sicherheitshinweis <br/>"Sie fügen einen Favoriten hinzu, der möglicherweise nicht sicher ist"<br/>
|
|
|
|
|
Den können Sie bestätigen, da SuperX-Lesezeichen nur harmloses JavaScript verwenden. <br/>
|
|
|
|
|
(Zum Aufrufen des Lesezeichens muss im InternetExplorer7 zuvor eine beliebige andere Seite geladen sein.</p>
|
|
|
|
|
<p align="center" id="lesezeicheninfoFF"> Klicken Sie mit der <b><font color="#f17c00">rechten Maustaste</font></b> auf den obigen Link und wählen Sie <br/><b>"Lesezeichen für diesen Link hinzufügen"</b>
|
|
|
|
|
</p>
|
|
|
|
|
<br/><br/><br/><br/><br/><br/><br/>
|
|
|
|
|
<p align="center"><input id="hidelesezeichen" type="button" class="clsButtonStyle" onclick="lesezeichendlg.hide();zeigeCombosIE6();" value="Dialog schließen"></input></p>
|
|
|
|
|
</div>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="button" class="clsButtonStyle" id="lesezeichen_abbrechen" onclick="lesezeichendlg.hide();zeigeCombosIE6();" value="Abbrechen"></input> 
|
|
|
|
|
<input type="button" class="clsButtonStyle" id="lesezeichen_ok" onclick="prepareLesezeichenLink();" value="OK"></input> 
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end Lesezeichen DLG-->
|
|
|
|
|
|
|
|
|
|
<!-- start combodlg braucht nur angezeigt werden, wenn mind 1 combobox-->
|
|
|
|
|
<div dojoType="dialog" id="combodlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100"
|
|
|
|
|
closeNode="ok" style="z-index:1011;display:none">
|
|
|
|
|
<form name="comboform" onsubmit="return false;">
|
|
|
|
|
<h3 id="comboElementName" align="center">Auswahl</h3>
|
|
|
|
|
<br/>
|
|
|
|
|
<div id="comboload" style="display:none">
|
|
|
|
|
<br/><br/><br/>
|
|
|
|
|
<h3 align="center"><font color="red">Daten werden geladen</font><br/>
|
|
|
|
|
<img src="/superx/images/progress_bar.gif"></img></h3>
|
|
|
|
|
</div>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<select id="comboselect" name="comboselect">
|
|
|
|
|
<option value="1">1-ja</option>
|
|
|
|
|
<option>keine Auswahl möglich</option>
|
|
|
|
|
</select>
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
<label id="multiselecthint">Sie können einen oder mehrere Werte auswählen (<a href="javascript:alert('Halten Sie beim Anklicken Strg gedrückt,um einzelne Elemete auszuwählen,\noder die Umschalttaste um einen ganzen Block auszuwählen');">Hinweis</a>)</label>
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
<input type="button" class="clsButtonStyle"
|
|
|
|
|
onclick="document.getElementById('suchok').style.display='';document.getElementById('suchselect').style.display='none';document.getElementById('suchuebernehmen').style.display='none';dojo.widget.byId('suchdlg').show();"
|
|
|
|
|
value="Suchen"></input>
|
|
|
|
|
<br/><br/>
|
|
|
|
|
<input type="button" id="abbrechen" class="clsButtonStyle" onclick="combodlg.hide();zeigeCombosIE6();" value="Abbrechen"></input> 
|
|
|
|
|
<input type="button" id="ok" class="clsButtonStyle" onclick="maskeComboauswahlUebernehmen();" value="OK"></input>     
|
|
|
|
|
<input type="button" id="leeren" class="clsButtonStyle" onclick="document.forms['comboform'].comboselect.selectedIndex=-1;maskeComboauswahlUebernehmen();combodlg.hide()" value="Leeren"></input>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end combo -->
|
|
|
|
|
<!-- start sicht Definition des Sichtauswahl DLGs braucht nur eingebaut werden wenn mind 1 Sichtfeld-->
|
|
|
|
|
|
|
|
|
|
<div dojoType="dialog" id="sichtdlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100"
|
|
|
|
|
closeNode="ok" style="z-index:1012;display:none">
|
|
|
|
|
<form name="treedlgform" onsubmit="return false;">
|
|
|
|
|
<center>
|
|
|
|
|
<table align="center">
|
|
|
|
|
<tr><td colspan="2" class="header" id="sichtElementName" align="center">Auswahl</td></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td id="sicht" align="center"><b>Sicht:</b> ausgewählte Sicht</td><td id="sichtbutton" ><input class="submit_pencil" id="Sichtauswahl" type="button" value="Sichtauswahl" onclick="sichtauswahl.show()"></input></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td id="stand" class="sichtstand" align="center"><b>Stand:</b> 1.1.2007</td><td id="standbutton" class="sichtstand"><input class="clsButtonStyle" id="Standauswahl" type="button" value="ändern" onclick="dojo.widget.byId('Standeingabedlg').show();"></input></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</center>
|
|
|
|
|
<br/>
|
|
|
|
|
<div
|
|
|
|
|
dojoType="TreeSelectorV3"
|
|
|
|
|
widgetId="treeSelector"
|
|
|
|
|
allowedMulti="false"
|
|
|
|
|
id="treeSelector" eventNames="select:nodeSelected">
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
</div>
|
|
|
|
|
<div dojoType="TreeEmphasizeOnSelect" selector="treeSelector"></div>
|
|
|
|
|
<div dojoType="memtext:TreeLoadingControllerSx" id="treeLoadingController" widgetId="treeLoadingController">
|
|
|
|
|
<xsl:attribute name="RPCUrl">/superx/servlet/SuperXmlMaske<xsl:if test="/maske/@jsessionid!=''">;jsessionid=<xsl:value-of select="/maske/@jsessionid"/></xsl:if>?tid=<xsl:value-of select="/maske/@tid"/></xsl:attribute>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="height:325px;overflow:scroll"><!-- IE needs non-dojo div vor scrolling-->
|
|
|
|
|
<div dojoType="memtext:MemTree" widgetId="selTree" id="selTree" listeners="treeLoadingController;treeSelector">
|
|
|
|
|
<div dojoType="TreeNodeV3" title="keine Auswahl möglich" ></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br/>
|
|
|
|
|
<center>
|
|
|
|
|
<label id="sichthintmulti">Sie können einen oder mehrere Einträge auswählen (<a href="javascript:alert('Halten Sie beim Anklicken Strg gedrückt, um mehrere Einträge auszuwählen.');">Hinweis</a>)</label>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="button" class="clsButtonStyle"
|
|
|
|
|
onclick="document.getElementById('suchok').style.display='';document.getElementById('suchselect').style.display='none';document.getElementById('suchuebernehmen').style.display='none';dojo.widget.byId('suchdlg').show();"
|
|
|
|
|
value="Suchen"></input> 
|
|
|
|
|
</p>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="button" id="abbrechen" class="clsButtonStyle" onclick="sichtdlg.hide();zeigeCombosIE6();" value="Abbrechen"></input> 
|
|
|
|
|
<input type="button" id="ok" class="clsButtonStyle" onclick="maskeSichtauswahlUebernehmen();" value="OK"></input>     
|
|
|
|
|
<input type="button" id="leeren" class="clsButtonStyle" onclick="dojo.widget.byId('treeSelector').deselectAll();maskeSichtauswahlUebernehmen();sichtdlg.hide();" value="Leeren"></input>
|
|
|
|
|
</p>
|
|
|
|
|
</center>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div dojoType="dialog" id="sichtauswahl" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100" closeNode="ok"
|
|
|
|
|
style="z-index:1014;display:none">
|
|
|
|
|
<h3 align="center">Sicht auswählen</h3>
|
|
|
|
|
<form name="sichtauswahlform">
|
|
|
|
|
<p align="center">
|
|
|
|
|
<select name="sichtselect">
|
|
|
|
|
<option value="-999">keine Auswahl möglich</option>
|
|
|
|
|
</select>
|
|
|
|
|
</p>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="button" class="clsButtonStyle" id="abbrechen2" onclick="sichtauswahl.hide()" value="Abbrechen"> </input>
|
|
|
|
|
<input type="button" id="ok2" class="clsButtonStyle" onclick="maskeSichtAendern()" value="OK"></input>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- end sicht -->
|
|
|
|
|
<!-- start suchdlg -->
|
|
|
|
|
<div dojoType="dialog" id="suchdlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100" style="z-index:1015;display:none">
|
|
|
|
|
<h3 align="center">Suche</h3>
|
|
|
|
|
<form name="suchform" onsubmit="return false;">
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="text" id="suchtext" onkeypress="enterClicksButton('suchok',event)"></input>
|
|
|
|
|
</p>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<select id="suchselect" size="10">
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
</p>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="button" class="clsButtonStyle" id="abbrechen" onclick="dojo.widget.byId('suchdlg').hide();" value="Abbrechen"> </input>
|
|
|
|
|
<input type="button" id="suchok" class="clsButtonStyle" onclick="sichtEintraegeSuchen(document.getElementById('suchtext').value);" value="OK"></input>
|
|
|
|
|
<input type="button" id="suchuebernehmen" class="clsButtonStyle" onclick="dojo.widget.byId('suchdlg').hide();combodlg.hide();sichtdlg.hide();suchauswahlUebernehmen();" value="Übernehmen"></input>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- end suchdlg -->
|
|
|
|
|
<!-- start Standeingabe Dlg -->
|
|
|
|
|
<div dojoType="dialog" id="Standeingabedlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100"
|
|
|
|
|
closeNode="lesezeichen_abbrechen" style="z-index:1100;display:none">
|
|
|
|
|
<form name="Standeingabeform" onsubmit="return false;">
|
|
|
|
|
<h3 align="center">Geben Sie den gewünschten Stand ein</h3>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="text" id="gewuenschterStand" length="11" onkeypress="enterClicksButton('stand_ok',event)"></input>
|
|
|
|
|
</p>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<input type="button" class="clsButtonStyle" id="stand_abbrechen" onclick="document.getElementById('gewuenschterStand').value=''; dojo.widget.byId('Standeingabedlg').hide();" value="Abbrechen"></input> 
|
|
|
|
|
<input type="button" class="clsButtonStyle" id="stand_ok" onclick="dojo.widget.byId('Standeingabedlg').hide();maskeSichtstandAendern();" value="OK"></input> 
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end standeingabe -->
|
|
|
|
|
|
|
|
|
|
<!-- start images -->
|
|
|
|
|
<div style="display:none">
|
|
|
|
|
<!-- IE has a bug: it reloads all dynamically resolved images, no matter, is it
|
|
|
|
|
new Image() or CSS background. If you don't specify images like that,
|
|
|
|
|
it will reload them every time a new node is created -->
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/i.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/i_half.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/expand_minus.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/expand_plus.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/expand_leaf.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/i_long.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/document.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/open.gif"/>
|
|
|
|
|
<img src="/superx/xml/js/dojo/src/widget/templates/images/TreeV3/closed.gif"/>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end images -->
|
|
|
|
|
<!-- start textareadlg-->
|
|
|
|
|
<div dojoType="dialog" id="textareadlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="100" closeNode="ok" style="display:none">
|
|
|
|
|
<form name="textareaform" onsubmit="return false;">
|
|
|
|
|
<h3 id="textareaElementName" align="center">Eingabe</h3>
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
<textarea id="textarea_fld" name="textarea_fld" rows="10" cols="30">
|
|
|
|
|
keine Auswahl möglich</textarea>
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
<input type="button" id="abbrechen" class="clsButtonStyle" onclick="textareadlg.hide();zeigeCombosIE6();" value="Abbrechen"></input> 
|
|
|
|
|
<input type="button" id="ok" class="clsButtonStyle" onclick="maskeTextareaUebernehmen();" value="OK"></input>     
|
|
|
|
|
<input type="button" id="leeren" class="clsButtonStyle" onclick="document.forms['textareaform'].textarea_fld.value='';maskeTextareaUebernehmen();textareadlg.hide()" value="Leeren"></input>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end textareaDlg -->
|
|
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
<!-- end dojo-->
|
|
|
|
|
|
|
|
|
|
<xsl:template name="inputlabel">
|
|
|
|
|
<xsl:if test="art != '13' and art != '15' and art != '18' ">
|
|
|
|
|
|
|
|
|
|
<xsl:if test="obligatorisch='1'">
|
|
|
|
|
<xsl:text>* </xsl:text>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="caption_short != ''"><![CDATA[]]><xsl:value-of select="caption_short" /><![CDATA[]]></xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:value-of select="name" />
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
<xsl:template name="inputfeld">
|
|
|
|
|
<!-- start inputfeld -->
|
|
|
|
|
<div dojoType="ContentPane" class="sx_inputfeld">
|
|
|
|
|
<!--<xsl:attribute name="style">
|
|
|
|
|
<xsl:text>width:</xsl:text><xsl:value-of select="feldbreite*1.2" /></xsl:attribute>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<!-- start art 0-->
|
|
|
|
|
<xsl:when test="art='0'">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="zeilenanzahl='1'">
|
|
|
|
|
<div style="margin:0 0 0 6px; padding:0 0 0 0 ">
|
|
|
|
|
<input type="text" >
|
|
|
|
|
<xsl:attribute name="class">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="obligatorisch='1'">
|
|
|
|
|
<xsl:text>maskinputPflicht</xsl:text>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:text>maskinput</xsl:text>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="MAXLENGTH">
|
|
|
|
|
<xsl:value-of select="laenge"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="VALUE">
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="size">
|
|
|
|
|
<xsl:value-of select="feldbreite div $feldbreite_faktor"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:if test="typ='date'">
|
|
|
|
|
|
|
|
|
|
<a href="javascript:doNothing()">
|
|
|
|
|
<xsl:attribute name="onclick"><xsl:text>calDateFormat='DD.MM.yyyy';setDateField(document.forms['maske'].elements['</xsl:text><xsl:value-of select="name" /><xsl:text>']); top.newWin = window.open('/superx/dbformslib/jscal/calendar.html','cal','width=270,height=280')</xsl:text></xsl:attribute>
|
|
|
|
|
<img src="/superx/dbformslib/jscal/calendar.svg" class="imageCalendar" border="0" alt="Kalender öffnen"></img></a>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</input></div>
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise><!--zeilenanzahl!='1'-->
|
|
|
|
|
<!-- <xsl:call-template name="schluesselfeld" /> <xsl:call-template name="dojoTextareaBtnHIS1" /> <xsl:call-template name="valuelabel" /> -->
|
|
|
|
|
<!--<xsl:call-template name="schluesselfeld" /><xsl:call-template name="dojoTextareaBtnHIS1" /><xsl:call-template name="valuelabel" />-->
|
|
|
|
|
<xsl:text>   </xsl:text><textarea WRAP="on">
|
|
|
|
|
<xsl:attribute name="cols">
|
|
|
|
|
<xsl:value-of select="feldbreite div 10"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="rows">
|
|
|
|
|
<xsl:value-of select="zeilenanzahl"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
</textarea>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end art 0-->
|
|
|
|
|
<!-- start art 1 oder 2 COMBO-->
|
|
|
|
|
<xsl:when test="art='1' or art='2'">
|
|
|
|
|
<!--normale Combo-Box -->
|
|
|
|
|
<xsl:call-template name="schluesselfeld" />
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<!-- start combobox für zeilenzahl 1/nicht-dynamisches Feld-->
|
|
|
|
|
<xsl:when test="zeilenanzahl=1 and @isDynamic='false'">
|
|
|
|
|
<!--Combobox ist nur Auswahlhilfe ausgewertet wird inhalt von Inputfeld!!-->
|
|
|
|
|
<select >
|
|
|
|
|
<xsl:attribute name="class">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="obligatorisch='1'">
|
|
|
|
|
<xsl:text>maskinputPflicht</xsl:text>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:text>maskinput</xsl:text>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="id"><xsl:text>select_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:text>select_</xsl:text><xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="onchange">
|
|
|
|
|
<xsl:text>c=document.getElementById('</xsl:text>
|
|
|
|
|
<xsl:text>select_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
<xsl:text>');document.getElementById('</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>').value=c.options[c.selectedIndex].value;</xsl:text>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<option />
|
|
|
|
|
<xsl:for-each select="relation/item">
|
|
|
|
|
<xsl:if test="string-length(name) > 0">
|
|
|
|
|
<option class="maskinput">
|
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
|
<xsl:value-of select="key"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<!--MB-->
|
|
|
|
|
<xsl:if test="../../defaultwert/name=name">
|
|
|
|
|
<xsl:attribute name="selected">true</xsl:attribute>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</option>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</select>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end combobox für zeilenzahl 1-->
|
|
|
|
|
<!-- start Button and Skript für zeilenzahl größer 1 -->
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<!--<xsl:call-template name="schluesselfeld" /> -->
|
|
|
|
|
<xsl:call-template name="valuelabel" /> <xsl:call-template name="dojoComboBtnHIS1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
<!-- end Button and Skript für zeilenzahl > 1 -->
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end art 1 -->
|
|
|
|
|
<!-- start 8,5 Kommentar/Label-->
|
|
|
|
|
<xsl:when test="art='8' or art='5'">
|
|
|
|
|
<!--label-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="art='9'">
|
|
|
|
|
<xsl:call-template name="treeview">
|
|
|
|
|
</xsl:call-template>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="art='10'">
|
|
|
|
|
<input type="checkbox" value="true" >
|
|
|
|
|
<xsl:attribute name="class">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="obligatorisch='1'">
|
|
|
|
|
<xsl:text>maskinputPflicht</xsl:text>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:text>maskinput</xsl:text>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:if test="defaultwert/name != '' and defaultwert/name != 'false'">
|
|
|
|
|
<xsl:attribute name="checked">
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
</input>  
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end -->
|
|
|
|
|
<!-- start art 11 passwort-->
|
|
|
|
|
|
|
|
|
|
<xsl:when test="art='11'">
|
|
|
|
|
<xsl:if test="zeilenanzahl='1'">
|
|
|
|
|
<input type="password">
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="MAXLENGTH">
|
|
|
|
|
<xsl:value-of select="laenge"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="VALUE">
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="size">
|
|
|
|
|
<xsl:value-of select="feldbreite div 12"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
|
|
</input>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end art 11-->
|
|
|
|
|
<!-- start 4,6,8, 12 Sicht -->
|
|
|
|
|
|
|
|
|
|
<xsl:when test="art='4' or art='6' or art='7' or art='12'">
|
|
|
|
|
<!--<xsl:call-template name="schluesselfeld" /> --><!-- original: <xsl:call-template name="dojosichtBtnHIS1" /> 
|
|
|
|
|
<xsl:call-template name="dojosichtValue">
|
|
|
|
|
</xsl:call-template> -->
|
|
|
|
|
<xsl:call-template name="dojosichtValue"></xsl:call-template> <xsl:call-template name="dojosichtBtnHIS1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end 12-->
|
|
|
|
|
<!-- start 13 hidden-->
|
|
|
|
|
<xsl:when test="art='13'">
|
|
|
|
|
<input type="hidden">
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="VALUE">
|
|
|
|
|
<xsl:value-of select="defaultwert/key"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
|
|
</input>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end 13 -->
|
|
|
|
|
<!-- start 14 radiobox-->
|
|
|
|
|
<xsl:when test="art='14'">
|
|
|
|
|
<input type="radio">
|
|
|
|
|
<xsl:attribute name="class">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="obligatorisch='1'">
|
|
|
|
|
<xsl:text>maskinputPflicht</xsl:text>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<xsl:text>maskinput</xsl:text>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="NAME">
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="VALUE">
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</input>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end 14-->
|
|
|
|
|
<!-- start 15 links-->
|
|
|
|
|
<xsl:when test="art='15'">
|
|
|
|
|
<xsl:if test="defaultwert/name != ''">
|
|
|
|
|
<a class="feldlink">
|
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<!--bei externen Links benötigen wir keine JSESSIONID-->
|
|
|
|
|
<xsl:when test="starts-with(defaultwert/name,'www')">
|
|
|
|
|
<xsl:value-of select="concat('http://',defaultwert/name)"/>
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="starts-with(defaultwert/name,'http') or contains(defaultwert/name,'.htm')">
|
|
|
|
|
<xsl:value-of select="defaultwert/name"/>
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="starts-with(defaultwert/name,'nexttable:')">
|
|
|
|
|
<xsl:value-of select="concat('SuperXmlTabelle','?tid=',substring-after(defaultwert/name,'nexttable:'))"/>
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<!--Default: Link auf andere Maske-->
|
|
|
|
|
<xsl:value-of select="concat('SuperXmlMaske','?tid=',defaultwert/name)"/>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</a>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<!-- end 15-->
|
|
|
|
|
<!-- start 16 querabhängig combo ausskommentiert-->
|
|
|
|
|
<!-- <xsl:when test="art='16'">
|
|
|
|
|
<xsl:call-template name="schluesselfeld" /> <xsl:call-template name="valuelabel" /> 
|
|
|
|
|
</xsl:when> -->
|
|
|
|
|
<!-- end 16-->
|
|
|
|
|
<xsl:when test="art='17'">
|
|
|
|
|
<!--Radio-->
|
|
|
|
|
<input name="{name}" id="{name}" type="hidden" value="{defaultwert/key}" />
|
|
|
|
|
<xsl:for-each select="relation/item [string-length(name) > 0]">
|
|
|
|
|
|
|
|
|
|
<input name="{concat(../../name,'Radio')}" id="{concat(../../name,'Radio',position())}" value="{key}" type="radio" >
|
|
|
|
|
<xsl:attribute name="onclick"><xsl:text>document.forms[0].elements['</xsl:text><xsl:value-of select="../../name"/>
|
|
|
|
|
<xsl:text>'].value='</xsl:text><xsl:value-of select="key"/><xsl:text>';return true;</xsl:text></xsl:attribute>
|
|
|
|
|
<xsl:if test="../../defaultwert/name=name">
|
|
|
|
|
<xsl:attribute name="checked"><xsl:text>true</xsl:text></xsl:attribute>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</input> <xsl:value-of select="name"/><br />
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="art='18'">
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="art='19'">
|
|
|
|
|
<input type="file" size="60" name="Datei" />
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>Unbekannte Feldart <xsl:value-of select="art"/></xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</div>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
<!-- start customize standard ist leer, kann von Spezialstylesheets überlagert werden -->
|
|
|
|
|
<xsl:template name="maskcustomize">
|
|
|
|
|
<xsl:param name="position"/>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
<xsl:template name="dojosichtBtnHIS1">
|
|
|
|
|
<a title="{concat('Auswahl ',name)}">
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+3"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript:maskeSichtLaden(getFieldName(</xsl:text><xsl:value-of select="position()"/><xsl:text>),'</xsl:text><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]><xsl:text>',null);</xsl:text></xsl:attribute>
|
|
|
|
|
<img title="{concat('Auswahl ',name)}" alt="{concat('Auswahl ',name)}" src="../images/icons/pencil.gif" border="0">
|
|
|
|
|
</img>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
<xsl:template name="dojoTextareaBtnHIS1">
|
|
|
|
|
<a title="{concat('Eingabe ',name)}">
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+3"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript:textareaLaden(getFieldName(</xsl:text><xsl:value-of select="position()"/><xsl:text>),'</xsl:text><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]><xsl:text>');</xsl:text></xsl:attribute>
|
|
|
|
|
<img title="{concat('Eingabe ',name)}" alt="{concat('Eingabe ',name)}" src="../images/icons/pencil.gif" border="0">
|
|
|
|
|
</img>
|
|
|
|
|
</a>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
<xsl:template name="dojoComboBtnHIS1">
|
|
|
|
|
<a title="{concat('Auswahl ',name)}">
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+3"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript:maskeComboLaden(getFieldName(</xsl:text><xsl:value-of select="position()"/><xsl:text>),'</xsl:text><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]><xsl:text>');</xsl:text></xsl:attribute>
|
|
|
|
|
<xsl:attribute name="tabindex">
|
|
|
|
|
<xsl:value-of select="100+(nummer*10)+3"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<img title="{concat('Auswahl ',name)}" alt="{concat('Auswahl ',name)}" src="../images/icons/pencil.gif" border="0">
|
|
|
|
|
</img>
|
|
|
|
|
</a>
|
|
|
|
|
<!--
|
|
|
|
|
<div name="{concat('btn',name)}" class="sx_buttondiv">
|
|
|
|
|
|
|
|
|
|
<xsl:attribute name="onclick"><xsl:text>javascript:maskeComboLaden('</xsl:text><xsl:value-of select="name"/><xsl:text>','</xsl:text><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]><xsl:text>');</xsl:text></xsl:attribute>
|
|
|
|
|
<span>
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="obligatorisch='1'">
|
|
|
|
|
<xsl:attribute name="class">labelPflicht</xsl:attribute></xsl:when>
|
|
|
|
|
<xsl:otherwise><xsl:attribute name="class">labelNormal</xsl:attribute></xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="caption_short != ''"><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]></xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
|
|
|
|
|
<xsl:value-of select="name"/>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</span>
|
|
|
|
|
</div>-->
|
|
|
|
|
</xsl:template>
|
|
|
|
|
</xsl:stylesheet>
|