Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor_java
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
fukai
swifteditor_java
Commits
ba017932
Commit
ba017932
authored
Nov 26, 2019
by
WeiCong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容接口平台EL调用setGenericByTag方法
parent
04562783
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
SWFMessage.java
...ava/com/brilliace/swifteditor/tag/message/SWFMessage.java
+7
-2
No files found.
src/main/java/com/brilliace/swifteditor/tag/message/SWFMessage.java
View file @
ba017932
...
...
@@ -354,6 +354,11 @@ public class SWFMessage extends AbstractMessageArea {
public
void
setGenericByTag
(
String
tagExp
,
String
val
,
Integer
...
indexes
)
{
Assert
.
notNull
(
tagExp
,
"域名(.域块号)表达式不能为空"
);
Assert
.
notNull
(
val
,
"待填充的值不能为空"
);
if
(
indexes
==
null
||
indexes
.
length
==
0
)
{
//兼容接口平台EL调用setGenericByTag方法
setGenericByTag
(
tagExp
,
val
);
return
;
}
Object
item
=
findMessageAreaByTag
(
tagExp
,
indexes
);
if
(
item
instanceof
TagLine
)
{
TagLine
tmp
=
(
TagLine
)
item
;
...
...
@@ -418,8 +423,8 @@ public class SWFMessage extends AbstractMessageArea {
}
else
if
(
parent
.
getType
()
==
MessageArea
.
CYCLIST
||
parent
.
getType
()
==
MessageArea
.
SEQLIST
)
{
if
(((
AbstractMessageArea
)
parent
).
withIn
(
ano
))
{
Integer
cnt
=
cntLst
.
get
(
num
++);
if
(
parent
.
getType
()
==
MessageArea
.
SEQLIST
&&
((
SEQList
)
parent
).
getCyc
()
==
0
)
{
Assert
.
state
(
cnt
==
0
,
"不能从非循环型Sequence获取索引大于0的对象"
);
if
(
parent
.
getType
()
==
MessageArea
.
SEQLIST
&&
((
SEQList
)
parent
).
getCyc
()
==
0
)
{
Assert
.
state
(
cnt
==
0
,
"不能从非循环型Sequence获取索引大于0的对象"
);
}
MessageArea
cp
=
null
;
for
(
int
i
=
0
;
i
<=
cnt
;
i
++)
{
...
...
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