Great post!
I had difficulties getting the wicket tester up and running with my
Spring-enabled app but your class worked like a charm.
Wouldn't it be a good idea to contribute that code to the wicket-spring
subproject?
best regards, Peter
--
View this message in context:
)
public final Page startPage(final Page page)
instead of wicketTester.startPage(FooPage.class);
and also you should use wicket tester's request for adding cookies:
wicketTester.getServletRequest()
have not tried it though.
Vitek
Peter Gardfjell wrote:
Hi all,
does anyone know
Hi all,
does anyone know of some easy way of adding cookies to WicketTester prior to
having it visit page?
That is something along the line of
WicketTester wicketTester = new WicketTester(new
MyApplication());
Cookie cookie = new Cookie(name, value);
Hi,
a quick question. Is it possible to assign a new id to a Panel after it has
been constructed?
Something similar to:
public Panel createPanel() {
return new MyPanel(dummyID, ...);
}
...
...
Panel myPanel = createPanel();
myPanel.setId(newID);
I would like to have a component
done so, implicitly... :-).
Just to make things absolutely clear: can a Panel only be assigned an
identifier at the time its constructor is called?
/Peter
igor.vaynberg wrote:
pass the id into the createPanel method
-igor
On Mon, Jun 9, 2008 at 11:51 AM, Peter Gardfjell
[EMAIL
a reasonable workaround to you or
would you suggest a different approach?
/Peter
igor.vaynberg wrote:
yep, and if you can actually merge it into a project generated by
archetype it will make it that much easier for us to work with.
-igor
On Thu, May 29, 2008 at 10:55 PM, Peter Gardfjell
Hi all,
I am trying to implement a reusable CollapsableBorder component.
I intend to use it to create collapsable sections on my web page (clicking a
link collapses/expands the section, i.e. the border contents).
The component seems to work just fine for basic usage.
The problem, however, occurs