18 changed files with 1151 additions and 95 deletions
@ -0,0 +1,47 @@
@@ -0,0 +1,47 @@
|
||||
delete from viz_chart where uniquename in (select uniquename from tmp_viz_chart); |
||||
|
||||
select sp_update_sequence('viz_chart'); |
||||
|
||||
insert into viz_chart( |
||||
uniquename, |
||||
caption, |
||||
description, |
||||
chartmodel, |
||||
preview_svg, |
||||
userinfo_id, |
||||
creation_date, |
||||
update_date, |
||||
maskeninfo_id, |
||||
mask_params, |
||||
renderer_id, |
||||
chartmodel_miniature, |
||||
chart_position, |
||||
chart_active, |
||||
chart_width, |
||||
chart_height, |
||||
chart_miniature_width, |
||||
chart_miniature_height) |
||||
select |
||||
|
||||
uniquename, |
||||
caption, |
||||
description, |
||||
chartmodel, |
||||
preview_svg, |
||||
userinfo_id, |
||||
creation_date, |
||||
update_date, |
||||
maskeninfo_id, |
||||
mask_params, |
||||
renderer_id, |
||||
chartmodel_miniature, |
||||
chart_position, |
||||
chart_active, |
||||
chart_width, |
||||
chart_height, |
||||
chart_miniature_width, |
||||
chart_miniature_height |
||||
FROM tmp_viz_chart; |
||||
|
||||
drop table tmp_viz_chart; |
||||
|
@ -0,0 +1,200 @@
@@ -0,0 +1,200 @@
|
||||
--Freemarker Template |
||||
<#include "SQL_lingua_franca"/> |
||||
<#include "SuperX_general"/> |
||||
<#include "VIZ-Makros"/> |
||||
|
||||
<sqlvars> |
||||
<sqlvar name="renderer"> |
||||
select tid from viz_renderer where uniquename='d3js'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
|
||||
<#assign viz_properties = [ |
||||
{ "caption":"Dimensionen", |
||||
"prop_uniquename":"dimensionsNode", |
||||
"explanation":"Dimensionen", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"NODE", |
||||
"sortnr":"1", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"NODE", |
||||
"parent_property_uniquename":"", |
||||
"variableName":"encode" |
||||
}, |
||||
{ "caption":"Dimension 1", |
||||
"prop_uniquename":"dimension1", |
||||
"explanation":"Dimension 1", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"608", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Maß 1", |
||||
"prop_uniquename":"measure1", |
||||
"explanation":"Maß 1", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"MEASURE", |
||||
"sortnr":"610", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Dimension 2", |
||||
"prop_uniquename":"dimension2", |
||||
"explanation":"Dimension 2", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"609", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Dimension 3", |
||||
"prop_uniquename":"dimension3", |
||||
"explanation":"Dimension 3", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"609", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Diagrammelement", |
||||
"prop_uniquename":"seriesNode", |
||||
"explanation":"Layout der Diagrammelemente", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"1", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"NODE", |
||||
"sortnr":"400", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"NODE", |
||||
"parent_property_uniquename":"", |
||||
"variableName":"seriesNode" |
||||
}, |
||||
{ "caption":"Innerer Radius", |
||||
"prop_uniquename":"innerRadius", |
||||
"explanation":"Innerer Radius bei Tortendiagrammen (Faktor in %). Bei 0 wird kein innerer Radius genutzt, ein Wert größer 0 macht das Tortendiagramm zum Donut.", |
||||
"prop_default":"0", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"TEXT", |
||||
"property_group_uniquename":"LAYOUT", |
||||
"sortnr":"", |
||||
"range_from":"0", |
||||
"range_to":"100", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"seriesNode" |
||||
}, |
||||
{ "caption":"Beschriftung Radius", |
||||
"prop_uniquename":"labelRadiusFactor", |
||||
"explanation":"Beschriftungs-Radius Faktor bei Tortendiagrammen (Faktor in %). Bei 0 wird kein innerer Radius genutzt, ein Wert größer 0 macht das Tortendiagramm zum Donut.", |
||||
"prop_default":"80", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"TEXT", |
||||
"property_group_uniquename":"LAYOUT", |
||||
"sortnr":"", |
||||
"range_from":"0", |
||||
"range_to":"100", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"seriesNode" |
||||
}, |
||||
{ "caption":"Kanten-Radius", |
||||
"prop_uniquename":"cornerRadius", |
||||
"explanation":"Ecken-Radius bei Tortendiagrammen (in Pixel). Bei 0 wird keine gerundete Kante genutzt, ein Wert größer 0 macht das Tortendiagramm zum Donut.", |
||||
"prop_default":"10", |
||||
"prop_unit":"px", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"TEXT", |
||||
"property_group_uniquename":"LAYOUT", |
||||
"sortnr":"", |
||||
"range_from":"0", |
||||
"range_to":"50", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"seriesNode" |
||||
}, |
||||
{ "caption":"Label-Deckungsgrad", |
||||
"prop_uniquename":"labelOpacity", |
||||
"explanation":"Deckungsgrad Faktor bei Beschriftungen (Faktor in %). Bei 100 ist maximale Deckung erreicht", |
||||
"prop_default":"70", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"TEXT", |
||||
"property_group_uniquename":"LAYOUT", |
||||
"sortnr":"", |
||||
"range_from":"0", |
||||
"range_to":"100", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"seriesNode" |
||||
}, |
||||
{ "caption":"Leerzeilen-Maskierung", |
||||
"prop_uniquename":"null_value_mask", |
||||
"explanation":"Text, der ersetzt wird, wenn eine Dimension leer ist, z.B. *Andere Hochschule* bei BA-MA-Übergang", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"TEXT", |
||||
"property_group_uniquename":"LAYOUT", |
||||
"sortnr":"", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"seriesNode" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
|
||||
|
||||
<@create_temp_tables /> |
||||
|
||||
|
||||
<@fill_viz_properties /> |
||||
|
||||
|
||||
|
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
--Freemarker Template |
||||
<#include "SQL_lingua_franca"/> |
||||
<#include "SuperX_general"/> |
||||
<#include "VIZ-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="renderer"> |
||||
select tid from viz_renderer where uniquename='d3js'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign viz_types = [ |
||||
{"uniquename":"pie", "caption":"Tortendiagramm", |
||||
"orientation":"Z", |
||||
"description":"Tortendiagramm", |
||||
"explanation":""} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<#assign viz_type_properties = [ |
||||
{"viz_property_uniquename":"dimension1", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"measure1", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"innerRadius"}, |
||||
{"viz_property_uniquename":"labelRadiusFactor"}, |
||||
{"viz_property_uniquename":"cornerRadius"} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<@create_temp_tables /> |
||||
|
||||
|
||||
<#foreach viz_type in viz_types> |
||||
|
||||
<@fill_viz_types viz_type_p=viz_type /> |
||||
|
||||
<@fill_viz_type_properties viz_type_p=viz_type /> |
||||
|
||||
</#foreach> |
||||
|
||||
|
||||
|
@ -0,0 +1,44 @@
@@ -0,0 +1,44 @@
|
||||
--Freemarker Template |
||||
<#include "SQL_lingua_franca"/> |
||||
<#include "SuperX_general"/> |
||||
<#include "VIZ-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="renderer"> |
||||
select tid from viz_renderer where uniquename='d3js'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign viz_types = [ |
||||
{"uniquename":"sankey", "caption":"Sankey", |
||||
"orientation":"H", |
||||
"description":"Horizontales Sankeydiagramm", |
||||
"explanation":""} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<#assign viz_type_properties = [ |
||||
{"viz_property_uniquename":"dimension1", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"dimension2", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"measure1", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"null_value_mask", |
||||
"is_mandatory":"0"} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<@create_temp_tables /> |
||||
|
||||
|
||||
<#foreach viz_type in viz_types> |
||||
|
||||
<@fill_viz_types viz_type_p=viz_type /> |
||||
|
||||
<@fill_viz_type_properties viz_type_p=viz_type /> |
||||
|
||||
</#foreach> |
||||
|
||||
|
||||
|
@ -0,0 +1,40 @@
@@ -0,0 +1,40 @@
|
||||
--Freemarker Template |
||||
<#include "SQL_lingua_franca"/> |
||||
<#include "SuperX_general"/> |
||||
<#include "VIZ-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="renderer"> |
||||
select tid from viz_renderer where uniquename='d3js'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign viz_types = [ |
||||
{"uniquename":"worldmap", "caption":"Weltkarte", |
||||
"orientation":"H", |
||||
"description":"Weltkarte", |
||||
"explanation":""} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<#assign viz_type_properties = [ |
||||
{"viz_property_uniquename":"dimension1", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"measure1", |
||||
"is_mandatory":"1"} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<@create_temp_tables /> |
||||
|
||||
|
||||
<#foreach viz_type in viz_types> |
||||
|
||||
<@fill_viz_types viz_type_p=viz_type /> |
||||
|
||||
<@fill_viz_type_properties viz_type_p=viz_type /> |
||||
|
||||
</#foreach> |
||||
|
||||
|
||||
|
@ -0,0 +1,170 @@
@@ -0,0 +1,170 @@
|
||||
--Freemarker Template |
||||
<#include "SQL_lingua_franca"/> |
||||
<#include "SuperX_general"/> |
||||
<#include "VIZ-Makros"/> |
||||
|
||||
<sqlvars> |
||||
<sqlvar name="renderer"> |
||||
select tid from viz_renderer where uniquename='plot'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
|
||||
<#assign viz_properties = [ |
||||
{ "caption":"Dimensionen", |
||||
"prop_uniquename":"dimensionsNode", |
||||
"explanation":"Dimensionen", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"NODE", |
||||
"sortnr":"1", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"NODE", |
||||
"parent_property_uniquename":"", |
||||
"variableName":"encode" |
||||
}, |
||||
{ "caption":"X-Achse", |
||||
"prop_uniquename":"x", |
||||
"explanation":"X-Achse", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"608", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Y-Achse", |
||||
"prop_uniquename":"y", |
||||
"explanation":"Y-Achse", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"610", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Dimension 1", |
||||
"prop_uniquename":"dimension1", |
||||
"explanation":"Dimension 1", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"608", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Maß 1", |
||||
"prop_uniquename":"measure1", |
||||
"explanation":"Maß 1", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"MEASURE", |
||||
"sortnr":"610", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Serien-Dimension", |
||||
"prop_uniquename":"stroke", |
||||
"explanation":"Serien-Dimension", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"1", |
||||
"input_type_uniquename":"SELECT", |
||||
"property_group_uniquename":"CATEGORY", |
||||
"sortnr":"608", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"dimensionsNode" |
||||
}, |
||||
{ "caption":"Diagrammelement", |
||||
"prop_uniquename":"seriesNode", |
||||
"explanation":"Layout der Diagrammelemente", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"1", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"NODE", |
||||
"sortnr":"400", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"NODE", |
||||
"parent_property_uniquename":"", |
||||
"variableName":"seriesNode" |
||||
}, |
||||
{ "caption":"Strichfarbe", |
||||
"prop_uniquename":"stroke_static", |
||||
"explanation":"Strichfarbe (einfach)", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"COLOR", |
||||
"property_group_uniquename":"STYLE", |
||||
"sortnr":"", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"parent_property_uniquename":"seriesNode" |
||||
} |
||||
, |
||||
{ "caption":"Flächenfarbe", |
||||
"prop_uniquename":"fill_static", |
||||
"explanation":"Nur für Grafikelemente Flächen und Balken. Füllfarbe.", |
||||
"prop_default":"", |
||||
"prop_unit":"", |
||||
"is_generic":"0", |
||||
"static_values":"", |
||||
"is_mandatory":"0", |
||||
"input_type_uniquename":"COLOR", |
||||
"property_group_uniquename":"STYLE", |
||||
"sortnr":"", |
||||
"range_from":"", |
||||
"range_to":"", |
||||
"prop_value_type":"string", |
||||
"variable_name":"fill", |
||||
"parent_property_uniquename":"seriesNode" |
||||
} |
||||
] |
||||
/> |
||||
|
||||
|
||||
|
||||
<@create_temp_tables /> |
||||
|
||||
|
||||
<@fill_viz_properties /> |
||||
|
||||
|
||||
|
@ -0,0 +1,79 @@
@@ -0,0 +1,79 @@
|
||||
--Freemarker Template |
||||
<#include "SQL_lingua_franca"/> |
||||
<#include "SuperX_general"/> |
||||
<#include "VIZ-Makros"/> |
||||
<sqlvars> |
||||
<sqlvar name="renderer"> |
||||
select tid from viz_renderer where uniquename='plot'; |
||||
</sqlvar> |
||||
</sqlvars> |
||||
<#assign viz_types = [ |
||||
{"uniquename":"bar_x", "caption":"Balkendiagramm (horizontal)", |
||||
"orientation":"H", |
||||
"description":"Horizontales Balkendiagramm", |
||||
"explanation":""}, |
||||
{"uniquename":"bar_y", "caption":"Balkendiagramm (vertikal)", |
||||
"orientation":"V", |
||||
"description":"Vertikales Balkendiagramm", |
||||
"explanation":""}, |
||||
{"uniquename":"line", "caption":"Linien (vertikal)", |
||||
"orientation":"V", |
||||
"description":"Vertikales Liniendiagramm", |
||||
"explanation":""}, |
||||
{"uniquename":"area_x", "caption":"Flächendiagramm (horizontal)", |
||||
"orientation":"H", |
||||
"description":"Horizontales Flächendiagramm", |
||||
"explanation":""}, |
||||
{"uniquename":"area_y", "caption":"Flächendiagramm (vertikal)", |
||||
"orientation":"V", |
||||
"description":"Vertikales Flächendiagramm", |
||||
"explanation":""}, |
||||
{"uniquename":"dot", "caption":"Punkte (vertikal)", |
||||
"orientation":"V", |
||||
"description":"Vertikales Punktdiagramm", |
||||
"explanation":""}, |
||||
{"uniquename":"box_x", "caption":"Boxplot (horizontal)", |
||||
"orientation":"H", |
||||
"description":"Horizontales Boxplot", |
||||
"explanation":""}, |
||||
{"uniquename":"box_y", "caption":"Boxplot (vertikal)", |
||||
"orientation":"V", |
||||
"description":"Vertikales Boxplot", |
||||
"explanation":""}, |
||||
{"uniquename":"text", "caption":"Wertelabel (vertikal)", |
||||
"orientation":"V", |
||||
"description":"Wertelabel für vertikales Diagramm", |
||||
"explanation":""} |
||||
] |
||||
/> |
||||
|
||||
|
||||
<#assign viz_type_properties = [ |
||||
{"viz_property_uniquename":"x", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"y", |
||||
"is_mandatory":"1"}, |
||||
{"viz_property_uniquename":"stroke", |
||||
"is_mandatory":"0"}, |
||||
{"viz_property_uniquename":"stroke_static", |
||||
"is_mandatory":"0"}, |
||||
{"viz_property_uniquename":"fill_static", |
||||
"is_mandatory":"0"} |
||||
|
||||
] |
||||
/> |
||||
|
||||
|
||||
<@create_temp_tables /> |
||||
|
||||
|
||||
<#foreach viz_type in viz_types> |
||||
|
||||
<@fill_viz_types viz_type_p=viz_type /> |
||||
|
||||
<@fill_viz_type_properties viz_type_p=viz_type /> |
||||
|
||||
</#foreach> |
||||
|
||||
|
||||
|
@ -0,0 +1,263 @@
@@ -0,0 +1,263 @@
|
||||
<%@ 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 xmlns:sx="http://memtext.de"> |
||||
<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 Diagrammenwürfe bearbeiten</title> |
||||
<% |
||||
String renderer_id = request.getParameter("renderer_id"); |
||||
String renderer = request.getParameter("renderer"); |
||||
if(renderer != null && (renderer_id == null || renderer_id.equals(""))) |
||||
{ |
||||
renderer_id=renderer.equals("plot")?"2":(renderer.equals("d3js")?"1":"3"); |
||||
} |
||||
|
||||
%> |
||||
|
||||
<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> |
||||
<script language="javascript"> |
||||
function initPage() |
||||
{ |
||||
var renderer_id="<%=renderer_id %>"; |
||||
var referrerWindow=window.opener; |
||||
var referrerDocument=referrerWindow.document; |
||||
var targetField=referrerDocument.getElementById("viz_chart_variant").value; |
||||
document.getElementById(targetField).innerHTML=referrerDocument.getElementById("chartModelSrcCode").innerHTML; |
||||
document.getElementById("key_viz_chartrenderer_id").value=renderer_id; |
||||
|
||||
} |
||||
</script> |
||||
<body class="clsPageBody" onLoad="initPage()"><%@ 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="viz_chart"; |
||||
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">Diagrammenwürfe bearbeiten. </span><img border="0" height="18px" alt="Erläuterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">In diesem Formular können Sie Diagramme verwalten.</span> |
||||
</div> |
||||
<% |
||||
String tid = request.getParameter("tid"); |
||||
filter +="tid="+tid; |
||||
|
||||
%> |
||||
|
||||
<% |
||||
String created_by = request.getParameter("created_by"); |
||||
if(created_by != null && !created_by.equals("null")){ |
||||
filter +=",created_by="+created_by; |
||||
} |
||||
%> |
||||
<db:dbform tableName="viz_chart" maxRows="1" autoUpdate="false" |
||||
captionResource="true" multipart="false" |
||||
followUp="/edit/viz/viz_chart_edit.jsp" |
||||
filter="<%= filter %>" orderBy="caption" |
||||
dbConnectionName="<%= mandantenid %>" ><input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/><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" style="height:18px" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn"> |
||||
<db:navFirstButton styleClass="clsButtonStyle" style="height:18px" 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" style="height:18px" alt="button.nav.previous" src="../../images/resultset_previous.svg" flavor="image" id="db_navPrevButton"/></td><td class="naviBtn"> |
||||
<db:navNextButton styleClass="clsButtonStyle" style="height:18px" alt="button.nav.next" src="../../images/resultset_next.svg" flavor="image" id="db_navNextButton"/></td><td class="naviBtn"> |
||||
<db:navLastButton styleClass="clsButtonStyle" style="height:18px" 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" style="height:18px" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy1" 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" style="height:18px" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy1" flavor="image"/></td><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" style="height:18px" 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" style="height:18px" styleClass="clsButtonStyle" alt="Datensatz einfügen" src="../../images/circle_tick.svg" id="ins1" 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="created_by" value="<%= created_by %>" /> |
||||
</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="Bezeichnung"/></td><td align="left"> |
||||
<div id="fld_caption"> |
||||
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="50" id="inp_viz_chartcaption" fieldName="caption"/> |
||||
</div> |
||||
</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="50" id="inp_viz_chartuniquename" fieldName="uniquename"/> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Beschreibung"/></td><td align="left"> |
||||
<div id="fld_description"> |
||||
<db:textArea nullFieldValue="" onBlur="" styleClass="editform" wrap="virtual" rows="6" cols="80" fieldName="description"/> |
||||
</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_viz_chartmaskeninfo_id" class="schluesselfeld" type="text"> |
||||
<db:select id="inp_viz_chartmaskeninfo_id" styleClass="clsInputStyle" readOnly="false" onChange="updateKeyfield(this)" fieldName="maskeninfo_id" customEntry=",,true"><% sql = "select tid, name from maskeninfo order by name;"; %><db:queryData name="viz_chart_maskeninfo5" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Maskenparameter"/></td><td align="left"> |
||||
<div id="fld_mask_params"> |
||||
<db:textArea nullFieldValue="" onBlur="" styleClass="editform" wrap="virtual" rows="6" cols="80" fieldName="mask_params"/> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Renderer"/></td><td align="left"> |
||||
<div id="fld_renderer_id"> |
||||
<input onblur="updateSelect(this)" style="display:none" size="10" name="key_viz_chartrenderer_id" class="schluesselfeld" type="text"> |
||||
<db:select id="inp_viz_chartrenderer_id" styleClass="clsInputStyle" readOnly="false" onChange="updateKeyfield(this)" fieldName="renderer_id" customEntry=",,true"><% sql = "select tid, caption from viz_renderer order by caption;"; %><db:queryData name="viz_chart_viz_renderer3" query="<%= sql %>" dbConnectionName="<%= mandantenid %>" /> </db:select> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Quellcode des Diagramms"/></td><td align="left"> |
||||
<div id="fld_chartmodel"> |
||||
<db:textArea nullFieldValue="" onBlur="" styleClass="editform" wrap="virtual" rows="6" cols="80" fieldName="chartmodel" id="chartmodel"/> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Quellcode des Diagramms (Miniatur)"/></td><td align="left"> |
||||
<div id="fld_chartmodel_miniature"> |
||||
<db:textArea nullFieldValue="" onBlur="" styleClass="editform" wrap="virtual" rows="6" cols="80" fieldName="chartmodel_miniature" id="chartmodel_miniature"/> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Breite des Diagramms"/></td><td align="left"> |
||||
<div id="fld_chart_width"> |
||||
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_viz_chartchart_width" size="6" fieldName="chart_width"/> |
||||
</div> |
||||
<span style="display:none" connectId="fld_chart_width" dojoType="tooltip">in px</span></td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Höhe des Diagramms"/></td><td align="left"> |
||||
<div id="fld_chart_height"> |
||||
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_viz_chartchart_height" size="6" fieldName="chart_height"/> |
||||
</div> |
||||
<span style="display:none" connectId="fld_chart_height" dojoType="tooltip">in px</span></td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Breite der Diagramm-Miniatur"/></td><td align="left"> |
||||
<div id="fld_chart_miniature_width"> |
||||
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_viz_chartchart_miniature_width" size="6" fieldName="chart_miniature_width"/> |
||||
</div> |
||||
<span style="display:none" connectId="fld_chart_miniature_width" dojoType="tooltip">in px</span></td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Höhe der Diagramm-Miniatur"/></td><td align="left"> |
||||
<div id="fld_chart_miniature_height"> |
||||
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_viz_chartchart_miniature_height" size="6" fieldName="chart_miniature_height"/> |
||||
</div> |
||||
<span style="display:none" connectId="fld_chart_miniature_height" dojoType="tooltip">in px</span></td> |
||||
</tr> |
||||
<tr> |
||||
<td class="db_label"> |
||||
<db:message key="Grafik aktiv"/></td><td align="left"> |
||||
<div id="fld_chart_active"> |
||||
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_viz_chartchart_active" size="6" fieldName="chart_active"/> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td><td align="center" style="padding-left:10px"></td> |
||||
</table> |
||||
</db:body> |
||||
<db:footer/></db:dbform></body> |
||||
</html> |
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue