Hi Jonathan,
Take a look at method WicketTester.assertVisible("path-to-modal"). That
way you can use plain modal window without any mocking, stubing or
spying in your tests. I hope this helped.
Jan
On 2.9.2016 11:24, Jonathan Eenkhoorn wrote:
I am trying to unittest a wicket panel with the
>>> users-unsubscribe@wicket.**apa**che.org<http://apache.org>
>>>
>>> >
>>>
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>
> --**--**-
> To unsubscribe, e-mail:
> users-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Jan Ferko,
julyl...@gmail.com
to
> find a solution.
>
> --**--**-
> To unsubscribe, e-mail:
> users-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Jan Ferko,
julyl...@gmail.com
Hi,
i am sorry that i didnt reply earlier. I forgot to mention that, when I
close modal window with form, I show other modal window and it seems
that javascript opens first window instead of new one.
On 10/27/2011 12:36 AM, Andrea Del Bene wrote:
Hi,
I've tried to reproduce your issue but w
Thanks for quick reply. I close modal window in onError method of
AjaxButton. Here is code:
public class MyModal extends ModalWindow {
public MyModal(String id) {
super(id);
MyPanel panel = new MyPanel(getContentId()) {
public void onError(AjaxRequest
Hi,
I have problem with form processing in modal window. I have form in
modal window which is submitted by AjaxButton. User choose one of
possible combinations and if combination is still available reservation
process continue if not combination is removed from listview and user
can choose an
(mockResponse);
mockCycle.setRequest(request);
mockCycle.setResponse(response);
return mockCycle;
}
On 10/03/2011 01:16 PM, Jan Ferko wrote:
Hi everyone,
We use proxy around HttpServletResponse in our application. I would
like to test components/pages using WicketTester, but
Hi everyone,
We use proxy around HttpServletResponse in our application. I would like
to test components/pages using WicketTester, but when WicketTester tries
to startPage it throws following exception:
java.lang.ClassCastException: myPackage.HttpServletResponseProxy cannot
be cast to org.ap
yes, there are a few.:)
On Tue, 2011-02-22 at 20:32 +0100, Ladislav DANKO wrote:
> yes, a lot of ;-)
>
>
>
> > -Original Message-
> > From: danisevsky [mailto:danisev...@gmail.com]
> > Sent: Tuesday, February 22, 2011 4:52 PM
> > To: users@wicket.apache.org
> > Subject: [OT] Wicketeer
Hi,
I wrote custom converter for entity class. convertToObject() works fine,
but I have problem with convertToString(). Since i have different
implementations for my entity (immutable and mutable version) I work
with their common interface in my web layer and wicket seems not to
recognize tha
Hi,
I am using PagingNavigator on my dataview. Every item in dataview has
checkbox to delete item from persistent layer. Problem is that when i
change page I loose information about which checkbox on previous page
was selected. I implemented AjaxEventBehavior for every Check which
manualy sto
Hi,
id of your TextFields should match name of property in Address model.
something like that..
public class Address {
private String address1;
private String address2;
private String city;
//getters
public String getAddress1(){}
...
}
Jan Ferko
On 01/20/2011 12:45
both interfaces which leeds mostly to lot of duplicit code. So
i was wondering is there any particular reason that FormValidators and
Validators are separated?
Thanks for respond.
Jan Ferko
r
On Tue, Nov 9, 2010 at 2:27 AM, Jan Ferko mailto:julyl...@gmail.com>> wrote:
> Thanks,
>
> I figured it out. I have one more question ... can i use wicket
behaviour to
> retrieve selected date from calendar or i have to write some JS
hacks to do
the formcomponent's model the
> datepicker is attached to.
>
> -igor
>
>
> On Tue, Nov 9, 2010 at 2:27 AM, Jan Ferko wrote:
> > Thanks,
> >
> > I figured it out. I have one more question ... can i use wicket behaviour
> to
> > retrieve selected date from cal
, 2010 at 9:25 AM, Jan Ferko wrote:
Hi,
Can anyone tell me what is format of map for
AbstractCalendar.configureWidgetProperties(Map map) ? For example I want to
set navigator property to true, but map.put("navigator", true) doesn't work.
thanks
Hi,
Can anyone tell me what is format of map for
AbstractCalendar.configureWidgetProperties(Map map) ? For example I want
to set navigator property to true, but map.put("navigator", true)
doesn't work.
thanks for answer
Jan
Thanks a lot everyone
On 10/26/2010 03:17 AM, Pedro Santos wrote:
If you have n MyPanelData on a page, you will be fine with the
RepeatingView. Otherwise use the Listview to generate the correct number of
items with MyPanel each render.
On Mon, Oct 25, 2010 at 8:19 PM, Jan Ferko wrote
well, I have all fields which have to be create dynamicaly grouped in one
panel. So whole panel is
2010/10/25 Jeremy Thomerson
> What part is dynamic / dependent on the form?
>
> On Sun, Oct 24, 2010 at 3:59 PM, Jan Ferko wrote:
>
> > Thanks a lot, it worked great.
>
ata);
MyPanel panel = new MyPanel("panel", new CompoundPropertyModel(data));
parent.add(panel);
}
Jan Ferko
2010/10/24 Jan Ferko
> Thanks a lot, it worked great.
>
> I have one more question. I have to create same panel multiple times ,
> based on user output into th
> > MyPanel want's to utilize a CompoundPropertyModel (because it doesn't set
> > the model on its contained components), it should set it up by itself.
> >
> > HTH
> >
> > Sven
>
>
> Sven is spot-on, and this method he showed you above will absolutely save
> you some bugs down the road!
>
> Thanks Sven!!
>
> --
> Jeremy Thomerson
> http://wickettraining.com
> *Need a CMS for Wicket? Use Brix! http://brixcms.org*
>
--
Jan Ferko,
julyl...@gmail.com
solve this?
Thanks for help
Jan Ferko
22 matches
Mail list logo