Hi Loic,
If you use wicket page test (http://wicketpagetest.sourceforge.net), you
can test it like:
DefaultSelenium selenium = WebPageTestContext.getSelenium();
WicketSelenium ws = new WicketSelenium(selenium);
ws.openBookmarkablePage(PalettePage.class);
String[] allProducts = selenium.g
> I would like very much to disable serialization in wicket tester. I
> am using pages with mockito mocks that are not serializable (and why
> should they in a unit test). I am using workarounds now.
You can take a look at http://wicketpagetest.sourceforge.net which
allows you to inject non-seria
I'm controlling the content of my tags with an AttributeAppender and
in my markup they are closed with />
WebComponent keywords = new WebComponent("metaKeywords");
StringResourceModel keyModel = new
StringResourceModel("meta.standard-keywords", this, new Model(this));
keywords.add(new Attribu
Will mockito let you mock more than one class at once? If so, you can add
Serializable to the list.
On Jul 31, 2010 5:40 PM, "Erik Brakkee" wrote:
> That my tests will not be equivalent is no big problem. In this case I am
> really unit testing the pages while mocking the backend. That allows m
That my tests will not be equivalent is no big problem. In this case I am
really unit testing the pages while mocking the backend. That allows me to
also test anomalous behavior of the backend.
In addition, I am also doing unit integration testing with rendering wicket
pages with an actual JPA bac
Your tests will not be equivalent ..
**
Martin
2010/8/1 Erik Brakkee :
> Hi,
>
>
> I would like very much to disable serialization in wicket tester. I am using
> pages with mockito mocks that are not serializable (and why should they in a
> unit test). I am using workarounds now.
>
> Is there an
Hi,
I would like very much to disable serialization in wicket tester. I am using
pages with mockito mocks that are not serializable (and why should they in a
unit test). I am using workarounds now.
Is there an easy way in wicket tester to disable the serializations that
occur?
Cheers
Erik
I went with catrina84's solution by using a date text field out of the form,
and a related hidden text in the form.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DateField-throwing-runtime-error-in-IE-only-tp1872555p2309086.html
Sent from the Wicket - User mailing
its checked because it came from commons-upload, we didnt write it.
open a jira to create a runtime version of it and wrap it in that.
-igor
On Sat, Jul 31, 2010 at 5:48 AM, nicolas melendez wrote:
> Hi there, i have a question about FileUploadException.
>
> In line 80 of MultipartServletWebReq
It appears that I ran into an existing Glassfish V3 issue. The same issue
occurs with passivation of regular EJBs that have an entitymanager injected.
See https://glassfish.dev.java.net/issues/show_bug.cgi?id=11356
Hi there, i have a question about FileUploadException.
In line 80 of MultipartServletWebRequest, the constructor throws
FileUploadException which is checked, and then in line 500 of
ServletWebRequest, it was wrapped to a wickerRuntimeException,
@Override
public WebRequest newMultipartWebR
Wicket is wicked ;)
**
Martin
2010/7/31 Mark Doyle :
> Yeah, I actually messed up the behaviour because I never noticed the
> rendOnLoad method.
>
> I've done as you suggested in the behaviour and then simply added that to
> the component. It works perfectly, thanks Martin.
>
>
> The progression
Yeah, I actually messed up the behaviour because I never noticed the
rendOnLoad method.
I've done as you suggested in the behaviour and then simply added that to
the component. It works perfectly, thanks Martin.
The progression to more advanced Wicket certainly requires more web specific
knowle
I'm interested in implementing an authentication feature with
wicketstuff-push (1.4.9.2), and it works with slight modifications. I
share what I did.
I basically implements written at
http://cometd.org/documentation/howtos/authentication.
What I change is two methods.
(1) CometdAbstractBehavior#
Headercontribution can be added to many things ...
2010/7/31 Mark Doyle :
> Ah ok, I'll test that. I never thought of just adding it to the Page.
>
>
> What, if any, is the difference between this and adding the behaviour to the
> WebPage which is a kind of Component?
>
>
> On Fri, Jul 30, 2010 a
Ah ok, I'll test that. I never thought of just adding it to the Page.
What, if any, is the difference between this and adding the behaviour to the
WebPage which is a kind of Component?
On Fri, Jul 30, 2010 at 7:03 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> You c
16 matches
Mail list logo