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
c6e528d3
Commit
c6e528d3
authored
Apr 29, 2019
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
5e1df948
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
NoUiPresentation.java
...a/org/sss/presentation/noui/context/NoUiPresentation.java
+3
-3
NoUiPresentationUtil.java
.../org/sss/presentation/noui/util/NoUiPresentationUtil.java
+1
-1
No files found.
src/main/java/org/sss/presentation/noui/context/NoUiPresentation.java
View file @
c6e528d3
...
...
@@ -70,7 +70,7 @@ public class NoUiPresentation extends AbstractNullPresentation {
// public final List<IAttribute<?>> requiredList = new
// ArrayList<IAttribute<?>>();
private
String
message
=
null
;
// 弹出的message
private
String
message_code
=
null
;
private
String
message_code
=
ErrorCodes
.
SUCCESS
;
public
IPanel
popupPanel
=
null
;
public
String
transactionName
=
null
;
public
boolean
clearFlag
=
false
;
...
...
@@ -212,8 +212,8 @@ public class NoUiPresentation extends AbstractNullPresentation {
if
(
paramString
==
null
)
{
paramString
=
getI18nValue
(
"eibs"
,
"error.title"
);
}
if
((!
StringUtils
.
isEmpty
(
paramString
))
&&
paramString
.
equals
(
ErrorCodes
.
BUSINESS_ERROR
))
{
this
.
message_code
=
ErrorCodes
.
BUSINESS_ERROR
;
if
((!
StringUtils
.
isEmpty
(
paramString
))
&&
paramString
.
matches
(
"E[0-9]{4}"
))
{
this
.
message_code
=
paramString
;
}
/*
* if (MessageType.ERROR.equals(paramMessageType)) {
...
...
src/main/java/org/sss/presentation/noui/util/NoUiPresentationUtil.java
View file @
c6e528d3
...
...
@@ -171,7 +171,7 @@ public class NoUiPresentationUtil {
public
static
String
retCode
(
NoUiContext
context
)
{
NoUiPresentation
gui
=
(
NoUiPresentation
)
context
.
getGui
();
return
StringUtil
.
isEmpty
(
gui
.
getMessageCode
())
?
ErrorCodes
.
SUCCESS
:
gui
.
getMessageCode
();
return
gui
.
getMessageCode
();
}
public
static
Map
<
String
,
Object
>
handleEventReturnData
(
EventType
eventType
,
NoUiContext
context
,
NoUiRequest
request
,
Alias
alias
)
{
...
...
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