RadioGroup (or even RadioChoice) with Map values

2017-08-15 Thread lucast
Dear Forum, I would like to display a group of radio choices and I will use RadioGroup since it seems to be the fittest for my purpose. I got the implementation example from http://examples7x.wicket.apache.org/forminput/? <http://examples7x.wicket.apache.org/forminput/?> I have, a map

Re: RadioGroup ajax update

2017-01-09 Thread Sven Meier
und them, and so forth. They are not dynamic. When the selection changes, we want an ajax event to make other stuff visible or not. RadioGroup rg = new RadioGroup("rg1"); rg.add(new Radio("rg1-opt1",new Model("test1")).setOutputM

RadioGroup ajax update

2017-01-09 Thread Entropy
We have a pair od radiobuttons in our html. They have some html around them, and so forth. They are not dynamic. When the selection changes, we want an ajax event to make other stuff visible or not. RadioGroup rg = new RadioGroup("rg1"); rg.add(new

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-10 Thread Martin Grigorov
Hi Ernesto, We are fully aware of this! That's why the migration guide is split into "API breaks" and "Behavior changes". API breaks usually are easy to fix because the compiler complains about them. Behavior changes are not problem for Semantic Versioning but we postpone them to major versions be

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-10 Thread Ernesto Reinaldo Barreiro
Tobias, > I think as long as the third party library is not Wicket 7.0 proofed you > should use it careful. Because of this the migration guide is very useful - > each framework should be checked when upgrade a major version. > Mind that I'm fully aware of the personal sacrifices some people ma

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Tobias Soloschenko
n create a new (cleaner) PR to replace 603 to add >> only >>>>>>>> radio choice renderer for 6.x. >>>>>>>> >>>>>>>> Disclaimer: I do not know if this is an error introduced by the >>>>>>>

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Ernesto Reinaldo Barreiro
ith a bare bones > > wicket > > > >>>> example. > > > >>>> > > > >>>> > > > >>>> On Wed, Nov 18, 2015 at 2:00 PM, Ernesto Reinaldo Barreiro < > > > >>>> r

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Martin Grigorov
gt;>>> On Wed, Nov 18, 2015 at 2:00 PM, Ernesto Reinaldo Barreiro < > > >>>> reier...@gmail.com> wrote: > > >>>> > > >>>>> Let me see is I find the time to created it (it uses my own > bootstrap > > >>>>> components)

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Ernesto Reinaldo Barreiro
components) > >>>>> > >>>>> On Wed, Nov 18, 2015 at 1:53 PM, Sven Meier wrote: > >>>>> > >>>>>> Hi, > >>>>>> > >>>>>> with a quickstart i

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Martin Grigorov
easy to spot the problem. >>>>>> >>>>>> Regards >>>>>> Sven >>>>>> >>>>>> >>>>>> On 18.11.2015 13:46, Ernesto Reinaldo Barreiro wrote: >>>>>> >>>>>>&

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Ernesto Reinaldo Barreiro
;>>> >>>>> On 18.11.2015 13:46, Ernesto Reinaldo Barreiro wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> >>>>>> If I "revert" to 6.21.0 problem disappears so this seems to be a 7.1.0 >

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Ernesto Reinaldo Barreiro
disappears so this seems to be a 7.1.0 >>>>> "issue". >>>>> >>>>> On Tue, Nov 17, 2015 at 9:36 PM, Ernesto Reinaldo Barreiro < >>>>> reier...@gmail.com> wrote: >>>>> >>>>> Well it is t

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Ernesto Reinaldo Barreiro
to Reinaldo Barreiro < >>>> reier...@gmail.com> wrote: >>>> >>>> Well it is the same in the sense that no client side AJAX event seems to >>>>> be triggered. >>>>> >>>>> On Tue, Nov 17, 2015 at 9:24 PM, Ernes

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2016-05-09 Thread Ernesto Reinaldo Barreiro
same in the sense that no client side AJAX event seems to >>>> be triggered. >>>> >>>> On Tue, Nov 17, 2015 at 9:24 PM, Ernesto Reinaldo Barreiro < >>>> reier...@gmail.com> wrote: >>>> >>>> Hi Sven, >>>>> >>>

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Francois Meillet
lizeRecursively(true); >>>> } >>>> >>>> This may be a problem leftover from WICKET-6050. >>>> >>>> @Marting: Shouldn't this be set automatically by >>>> AjaxFormChoiceComponentUpdatingBehavior? >>>>

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Martin Grigorov
UpdatingBehavior? > >> > > > > Yes! > > I've forgot it :-/ > > > > I've found an issue with the traversing of children components in > > 7.2.0-SNAPSHOT. > > Both issues look like a blocker to me. > > > > > >> > >&g

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Francois Meillet
e forgot it :-/ > > I've found an issue with the traversing of children components in > 7.2.0-SNAPSHOT. > Both issues look like a blocker to me. > > >> >> Best regards >> Sven >> >> >> >> >> On 14.01.2016 17:18, Francois Meillet wrote:

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Martin Grigorov
AjaxFormChoiceComponentUpdatingBehavior? > Yes! I've forgot it :-/ I've found an issue with the traversing of children components in 7.2.0-SNAPSHOT. Both issues look like a blocker to me. > > Best regards > Sven > > > > > On 14.01.2016 17:18, Francois Meillet wro

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Sven Meier
butes); attributes.setSerializeRecursively(true); } This may be a problem leftover from WICKET-6050. @Marting: Shouldn't this be set automatically by AjaxFormChoiceComponentUpdatingBehavior? Best regards Sven On 14.01.2016 17:18, Francois Meillet wrote: Hi , I have a form with a

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-18 Thread Ernesto Reinaldo Barreiro
t; Well it is the same in the sense that no client side AJAX event seems to >>> be triggered. >>> >>> On Tue, Nov 17, 2015 at 9:24 PM, Ernesto Reinaldo Barreiro < >>> reier...@gmail.com> wrote: >>> >>>

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-18 Thread Sven Meier
< reier...@gmail.com> wrote: Well it is the same in the sense that no client side AJAX event seems to be triggered. On Tue, Nov 17, 2015 at 9:24 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Hi Sven, Thanks for the feedback. It should not be the case radioGr

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-18 Thread Ernesto Reinaldo Barreiro
d. > > On Tue, Nov 17, 2015 at 9:24 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > >> Hi Sven, >> >> Thanks for the feedback. It should not be the case >> >> radioGroup = new RadioGroup("radioGroup", getMode

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-17 Thread Ernesto Reinaldo Barreiro
Well it is the same in the sense that no client side AJAX event seems to be triggered. On Tue, Nov 17, 2015 at 9:24 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Hi Sven, > > Thanks for the feedback. It should not be the case > > radioGroup = new RadioGroup(&

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-17 Thread Ernesto Reinaldo Barreiro
Hi Sven, Thanks for the feedback. It should not be the case radioGroup = new RadioGroup("radioGroup", getModel()); tuneRadioGroup(radioGroup); radioGroup.setRenderBodyOnly(false); radioGroup.setOutputMarkupId(true); add(radioGroup); if(cha

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-17 Thread Sven Meier
Hi, nothing specific I can think of ... perhaps WICKET-5476? Regards Sven On 17.11.2015 18:55, Ernesto Reinaldo Barreiro wrote: Hi, I have a bootstrap based component that uses a RadioGroup + AjaxFormChoiceComponentUpdatingBehavior. This was working perfectly fine on wicket 6. Now is no

are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-17 Thread Ernesto Reinaldo Barreiro
Hi, I have a bootstrap based component that uses a RadioGroup + AjaxFormChoiceComponentUpdatingBehavior. This was working perfectly fine on wicket 6. Now is no loger working with wicket 7. Are there any (obvious) changes on the way RadioGroup works that might be preventing it from working

Re: RadioGroup not updating in ajax event

2014-11-17 Thread Sven Meier
Hi, please create a quickstart, then we will able to identify the problem. Sven On 11/17/2014 07:59 PM, Entropy wrote: Nobody has ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-not-updating-in-ajax-event-tp4668415p4668438.html Sent from the

Re: RadioGroup not updating in ajax event

2014-11-17 Thread Entropy
Nobody has ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-not-updating-in-ajax-event-tp4668415p4668438.html Sent from the Users forum mailing list archive at Nabble.com. - To

RadioGroup not updating in ajax event

2014-11-14 Thread Entropy
We have an ajax event initiated by one panel that affects the data, and needs to force a redraw of a radiogroup in another panel. The ajax event arrives, we add the radiogroup to the target, update the model that backs the ListView, but the populateItem method never re-fires to redraw. Note that

Re: wantsOnSelectionChangedNotifications - RadioGroup / Radio vs DropDownChoice

2014-05-19 Thread Simon B
I've just added an issue to JIRA with a quickstart attachment: https://issues.apache.org/jira/browse/WICKET-5596 Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wantsOnSelectionChangedNotifications-RadioGroup-Radio-vs-DropDownChoice-tp4665927p46

Re: wantsOnSelectionChangedNotifications - RadioGroup / Radio vs DropDownChoice

2014-05-19 Thread Martin Grigorov
including one which is a RadioGroup > (with several Radio) and one which is a DropDownChoice, > > Both the RadioGroup // Radios and the DropDownChoice have been marked to > get > selection changed notifications with the > RadioGroup#wantOnSelectionChan

wantsOnSelectionChangedNotifications - RadioGroup / Radio vs DropDownChoice

2014-05-19 Thread Simon B
Hi, I'm using Wicket 6.14.0 I've got a form with many components including one which is a RadioGroup (with several Radio) and one which is a DropDownChoice, Both the RadioGroup // Radios and the DropDownChoice have been marked to get selection changed notifications with the

Re: RadioGroup selected model value

2013-12-17 Thread Paul Bors
is message in context: > http://apache-wicket.1842946.n4.nabble.com/RadioGroup-selected-model-value-tp4662998p4663034.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-ma

Re: RadioGroup selected model value

2013-12-16 Thread Selom
in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-selected-model-value-tp4662998p4663034.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: RadioGroup selected model value

2013-12-13 Thread Sven Meier
Hi, to clarify: - a RadioChoice is for selecting an object from a list of objects and you don't need to control the markup - a RadioGroup/Radio is for selecting an object from a list of objects with free markup (e.g. a ) What you have is a special case, where you want to *set booleans

RadioGroup selected model value

2013-12-13 Thread Selom
Hello, I confess I don't understand wicket radiogroup ( and model ). i spent too much time with it . Here is my problem. *AgPage.html* I would like to have debut2 to be *selected *, since visible = true. Thanks for tour help. - Selom -- View this messa

RE: RadioGroup

2012-08-11 Thread Paul Bors
Have you taken a look at the Wicket-Examples project's component references as linked from Wicket's website under the Learn section on the left panel? http://www.wicket-library.com/wicket-examples/compref/ More specifically the RadioGroup and Radio: http://www.wicket-library.com/wicke

Re: RadioGroup

2012-08-11 Thread Andrea Del Bene
Ok, but I still don't understand the relation between RadioGroup and the Radio controls you create. I mean, I expect to find a section of the code where you add Radio controls to RadioGroup (they "have to be in the component hierarchy somewhere below the group component" as state

Re: RadioGroup

2012-08-11 Thread Valery Gorbunov
Hi Andrea, ListView is only renderer for Radio elements, in real life selectOneRadioItems isn't empty array. Code little bit difficult to understand. But problem it setting model value after form submission RadioGroup instance didn't put value to model, but on rendering phase it reading

Re: RadioGroup

2012-08-10 Thread Andrea Del Bene
Hi and welcome to this mailing list! it's not clear to me the purpose of the ListView in your code. Why do you need it and what is the relation between this component and RadioGroup? Hello there, mighty developers. I'm quite new in Wicket, so beforehand sorry if my question is stupi

RadioGroup

2012-08-10 Thread Artem001
Hello there, mighty developers. I'm quite new in Wicket, so beforehand sorry if my question is stupid. So what i have is a RadioGroup, with some childs. When page loads for the first time, one of child gets selected by default, and everything is fine. But, when i change selection and

Re: "ChangeListener" for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Perfect! Thank you! 2012/6/15 Martin Grigorov > either make 'sites' final or use Wicket events ( > http://www.wicket-library.com/wicket-examples/events/ ) > > On Fri, Jun 15, 2012 at 12:42 PM, Dmitriy Neretin > wrote: > > Thanks! It was really helpful! But I am only to 99% ready :) > > > > Ther

Re: "ChangeListener" for the RadioGroup Component

2012-06-15 Thread Martin Grigorov
either make 'sites' final or use Wicket events ( http://www.wicket-library.com/wicket-examples/events/ ) On Fri, Jun 15, 2012 at 12:42 PM, Dmitriy Neretin wrote: > Thanks! It was really helpful! But I am only to 99% ready :) > > There is a little problem in your code example: > > if I make so: >

Re: "ChangeListener" for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Thanks! It was really helpful! But I am only to 99% ready :) There is a little problem in your code example: if I make so: label.setDefaultModelObject(sites.getModelObject()); I get a compiler error: "Cannot refer to a non-final variable sites inside an inner class..." Is there any workaround fo

Re: "ChangeListener" for the RadioGroup Component

2012-06-15 Thread Martin Grigorov
Something like: final Label label = ... RadioChoice sites = new RadioChoice("site", SITES); sites.add(new AjaxFormChoiceComponentUpdatingBehavior() { @Override protected void onUpdate(AjaxRequestTarget target)

Re: "ChangeListener" for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Thanks! Can you describe how can I use the AjaxFormChoiceComponentUpdatingBehavior() with the label? 2012/6/15 Martin Grigorov > Hi, > > #onSelectionChanged() works only if you override > #wantOnSelectionChanged() to return true. > Otherwise you can also use AjaxFormChoiceComponentUpdatingBehav

Re: "ChangeListener" for the RadioGroup Component

2012-06-15 Thread Martin Grigorov
blem with my RadioGroup component. I have 2 radio > buttons inside of a ListView, witch is inside of the RadioGroup I mentioned > above. The amount of the radios is not predefined that's because I use > RadioGroup instead of RadioChoise. There can be 2 or 1000... > > The Proble

"ChangeListener" for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Hi all, I have a little problem with my RadioGroup component. I have 2 radio buttons inside of a ListView, witch is inside of the RadioGroup I mentioned above. The amount of the radios is not predefined that's because I use RadioGroup instead of RadioChoise. There can be 2 or 1000... The Pr

Re: RadioChoice vs. RadioGroup

2012-04-24 Thread Martin Grigorov
Hi, The difference is like DropDownChoice vs. Select components. The *Choice components generate their body by concatenating strings. Pros: lighter component Cons: not much control over the generated markup Select/RadioGroup need children components like SelectOption/Radio which themselves

RadioChoice vs. RadioGroup

2012-04-24 Thread Richard W. Adams
Can someone explain the important differences (besides the API) between RadioChoice & RadioGroup? What scenarios/factors would make one use one instead of the other? What are the tradeoffs? Etc. From my quick (perhaps naive) reading, they seem like equally plausible ways of doing the

Re: RadioGroup selections after validation failure problem

2012-04-03 Thread Matt Stevenson
Hi Andrea, That solved the problem - I should have noticed it was missing the model myself! Thanks so much for the help. Matt -Original Message- From: Andrea Del Bene Sent: Monday, April 02, 2012 6:36 PM To: users@wicket.apache.org Subject: Re: RadioGroup selections after

Re: RadioGroup selections after validation failure problem

2012-04-02 Thread Andrea Del Bene
HI, try giving a model to your RadioGroup: final RadioGroup group = new RadioGroup("presentationSingleSelectGroup", new Model()); Hi All, My company has just started evaluating Wicket on an app that allows users to select and merge multiple PowerPoint presentations. We’ve hi

RadioGroup selections after validation failure problem

2012-04-02 Thread Matt Stevenson
‘multi select’ (a Panel containing a CheckGroup that contains Check objects representing the PowerPoint presentations in that section) or ‘single select’ (a Panel containing a RadioGroup that contains Radio objects). The problem happens when a validation failure occurs. Basically the checkboxes

Re: how to test what radio is checked in a radiogroup?

2011-08-22 Thread Mathilde Pellerin
It works well when I don't provide the complete path ! Thank you a lot Mike !

Re: how to test what radio is checked in a radiogroup?

2011-08-22 Thread Kent Tong
> In my unit test, I try to check what radio is selected, but I don't find > how... You may check out http://wicketpagetest.sourceforge.net which will work for this use case. - To unsubscribe, e-mail: users-unsubscr...@wicket.a

Re: how to test what radio is checked in a radiogroup?

2011-08-22 Thread Mike Mander
Am 22.08.2011 13:27, schrieb Mike Mander: Am 22.08.2011 09:45, schrieb Mathilde Pellerin: Hi all, thanks for your answers. So, Ajax can be a problem with tagTester. Ok, so I don't use Ajax response anymore to render my page : public void testStory23_TA21_VerificationInitialisationBouto

Re: how to test what radio is checked in a radiogroup?

2011-08-22 Thread Mike Mander
Am 22.08.2011 09:45, schrieb Mathilde Pellerin: Hi all, thanks for your answers. So, Ajax can be a problem with tagTester. Ok, so I don't use Ajax response anymore to render my page : public void testStory23_TA21_VerificationInitialisationBoutonsRadio(){ Questionnaire questionnair

Re: how to test what radio is checked in a radiogroup?

2011-08-22 Thread Mathilde Pellerin
Hi all, thanks for your answers. So, Ajax can be a problem with tagTester. Ok, so I don't use Ajax response anymore to render my page : public void testStory23_TA21_VerificationInitialisationBoutonsRadio(){ Questionnaire questionnaire = serviceQuestionnaire.findBytitre("Questionnaire

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Per Newgro
Welcome to wicket Shunmuga Did you check the website http://wicket.apache.org already. It's all there. Check the wiki, component examples and books section. Hope you have fun with wicket Cheers Per - To unsubscribe, e-mail: us

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Shunmuga Raj
, true); >Assert.assertTrue("Node " + row + " is collapsed", > t.get(0).getAttributeIs("class", "tree-junction-expanded")); >} > > > Please see TagTester.createTagsByAttribute for concrete parameters > required.

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mike Müller
s working. Hth Mike Original-Nachricht > Datum: Fri, 19 Aug 2011 18:38:43 +0200 > Von: Mathilde Pellerin > An: users@wicket.apache.org > Betreff: Re: how to test what radio is checked in a radiogroup? > hum, yes and no... I mean, page is loaded by an ajax res

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mathilde Pellerin
tion du sexe des destinataires String genreAttendu = qObtenu.getSexeDestinataire().toString(); String genreObtenu = ((RadioGroup)form.get("genre")).getDefaultModelObjectAsString(); Assert.assertEquals(genreAttendu, genreObtenu); TagT

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mike Mander
r tagHomme = tester.getTagByWicketId("formCreationQuestionnaire:genre:homme"); TagTester tagMixte = tester.getTagByWicketId("formCreationQuestionnaire:genre:mixte"); tester.debugComponentTrees(); Assert.assertNotNull(tagFemme); and this is the output (lines relat

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mathilde Pellerin
ire:genre:homme"); TagTester tagMixte = tester.getTagByWicketId("formCreationQuestionnaire:genre:mixte"); tester.debugComponentTrees(); Assert.assertNotNull(tagFemme); and this is the output (lines relatives to radiogroup are in bold) : INFO - BaseWick

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mike Mander
Am 19.08.2011 15:35, schrieb Mathilde Pellerin: Thank you for your answer Mike. I didn't find out how could I try with Radio.onComponentTag, so I tried with tagTester. I think it could be a good solution, so I did that : TagTester tagFemme = tester.getTagByWicketId("formCreationQuestio

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mathilde Pellerin
Thank you for your answer Mike. I didn't find out how could I try with Radio.onComponentTag, so I tried with tagTester. I think it could be a good solution, so I did that : TagTester tagFemme = tester.getTagByWicketId("formCreationQuestionnaire:genre:femme"); TagTester tagHomme =

Re: how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mike Mander
Am 19.08.2011 14:21, schrieb Mathilde Pellerin: Hi all, I have a form with a Radiogroup : In my form, I have a radiogroup like this : RadioGroup genre = new RadioGroup("genreDestinataire"); genre.setRequired(true); genre.setLabel(new Model("Gen

how to test what radio is checked in a radiogroup?

2011-08-19 Thread Mathilde Pellerin
Hi all, I have a form with a Radiogroup : In my form, I have a radiogroup like this : RadioGroup genre = new RadioGroup("genreDestinataire"); genre.setRequired(true); genre.setLabel(new Model("Genre destinataire")); genre.add(new Radio(&

Re: RadioGroup nulled out during form submit in IE

2011-06-19 Thread Sven Meier
t; Does this just mean this, or something more? RadioGroup and Radio already do the heavy lifting for you. As long as you don't use custom markup ids, it should just work. Note that the javadoc is talking about *markup ids*, not wicket ids. Sven On 06/19/2011 06:51 PM, Matt Schmidt wro

Re: RadioGroup nulled out during form submit in IE

2011-06-19 Thread Matt Schmidt
After further investigation, my problem is with the AjaxFormChoiceComponentUpdatingBehavior. After adding the radio group to the target in the behavior's onUpdate(), it works. I have my radio's styled with some fancy jQuery button looks, so I was unable to see that the actual radio remained unsele

Re: RadioGroup nulled out during form submit in IE

2011-06-19 Thread Sven Meier
Hi Matt, it could be a tag open/close issue which leads IE to put your radio tags outside of the form. I'd suggest to check your markup, i.e. look out for non-closed tags. Hope this helps Sven On 06/18/2011 11:04 PM, Matt Schmidt wrote: I have a form that is working correctly in FireFox but

RadioGroup nulled out during form submit in IE

2011-06-18 Thread Matt Schmidt
I have a form that is working correctly in FireFox but not IE. This puzzled is quite puzzling to me since it is server side functionality. Here's a much simplified version of what I've got: Radio 1 Radio 2 Radio 3 The RadioGroup's also have an Ajax

Re: How to know what RadioGroup was selected?

2011-04-06 Thread James Carman
On Wed, Apr 6, 2011 at 10:28 PM, Paolo wrote: > Great!! You was very fast to reply! And I solved my problem with: > > System.out.println ("Tipo pagamento:"+bean.getMyInt()); > > Thank you very much!!! > No problem. That's what Wicket is all about, models. Your

Re: How to know what RadioGroup was selected?

2011-04-06 Thread Paolo
che.org/WICKET/using-radiogroups.html > > > > But, how I can know what radio button of radiogroup the user selected? > > Great!! You was very fast to reply! And I solved my problem with: System.out.println (&

Re: How to know what RadioGroup was selected?

2011-04-06 Thread James Carman
What is the value of "myInt"? That should tell you which one was selected. On Wed, Apr 6, 2011 at 10:15 PM, Paolo wrote: > I implemented this example in my application > > https://cwiki.apache.org/WICKET/using-radiogroups.html > > But, how I can know what radio butt

How to know what RadioGroup was selected?

2011-04-06 Thread Paolo
I implemented this example in my application https://cwiki.apache.org/WICKET/using-radiogroups.html But, how I can know what radio button of radiogroup the user selected? This is a part of the html code: This is a part of the java

radioGroup in DataView

2011-03-10 Thread Jehan
Dear All I am using radioGroup example found at URL: https://cwiki.apache.org/WICKET/using-radiogroups.html when I am clicking on submit button then old/Dafault selected values are printing. Using following code(saveRoleAssignments method) I want to print user selected radio button values (e.g

Re: AjaxFormChoiceComponentUpdatingBehavior on RadioGroup

2011-02-07 Thread ilde...@gmail.com
Did you succeed in making AjaxFormChoiceComponentUpdatingBehavior work on a RadioGroup? I can't make it work, wicket 1.4.14 I need to save the selected value to my model object when a Radio in the RadioGroup is selected. This becaus every time an option is selected in the form, the whole fo

Re: RadioGroup bug?

2011-01-25 Thread Martin Grigorov
mmit quickstart to reproduce bug and also patch to jira later > today. > > > > > > ** > > Martin > > > > 2010/11/2 Martin Makundi : > >> Hi! > >> > >> Is there a resolution to this bug/issue listviews with > >> setreuseitems=true

Re: RadioGroup bug?

2011-01-25 Thread Martin Makundi
ug and also patch to jira later today. > > > ** > Martin > > 2010/11/2 Martin Makundi : >> Hi! >> >> Is there a resolution to this bug/issue listviews with >> setreuseitems=true but with radiochoice have some problems: >> >> * http://www.mail

Re: Problem with RadioGroup / Radio / TextField

2010-12-21 Thread Ioannis Canellos
Thanks On Tue, Dec 21, 2010 at 9:59 AM, Jeremy Thomerson wrote: > On Tue, Dec 21, 2010 at 1:44 AM, Ioannis Canellos > wrote: > > Sorry but I received delivery failure both times I sent the email. > > No worries. It may have been a notification that your message needed > to be moderated through

Re: Problem with RadioGroup / Radio / TextField

2010-12-21 Thread Jeremy Thomerson
On Tue, Dec 21, 2010 at 1:44 AM, Ioannis Canellos wrote: > Sorry but I received delivery failure both times I sent the email. No worries. It may have been a notification that your message needed to be moderated through. When I moderated your message, I also made it so that all messages from you

Re: Problem with RadioGroup / Radio / TextField

2010-12-20 Thread Ioannis Canellos
Sorry but I received delivery failure both times I sent the email. On Tuesday, December 21, 2010, Jeremy Thomerson wrote: > On Mon, Dec 20, 2010 at 4:50 PM, Ioannis Canellos wrote: >> Hi, >> >> I have an issue with the RadioGroup component. >> I want a RadioGroup

Re: Problem with RadioGroup / Radio / TextField

2010-12-20 Thread Jeremy Thomerson
On Mon, Dec 20, 2010 at 4:50 PM, Ioannis Canellos wrote: > Hi, > > I have an issue with the RadioGroup component. > I want a RadioGroup that will have a couple of radio items, which will > contain text fields. I want the model of the radio group to contain the > value th

Problem with RadioGroup / Radio / TextField

2010-12-20 Thread Ioannis Canellos
Hi, I have an issue with the RadioGroup component. I want a RadioGroup that will have a couple of radio items, which will contain text fields. I want the model of the radio group to contain the value that is typed in the selected textfield. RadioGroup radioGroup = new RadioGroup("radioGroup

RadioGroup / Radio with text fields.

2010-12-20 Thread Ioannis Canellos
Hi, I have an issue with the RadioGroup component. I want a RadioGroup that will have a couple of radio items, which will contain text fields. I want the model of the radio group to contain the value that is typed in the selected textfield. RadioGroup radioGroup = new RadioGroup("radioGroup

Re: RadioGroup/Radio runtime exception

2010-12-15 Thread Grafas
.nabble.com/RadioGroup-Radio-runtime-exception-tp2331304p3089098.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: RadioGroup/Radio runtime exception

2010-12-15 Thread Grafas
I'm kinda still stuck with this problem. Any help would be appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-Radio-runtime-exception-tp2331304p3088874.html Sent from the Users forum mailing list archive at Nabbl

Re: Radiogroup selection not kept after validation failure

2010-12-05 Thread James
That works! Thanks so much for your quick response, Martin! James Zhang -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radiogroup-selection-not-kept-after-validation-failure-tp3073296p3073315.html Sent from the Users forum mailing list archive at Nabble.com

Re: Radiogroup selection not kept after validation failure

2010-12-05 Thread Martin Makundi
ield field = new TextField("txtfield", new > PropertyModel(this, "value")); >                field.setRequired(true); >                form.add(field); > >                form.add(new TextField("txtfield2", new PropertyModel(this, > "value2"))); > >

Radiogroup selection not kept after validation failure

2010-12-05 Thread James Zhang
form.add(new TextField("txtfield2", new PropertyModel(this, "value2"))); RadioGroup group = new RadioGroup("roles", new PropertyModel(this, "selected")); form.add(group);

Re: RadioGroup bug?

2010-11-15 Thread Martin Makundi
ater today. ** Martin 2010/11/2 Martin Makundi : > Hi! > > Is there a resolution to this bug/issue listviews with > setreuseitems=true but with radiochoice have some problems: > > * http://www.mail-archive.com/users@wicket.apache.org/msg06560.html > * > http://apache-wicket.184

RadioGroup bug?

2010-11-02 Thread Martin Makundi
Hi! Is there a resolution to this bug/issue listviews with setreuseitems=true but with radiochoice have some problems: * http://www.mail-archive.com/users@wicket.apache.org/msg06560.html * http://apache-wicket.1842946.n4.nabble.com/RadioGroup-test-fails-td1912239.html * http

Re: RadioGroup/Radio runtime exception

2010-08-19 Thread Major Péter
Hi, I'm also seeing time to time this exception with 1.4.8, the only difference is, that I'm using the radiogroup within a wizard. (the wizard buttons are Ajax buttons). Any thoughts, how could this happen? Thanks, Peter 2010-08-19 16:40 keltezéssel, Grafas írta: > > Hi all

Re: RadioGroup not selected on error

2010-08-17 Thread Bilgin Ibryam
relative component path from group to this radio) On Tue, Aug 17, 2010 at 11:56 AM, Bilgin Ibryam wrote: > Hi, > > I have a form with few fields and a RadioGroup. The RadioGroup model is > bound like this radioGroup.setModel(model.bind("searchType")); > Initally the r

RadioGroup not selected on error

2010-08-17 Thread Bilgin Ibryam
Hi, I have a form with few fields and a RadioGroup. The RadioGroup model is bound like this radioGroup.setModel(model.bind("searchType")); Initally the radio options are selected correctly depending on model values. The problem happens when I submit the form, and there are validation er

Re: How to render Enum values as RadioGroup and set default value

2010-08-17 Thread datazuul
orks for setter and > getter. > I am using userModel.bind("gender") for the RadioGroup to bind it to user.set/getGender and tried to set the default value with user.setGender(Gender.MALE);. I expected some RadioGroup-inside-mechanism that activates the Radio-button that has this v

Re: How to render Enum values as RadioGroup and set default value

2010-08-17 Thread Sven Meier
Your code looks fine to me, userModel.bind("gender") works for setter and getter. Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-render-Enum-values-as-RadioGroup-and-set-default-value-tp2327596p2327890.html Sent from the Wicket - Us

How to render Enum values as RadioGroup and set default value

2010-08-16 Thread Ralf Eichinger
I have an User class with a gender field using a Gender-Enum: public class User implements DomainObject { ... private Gender gender; I want to bind this gender field to a radiogroup (representing all enum values) in a registration form. This is what I did so far: public enum Gender

Re: AjaxFormChoiceComponentUpdatingBehavior on RadioGroup

2010-04-09 Thread Per Newgro
Please check the markup. It's invalid and causes the problems. Try this: The span is not allowed there. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.a

  1   2   3   >