AjaxFallbackLabel Component

2012-09-05 Thread Abid K
I've created a simple component called 'AjaxFallbackLabel', which might be useful to have as part of the Ajax components. I particularly found it useful when explaining to the user that Ajaxified components would automatically refresh, otherwise when JavaScript is disabled it would revert to the

URL

2011-05-16 Thread Abid K.
I have a page that's mounted and when accessing the page the url is: http://www.something.com/admin/userAdd When posting a form the url changes to: http://www.something.com/admin/userAdd/wicket:interface/:3:dataForm::IFormSubmitListener:: Is it possible that the url can stay clean like the first

Monitor external link clicks

2010-10-07 Thread Abid K
Hi, I am using the ExternalLink class for external sites. I've noticed this class does not implement the ILinkListener interface and I am not able to monitor these clicks. I tried to implement the listener, but I did not get far. e.g. public class MonitorExternalLink extends ExternalLink

Re: Monitor external link clicks

2010-10-07 Thread Abid K
...@koodaripalvelut.com wrote: Add onclickbehavior? ** Martin 2010/10/7 Abid K abz...@gmail.com: Hi, I am using the ExternalLink class for external sites. I've noticed this class does not implement the ILinkListener interface and I am not able to monitor these clicks. I tried

Re: Monitor external link clicks

2010-10-07 Thread Abid K
to the external url using setRequestTarget(new RedirectRequestTarget(url)); Martijn On Thu, Oct 7, 2010 at 4:55 PM, Abid K abz...@gmail.com wrote: Hi, I am using the ExternalLink class for external sites. I've noticed this class does not implement the ILinkListener interface and I am not able

When object is null

2010-07-27 Thread Abid K
I hope someone can help a newbie who is learning Wicket. I have the following code which accepts a parameter and then does a database query to get the 'Data' object. If the user enters the wrong Id the database query will return null and in this case I want to notify the user the data could not

Re: When object is null

2010-07-27 Thread Abid K
Thanks Josh and Daniel - both methods have worked. I have gone with checking if the object is null or not like so... public class SomePanel extends Panel { public SomePanel(String id) { super(id); if ( data == null ) { return; } Label label = new