Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nouiWithSpringMVC
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
gechengyang
nouiWithSpringMVC
Commits
1f39b884
Commit
1f39b884
authored
Aug 26, 2020
by
WeiCong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
针对新版本bd底层进行调整
parent
20bdfd90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
NoUiPresentation.java
...a/org/sss/presentation/noui/context/NoUiPresentation.java
+3
-3
NoUiUtils.java
src/main/java/org/sss/presentation/noui/util/NoUiUtils.java
+3
-2
No files found.
src/main/java/org/sss/presentation/noui/context/NoUiPresentation.java
View file @
1f39b884
...
...
@@ -325,13 +325,13 @@ public class NoUiPresentation extends AbstractNullPresentation {
@SuppressWarnings
(
"rawtypes"
)
public
final
void
setModified
(
IAttribute
paramIAttribute
)
throws
ContainerException
{
paramIAttribute
.
setAttribute
(
"MODIFY"
,
Boolean
.
valueOf
(
true
));
//
paramIAttribute.setAttribute("MODIFY", Boolean.valueOf(true));
setModified
(
paramIAttribute
,
true
);
}
@SuppressWarnings
(
"rawtypes"
)
public
final
void
resetModified
(
IAttribute
paramIAttribute
)
throws
ContainerException
{
paramIAttribute
.
setAttribute
(
"MODIFY"
,
Boolean
.
valueOf
(
false
));
//
paramIAttribute.setAttribute("MODIFY", Boolean.valueOf(false));
setModified
(
paramIAttribute
,
false
);
}
...
...
@@ -506,7 +506,7 @@ public class NoUiPresentation extends AbstractNullPresentation {
}
@Override
public
void
saveDisplay
(
IPanel
[]
panels
,
String
fileName
,
String
cssUrl
)
throws
ContainerException
{
public
void
saveDisplay
(
IPanel
[]
panels
,
String
fileName
,
String
cssUrl
,
String
jsUrl
)
throws
ContainerException
{
saveDisplay
(
panels
,
fileName
);
}
...
...
src/main/java/org/sss/presentation/noui/util/NoUiUtils.java
View file @
1f39b884
...
...
@@ -36,6 +36,7 @@ public class NoUiUtils {
public
static
II18n
i18n
;
public
static
IFilter
passwordFilter
;
public
static
boolean
connectKeeped
;
public
static
String
serviceDbName
;
private
static
final
ThreadGroup
threadGroup
=
new
ThreadGroup
(
"eIBS"
);
...
...
@@ -56,13 +57,13 @@ public class NoUiUtils {
String
str2
=
(
userNames
==
null
)
||
(
userNames
.
length
<=
i
)
||
(
ContainerUtils
.
isEmpty
(
userNames
[
i
]))
?
userName
:
userNames
[
i
];
log
.
debug
(
"userName:"
+
str2
);
localContext
.
setAuth
(
new
DefaultLoginContext
(
str2
));
IModuleSession
localIModuleSession
=
(
IModuleSession
)
factory
.
newInstance
(
localContext
);
IModuleSession
localIModuleSession
=
(
IModuleSession
)
factory
.
newInstance
(
localContext
,
NoUiUtils
.
connectKeeped
);
localContext
.
setSession
(
localIModuleSession
);
long
l1
=
(
timeouts
==
null
)
||
(
timeouts
.
length
<=
i
)
?
timeout
:
timeouts
[
i
];
log
.
debug
(
"timeout:"
+
l1
);
long
l2
=
(
millises
==
null
)
||
(
millises
.
length
<=
i
)
?
millis
:
millises
[
i
];
log
.
debug
(
"millis:"
+
l2
);
ServiceThread
localServiceThread
=
new
ServiceThread
(
threadGroup
,
localContext
,
localIModuleSession
,
str1
,
l1
,
l2
);
ServiceThread
localServiceThread
=
new
ServiceThread
(
threadGroup
,
localContext
,
localIModuleSession
,
s
erviceDbName
,
s
tr1
,
l1
,
l2
);
localServiceThread
.
start
();
log
.
info
(
"started service:"
+
str1
);
services
.
add
(
localServiceThread
);
...
...
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