Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
3346a749
Commit
3346a749
authored
Jan 03, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default customers page to home page
parent
0b5a7203
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
10 deletions
+49
-10
CustomServlets_performa.xml
...p/webroot/extensions/performa/CustomServlets_performa.xml
+1
-2
GeneralConfig_performa.xml
...pp/webroot/extensions/performa/GeneralConfig_performa.xml
+6
-1
customers.jsp
cmsWebApp/webroot/extensions/performa/customers.jsp
+5
-7
additionalHomePage.jsp
...webroot/extensions/performa/editor/additionalHomePage.jsp
+13
-0
20190102_TL_Home.xml
...webroot/extensions/performa/upgrades/20190102_TL_Home.xml
+24
-0
No files found.
cmsWebApp/webroot/extensions/performa/CustomServlets_performa.xml
View file @
3346a749
...
@@ -7,8 +7,7 @@
...
@@ -7,8 +7,7 @@
<FORM
name=
"*.testAnalysis"
factory=
"Participant"
class=
"performa.form.TestAnalysisFP"
/>
<FORM
name=
"*.testAnalysis"
factory=
"Participant"
class=
"performa.form.TestAnalysisFP"
/>
</NODE>
</NODE>
<NODE
name=
"customers_jsp"
factory=
"Participant"
>
<NODE
name=
"createArticle_jsp::TL"
factory=
"Participant"
>
<INHERITS
factory=
"Named"
nodename=
"CoreORMAdmin"
/>
<FORM
name=
"*.assume"
factory=
"Participant"
class=
"performa.form.AssumeHTAdminFP"
>
<FORM
name=
"*.assume"
factory=
"Participant"
class=
"performa.form.AssumeHTAdminFP"
>
<NODE
name=
"loginFP"
factory=
"Named"
nodename=
"CMSLoginFP"
/>
<NODE
name=
"loginFP"
factory=
"Named"
nodename=
"CMSLoginFP"
/>
</FORM>
</FORM>
...
...
cmsWebApp/webroot/extensions/performa/GeneralConfig_performa.xml
View file @
3346a749
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<!-- <TOPMENU name="MENU.TEST_ANALYSIS" desc="Test Analysis" sortOrder="100" factory="Participant" class="oneit.servlets.jsp.ui.DefaultUICustomiser$Element"
<!-- <TOPMENU name="MENU.TEST_ANALYSIS" desc="Test Analysis" sortOrder="100" factory="Participant" class="oneit.servlets.jsp.ui.DefaultUICustomiser$Element"
link="/extensions/performa/testAnalysis.jsp"/> -->
link="/extensions/performa/testAnalysis.jsp"/> -->
<
CHILD
name=
"Performa.Customers"
desc=
"Customers"
sortOrder=
"10"
toplevel=
"ADMIN"
priv=
"admin"
link=
"/extensions/performa/customers.jsp"
factory=
"Participant"
class=
"oneit.servlets.jsp.ui.DefaultUICustomiser$Element"
/
>
<
!--<CHILD name="Performa.Customers" desc="Customers" sortOrder="10" toplevel="ADMIN" priv="admin" link="/extensions/performa/customers.jsp" factory="Participant" class="oneit.servlets.jsp.ui.DefaultUICustomiser$Element" />--
>
</NODE>
</NODE>
...
@@ -27,4 +27,8 @@
...
@@ -27,4 +27,8 @@
<NODE
name=
"CONFIG.GLOBAL::Performa"
>
<NODE
name=
"CONFIG.GLOBAL::Performa"
>
<PARAM
name=
"HasWebsite"
factory=
"Boolean"
value=
"true"
/>
<PARAM
name=
"HasWebsite"
factory=
"Boolean"
value=
"true"
/>
</NODE>
</NODE>
<NODE
name=
"DashboardTypes::Performa"
>
<MAP
value=
"HOME_TL"
description=
"HomePage"
JSP=
"/extensions/performa/editor/additionalHomePage.jsp"
/>
</NODE>
</OBJECTS>
</OBJECTS>
\ No newline at end of file
cmsWebApp/webroot/extensions/performa/customers.jsp
View file @
3346a749
<%@ page extends="oneit.servlets.jsp.
FormJSP
"%>
<%@ page extends="oneit.servlets.jsp.
JSPInclude
"%>
<%@ include file="/setuprequest.jsp"%>
<%@ include file="/setuprequest.jsp"%>
<%@ include file="inc/stdimports.jsp"%>
<%@ include file="inc/stdimports.jsp"%>
<%@ include file="/editor/stdimports.jsp"%>
<%@ include file="/editor/stdimports.jsp"%>
<%@ page import="oneit.security.jsp.*" %>
<%@ page import="oneit.security.jsp.*" %>
<oneit:dynIncluded>
<%! protected String getName (ServletConfig config) { return "customers_jsp"; } %>
<%
<%
ORMProcessState process = (ORMProcessState) ProcessDecorator.getDefaultProcess(request);
ORMProcessState process = (ORMProcessState) ProcessDecorator.getDefaultProcess(request);
ObjectTransaction objTran = process.getTransaction ();
ObjectTransaction objTran = process.getTransaction ();
String currentPage = request.getContextPath() + "/e
xtensions/performa/customers
.jsp";
String currentPage = request.getContextPath() + "/e
ditor/home
.jsp";
SecUser secUser = SecUser.getTXUser(objTran);
SecUser secUser = SecUser.getTXUser(objTran);
UserSortOption userSortOpt = (UserSortOption) process.getAttribute("UserSortOption");
UserSortOption userSortOpt = (UserSortOption) process.getAttribute("UserSortOption");
SearchHiringTeam searchHT = (SearchHiringTeam) RunSearchExecutorFP.setupExecutor(request, SearchHiringTeam.REFERENCE_SearchHiringTeam, true);
SearchHiringTeam searchHT = (SearchHiringTeam) RunSearchExecutorFP.setupExecutor(request, SearchHiringTeam.REFERENCE_SearchHiringTeam, true);
...
@@ -47,7 +47,6 @@
...
@@ -47,7 +47,6 @@
request.setAttribute("oneit.pageHeaderTitle", "Customers");
request.setAttribute("oneit.pageHeaderTitle", "Customers");
%>
%>
<%@include file="/editor/header.jsp"%>
<oneit:css>
<oneit:css>
<oneit:css href="/css/common.css" />
<oneit:css href="/css/common.css" />
</oneit:css>
</oneit:css>
...
@@ -129,5 +128,4 @@
...
@@ -129,5 +128,4 @@
%>
%>
</div>
</div>
</div>
</div>
</oneit:dynIncluded>
<%@include file="/editor/footer.jsp"%>
\ No newline at end of file
\ No newline at end of file
cmsWebApp/webroot/extensions/performa/editor/additionalHomePage.jsp
0 → 100644
View file @
3346a749
<%@ page extends="oneit.servlets.jsp.JSPInclude" %>
<%@ include file="/setuprequest.jsp" %>
<%@ include file="../inc/stdimports.jsp" %>
<%@ include file="/editor/stdimports.jsp" %> <%-- This is in Cougar --%>
<oneit:dynIncluded>
<oneit:dynInclude page="/extensions/performa/customers.jsp" data="<%= CollectionUtils.EMPTY_MAP %>"/>
</oneit:dynIncluded>
\ No newline at end of file
cmsWebApp/webroot/extensions/performa/upgrades/20190102_TL_Home.xml
0 → 100644
View file @
3346a749
<?xml version="1.0"?>
<!-- @AutoRun -->
<OBJECTS
name=
""
>
<NODE
name=
"Script"
factory=
"Vector"
>
<NODE
name=
"insertOp"
factory=
"Participant"
class=
"oneit.sql.transfer.InsertOperation"
>
<tableName
factory=
"String"
>
oneit_dash_dashboard_usage
</tableName>
<value
name=
'object_id'
factory=
'Participant'
class=
"oneit.sql.transfer.DBTransferer$ObjectID"
/>
<value
name=
'object_last_updated_date'
class=
"oneit.sql.transfer.DBTransferer$Timestamp"
/>
<value
name=
'object_created_date'
class=
"oneit.sql.transfer.DBTransferer$Timestamp"
/>
<value
name=
'dashboard_id'
factory=
'Participant'
class=
"oneit.sql.transfer.DBTransferer$ObjectID"
keyName=
"tlHome"
/>
<value
name=
'location'
factory=
'String'
>
home
</value>
</NODE>
<NODE
name=
"insertOp"
factory=
"Participant"
class=
"oneit.sql.transfer.InsertOperation"
>
<tableName
factory=
"String"
>
oneit_dash_dashboard
</tableName>
<value
name=
'object_id'
factory=
'Participant'
class=
"oneit.sql.transfer.DBTransferer$ObjectID"
keyName=
"tlHome"
/>
<value
name=
'object_last_updated_date'
class=
"oneit.sql.transfer.DBTransferer$Timestamp"
/>
<value
name=
'object_created_date'
class=
"oneit.sql.transfer.DBTransferer$Timestamp"
/>
<value
name=
'name'
factory=
'String'
value=
"HOME_TL"
/>
<value
name=
'dashboard_type'
factory=
'String'
>
HOME_TL
</value>
</NODE>
</NODE>
</OBJECTS>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment