Re: [Wicket-user] RadioGroup vs RadioChoice
Hi The largest difference between the two is how much control you want over the components. the Radio(used with radiogroup) lets you place your radios exactly where you desire where as the radiochoice has a somewhat fixed formatting and "just" prints out radios. regards Nino howzat wrote: > The answer to the last question is that the model value is used (naturally). > I just needed to adjust my models' value class' .equals implementation and > it now the default selection works well. > But any input on the other 2 questions is still useful: > > What is the difference between RadioChoice and RadioGroup? > Are there use-case where one is more appropriate than the other? > > > > > howzat wrote: > >> What is the difference between RadioChoice and RadioGroup? >> Are there use-case where one is more appropriate than the other? >> If there are 3 choices in the RadioChoice or RadioGroup (eg radio buttons >> for each of "a", "b" & "c" on the form), what is the best way to set a >> default value (eg "b" as selected) when the page is first visited? >> >> > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] RadioGroup vs RadioChoice
The answer to the last question is that the model value is used (naturally). I just needed to adjust my models' value class' .equals implementation and it now the default selection works well. But any input on the other 2 questions is still useful: What is the difference between RadioChoice and RadioGroup? Are there use-case where one is more appropriate than the other? howzat wrote: > > What is the difference between RadioChoice and RadioGroup? > Are there use-case where one is more appropriate than the other? > If there are 3 choices in the RadioChoice or RadioGroup (eg radio buttons > for each of "a", "b" & "c" on the form), what is the best way to set a > default value (eg "b" as selected) when the page is first visited? > -- View this message in context: http://www.nabble.com/RadioGroup-vs-RadioChoice-tf3823632.html#a10826214 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] RadioGroup vs RadioChoice
What is the difference between RadioChoice and RadioGroup? Are there use-case where one is more appropriate than the other? If there are 3 choices in the RadioChoice or RadioGroup (eg radio buttons for each of "a", "b" & "c" on the form), what is the best way to set a default value (eg "b" as selected) when the page is first visited? -- View this message in context: http://www.nabble.com/RadioGroup-vs-RadioChoice-tf3823632.html#a10824675 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user