On Mon, 17 Mar 2014 13:58:59 +0200
Martin Grigorov wrote:
MG> This method doesn't add the children components.
MG> So trying to render this panel (via #startComponentInPag(panelInstance))
MG> will fail because there are HTML elements with wicket:id in the markup
MG> which have no Java counterpart
OK,
I think I understand now.
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 17, 2014 at 1:31 PM, Jens Jahnke wrote:
> Hi,
>
> On Mon, 17 Mar 2014 13:05:57 +0200
> Martin Grigorov wrote:
>
> MG> This is the right way.
> MG> Can you show us the code that causes this error ?
> MG>
On Mon, 17 Mar 2014 13:38:29 +0200
Martin Grigorov wrote:
MG> I meant the test code that leads to the exception.
Okay, here it is:
private WicketTester tester;
@Before
public void setUp() throws Exception {
tester = new WicketTester(new MyApplication());
}
@Test
public void testRenderPane
Hi,
I meant the test code that leads to the exception.
On Mon, Mar 17, 2014 at 1:31 PM, Jens Jahnke wrote:
> Hi,
>
> On Mon, 17 Mar 2014 13:05:57 +0200
> Martin Grigorov wrote:
>
> MG> This is the right way.
> MG> Can you show us the code that causes this error ?
> MG> #startComponentInPage()
Hi,
On Mon, 17 Mar 2014 13:05:57 +0200
Martin Grigorov wrote:
MG> This is the right way.
MG> Can you show us the code that causes this error ?
MG> #startComponentInPage() should not fail with such error ...
the exception is thrown at the line with tester.startComponentInPage,
but here is the c
Hi,
This is the right way.
Can you show us the code that causes this error ?
#startComponentInPage() should not fail with such error ...
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 17, 2014 at 1:00 PM, Jens Jahnke wrote:
> Hi,
>
> I'm trying to test a panel in isolation using `