diff --git a/build.xml b/build.xml index 231deb1..68f8e30 100644 --- a/build.xml +++ b/build.xml @@ -10,6 +10,7 @@ ant -DMODULE_PATH=$PORTAL_PFAD -DWEBAPP_DIR=$WEBAPP -DMODULE=portal dist PORTAL-JAR erzeugen: ant -DWEBAPP=$WEBAPP distPortal +ant -DWEBAPP=$WEBAPP distPortalJava8 ant -DWEBAPP=$WEBAPP cleanBuildPath --> @@ -27,7 +28,7 @@ ant -DWEBAPP=$WEBAPP cleanBuildPath - + @@ -61,6 +62,15 @@ ant -DWEBAPP=$WEBAPP cleanBuildPath + + + + + + + + + @@ -145,7 +155,7 @@ ant -DWEBAPP=$WEBAPP cleanBuildPath - + @@ -174,6 +184,47 @@ ant -DWEBAPP=$WEBAPP cleanBuildPath + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src-modules/module/portal/conf/includes.txt b/src-modules/module/portal/conf/includes.txt index eec7122..33cd6e2 100644 --- a/src-modules/module/portal/conf/includes.txt +++ b/src-modules/module/portal/conf/includes.txt @@ -1,7 +1,4 @@ -doku/etl_modul/etl.html -WEB-INF/conf/edustore/db/bin/SQL_ENV_etl.sam -WEB-INF/lib/superx-etl.jar -images/eye.svg -images/downloadblck.svg -images/resultset_up.svg +doku/portal_modul/portal.html +WEB-INF/conf/edustore/db/bin/SQL_ENV_portal.sam +WEB-INF/lib/superx-portal.jar diff --git a/src-modules/module/portal/conf/portal.xml b/src-modules/module/portal/conf/portal.xml index 19e6b4e..3f6acf5 100644 --- a/src-modules/module/portal/conf/portal.xml +++ b/src-modules/module/portal/conf/portal.xml @@ -2,7 +2,7 @@ +system="Portalkonfiguration" thema="Portalkonfiguration" thema_parent="Administration"> Abfragen zur Administration von Portalkonfiguration displayType="select" visibleFields="caption" format="%s"> + + + @@ -415,9 +419,12 @@ parent="Portalkonfiguration">Abfragen zur Administration von Portalkonfiguration - + + + + @@ -490,9 +497,11 @@ parent="Portalkonfiguration">Abfragen zur Administration von Portalkonfiguration + - + + @@ -500,7 +509,7 @@ parent="Portalkonfiguration">Abfragen zur Administration von Portalkonfiguration - + @@ -562,8 +571,27 @@ mode="full"> + + + + + + + + + + + + + + + +
+ +
+In diesem Formular können Sie Portalreiter verwalten. + +tid + + + + + + + + + + + +
diff --git a/src-modules/module/portal/masken/52000_maske_system_bez.unl b/src-modules/module/portal/masken/52000_maske_system_bez.unl index 3e33479..08cb448 100644 --- a/src-modules/module/portal/masken/52000_maske_system_bez.unl +++ b/src-modules/module/portal/masken/52000_maske_system_bez.unl @@ -1 +1 @@ -52000^370^ +52000^380^ diff --git a/src-modules/module/portal/masken/52000_maskeninfo.unl b/src-modules/module/portal/masken/52000_maskeninfo.unl index a012022..bd2ecbe 100644 --- a/src-modules/module/portal/masken/52000_maskeninfo.unl +++ b/src-modules/module/portal/masken/52000_maskeninfo.unl @@ -1,6 +1,13 @@ 52000^Portale verwalten^--Autor: D. Quathamer\ ---Datum: 15.3.2024\ +--Datum: 15.8.2026\ --freemarker template\ +\ +\ +select count(*) from db_version where his_system ='gang';\ +\ +\ +\ +\ create temp table tmp_portal_config(\ tid INTEGER , \ uniquename VARCHAR(255) not null, \ @@ -9,9 +16,11 @@ userinfo_id INTEGER , \ print_maskeninfo_id INTEGER , \ booklet_stylesheet VARCHAR(255) ,\ layout_uniquename varchar(255),\ +layout_caption varchar(255),\ layout_id integer,\ id_param_name VARCHAR(255) ,\ -nextedit varchar(255)\ +nextedit varchar(255),\ +nextedit2 varchar(255)\ );\ insert into tmp_portal_config (tid,\ uniquename,\ @@ -19,30 +28,48 @@ insert into tmp_portal_config (tid,\ userinfo_id,\ print_maskeninfo_id,\ booklet_stylesheet,\ + layout_id,\ -- id_param,\ -- id_param_name,\ nextedit) \ -select tid,\ - uniquename,\ - caption,\ - userinfo_id,\ - print_maskeninfo_id,\ - booklet_stylesheet,\ +select C.tid,\ + C.uniquename,\ + C.caption,\ + C.userinfo_id,\ + C.print_maskeninfo_id,\ + C.booklet_stylesheet,\ + L.portal_layout_id,\ -- id_param,\ -- id_param_name\ ('../edit/portal/portal_config_edit.jsp|tid=' || C.tid)::varchar(255)\ -FROM portal_config C\ + \ +FROM portal_config C left outer join portal_config2layout L\ +on (L.portal_config_id=C.tid)\ where 1=1\ /* and C.caption ilike '%<>%' */\ /* and C.uniquename ilike '%<>%' */\ ;\ \ +update tmp_portal_config T set layout_caption=L.caption,\ +layout_uniquename=L.uniquename\ +from portal_layout L\ +where L.tid=T.layout_id;\ +\ +<#if gang_installed==1>\ +update tmp_portal_config set nextedit2='../edit/portal/portal_show.jsp?config=' || trim(uniquename)\ +|| '&layout=' || trim(layout_uniquename);\ +update tmp_portal_config set nextedit2=nextedit2 || '&idParam=' || (select min(G.tid)\ +from gang_stg_ab G)\ +where uniquename='portal_config_gang_bearbeiten';\ +\ \ \ select \ caption,\ uniquename,\ -nextedit \ +layout_caption,\ +nextedit ,\ +nextedit2\ \ from tmp_portal_config\ order by caption ,uniquename\ @@ -56,7 +83,13 @@ Column CID=0 heading_text="Name" center_heading\ Column CID=0 heading_text="Schlüssel" center_heading\ row_selectable col_selectable heading_platform readonly\ width=50 text_size=100\ +Column CID=0 heading_text="Layout" center_heading\ + row_selectable col_selectable heading_platform readonly\ + width=50 text_size=100\ Column CID=1 heading_text="Bearbeiten" center_heading\ row_selectable col_selectable heading_platform readonly\ width=5 text_size=200\ +Column CID=1 heading_text="Aufrufen" center_heading\ + row_selectable col_selectable heading_platform readonly\ + width=5 text_size=200\ @@@^^^Portale und Inhalte verwalten.^drop table tmp_portal_config;^^1^440^360^0^1^ ^ diff --git a/src-modules/module/portal/schluesseltabellen/fm_templates.unl b/src-modules/module/portal/schluesseltabellen/fm_templates.unl index d99b9df..c4b3e99 100644 --- a/src-modules/module/portal/schluesseltabellen/fm_templates.unl +++ b/src-modules/module/portal/schluesseltabellen/fm_templates.unl @@ -1,4 +1,4 @@ -222^PORTAL-Makros^<#macro PORTAL_FUELLEN portal_config portal_elements portal_tabs>\ +223^PORTAL-Makros^<#macro PORTAL_FUELLEN portal_config portal_elements portal_tabs>\ create temp table tmp_portal_config(\ tid INTEGER , \ uniquename VARCHAR(255) not null, \ @@ -83,13 +83,15 @@ insert into tmp_portal_config(uniquename,\ id_param_name)\ select '${portal_config.uniquename}',\ '${portal_config.caption}',\ -<#if portal_config.print_maskeninfo_id?exists> ${portal_config.print_maskeninfo_id} <#else> null::integer,\ +<#if portal_config.print_maskeninfo_id?exists \ +&& portal_config.print_maskeninfo_id!=""> ${portal_config.print_maskeninfo_id} <#else> null::integer,\ <#if portal_config.booklet_stylesheet?exists> '${portal_config.booklet_stylesheet}' <#else> null::varchar(255) ,\ <#if portal_config.id_param_name?exists> '${portal_config.id_param_name}' <#else> null::varchar(255) \ from xdummy;\ \ update portal_config set caption='${portal_config.caption}'\ -<#if portal_config.print_maskeninfo_id?exists>, print_maskeninfo_id=${portal_config.print_maskeninfo_id} \ +<#if portal_config.print_maskeninfo_id?exists\ +&& portal_config.print_maskeninfo_id!="">, print_maskeninfo_id=${portal_config.print_maskeninfo_id} \ <#if portal_config.booklet_stylesheet?exists>, booklet_stylesheet='${portal_config.booklet_stylesheet}' \ <#if portal_config.id_param_name?exists>, id_param_name='${portal_config.id_param_name}' \ where uniquename='${portal_config.uniquename}';\ diff --git a/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_gang.sql b/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_gang.sql index cfb2965..cef317a 100644 --- a/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_gang.sql +++ b/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_gang.sql @@ -1,5 +1,10 @@ --freemarker template <#include "PORTAL-Makros"/> + + +select count(*) from db_version where his_system ='gang'; + + <#assign portal_config = {"uniquename":"portal_config_gang_bearbeiten", @@ -7,7 +12,7 @@ "print_maskeninfo_id":"25100", "layout_uniquename":"COLUMNS_2", "id_param_name":"tid", -"tab_target_window":"parent.editPane"} +"tab_target_window":"editPane"} /> @@ -16,27 +21,27 @@ "uniquename":"GANG_HEADER", "src_url":"", "content_static":"GANG Studiengangsverwaltung", "element_role":"HEADER"}, - {"element_type":"STATIC_HTML", "caption":"GANG Menue", -"uniquename":"GANG_MENU", "src_url":"../../edit/gang/menue.jsp", - "content_static":"menü", - "element_role":"CONTENT", - "min_width":"4", + {"element_type":"IFRAME", "caption":"GANG Menue", +"uniquename":"GANG_MENU", "src_url":"../../edit/portal/portal_menue_gang.jsp?baum=abschluss&status=true", + "content_static":"", + "element_role":"SIDEBAR_LEFT", + "min_width":"3", "height":"400"}, + {"element_type":"TAB", "caption":"GANG Tabpane", +"uniquename":"tabPane", "src_url":"", + "content_static":"", + "element_role":"TAB_TOP", + "min_width":"8", + "height":"40"}, {"element_type":"IFRAME", "caption":"GANG Content", -"uniquename":"GANG_CONTENT", "src_url":"../../edit/gang/studiengang_edit.jsp", +"uniquename":"editPane", "src_url":"../../edit/gang/studiengang_edit.jsp", "content_static":"Inhalt", "element_role":"CONTENT", "min_width":"8", - "height":"400"}, + "height":"600"}, {"element_type":"STATIC_HTML", "caption":"GANG Fusszeile", "uniquename":"SX_FOOTER", "src_url":"../../edit/gang/bottombar.htm", -"content_static":" -", +"content_static":"", "element_role":"FOOTER"} ] /> @@ -52,12 +57,28 @@ {"caption":"Prüfungsrechtliches", "tab_id":"Linkpruefung", "target_url":"../../edit/gang/pruefung_edit.jsp"}, {"caption":"Initialisierung", "tab_id":"Linkinitialisierung", "target_url":"../../edit/gang/initialisierung_edit.jsp"}, {"caption":"Akkreditierung", "tab_id":"Linkakkreditierung", "target_url":"../../edit/gang/akkreditierung_edit.jsp"}, -{"caption":"Qualitätssicherung", "tab_id":"Linkevaluation", "target_url":"../../edit/gang/studiengang_edit.jsp"}, +{"caption":"Qualitätssicherung", "tab_id":"Linkevaluation", "target_url":"../../edit/gang/evaluation_edit.jsp"}, {"caption":"Einstellung", "tab_id":"Linkabwicklung", "target_url":"../../edit/gang/abwicklung_edit.jsp"} ] /> +<#if gang_installed==1> +--zur Sicherheit alles löschen: +delete from portal_element where tid in (select E.portal_element_id +from portal_config2element E,portal_config T +where T.tid=E.portal_config_id +and T.uniquename='${portal_config.uniquename}'); + + delete from portal_config2element where + portal_config_id =(select T.tid from portal_config T where T.uniquename='${portal_config.uniquename}'); + +delete from portal_config_tab where + portal_config_id =(select T.tid from portal_config T where T.uniquename='${portal_config.uniquename}'); + + <@PORTAL_FUELLEN portal_config=portal_config portal_elements=portal_elements portal_tabs=portal_tabs /> + + diff --git a/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_sample_superx.sql b/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_sample_superx.sql index dc611ad..ae8d6b2 100644 --- a/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_sample_superx.sql +++ b/src-modules/module/portal/schluesseltabellen/portal_config_fuellen_sample_superx.sql @@ -4,8 +4,8 @@ <#assign portal_config = {"uniquename":"portal_config_sample_superx", "caption":"SuperX-Beispielportal", -"print_maskeninfo_id":"25100", -"layout_uniquename":"SUPERX_CARD", +"print_maskeninfo_id":"", +"layout_uniquename":"CARD_V", "id_param_name":"", "tab_target_window":""} /> @@ -43,7 +43,7 @@ - + ", "element_role":"FOOTER", "min_width":"100", diff --git a/src-modules/module/portal/schluesseltabellen/portal_element_type.unl b/src-modules/module/portal/schluesseltabellen/portal_element_type.unl index 002a3e7..6fa7375 100644 --- a/src-modules/module/portal/schluesseltabellen/portal_element_type.unl +++ b/src-modules/module/portal/schluesseltabellen/portal_element_type.unl @@ -4,3 +4,4 @@ 4^DBFORM^DB-Form^ 5^VIZ_CHART^VIZ-Grafik^ 6^IFRAME^Inline-Frame^ +7^TAB^Portal-Reiter^ diff --git a/src-modules/module/portal/schluesseltabellen/portal_layout_fuellen.sql b/src-modules/module/portal/schluesseltabellen/portal_layout_fuellen.sql index fdf631b..45e0190 100644 --- a/src-modules/module/portal/schluesseltabellen/portal_layout_fuellen.sql +++ b/src-modules/module/portal/schluesseltabellen/portal_layout_fuellen.sql @@ -57,7 +57,8 @@ grid_type=T.grid_type, js_url=T.js_url, onload_handler=T.onload_handler from tmp_portal_layout T - where L.uniquename in (select T2.uniquename from tmp_portal_layout T2); + where L.uniquename in (select T2.uniquename from tmp_portal_layout T2) + and T.uniquename=L.uniquename; delete from tmp_portal_layout where uniquename in (select uniquename from portal_layout); diff --git a/src-modules/module/portal/schluesseltabellen/sachgebiete_fuellen.sql b/src-modules/module/portal/schluesseltabellen/sachgebiete_fuellen.sql new file mode 100644 index 0000000..46c6d4e --- /dev/null +++ b/src-modules/module/portal/schluesseltabellen/sachgebiete_fuellen.sql @@ -0,0 +1,14 @@ +--Das Sachgebiet 381 (RPTA Administr.) wird installiert + + +delete from sachgebiete where tid in (381); +insert into sachgebiete(tid,name) values (381,'Portal Administr.'); + +delete from group_sachgeb_bez where sachgebiete_id in (330,381) +and groupinfo_id in (select G.tid from groupinfo G where G.name='Administratoren' or G.name='superx') ; + +insert into group_sachgeb_bez +select G.tid,330 from groupinfo G where G.name='Administratoren' or G.name='superx'; +insert into group_sachgeb_bez +select G.tid,381 from groupinfo G where G.name='Administratoren' or G.name='superx'; + diff --git a/src-modules/module/portal/schluesseltabellen/sachgebiete_loeschen.sql b/src-modules/module/portal/schluesseltabellen/sachgebiete_loeschen.sql new file mode 100644 index 0000000..a9c41c7 --- /dev/null +++ b/src-modules/module/portal/schluesseltabellen/sachgebiete_loeschen.sql @@ -0,0 +1,3 @@ +delete from sachgebiete where tid in (380,381); +delete from group_sachgeb_bez where sachgebiete_id in (380,381); +delete from user_sachgeb_bez where sachgebiete_id in (380,381); diff --git a/src/de/superx/portal/PortalConfig.java b/src/de/superx/portal/PortalConfig.java index 1ee36a6..89ea762 100644 --- a/src/de/superx/portal/PortalConfig.java +++ b/src/de/superx/portal/PortalConfig.java @@ -11,12 +11,18 @@ public class PortalConfig { this.uniquename = uniquename; } List elementList = new LinkedList(); + List tabList = new LinkedList(); String uniquename; int configTid; String configCaption; String idParamName; String layoutUniquename; + String gridType; + String fixedGridColumnCount; + String cssUrl; + String jsUrl; + String onloadHandler; public String PortalElementsSql; public String PortalConfigSql; @@ -44,11 +50,46 @@ public class PortalConfig { public void setLayoutUniquename(String layoutUniquename) { this.layoutUniquename = layoutUniquename; } + public String getGridType() { + return gridType; + } + public void setGridType(String gridType) { + this.gridType = gridType; + } + public String getFixedGridColumnCount() { + return fixedGridColumnCount; + } + public void setFixedGridColumnCount(String fixedGridColumnCount) { + this.fixedGridColumnCount = fixedGridColumnCount; + } + public String getCssUrl() { + return cssUrl; + } + public void setCssUrl(String cssUrl) { + this.cssUrl = cssUrl; + } + public String getJsUrl() { + return jsUrl; + } + public void setJsUrl(String jsUrl) { + this.jsUrl = jsUrl; + } + public String getOnloadHandler() { + return onloadHandler; + } + public void setOnloadHandler(String onloadHandler) { + this.onloadHandler = onloadHandler; + } public String getPortalConfigSql() { return PortalConfigSql; } public void setPortalConfigSql(String portletLayoutUniquename ) { - String sql="select C.tid as config_tid,C.caption as config_caption,C.id_param_name,L.uniquename as layout_uniquename"; + String sql="select C.tid as config_tid,C.caption as config_caption,C.id_param_name,L.uniquename as layout_uniquename,"; + sql+= "L.grid_type,\n" + + "L.fixed_grid_column_count,\n" + + "L.css_url,\n" + + "L.js_url,\n" + + "L.onload_handler"; sql+=" from portal_config C, portal_config2layout CL, portal_layout L"; sql+=" where C.uniquename='"+this.uniquename+"'"; sql+=" and C.tid=CL.portal_config_id and L.tid=CL.portal_layout_id"; @@ -66,6 +107,11 @@ public class PortalConfig { configCaption=rs.getString(2); idParamName=rs.getString(3); layoutUniquename=rs.getString(4); + gridType=rs.getString(5); + fixedGridColumnCount=rs.getString(5); + cssUrl=rs.getString(7); + jsUrl=rs.getString(8); + onloadHandler=rs.getString(9); } } } @@ -105,10 +151,50 @@ public class PortalConfig { } } } + + public String getPortalTabsSql() { + String sql="select T.portal_config_id,\n" + + " T.caption,\n" + + " T.print_maskeninfo_id,\n" + + " T.booklet_stylesheet,\n" + + " T.sortnr,\n" + + " T.tab_id,\n" + + " T.target_url,\n" + + " T.target_window,\n" + + " T.target_div\n" + + " FROM portal_config C, portal_config_tab T\n" + + " where C.tid=T.portal_config_id "; + sql+=" and T.active=1"; + sql+=" and C.uniquename='"+this.uniquename+"'"; + sql+=" order by T.sortnr,T.caption"; + return sql; + } + public void setPortalConfigTabsFromSQL(ResultSet rs) throws SQLException + { + while (rs.next()) + { + if(rs.getObject(1) !=null && rs.getObject(1) != null) + { + PortalTab myTab=new PortalTab(rs.getString(6)); + myTab.setCaption(rs.getString(2)); + myTab.setSortnr(getIntFromRs(rs.getObject(5),1)); + myTab.setTargetUrl(rs.getString(7)); + myTab.setTargetWindow(rs.getString(8)); + + + tabList.add(myTab); + } + } + } + public List getElementList() { return elementList; } + public List getTabList() + { + return tabList; + } public static int getIntFromRs(Object o,int defaultWert) { int ret=defaultWert; diff --git a/src/de/superx/portal/PortalElement.java b/src/de/superx/portal/PortalElement.java index cc22e2a..faec60e 100644 --- a/src/de/superx/portal/PortalElement.java +++ b/src/de/superx/portal/PortalElement.java @@ -1,5 +1,8 @@ package de.superx.portal; +import java.util.LinkedList; +import java.util.List; + public class PortalElement { public PortalElement(String elementUniquename) { super(); @@ -90,7 +93,48 @@ public class PortalElement { public void setIs_maximizable(boolean is_maximizable) { this.is_maximizable = is_maximizable; } + public String toHtml(List tabs) + { + String ret=""; + switch(elementTypeUniquename) + { + case "IFRAME": + ret+=""; + break; + case "TAB": + ret+=tabs2Html(tabs); + break; + default: + ret=contentStatic; + } + return ret; + } - - + private String tabs2Html(List tabs) + { + String ret="
    \n"; + + for (int i = 0; i < tabs.size(); i++) { + PortalTab myTab=(PortalTab) tabs.get(i); + ret+="
  • "; + } + + + ret+="
"; + return ret; + } } diff --git a/src/de/superx/portal/PortalTab.java b/src/de/superx/portal/PortalTab.java new file mode 100644 index 0000000..6618621 --- /dev/null +++ b/src/de/superx/portal/PortalTab.java @@ -0,0 +1,51 @@ +package de.superx.portal; + +public class PortalTab { + public PortalTab(String tabId) { + super(); + this.tabId = tabId; + } + String caption; + String tabId; + String targetWindow; + String targetDiv; + int sortnr; + + public int getSortnr() { + return sortnr; + } + public void setSortnr(int sortnr) { + this.sortnr = sortnr; + } + String targetUrl; + public String getTargetUrl() { + return targetUrl; + } + public void setTargetUrl(String targetUrl) { + this.targetUrl = targetUrl; + } + public String getCaption() { + return caption; + } + public void setCaption(String caption) { + this.caption = caption; + } + public String getTabId() { + return tabId; + } + public void setTabId(String tabId) { + this.tabId = tabId; + } + public String getTargetWindow() { + return targetWindow; + } + public void setTargetWindow(String targetWindow) { + this.targetWindow = targetWindow; + } + public String getTargetDiv() { + return targetDiv; + } + public void setTargetDiv(String targetDiv) { + this.targetDiv = targetDiv; + } +} diff --git a/superx/WEB-INF/lib/superx-portal.jar b/superx/WEB-INF/lib/superx-portal.jar index cb74242..e8d88cc 100644 Binary files a/superx/WEB-INF/lib/superx-portal.jar and b/superx/WEB-INF/lib/superx-portal.jar differ diff --git a/superx/WEB-INF/lib/spring-context-indexer-6.2.19.jar b/superx/WEB-INF/lib_ext/spring-context-indexer-6.2.19.jar similarity index 100% rename from superx/WEB-INF/lib/spring-context-indexer-6.2.19.jar rename to superx/WEB-INF/lib_ext/spring-context-indexer-6.2.19.jar diff --git a/superx/edit/portal/portal_htmlhead.inc b/superx/edit/portal/portal_htmlhead.inc new file mode 100644 index 0000000..273206d --- /dev/null +++ b/superx/edit/portal/portal_htmlhead.inc @@ -0,0 +1,5 @@ + + + + + diff --git a/superx/edit/portal/portal_htmlhead_css_superx.inc b/superx/edit/portal/portal_htmlhead_css_superx.inc new file mode 100644 index 0000000..2d8ab57 --- /dev/null +++ b/superx/edit/portal/portal_htmlhead_css_superx.inc @@ -0,0 +1,7 @@ + + + + + + + diff --git a/superx/edit/portal/portal_init.inc b/superx/edit/portal/portal_init.inc new file mode 100644 index 0000000..2d48fc6 --- /dev/null +++ b/superx/edit/portal/portal_init.inc @@ -0,0 +1,25 @@ +<% + +if(elementList!=null && elementList.size()>0) +{ +//collect all srcUrls: + out.println(""); + +} + +%> + + diff --git a/superx/edit/portal/portal_menue_gang.jsp b/superx/edit/portal/portal_menue_gang.jsp new file mode 100644 index 0000000..6141ca4 --- /dev/null +++ b/superx/edit/portal/portal_menue_gang.jsp @@ -0,0 +1,385 @@ +<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> + + + +Anmeldung + + + + + + + + +<% + +String baum=request.getParameter("baum").toString(); +String status=request.getParameter("status"); +String nur_aktiv="false"; +if (!(status==null)) +nur_aktiv=status.toString(); +String optVal=""; +String optText=""; +String option_str; +String nur_aktiv_str; +String status_filter; +%> + + +<% +//HttpSession session=request.getSession(true); +Object userobject=request.getSession().getAttribute("UserID"); +String userid; +String filter=""; +String sql=""; +if(userobject == null) +{ +%> + + +<% +} +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="gang_stg_ab"; + + + +String optionTagStart="