Re: JavaEEComponentInjector in Wicket 1.5

2011-04-05 Thread Martin Grigorov
are you talking about https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/javaee-inject-parent ? because this has been upgraded to support Wicket 1.5 and is used by its maintainer (Peter Major) On Tue, Apr 5, 2011 at 2:42 AM, msj121 msj...@gmail.com wrote: I am not sure if this is a

Re: JavaEEComponentInjector in Wicket 1.5

2011-04-05 Thread Major Péter
It has been upgraded (with some help for which I'm thankful :) ), and although I'm not using it atm, it should be working. ;) Regards, Peter On 2011-04-05 09:01, Martin Grigorov wrote: are you talking about https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/javaee-inject-parent

1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nimmy
Hi, I have a bookmarkable page that takes 2 page parameters. The page parameters determine the content that is displayed. The URL to the page is of the format: http://localhost:8080/view?2gid=2authKey=776bbb3e-83d1-4452-a7df-ff18b46169aa I manually modified the page parameters in the URL

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread Martin Grigorov
No. You use the same page instance. To get the current request's parameters use: getRequest().getQueryParameters().getParameterValue(...) On Tue, Apr 5, 2011 at 10:50 AM, nimmy nim_sa...@hotmail.com wrote: Hi, I have a bookmarkable page that takes 2 page parameters. The page parameters

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nino martinez wael
I dont think this is expected behaviour although ive noticed it too. On Apr 5, 2011 10:50 AM, nimmy nim_sa...@hotmail.com wrote: Hi, I have a bookmarkable page that takes 2 page parameters. The page parameters determine the content that is displayed. The URL to the page is of the format:

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread Martin Grigorov
why not ? You used app.mountPage() (i.e. MountedMapper) to mount that page. if you use http://host:port/wicket/bookmarkable/com.mycompany.HomePage then a new instance will be created every time and the params will be as you expect them On Tue, Apr 5, 2011 at 10:58 AM, nino martinez wael

[wicketstuff-annotation] Url displayed with alt MountPath

2011-04-05 Thread Mike Mander
Hi, i have a strange behavior with the MountPath in wicketstuff-annotation. Annotated my page with @MountPath(path=ShowWelcomePage.html, alt={index, index.html, index.php, index.jsp}) If i call my welcome page (http://localhost:8080) i get http://localhost:8080/index.php If i change alt to

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nimmy
If the same instance of the page is used then I supposed I could reset the page model in the page's onBeforeRender method by using getRequest().getQueryParameters().getParameterValue(...) as you suggested. Currently, all the work is being done in the constructor. This is purely curiosity. I

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nino martinez wael
mainly because it did'nt work this way in 1.4 or 1.3... Of course it could be a deliberate change.. What happens if I use bookmarkable pages to navigate around the website? regards Nino 2011/4/5 Martin Grigorov mgrigo...@apache.org: why not ? You used app.mountPage() (i.e. MountedMapper) to

Re: Wicket For Mobile

2011-04-05 Thread nino martinez wael
also works fine on android 2.2 using webkit.. 2011/4/4 Pedro Santos pedros...@gmail.com: I don't remember of Wicket JavaScript mobile compatibility thread. I tested Wicket aplicaitons using AJAX on IE and Safari mobile versions, in both works nice. On Sun, Apr 3, 2011 at 11:33 AM, Ayodeji

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread Martin Grigorov
Nino, On Tue, Apr 5, 2011 at 12:25 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: mainly because it did'nt work this way in 1.4 or 1.3... Of course it could be a deliberate change.. What happens if I use bookmarkable pages to navigate around the website? Think about it. Making

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nino martinez wael
sure thats true... 2011/4/5 Martin Grigorov mgrigo...@apache.org: Nino, On Tue, Apr 5, 2011 at 12:25 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: mainly because it did'nt work this way in 1.4 or 1.3... Of course it could be a deliberate change.. What happens if I use

Can i catch all urls ending with .php?

2011-04-05 Thread Mike Mander
Hi, i have to build a redirect page for urls ending with .php. If i mount the page with *.php Path i get a 404. Is this possible? Thanks Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

RE: Can i catch all urls ending with .php?

2011-04-05 Thread Wilhelmsen Tor Iver
i have to build a redirect page for urls ending with .php. If i mount the page with *.php Path i get a 404. Sounds like something that is better handled with a traditional ServletFilter than anything Wicket. - Tor Iver - To

Re: Can i catch all urls ending with .php?

2011-04-05 Thread Mike Mander
Am 05.04.2011 14:08, schrieb Wilhelmsen Tor Iver: i have to build a redirect page for urls ending with .php. If i mount the page with *.php Path i get a 404. Sounds like something that is better handled with a traditional ServletFilter than anything Wicket. - Tor Iver

Re: Wicket For Mobile

2011-04-05 Thread Bertrand Guay-Paquet
Be sure to check for usage of modal windows on Android. I tried using them on mine and for some reason it was impossible to close the window with the X in the upper right corner. On 05/04/2011 6:27 AM, nino martinez wael wrote: also works fine on android 2.2 using webkit.. 2011/4/4 Pedro

Re: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]

