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 wrote: > I am not sure if this is a bug or intentio

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?2&gid=2&authKey=776bbb3e-83d1-4452-a7df-ff18b46169aa I manually modified the page parameters in the URL expec

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 wrote: > Hi, > > I have a bookmarkable page that takes 2 page parameters. The page > parameters > determine the content

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" 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: > > http://localhos

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 < nino.ma

[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 chang

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 don't

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 : > why not ? > > You used app.mountPage() (i.e. MountedMapper) to mount that page. >

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 : > 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 Aladejebi wrote:

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.

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

2011-04-05 Thread nino martinez wael
sure thats true... 2011/4/5 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 bookmarkabl

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 comma

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 -

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 Sant

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 or

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 represents

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 start

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 ISortableDataProvider would be easier than an IModel> in terms of controlling the segmentation of the data. You need to let the loadable detachability of wicket work by reducing the amount of dat

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: http://apache-wicket.1842946.n4.nabble

Re: Pre-Select CheckBox in CheckBoxMultipleChoice?

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

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 m

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 wrote: > I am looking into converting my existing 1.4 project into 1.5RC3 and it's not > clear where the code that was

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 unsub

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 wrote: > Hi all, > > I would like to know whether any of you ran into similar issue: I need > timer

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 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 bird when it comes to H

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 http://suppo

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: http://apache-wicket.1842946.n4.na

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

AttibuteModifier question

2011-04-05 Thread drf
Just as one can use component.add(new AttributeModifier("class", new Model(""))); to modify the css class for a component, is there a way to either 1. get the existing class value, 2. or alternativly to append a class to the existing css classes set for that component, rather than replacing th

Re: AttributeModifier question

2011-04-05 Thread drf
Looks like I've found the answer - AttributeAppendor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AttributeModifier-question-tp3429987p3429998.html Sent from the Users forum mailing list archive at Nabble.com. --

RE: AttibuteModifier question

2011-04-05 Thread Wilhelmsen Tor Iver
> 1. get the existing class value, Only when parsing the markup in onComponentTag(). - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: AttibuteModifier question

2011-04-05 Thread vineet semwal
for 1) you can get that in oncomponenttag for 2) use attribute appender On Wed, Apr 6, 2011 at 11:56 AM, drf wrote: > Just as one can use > > component.add(new AttributeModifier("class", new Model(""))); > > to modify the css class for a component, is there a way to either > 1. get the existing c

Re: AttibuteModifier question

2011-04-05 Thread Robert Dahlström
If you're outside of the onComponentTag you can do: String cssClass = component.getMarkupAttributes().getString("class"); Regards Robert On 04/06/2011 08:36 AM, Wilhelmsen Tor Iver wrote: 1. get the existing class value, Only when parsing the markup in onComponentTag(). - Tor Iver -

Re: AttibuteModifier question

2011-04-05 Thread Ernesto Reinaldo Barreiro
use AttributeAppender? Ernesto On Wed, Apr 6, 2011 at 8:26 AM, drf wrote: > Just as one can use > > component.add(new AttributeModifier("class", new Model(""))); > > to modify the css class for a component, is there a way to either > 1. get the existing class value, > 2. or alternativly to appen