質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
<img th:src="${obj2.imgUrl1}" th:class="'thumbnail'+${obj2.num}">
|
46
46
|
|
47
|
-
<input class="disabled_checkbox" type="checkbox" th:value="${obj2.imgUrl1}" th:name="'imgSelect'+${obj2.num}"/>
|
47
|
+
<input class="disabled_checkbox" type="checkbox" checked th:value="${obj2.imgUrl1}" th:name="'imgSelect'+${obj2.num}"/>
|
48
48
|
|
49
49
|
</div>
|
50
50
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<img th:src="${obj2.imgUrl2}" th:class="'thumbnail'+${obj2.num}">
|
58
58
|
|
59
|
-
<input class="disabled_checkbox" type="checkbox" th:value="${obj2.imgUrl1}" th:name="'imgSelect'+${obj2.num}"/>
|
59
|
+
<input class="disabled_checkbox" type="checkbox" checked th:value="${obj2.imgUrl1}" th:name="'imgSelect'+${obj2.num}"/>
|
60
60
|
|
61
61
|
</div>
|
62
62
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
|
69
69
|
<img th:src="${obj2.imgUrl3}" th:class="'thumbnail'+${obj2.num}">
|
70
70
|
|
71
|
-
<input class="disabled_checkbox" type="checkbox" th:value="${obj2.imgUrl1}" th:name="'imgSelect'+${obj2.num}"/>
|
71
|
+
<input class="disabled_checkbox" type="checkbox" checked th:value="${obj2.imgUrl1}" th:name="'imgSelect'+${obj2.num}"/>
|
72
72
|
|
73
73
|
</div>
|
74
74
|
|
1
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -175,3 +175,159 @@
|
|
175
175
|
}
|
176
176
|
|
177
177
|
```
|
178
|
+
|
179
|
+
↓ImgSelectForm
|
180
|
+
|
181
|
+
```java
|
182
|
+
|
183
|
+
package com.Project.entity;
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
public class ImgSelectForm {
|
188
|
+
|
189
|
+
//画像記事No
|
190
|
+
|
191
|
+
private String img1;
|
192
|
+
|
193
|
+
private String img2;
|
194
|
+
|
195
|
+
private String img3;
|
196
|
+
|
197
|
+
private String img4;
|
198
|
+
|
199
|
+
private String img5;
|
200
|
+
|
201
|
+
private String img6;
|
202
|
+
|
203
|
+
private String img7;
|
204
|
+
|
205
|
+
private String img8;
|
206
|
+
|
207
|
+
private String img9;
|
208
|
+
|
209
|
+
private String img10;
|
210
|
+
|
211
|
+
//選択画像URL
|
212
|
+
|
213
|
+
private String imgSelect1;
|
214
|
+
|
215
|
+
private String imgSelect2;
|
216
|
+
|
217
|
+
private String imgSelect3;
|
218
|
+
|
219
|
+
private String imgSelect4;
|
220
|
+
|
221
|
+
private String imgSelect5;
|
222
|
+
|
223
|
+
private String imgSelect6;
|
224
|
+
|
225
|
+
private String imgSelect7;
|
226
|
+
|
227
|
+
private String imgSelect8;
|
228
|
+
|
229
|
+
private String imgSelect9;
|
230
|
+
|
231
|
+
private String imgSelect10;
|
232
|
+
|
233
|
+
~~以下getter,setter~~
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
```
|
240
|
+
|
241
|
+
↓kijiListの中身
|
242
|
+
|
243
|
+
```java
|
244
|
+
|
245
|
+
package com.Project.entity;
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
public class TopForm {
|
250
|
+
|
251
|
+
//連番
|
252
|
+
|
253
|
+
private int num;
|
254
|
+
|
255
|
+
//記事No
|
256
|
+
|
257
|
+
private String kijiNo;
|
258
|
+
|
259
|
+
//編集ページURL
|
260
|
+
|
261
|
+
private String editPageUrl;
|
262
|
+
|
263
|
+
//元サムネイル画像URL
|
264
|
+
|
265
|
+
private String motoImgUrl;
|
266
|
+
|
267
|
+
//DMM or MGS
|
268
|
+
|
269
|
+
private int dOrm;
|
270
|
+
|
271
|
+
// 画像URLリスト
|
272
|
+
|
273
|
+
private int imgUrlList[];
|
274
|
+
|
275
|
+
//画像
|
276
|
+
|
277
|
+
private String imgUrl1;
|
278
|
+
|
279
|
+
private String imgUrl2;
|
280
|
+
|
281
|
+
private String imgUrl3;
|
282
|
+
|
283
|
+
private String imgUrl4;
|
284
|
+
|
285
|
+
private String imgUrl5;
|
286
|
+
|
287
|
+
private String imgUrl6;
|
288
|
+
|
289
|
+
private String imgUrl7;
|
290
|
+
|
291
|
+
private String imgUrl8;
|
292
|
+
|
293
|
+
private String imgUrl9;
|
294
|
+
|
295
|
+
private String imgUrl10;
|
296
|
+
|
297
|
+
private String imgUrl11;
|
298
|
+
|
299
|
+
private String imgUrl12;
|
300
|
+
|
301
|
+
private String imgUrl13;
|
302
|
+
|
303
|
+
private String imgUrl14;
|
304
|
+
|
305
|
+
private String imgUrl15;
|
306
|
+
|
307
|
+
private String imgUrl16;
|
308
|
+
|
309
|
+
private String imgUrl17;
|
310
|
+
|
311
|
+
private String imgUrl18;
|
312
|
+
|
313
|
+
private String imgUrl19;
|
314
|
+
|
315
|
+
private String imgUrl20;
|
316
|
+
|
317
|
+
private String imgUrl21;
|
318
|
+
|
319
|
+
private String imgUrl22;
|
320
|
+
|
321
|
+
private String imgUrl23;
|
322
|
+
|
323
|
+
private String imgUrl24;
|
324
|
+
|
325
|
+
private String imgUrl25;
|
326
|
+
|
327
|
+
~~以下getter,setter~~
|
328
|
+
|
329
|
+
}
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
```
|