2011-04-05 Thread fachhoch
In other words I have a panel called OrderPanel this has a WebMarkupContainerajaxSpinner, AjaxFallbackDefaultDataTable orderConfirmation, AjaxSelfUpdatingTimerBehavior updateBehavior, In the constructor of the panel I instantiate all the above components and call set visible false on

load list view when scroll

2011-04-05 Thread Flori
I have a problem with an aplication that displays a list of documents using ListView: The current design is the following: - a ListView is created with nr of items = nrOfdocuments/50; the ListView is added to a scroller - for each item of this ListView a new panel Batch is created (which

Re: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]

2011-04-05 Thread Hans Lesmeister 2
You can take a look at DataTable.onPageChanged() - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3428429.html Sent from the Users forum mailing list

Ajax onTimer() method not called when running from embedded Jetty

2011-04-05 Thread Marek Šabo
Hi all, I would like to know whether any of you ran into similar issue: I need timer behaviour to repaint panel that displays some data/stats provided by a network engine. When I run my app in tomcat or via mvn jetty:run as common webapp it gets called. But in my setup it's feasible to

Re: load list view when scroll

2011-04-05 Thread Michael O'Cleirigh
Hi Flori, Have you considered using a DataTable with its automatic pagination? I think using an ISortableDataProviderBatch would be easier than an IModelListBatch in terms of controlling the segmentation of the data. You need to let the loadable detachability of wicket work by reducing the

Pre-Select CheckBox in CheckBoxMultipleChoice?

2011-04-05 Thread eugenebalt
I have a CheckBoxMultipleChoice with some checkboxes. I also have a String, X. If there is a checkbox in the list whose title matches X, then I have to pre-select it (select it in the model). Any idea how to do that? Thanks -- View this message in context:

Re: Pre-Select CheckBox in CheckBoxMultipleChoice?

2011-04-05 Thread Pedro Santos
add X in the CheckBoxMultipleChoice model collection. e.g. IModelCollection multipleChoiceModel = (...); checkBoxMultipleChoiceComponent.setDefaultModel( multipleChoiceModel ); multipleChoiceModel.getObject().add( X ); On Tue, Apr 5, 2011 at 2:57 PM, eugenebalt eugeneb...@yahoo.com wrote: I

Wicket 1.5 RC3

2011-04-05 Thread Corbin, James
I am looking into converting my existing 1.4 project into 1.5RC3 and it's not clear where the code that was previously handled in my overridden WebRequestCycle.onRuntimeException(...) needs to go. The migration page talks about overriding Application.newExceptionMapper(), but I don't see that

Re: Wicket 1.5 RC3

2011-04-05 Thread Igor Vaynberg
there is Application.setExceptionMapperProvider() also IRequestCycleListener impls can participate in exception handling. -igor On Tue, Apr 5, 2011 at 11:14 AM, Corbin, James jcor...@iqnavigator.com wrote: I am looking into converting my existing 1.4 project into 1.5RC3 and it's not clear

Re: Pre-Select CheckBox in CheckBoxMultipleChoice?

2011-04-05 Thread eugenebalt
Ok. thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Pre-Select-CheckBox-in-CheckBoxMultipleChoice-tp3428739p3428823.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-05 Thread Martin Grigorov
you should set init-param org.apache.wicket.protocol.http.WicketFilter.FILTER_MAPPING_PARAM with value == the one you would put in web.xml - url-pattern On Tue, Apr 5, 2011 at 6:30 PM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I would like to know whether any of you ran into similar issue:

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-05 Thread Igor Vaynberg
+1 for option 2 -igor On Fri, Apr 1, 2011 at 10:34 AM, James Carman ja...@carmanconsulting.com wrote: This has been discussed before (https://issues.apache.org/jira/browse/WICKET-1221), but I can't find the old vote thread to see what folks think.  The problem is that a checkbox is a weird

Re: Wicket For Mobile

2011-04-05 Thread shetc
This is slightly off-topic but I have found one JavaScript issue with the latest BlackBerry called the Torch. The Torch has a bug in which a POST is not handled correctly but a GET is okay. This is specifically for form submits handled via JavaScript, which is typical for Wicket. See

Re: JavaEEComponentInjector in Wicket 1.5

2011-04-05 Thread msj121
Haza! I had switched back to 1.4 momentarily after almost giving up hope. Didn't realize there was a package on github, my mistake. And great wiki available on using it in maven, was a quick solution. Thank you so much! Matthew -- View this message in context:

Re: Wicket For Mobile

2011-04-05 Thread msj121
shetc wrote: This is slightly off-topic but I have found one JavaScript issue with the latest BlackBerry called the Torch. The Torch has a bug in which a POST is not handled correctly but a GET is okay. This is specifically for form submits handled via JavaScript, which is typical for

Re: Pre-Select CheckBox in CheckBoxMultipleChoice?

2011-04-05 Thread Alexander Morozov
Pedro, should we notify multipleChoiceModel that model is changed ? checkBoxMultipleChoiceComponent.setDefaultModel( multipleChoiceModel ); multipleChoiceModel.getObject().add( X ); multipleChoiceModel.modelChanged(); Pedro Santos wrote: add X in the CheckBoxMultipleChoice model collection.