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
hum, yes and no... I mean, page is loaded by an ajax response (AjaxLink),
but then there is no Ajax.
This is the entire test, maybe it can help :
@SuppressWarnings("unchecked")
@Test @Transactional @Rollback
public void testStory23_TA21_VerificationInitialisationBoutonsRadio(){
Am 19.08.2011 16:38, schrieb Mathilde Pellerin:
I add WicketTester.debugComponentTrees() in my test juste before
assertNotNull which failed like this :
TagTester tagFemme =
tester.getTagByWicketId("formCreationQuestionnaire:genre:femme");
TagTester tagHomme =
tester.getTagByW
I add WicketTester.debugComponentTrees() in my test juste before
assertNotNull which failed like this :
TagTester tagFemme =
tester.getTagByWicketId("formCreationQuestionnaire:genre:femme");
TagTester tagHomme =
tester.getTagByWicketId("formCreationQuestionnaire:genre:homme");
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("Genre destinataire"));
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("femme", new Model("f")));
15 matches
Mail list logo