tabs,String entryNameParam,String entryNameParamVal)
{
String ret="\n";
for (int i = 0; i < tabs.size(); i++) {
PortalTab myTab=(PortalTab) tabs.get(i);
+ String myTargetUrl=myTab.getTargetUrl();
+ String myTargetWindow=myTab.getTargetWindow();
ret+="- "+myTab.getCaption()+"
";
}
ret+="
";
+ ret+="";
return ret;
}
}
diff --git a/superx/WEB-INF/lib/superx-portal.jar b/superx/WEB-INF/lib/superx-portal.jar
index e8d88cc..98eb8ab 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/edit/portal/portal_htmlhead.inc b/superx/edit/portal/portal_htmlhead.inc
index 273206d..f300deb 100644
--- a/superx/edit/portal/portal_htmlhead.inc
+++ b/superx/edit/portal/portal_htmlhead.inc
@@ -2,4 +2,7 @@
+
+
+
diff --git a/superx/edit/portal/portal_init.inc b/superx/edit/portal/portal_init.inc
index 2d48fc6..8c33bbf 100644
--- a/superx/edit/portal/portal_init.inc
+++ b/superx/edit/portal/portal_init.inc
@@ -1,25 +1,51 @@
+");
-
+
}
%>
-
+
+
+
+
diff --git a/superx/edit/portal/portal_menue_gang.jsp b/superx/edit/portal/portal_menue_gang.jsp
index 6141ca4..1805fbd 100644
--- a/superx/edit/portal/portal_menue_gang.jsp
+++ b/superx/edit/portal/portal_menue_gang.jsp
@@ -19,6 +19,7 @@
String baum=request.getParameter("baum").toString();
String status=request.getParameter("status");
+
String nur_aktiv="false";
if (!(status==null))
nur_aktiv=status.toString();
@@ -346,7 +347,7 @@ function getGangTargetTab(nodeId)
var currentTab=parent.document.forms["tabs"].elements["currentTab"].value;
if(currentTab==null)
currentTab=1;
-
+ parent.document.forms["tabs"].elements["entryValue"].value=nodeId;
var myurl="../../edit/gang/"+ gangTabs[currentTab]+"?tid="+nodeId;
parent.editPane.location.href=myurl;
diff --git a/superx/edit/portal/portal_show.jsp b/superx/edit/portal/portal_show.jsp
index 3b8a4a6..b987ab0 100644
--- a/superx/edit/portal/portal_show.jsp
+++ b/superx/edit/portal/portal_show.jsp
@@ -18,7 +18,7 @@ String username="";
String portlet_config_uniquename_param=request.getParameter("config");
String portlet_layout_uniquename_param=request.getParameter("layout");
-String idParam=request.getParameter("idParam");
+String entryParam=request.getParameter("entryParam");
//TODO: SQL injection abfangen
//Defaults zum Testen, TODO entfernen und Warnung wenn leer:
@@ -26,8 +26,8 @@ if(portlet_config_uniquename_param ==null)
portlet_config_uniquename_param="portal_config_gang_bearbeiten";
if(portlet_layout_uniquename_param ==null)
portlet_layout_uniquename_param="FRAMESET";
-if(idParam ==null)
- idParam="";
+if(entryParam ==null)
+ entryParam="";
String defaultMandantenIDParam=request.getParameter("MandantID");
StringBuffer LinkMandantenID=new StringBuffer("");
@@ -43,7 +43,7 @@ if(defaultMandantenIDParam != null && !defaultMandantenIDParam.toString().equals
String config_tid;
String config_caption="";
String config_layout="";
-String id_param_name="";
+String entry_param_name="";
String element_type_uniquename="";
String element_role_uniquename="";
String content_static="";
@@ -109,13 +109,14 @@ rs.close();
-
+
<%=portalConfig.getConfigCaption() + " " + portalConfig.getLayoutUniquename() %>
<%@ include file="./portal_htmlhead.inc" %>
<%
if(portalConfig.getCssUrl() != null && !portalConfig.getCssUrl().equals(""))
{
+out.println("");
out.println("");
}
else
@@ -124,9 +125,20 @@ else
<%@ include file="./portal_htmlhead_css_superx.inc" %>
<%
}
+
+if(portalConfig.getJsUrl() != null && !portalConfig.getJsUrl().equals(""))
+{
+out.println("");
+}
+
%>
+
+
+
+
+
<%@ include file="portal_init.inc" %>
<%
@@ -148,6 +160,19 @@ switch (portalConfig.getLayoutUniquename()) {
<%
break;
+ case "HEADER_TAB_FLEXBOX":
+ %>
+ <%@ include file="portal_show_header_tab_flexbox.inc" %>
+
+ <%
+ break;
+ //TODO: startWith
+ case "HEADER_MENU_TAB_FLEXBOX_UZK":
+ %>
+ <%@ include file="portal_show_header_menu_tab_flexbox.inc" %>
+
+ <%
+ break;
default:
%>
<%@ include file="portal_show_invalid.inc" %>
diff --git a/superx/edit/portal/portal_show_bulma_columns.inc b/superx/edit/portal/portal_show_bulma_columns.inc
index 1ce08cf..d3e5b79 100644
--- a/superx/edit/portal/portal_show_bulma_columns.inc
+++ b/superx/edit/portal/portal_show_bulma_columns.inc
@@ -9,7 +9,7 @@ if(elementList!=null && elementList.size()>0)
if(myElem.getElementRoleUniquename().equals("HEADER"))
{
out.println("");
}
}
@@ -21,7 +21,7 @@ if(elementList!=null && elementList.size()>0)
{
out.println("");
out.println("
");
- out.println(myElem.toHtml(tabList));
+ out.println(myElem.toHtml(tabList,portalConfig.getEntryParamName() ,entryParam,i));
out.println("
");
}
myElem=null;
@@ -34,9 +34,8 @@ if(elementList!=null && elementList.size()>0)
if(myElem.getElementRoleUniquename().equals("TAB_TOP"))
{
out.println("");
- out.println(myElem.toHtml(tabList));
- out.println("");
+ out.println(myElem.toHtml(tabList,portalConfig.getEntryParamName() ,entryParam,i));
+
out.println("
");
}
myElem=null;
@@ -47,7 +46,7 @@ if(elementList!=null && elementList.size()>0)
if(myElem.getElementRoleUniquename().equals("CONTENT"))
{
out.println("");
- out.println(myElem.toHtml(tabList));
+ out.println(myElem.toHtml(tabList,portalConfig.getEntryParamName() ,entryParam,i));
out.println("
");
}
myElem=null;
@@ -59,7 +58,7 @@ if(elementList!=null && elementList.size()>0)
if(myElem.getElementRoleUniquename().equals("FOOTER"))
{
out.println("");
}
diff --git a/superx/edit/portal/portal_show_content_maske.inc b/superx/edit/portal/portal_show_content_maske.inc
new file mode 100644
index 0000000..b17fc56
--- /dev/null
+++ b/superx/edit/portal/portal_show_content_maske.inc
@@ -0,0 +1,43 @@
+News werden geladen ...
+
+
diff --git a/superx/edit/portal/portal_show_frameset_gang.inc b/superx/edit/portal/portal_show_frameset_gang.inc
index e9da40e..c0996b3 100644
--- a/superx/edit/portal/portal_show_frameset_gang.inc
+++ b/superx/edit/portal/portal_show_frameset_gang.inc
@@ -4,8 +4,8 @@
diff --git a/superx/edit/portal/portal_show_header_menu_tab_flexbox.inc b/superx/edit/portal/portal_show_header_menu_tab_flexbox.inc
new file mode 100644
index 0000000..23d74a0
--- /dev/null
+++ b/superx/edit/portal/portal_show_header_menu_tab_flexbox.inc
@@ -0,0 +1,84 @@
+
+<%
+
+if(elementList!=null && elementList.size()>0)
+{
+//First print header, if available:
+ for (int i = 0; i < elementList.size(); i++) {
+ PortalElement myElem=(PortalElement) elementList.get(i);
+ if(myElem.getElementRoleUniquename().equals("HEADER"))
+ {
+ out.println("");
+ }
+ }
+ out.println("");
+ //Menu top:
+ for (int i = 0; i < elementList.size(); i++) {
+ PortalElement myElem=(PortalElement) elementList.get(i);
+ if(myElem.getElementRoleUniquename().equals("MENU"))
+ {
+ out.println("
");
+ out.println("
");
+ out.println(myElem.toHtml(tabList,portalConfig.getEntryParamName() ,entryParam,i));
+ out.println("
");
+ }
+ myElem=null;
+ }
+ out.println("
");
+ //Content:
+ //TAB_TOP:
+ for (int i = 0; i < elementList.size(); i++) {
+ PortalElement myElem=(PortalElement) elementList.get(i);
+ if(myElem.getElementRoleUniquename().equals("TAB_TOP"))
+ {
+ out.println("");
+ out.println(myElem.toHtml(tabList,portalConfig.getEntryParamName() ,entryParam,i));
+
+ out.println("
");
+ }
+ myElem=null;
+ }
+ //Content:
+ out.println("");
+
+ for (int i = 0; i < elementList.size(); i++) {
+ PortalElement myElem=(PortalElement) elementList.get(i);
+ if(myElem.getElementRoleUniquename().equals("CONTENT"))
+ {
+ out.println("
");
+ out.println(myElem.toHtml(tabList,portalConfig.getEntryParamName() ,entryParam,i));
+ out.println("
");
+ }
+ myElem=null;
+ }
+ out.println("
"); //grid , TODO sidebar_right
+ //out.println("