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
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
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
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
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
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
>>>>>>>
ith a bare bones
> > wicket
> > > >>>> example.
> > > >>>>
> > > >>>>
> > > >>>> On Wed, Nov 18, 2015 at 2:00 PM, Ernesto Reinaldo Barreiro <
> > > >>>> r
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)
components)
> >>>>>
> >>>>> On Wed, Nov 18, 2015 at 1:53 PM, Sven Meier wrote:
> >>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> with a quickstart i
easy to spot the problem.
>>>>>>
>>>>>> Regards
>>>>>> Sven
>>>>>>
>>>>>>
>>>>>> On 18.11.2015 13:46, Ernesto Reinaldo Barreiro wrote:
>>>>>>
>>>>>>&
;>>>
>>>>> 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
>
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
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
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,
>>>>>
>>>
lizeRecursively(true);
>>>> }
>>>>
>>>> This may be a problem leftover from WICKET-6050.
>>>>
>>>> @Marting: Shouldn't this be set automatically by
>>>> AjaxFormChoiceComponentUpdatingBehavior?
>>>>
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
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:
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
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
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:
>>>
>>>
<
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
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
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(&
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>
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
Something like:
final Label label = ...
RadioChoice sites = new RadioChoice("site", SITES);
sites.add(new AjaxFormChoiceComponentUpdatingBehavior()
{
@Override
protected void onUpdate(AjaxRequestTarget target)
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
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
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
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
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
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
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
‘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
It works well when I don't provide the complete path !
Thank you a lot Mike !
> 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
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
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
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
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
, true);
>Assert.assertTrue("Node " + row + " is collapsed",
> t.get(0).getAttributeIs("class", "tree-junction-expanded"));
>}
>
>
> Please see TagTester.createTagsByAttribute for concrete parameters
> required.
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
tion du sexe des destinataires
String genreAttendu = qObtenu.getSexeDestinataire().toString();
String genreObtenu =
((RadioGroup)form.get("genre")).getDefaultModelObjectAsString();
Assert.assertEquals(genreAttendu, genreObtenu);
TagT
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
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
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
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 =
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
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(&
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
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
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
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
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
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 (&
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
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
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
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
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
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
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
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
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
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
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
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
.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
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
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
ield field = new TextField("txtfield", new
> PropertyModel(this, "value"));
> field.setRequired(true);
> form.add(field);
>
> form.add(new TextField("txtfield2", new PropertyModel(this,
> "value2")));
>
>
form.add(new TextField("txtfield2", new PropertyModel(this,
"value2")));
RadioGroup group = new RadioGroup("roles", new
PropertyModel(this,
"selected"));
form.add(group);
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
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
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
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
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
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
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
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
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 - 100 of 247 matches
Mail list logo