Re: NullPointerException at Session line 492 - current RequestCycle is null

2012-03-09 Thread Martin A
Thanks, I wonder if I use invalidate() it would throw an error. I'll give it a try. Best regards, Martin On Thu, Mar 8, 2012 at 2:39 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, You can invalidate the http session. Since Wicket Session is an attribute in the http session it will be

RE: Tree onClick() question...

2012-03-09 Thread Wilhelmsen Tor Iver
My question is why is target always null in the onClick handler? Typically that happens for AjaxFallback* components when the click is not an Ajax request, e.g. the user has disabled Javascript. In those cases target is null and the whole page will be rendered in the (normal) response. - Tor

Re: Tree onClick() question...

2012-03-09 Thread Sven Meier
Check the tree's link type, if it is REGULAR the target will always be null. Sven On 03/09/2012 12:14 AM, mlabs wrote: I'm using a Tree and I have declared an onClick() handler in the usual way : new Tree(treeID, treeModel){ @Override protected MarkupContainer newNodeLink(MarkupContainer

Re: Wizard step with three textfields and one is required

2012-03-09 Thread Sven Meier
Hi Andre, use WizardStep#add(IFormValidator). Sven On 03/08/2012 09:13 PM, Andre Schütz wrote: Hello, I want to create a WizardStep with three textfields. On of the three fields must be filled. If none of the fields is filled, the user should get a feedback. I don't think that it is

Re: Wizard step with three textfields and one is required

2012-03-09 Thread Gytis
You can add a Form to your Step, then add TextFields and then make Form#onValidate() -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wizard-step-with-three-textfields-and-one-is-required-tp4457538p4459250.html Sent from the Users forum mailing list archive at

How to include a link to a css file not in classpath (not in WEB-INF)

2012-03-09 Thread grazia
Still not clear what I did wrong. With wicket 1.4 my code was: public final class PageHeaderComponent extends WebComponent { public PageHeaderComponent(final String id, final String changeDestination) { super(id);

Re: A Panel inside another Panel

2012-03-09 Thread Kayode Odeyemi
On Thu, Mar 8, 2012 at 7:44 PM, Andrea Del Bene an.delb...@gmail.comwrote: Your code seems good, I can't find any reason why it should not work. I've seen you have deployed your code on Google Appengine, maybe your problem is related with this running environment. Can you run you project

AutoLabelResolver requires ILabelProvider

2012-03-09 Thread Tibor Blénessy
Hi, I am trying to use label with wicket:for attribute to create label for MultiFileUploadField. However, this doesn't work because AutoLabelResolver checks whether component implements ILabelProvider. But ILabelProvider is not used in AutoLabelResolver and it is not even needed in order to

Re: A Panel inside another Panel

2012-03-09 Thread Andrea Del Bene
Yes I did, it's a quite common solution with Wicket. I can show you my code but it doesn't differ so much from your. I've wrote a container panel with two sub panels: the upper one shows some information about a generic iter of certification, the lower one is the custom content of the page.

Upgrade from 1.4 to 1.5: timeframe?

2012-03-09 Thread N. Metzger
Hi all, I'm finally coming up on upgrading from 1.4.19 to 1.5. To manage my projects better, could anybody comment on how long it took them to upgrade? I know it depends on how complicated your application is, but as a general guideline, does it take minutes, days, months? Thanks, Natalie --

Re: Upgrade from 1.4 to 1.5: timeframe?

2012-03-09 Thread Sven Meier
In my experience an upgrade should be possible in 4 hours to 4 days depending on the complexity of your application. Sven On 03/09/2012 06:09 PM, N. Metzger wrote: Hi all, I'm finally coming up on upgrading from 1.4.19 to 1.5. To manage my projects better, could anybody comment on how long

Re: Upgrade from 1.4 to 1.5: timeframe?

2012-03-09 Thread Bertrand Guay-Paquet
Hi, I haven't done any migration myself (started on 1.5), but while reading this list, I noticed a number of users having issues with page mountings and page versioning. Try the following query for more hints: http://wicket-users.markmail.org/search/?q=migrate+1.5+-subject%3A%3A[announce]

Re: Preferred way to unit testing a WizardStep?

2012-03-09 Thread Dan Alvizu
Hi again, Sorry for the repost but I haven't been able to find a way through WicketTester API to accomplish this, so I'm bumping this thread. Has anybody successfully written unit tests for the wizard? Thanks, Dan On Mon, Mar 5, 2012 at 2:34 PM, Dan Alvizu dalv...@pingidentity.com wrote: