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
c1d5a5e3
Commit
c1d5a5e3
authored
Apr 29, 2019
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
c6e528d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
NoUiPresentation.java
...a/org/sss/presentation/noui/context/NoUiPresentation.java
+13
-6
No files found.
src/main/java/org/sss/presentation/noui/context/NoUiPresentation.java
View file @
c1d5a5e3
...
@@ -170,6 +170,8 @@ public class NoUiPresentation extends AbstractNullPresentation {
...
@@ -170,6 +170,8 @@ public class NoUiPresentation extends AbstractNullPresentation {
@SuppressWarnings
(
"rawtypes"
)
@SuppressWarnings
(
"rawtypes"
)
public
final
void
error
(
IAttribute
paramIAttribute
,
String
paramString
,
Object
...
paramVarArgs
)
throws
ContainerException
{
public
final
void
error
(
IAttribute
paramIAttribute
,
String
paramString
,
Object
...
paramVarArgs
)
throws
ContainerException
{
handleProxyField
(
paramIAttribute
);
// mapPut(messageMap, paramIAttribute, null, paramString, paramVarArgs);
// mapPut(messageMap, paramIAttribute, null, paramString, paramVarArgs);
for
(
int
i
=
0
;
i
<
paramVarArgs
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
paramVarArgs
.
length
;
i
++)
{
if
((
paramVarArgs
[
i
]
instanceof
String
))
{
if
((
paramVarArgs
[
i
]
instanceof
String
))
{
...
@@ -319,8 +321,18 @@ public class NoUiPresentation extends AbstractNullPresentation {
...
@@ -319,8 +321,18 @@ public class NoUiPresentation extends AbstractNullPresentation {
return
localBoolean
==
null
?
false
:
localBoolean
.
booleanValue
();
return
localBoolean
==
null
?
false
:
localBoolean
.
booleanValue
();
}
}
private
void
handleProxyField
(
IAttribute
paramIAttribute
)
{
if
(
paramIAttribute
instanceof
ProxyDatafield
)
{
while
(
paramIAttribute
instanceof
ProxyDatafield
)
{
paramIAttribute
=
((
ProxyDatafield
)
paramIAttribute
).
getHost
();
}
}
}
@SuppressWarnings
(
"rawtypes"
)
@SuppressWarnings
(
"rawtypes"
)
public
final
void
setValues
(
IAttributeValue
paramIAttributeValue
,
List
<
CodetableItem
>
paramList
)
throws
ContainerException
{
public
final
void
setValues
(
IAttributeValue
paramIAttributeValue
,
List
<
CodetableItem
>
paramList
)
throws
ContainerException
{
handleProxyField
(
paramIAttributeValue
);
codetable
.
put
(((
IBaseObject
)
paramIAttributeValue
).
getUrl
(),
paramList
);
codetable
.
put
(((
IBaseObject
)
paramIAttributeValue
).
getUrl
(),
paramList
);
paramIAttributeValue
.
setAttribute
(
"CODEVALUES"
,
paramList
);
paramIAttributeValue
.
setAttribute
(
"CODEVALUES"
,
paramList
);
/*
/*
...
@@ -436,12 +448,7 @@ public class NoUiPresentation extends AbstractNullPresentation {
...
@@ -436,12 +448,7 @@ public class NoUiPresentation extends AbstractNullPresentation {
@SuppressWarnings
(
"rawtypes"
)
@SuppressWarnings
(
"rawtypes"
)
private
final
void
setModified
(
IAttribute
paramIAttribute
,
boolean
paramBoolean
)
{
private
final
void
setModified
(
IAttribute
paramIAttribute
,
boolean
paramBoolean
)
{
if
(
paramIAttribute
instanceof
ProxyDatafield
)
{
handleProxyField
(
paramIAttribute
);
while
(
paramIAttribute
instanceof
ProxyDatafield
)
{
paramIAttribute
=
((
ProxyDatafield
)
paramIAttribute
).
getHost
();
}
}
modifyMap
.
put
(((
IBaseObject
)
paramIAttribute
).
getUrl
(),
paramIAttribute
);
modifyMap
.
put
(((
IBaseObject
)
paramIAttribute
).
getUrl
(),
paramIAttribute
);
}
}
...
...
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