|
|
|
Вопрос по 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:47 |
|
||
|
Вопрос по Wicket
|
|||
|---|---|---|---|
|
#18+
Как и у любого компонента radioGroup.getModelObject() Но не надо так делать. Почитайте A clean approach to Wicket models ю Плюс недавно появился прекрасный Wicket User Guide ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.04.2014, 11:51:12 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=38618523&tid=2127320]: |
0ms |
get settings: |
15ms |
get forum list: |
25ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
372ms |
get topic data: |
17ms |
get forum data: |
4ms |
get page messages: |
80ms |
get tp. blocked users: |
3ms |
| others: | 336ms |
| total: | 862ms |

| 0 / 0 |
