URL coding strategies

2010-03-17 Thread Vishal Popat
Hi there, I have a question about URL coding strategies I have decided to use IndexedParamUrlCodingStrategy for friendly URL's. I have set PageParameters for this strategy in the following way: PageParameters pageParameters = new PageParameters();

Wicket Dynamic Navigation

2010-05-24 Thread Vishal Popat
Hi, I am looking to build a 1-2 level left navigation where the first level is a list of categories and the 2nd is a list of optional sub categories. I have tried various ways of designing this in wicket such as a DataView for level 1 and another DataView for level 2 which is inside a

RestartResponseAtInterceptPageException / redirectToInterceptPage with PageParameters

2010-10-28 Thread Vishal Popat
Hi all, I am currently using wicket-auth-roles for all pages required authorization which is working great. I have a page where information is shown to the user but to see further information they are required to login. This page uses IndexedParamUrlCodingStrategy for the URL. I haven't to

Cannot get current page from AjaxPagingNavigator

2010-11-09 Thread Vishal Popat
Hi all, For some reason I cannot get the current page number. This is the relevant part of my code: PageableListView dataList = new PageableListView(dataList, results, 10) { protected void populateItem(ListItem item) { .. } }

Configure http and https with apache and jboss

2011-06-29 Thread Vishal Popat
I am trying to configure my web app to use http and https. I am using the following code in my Application class: protected IRequestCycleProcessor newRequestCycleProcessor() { HttpsConfig config = new HttpsConfig(80, 443); return new MyHttpsRequestCycleProcessor(config); }

Latest version of TinyMCE

2011-10-21 Thread Vishal Popat
Hi all, I am trying to get the latest version of TinyMCE... I have tried getting this from Maven like so: dependency groupIdorg.wicketstuff/groupId artifactIdtinymce/artifactId version1.4.18/version

Two YUI DatePickers - use first date as basis for second date

2012-05-10 Thread Vishal Popat
Hi, I have two YUI DatePickers where the date selected from the first DatePicker is the starting date (+1) for the second DatePicker. I would ideally like to disable the dates prior to the first date as well. The scenario is like checkin and checkout dates for hotels. I cannot work out how to

CSS load order in 6.x

2012-12-19 Thread Vishal Popat
Hi, I have been migrating my website from 1.4.x to 6.x (6.3 at the moment). Previously, I had my own css for YUI calendar which was loading correctly i.e. overwriting the YUI calendar version. However, in 6.x it is no longer working. Checking the css, its seems to be loading calendar.css after

Gmap3 Geocoding shows Status 610

2013-03-16 Thread Vishal Popat
Hi, I am using GMap3 from here: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gmap3-parent/gmap3. My Geocoding has recently stopped working and is showing Status 610. Google searching shows that this is all related to GMap2 being deprecated etc (There maybe other reasons why

Gmap3 NullPointerException

2013-08-07 Thread Vishal Popat
Hi all, I have set up this to report errors this.getRequestCycleListeners().add(new AbstractRequestCycleListener() { @Override public IRequestHandler onException(RequestCycle cycle, Exception e) { return new RenderPageRequestHandler(new

AjaxLazyLoadPanel loading asynchronously

2014-01-29 Thread Vishal Popat
Hi, I have a situation where I have to make multiple REST calls to different suppliers. I currently am using AjaxLazyLoadPanel to make these calls but loading time is very slow and not scaleable if I wanted to add more suppliers. Is there a way to make AjaxLazyLoadPanel asynchronously? I have

replaceWith method in Panel not working with AjaxLazyLoadPanel

2014-02-06 Thread Vishal Popat
Hi, I have the following panel layout: SomeOtherPanel AjaxLazyLoadPanel Panel loading with AjaxLazyLoadPanel PanelToReplace I am trying to replace PanelToReplace using replaceWith within IndicatingAjaxFallbackLink onClick method but I get the message: Component

replaceWith method in Panel not working with AjaxLazyLoadPanel

2014-02-06 Thread Vishal Popat
Hi, I have the following panel layout: SomeOtherPanel AjaxLazyLoadPanel Panel loading with AjaxLazyLoadPanel PanelToReplace I am trying to replace PanelToReplace using replaceWith within IndicatingAjaxFallbackLink onClick method but I get the message: Component

Ajax Form Submit via jquery plugin / javascript

2014-06-10 Thread Vishal Popat
Hi, I am using a jquery steps plugin which has the ability to change options. One of the options I have is: onFinished: function (event, currentIndex) { var form = document.forms[selectionForm]; form.submit(); }, The

Model data lost when calling target.add before onSubmit

2014-06-25 Thread Vishal Popat
Hi, I have two panels added to a form. The idea is to create a step 1, step 2 type functionality where after clicking next on panel 1, it hides and shows Panel 2. I have a checkbox on Panel 1 add(new CheckBox(single, new PropertyModel(SelectionPanel.this, single))); and I have

wicket-select2 - adding sub categories seen in select2

2014-07-07 Thread Vishal Popat
Hi, Is it possible to add categories to the lists in wicket-select2 like seen in http://ivaynberg.github.io/select2/#basics (The Time Zone labels)? Also is it possible to add functionality like the flag images as well? Regards Vishal

Page reloads continuously- AjaxLazyLoadPanel ?

2014-07-18 Thread Vishal Popat
Hi, I have upgraded from 6.7.0 to 6.16.0 and now one of my pages continuously reloads. On this page I have AjaxLazyLoadPanel which does not call getLazyLoadComponent method when using 6.16. It does call the constructor and does call getLoadingComponent method. If I remove 6.16 jars and

Url loading context twice

2014-09-23 Thread Vishal Popat
Hi, I have a really strange one... I am using Apache 2.x Jboss 7 (EAP 6.3) and also tried in Tomcat 7 Wicket 6.16.0 I used the HelloWorld application here https://wicket.apache.org/learn/examples/helloworld.html It works fine on http://localhost:8080/myapp I add Apache virtual host with the

rememberMe not working in 6.19

2015-04-28 Thread Vishal Popat
Hi, I am currently using wicket 6.16 and wanting to upgrade to 6.19. I am using a LoginPanel using the rememberMe feature something like this: IAuthenticationStrategy strategy = getApplication().getSecuritySettings().getAuthenticationStrategy();

wicketstuff-gmap3 marker label

2018-08-10 Thread Vishal Popat
Hi, I was wondering if there is a way that gmap3 can use marker labels found here: https://developers.google.com/maps/documentation/javascript/reference/marker#MarkerLabel I have looked at GMarkerOptions

Set Double to more than 3 digits in AjaxEditableLabel

2018-08-16 Thread Vishal Popat
Hi, In Wicket 6.29.0, I did the following within a class that extended AjaxEditableLabel @Override public IConverter getConverter(Class clazz) { DoubleConverter converter = (DoubleConverter)DoubleConverter.INSTANCE; NumberFormat format =

How to handle ListenerInvocationNotAllowedException on invisible field

2018-11-18 Thread Vishal Popat
Hi, I am using Wicket 7... Recently I have been getting lots of the following exception WARN RequestCycleExtra:347 - Handling the following exception: org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException: Behavior rejected interface invocation. Component: [TextField