|
|
|
Вопрос по Wicket
|
|||
|---|---|---|---|
|
#18+
Всем привет. Недавно работаю с Wicket'ом. Подскажите, кто знает. Есть RadioGroup<Integer> radioGroup = new RadioGroup<Integer>("group", new Model<Integer>(1)); Есть его элементы: Radio radio1 = new Radio<Integer>("radio1", new Model<Integer>(1)); Radio radio2 = new Radio<Integer>("radio2", new Model<Integer>(2)); Radio radio3 = new Radio<Integer>("radio3", new Model<Integer>(3)); Как узнать, что какой именно Radio выбран в данный момент? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.04.2014, 10:38 |
|
||
|
Вопрос по Wicket
|
|||
|---|---|---|---|
|
#18+
Как и у любого компонента radioGroup.getModelObject() Но не надо так делать. Почитайте A clean approach to Wicket models ю Плюс недавно появился прекрасный Wicket User Guide ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.04.2014, 11:51 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=38617246&tid=2127320]: |
0ms |
get settings: |
9ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
77ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
53ms |
get tp. blocked users: |
2ms |
| others: | 239ms |
| total: | 422ms |

| 0 / 0 |
