Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Software Development
>
pirka
>
Ticket List/Search
>
Ticket #10556
pirka
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Source Code
Code Repository list
Subversion
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
Forums
List of Forums
みんなの意見交換 (2)
質問箱 (32)
Mailing Lists
list of ML
pirka-info
pirka-users
News
Ticket #10556
Ticket List
Submit New Ticket
RSS
setDto()はどのように使うのですか?
Open Date:
2007-06-08 13:53
Last Update:
2007-06-13 16:59
monitor
ON
OFF
Reporter:
(Anonymous)
Owner:
(None)
Type:
Q&A
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Details
Reply
画面に2重ループがある場合にどうやって値をセットするべ
きか?を教えて頂ければと思います。
以下にHTMLの例をあげますので。
<table border="1" >
<tr>
<div type="loop" name="samplingLoop">
<td class="title">
<span name="titleName"></span>
</td>
</div>
</tr>
<div type="loop" name="itemLineLoop">
<tr>
<div type="loop" name="itemColmLoop">
<td class="title">
<span name="itemValue"></span>
</td>
</div>
</tr>
</div>
</table>
Ticket History (3/4 Histories)
Show older Histories
2007-06-10 21:52
Updated by:
oakita
Comment
Reply
Logged In: YES
user_id=28918
上記のようなループは以下のようにして
データの設定をしてください。
ここから----------------------------------
// item
HashMap<String, Object> line = new
HashMap<String, Object>();
List<HashMap> lineList = new
ArrayList<HashMap>();
for(int i=0;i<50;i++){
HashMap<String, Object> colm =
new HashMap<String, Object>();
List<HashMap> colmList = new
ArrayList<HashMap>();
for(int j=0;j<50;j++){
// Colm
HashMap<String,
Object> itemlist = new HashMap<String, Object>();
itemlist.put
("itemValue","i="+ i+ ", j="+ j);
colmList.add(itemlist);
}
colm.put("itemColmLoop",
colmList);
lineList.add(colm);
}
// Line
line.put("itemLineLoop", lineList);
this.setDto(line);
----------------------------------ここまで
また何かあればご質問ください。
2007-06-13 16:57
Updated by:
afurukawa
Resolution
Update from
None
to
Fixed
2007-06-13 16:58
Updated by:
afurukawa
Ticket Close date
is changed to
2007-06-13 16:58
Status
Update from
Open
to
Closed
2007-06-13 16:59
Updated by:
afurukawa
Status
Update from
Closed
to
Open
Attachment File List (
0
)
Attachment File List
No attachments
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
きか?を教えて頂ければと思います。
以下にHTMLの例をあげますので。
<table border="1" >
<tr>
<div type="loop" name="samplingLoop">
<td class="title">
<span name="titleName"></span>
</td>
</div>
</tr>
<div type="loop" name="itemLineLoop">
<tr>
<div type="loop" name="itemColmLoop">
<td class="title">
<span name="itemValue"></span>
</td>
</div>
</tr>
</div>
</table>