Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-09 Thread Erik van Oosten
Jeremy, A workaround is to make the session timeout way lower and add some keep alive javascript to each page. For example as described by Eelco (http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/). Regards, Erik. Jeremy Thomerson wrote: >

Re: BookmarkablePageLink Parameter order

2008-04-09 Thread Johan Compagner
PageParam is a map so the order is currently not remembered Please make a jira issue for this On 4/10/08, Takeshi Matsuba <[EMAIL PROTECTED]> wrote: > Hi all > > Can I control parameter order? > I have been creating Blog software and using it. > I noticed parameter order changed. (sorry I don't kn

Re: A few Wicket Questions

2008-04-09 Thread Sam Stainsby
On Tue, 08 Apr 2008 17:29:16 -0700, Michael Mehrle wrote: > In general, Wicket does a great job of giving your trace output of your > template when something goes awry, including the component inheritance > and suggestions as to what could be wrong. And for that I am *very* thankful. I've only ju

Re: BookmarkablePageLink Parameter order

2008-04-09 Thread Ryan Gravener
indexedparamurlcodingstrategy On 4/9/08, Takeshi Matsuba <[EMAIL PROTECTED]> wrote: > Hi all > > Can I control parameter order? > I have been creating Blog software and using it. > I noticed parameter order changed. (sorry I don't know what change is > trigger) > > At Application class ,WebPage cl

Re: Navigation etc. URLs for DefaultDataTable - multiple issues

2008-04-09 Thread Igor Vaynberg
On Wed, Apr 9, 2008 at 5:05 PM, Ritz123 <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to use DefaultDataTable - out of the box, the URLs generated for > the header (sorting) and navigation look really weird. I have setup > URLStrategy for the application and would like these DefaultDataTab

BookmarkablePageLink Parameter order

2008-04-09 Thread Takeshi Matsuba
Hi all Can I control parameter order? I have been creating Blog software and using it. I noticed parameter order changed. (sorry I don't know what change is trigger) At Application class ,WebPage class is mounted. mountBookmarkablePage("/page", Hoo.class); At WebPage class, BookmarkablePageLink

Navigation etc. URLs for DefaultDataTable - multiple issues

2008-04-09 Thread Ritz123
Hi, I am trying to use DefaultDataTable - out of the box, the URLs generated for the header (sorting) and navigation look really weird. I have setup URLStrategy for the application and would like these DefaultDataTable URLs to follow that stragegy. I have tried to enclose inside but that didnt

Failed to handle wicket:container

2008-04-09 Thread Jonathan Locke
I am currently trying to debug a markup handling problem where Wicket is complaining that it "Failed to handle: " I suspect that the problem is mine as I am mucking around with content types to deal with mobile devices. Any ideas on what might be wrong or what might be a good approach for debug

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-09 Thread Jeremy Thomerson
Yes - quite large. I'm hoping someone has an idea to overcome this. There were definitely not 4500+ unique users on the site at the time. There were two copies of the same app deployed on that server at the time - one was a staging environment, not being indexed, which is probably where the extr

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-09 Thread Johan Compagner
4585 tomcat sessions? thats quite large if may say that.. and even more 10 wicket sessions that tomcat sessions Do you have multiply apps deployed on that server? if a search engine doesnt send a cookie back then the urls should be encoded with jsessionid and we get the session from that.. johan

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-09 Thread Jeremy Thomerson
I finally am able to get a good analysis of it. It dumped two memory dumps when it died in the past couple days (it's still dying about once or twice a day). Using this GREAT tool: https://www.sdn.sap.com/irj/sdn/wiki?path=/display/Java/Java+Memory+AnalysisI am able to see deep memory views that

Re: customize SignInPanel look and feel

2008-04-09 Thread Gerolf Seitz
or, you can really use roll your own. last time i used it (for a small project for my studies), it felt like it wasn't actually made with customization in mind. and iirc, it's in the wicket-auth-roles project, so it's basically an example on how to do it. Gerolf On Wed, Apr 9, 2008 at 10:48 PM,

Re: StringResourceModel parameter substitutions question

2008-04-09 Thread Maurice Marrink
Have you considered wrapping your parameters in models? In the model.getObject you can then use your own toString function. Maurice On Wed, Apr 9, 2008 at 11:27 AM, TonyVegas <[EMAIL PROTECTED]> wrote: > > Hi! > > When setting a string via StringResourceModel and using parameters, the > defaul

Re: Fail to close ModalWindow on top of ModalWindow

2008-04-09 Thread Maurice Marrink
Could you open up an issue for this? Maurice On Wed, Apr 9, 2008 at 10:16 AM, Nili Adoram <[EMAIL PROTECTED]> wrote: > Hi all, > I have a ModalWindow "A" containing a page i.e. opened as an iframe. > This modal opens another ModalWindow "B" containing a panel. > Window "B" contains a simple A

Re: ListView with images and getting absolut path

2008-04-09 Thread Maurice Marrink
URL url = getServletContext().getResource("/WEB-INF/templates/"); will give you a url instead of a file path if that is of any help. You can use getServletContext from within your application. Using tomcat i find this is usually a jndi url. Maurice On Wed, Apr 9, 2008 at 8:49 AM, Igor Vaynberg <[

Re: A few Wicket Questions

2008-04-09 Thread Maurice Marrink
> not out of the box. ISecurityStrategy does provide a central point to > intercept lifecycle event, so you can easily do something like > > new isecuritystrategy() { boolean isactionallowed(component caction a) { > if (pastLoadThreshold()&&component.render.equals(a)&&c instanceof > degradabl

Re: Integrating Wicket and Jersey

2008-04-09 Thread Michael Laccetti
Ah, that's good news. Appreciate the info. Mike igor.vaynberg wrote: > > you can make both to /* > > wicket is a filter, so if it thinks it cant handle the url it will let > it fall through at which point jersey will have a try > > -igor > - -- Michael Laccetti

Re: Integrating Wicket and Jersey

2008-04-09 Thread Igor Vaynberg
you can make both to /* wicket is a filter, so if it thinks it cant handle the url it will let it fall through at which point jersey will have a try -igor On Wed, Apr 9, 2008 at 1:31 PM, Michael Laccetti <[EMAIL PROTECTED]> wrote: > > Is there any way to integrate Wicket and Jersey (REST frame

Re: customize SignInPanel look and feel

2008-04-09 Thread James Carman
extend it On Wed, Apr 9, 2008 at 4:46 PM, Andrew Broderick <[EMAIL PROTECTED]> wrote: > Hi, > > How do I customize the markup for the stock SignInPanel? > > Thanks > > ___ > > The information in this email or in any file attached > hereto i

customize SignInPanel look and feel

2008-04-09 Thread Andrew Broderick
Hi, How do I customize the markup for the stock SignInPanel? Thanks ___ The information in this email or in any file attached hereto is intended only for the personal and confiden- tial use of the individual or entity to which it is addres

RE: Wicket Extensions

2008-04-09 Thread Andrew Broderick
Oops! Didn't realize it was in the distribution Thanks -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 2:17 PM To: users@wicket.apache.org Subject: Re: Wicket Extensions No. You need all versions to be equal for all projects. We releas

Integrating Wicket and Jersey

2008-04-09 Thread Michael Laccetti
Is there any way to integrate Wicket and Jersey (REST framework) in the same webapp without requiring each to have a unique mapping (Wicket filter set to /web/* and Jersey filter set somewhere else)? I looked into the web.xml to see if there was a way to put exclusions in a filter mapping, but no

Re: Wicket Extensions

2008-04-09 Thread Martijn Dashorst
No. You need all versions to be equal for all projects. We release all projects concurrently under the same version number. Why did you download wicket extensions when it is in the distribution? Or why didn't you just add it to your pom? Martijn On 4/9/08, Andrew Broderick <[EMAIL PROTECTED]> wro

Re: Application Context

2008-04-09 Thread Edvin Syse
.. or just implement ApplicationContextAware ofcourse :) -- Edvin Edvin Syse skrev: Pinger wrote: All the examples I see do something like WebApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext( this.getServletContext()); how do I do the this.g

Re: Application Context

2008-04-09 Thread Edvin Syse
Pinger wrote: All the examples I see do something like WebApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext( this.getServletContext()); how do I do the this.getServletContext() when I am not in the wicket file? Maybe you could implement

Re: MarkupCache change in 1.3.2 breaks style/variation/locale markup support

2008-04-09 Thread Igor Vaynberg
what if the cache knew the actual resource path of the resource also then we can cache login.html, default.html, default_style1.html, default_style2.html independently of what they actually map to... -igor On Wed, Apr 9, 2008 at 11:41 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > but then we

Re: MarkupCache change in 1.3.2 breaks style/variation/locale markup support

2008-04-09 Thread Johan Compagner
but then we are back at the original problem that we have many same resources in the cache that will be a real memory hog. johan On Wed, Apr 9, 2008 at 8:21 PM, Meetesh Karia <[EMAIL PROTECTED]> wrote: > What about adding the style and variation into the location string when > it's used as a c

Re: MarkupCache change in 1.3.2 breaks style/variation/locale markup support

2008-04-09 Thread Meetesh Karia
What about adding the style and variation into the location string when it's used as a cache key. That will prevent the problem with the locales, but will address the issue below too ... Johan Compagner wrote: hmm this is now a tricky one.. i need to figure out how it should work now.. On W

Re: Application Context

2008-04-09 Thread Pinger
All the examples I see do something like WebApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext( this.getServletContext()); how do I do the this.getServletContext() when I am not in the wicket file? James McLaughlin-3 wrote: > > Have

Re: MarkupCache change in 1.3.2 breaks style/variation/locale markup support

2008-04-09 Thread Johan Compagner
hmm this is now a tricky one.. i need to figure out how it should work now.. On Wed, Apr 9, 2008 at 8:04 PM, Meetesh Karia <[EMAIL PROTECTED]> wrote: > We're running into a problem with the change made for this issue: > http://issues.apache.org/jira/browse/WICKET-1370 > > Basically, if you have

Re: Application Context

2008-04-09 Thread James McLaughlin
Have a look at Springs WebApplicationContextUtils.getWebApplicationContext(...). This in conjunction with org.springframework.web.context.ContextLoaderListener should give you what you need. best, jim On Wed, Apr 9, 2008 at 12:41 PM, Pinger <[EMAIL PROTECTED]> wrote: > > So I am using wicket an

MarkupCache change in 1.3.2 breaks style/variation/locale markup support

2008-04-09 Thread Meetesh Karia
We're running into a problem with the change made for this issue: http://issues.apache.org/jira/browse/WICKET-1370 Basically, if you have a situation like this where the Login page extends DefaultPage and uses : Login.html DefaultPage.html DefaultPage_style1.html DefaultPage_style2.html The

Application Context

2008-04-09 Thread Pinger
So I am using wicket annot. So I have classes elsewhere in my app that are using JMS and other services in a web service. The issue I am having is I need the ApplicationContext in non-wicket files. When I Do public static ApplicationContext spring = new ClassPathXmlApplicationContext("applicati

Wicket Extensions

2008-04-09 Thread Andrew Broderick
Hi, Is Wicket Extensions 1.2.7 compatible with Wicket 1.3? I downloaded it, but I can't find any mention of Wicket versions in the documentation Thanks ___ The information in this email or in any file attached hereto is intended only for the

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Niels Bo
ok, I can put a try-catch(Throwable t) around the service() and log that together with the request-url. But since it is a production server, I am not able to get it deployed until tomorrow evening, and right now we are doing ok with the workaround. Niels Johan Compagner wrote: > > if there wa

Re: tag in Link

2008-04-09 Thread Beyonder Unknown
Thanks Gerolf! I appreciate it. --- Gerolf Seitz <[EMAIL PROTECTED]> wrote: > in Application.init(): > getMarkupSettings().setDefaultBeforeDisabledLink(""); > getMarkupSettings().setDefaultAfterDisabledLink(""); > > Gerolf > > On Wed, Apr 9, 2008 at 5:32 PM, Beyonder Unknown > <[EMAIL PROTEC

Re: Bug in wicket-ajax.js introduced in Wicket 1.3.2?

2008-04-09 Thread Meetesh Karia
Unfortunately that patch doesn't solve the problem. I've added a comment to the issue with a different patch which addresses our problem and the problem mentioned in the issue (I hope :) ). Thanks, Meetesh Thijs wrote: See https://issues.apache.org/jira/browse/WICKET-1426 Meetesh Karia s

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-09 Thread Vitaly Tsaplin
The method getModel will always return a wrapper and that fact breaks an encapsulation. So we can say that any wrapping can be done only from outside which is not good. A conversion is an essential part of an internal component's functionality and it's normally shoudn't be exposed. I am not so s

Re: tag in Link

2008-04-09 Thread Gerolf Seitz
in Application.init(): getMarkupSettings().setDefaultBeforeDisabledLink(""); getMarkupSettings().setDefaultAfterDisabledLink(""); Gerolf On Wed, Apr 9, 2008 at 5:32 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > I was wondering if there's a way to get rid of the > added tag e

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-09 Thread Igor Vaynberg
you can, just give the cpm reference to link as the model. -igor On Wed, Apr 9, 2008 at 1:31 AM, Tim Squires <[EMAIL PROTECTED]> wrote: > OK. It's clicked. I was hoping to have a simple ajaxed submit link > without having to create a fake property on the model object. No problem, > I can se

tag in Link

2008-04-09 Thread Beyonder Unknown
Hi All, I was wondering if there's a way to get rid of the added tag every time I disable the Link component? Thanks, Wen Tong -- The only constant in life is change. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection ar

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-09 Thread John Krasnay
On Wed, Apr 09, 2008 at 05:09:03PM +0200, Vitaly Tsaplin wrote: >What is going to happen if I call getModel on such a component? The > model should be properly unwrapped I suspect. It's a logical behavior. > Is it possible to achieve? If you extend CheckBoxMultipleChoice, getModel() must retur

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-09 Thread Vitaly Tsaplin
What is going to happen if I call getModel on such a component? The model should be properly unwrapped I suspect. It's a logical behavior. Is it possible to achieve? On Wed, Apr 9, 2008 at 3:03 PM, John Krasnay <[EMAIL PROTECTED]> wrote: > On Tue, Apr 08, 2008 at 11:03:52PM +0200, Vitaly Tsapli

Re: [announce] Wicket 1.3 has been branched, trunk is now 1.4

2008-04-09 Thread Johan Compagner
http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.4-SNAPSHOT/ johan On Wed, Apr 9, 2008 at 4:52 PM, Anders Peterson <[EMAIL PROTECTED]> wrote: > How far away is wicket with generics? /Anders > > Martijn Dashorst wrote: > > > If you are depending on trunk and build your own

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Nino Saturnino Martinez Vazquez Wael
Johan Compagner wrote: why would that help? Did'nt state it would, was just currious.. the first finally block is on the RequestCycle that only lives in 1 thread and has all the state in one thread. the second (in wicket filter) does only reset thread locals which are single threaded by

Re: [announce] Wicket 1.3 has been branched, trunk is now 1.4

2008-04-09 Thread Anders Peterson
How far away is wicket with generics? /Anders Martijn Dashorst wrote: If you are depending on trunk and build your own Wicket versions, please note that trunk is now Wicket 1.4 and will be used for the next Wicket version. If you wish to continue building 1.3 jars then switch your local checkou

Re: Is there a Wicket spinner component?

2008-04-09 Thread Gerolf Seitz
On Wed, Apr 9, 2008 at 3:43 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > I guess you mean the cvs/svn repo, because there's nothing on the > http://cwiki.apache.org/WICKET/wicket-stuff.html site? this site is really old and should be updated (or removed?) > > > wicketstuff.org/confluence/

Re: Question on component hierarchy

2008-04-09 Thread Jonathan Locke
yes. at the root, remember it's all just java so most patterns of composition are applicable. the trouble is finding the right one for your application. you can do some very fancy things with wicket components and design patterns. also, see wicket:enclosure to reduce your webmarkupcontainer

Re: Problems with cookie

2008-04-09 Thread Fabien D.
It's working, thank you for your help igor.vaynberg wrote: > > like i said change your code to > ((WebResponse)RequestCycle.get().getResponse()).addCookie(... > > -igor > > On Tue, Apr 8, 2008 at 12:48 AM, Fabien D. <[EMAIL PROTECTED]> > wrote: >> >> Thank you for your response... >> >> But

Re: Is there a Wicket spinner component?

2008-04-09 Thread Martijn Lindhout
I guess you mean the cvs/svn repo, because there's nothing on the http://cwiki.apache.org/WICKET/wicket-stuff.html site? wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis doesn't seem to work 2008/4/9, Gerolf Seitz <[EMAIL PROTECTED]>: > > the spinner in wicketstuff-minis should do t

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Johan Compagner
if there was an error before that that should then be logged just before you log that there is a wrong state The way you do it now is in reverse the wrong state was already set in X number of request back so when you log it, You can;'t really tie it to a a specific request that did go wrong. If

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Niels Bo
Hi How can I check/log if there are "error for that thread"? Niels Johan Compagner wrote: > > could you change that method that it checks this after the fact? > and then see if there is an error for that thread before? for example also > log the url call so that we can see > what kind of reques

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Johan Compagner
where are the values stored? do you really see the same page ? For example place in a private field of the page the session.getId() when you create the page then when you do your test is the id in both sides the same?? johan On Wed, Apr 9, 2008 at 2:56 PM, Wolfgang Gehner <[EMAIL PROTECTED]> wr

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread kman
have you tried with a different servlet container for instance tomcat? i've experienced the same session problems with a custom webapp deployed on jetty some time ago. the sessionid was used to track the session and we had the same problem as you describe in a single instance of jetty. -- View th

Re: I have an error when try to test submit using FormTester

2008-04-09 Thread Tomasz Prus
Thank You very many :) I overide method newRequestCycleProcessor in my MockApplication and submit works now for me: @Override protected IRequestCycleProcessor newRequestCycleProcessor() { IRequestCycleProcessor newRequestCycleProcessor = super.newRequestCycleProcessor();

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-09 Thread John Krasnay
On Tue, Apr 08, 2008 at 11:03:52PM +0200, Vitaly Tsaplin wrote: >Yep. It looks simple and efficient. But it's quite a repetitive > task. As I already mentioned I am going to create a component. And a > data conversion should be its direct responsibility. The model wrapper > cannot be provided f

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Wolfgang Gehner
I am sorry to report that we see the same problem. We run a page in IE, enter some values, ajax-submit, open the same page in Firefox, and the values are already there. Does the serialization ignore the user session? We store values in CompoundPropertyModel. As for the other posters, this is cr

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Johan Compagner
why would that help? the first finally block is on the RequestCycle that only lives in 1 thread and has all the state in one thread. the second (in wicket filter) does only reset thread locals which are single threaded by nature. I did see one thing that could go wrong we also call Response.clos

Re: Bug in wicket-ajax.js introduced in Wicket 1.3.2?

2008-04-09 Thread Thijs
See https://issues.apache.org/jira/browse/WICKET-1426 Meetesh Karia schreef: Hi all, We recently upgraded to Wicket 1.3.2 from Wicket 1.3.1 and we're seeing a bug with ajax behavior in Firefox (2.0.0.13 on Windows Vista). Basically, the following header is returned from an ajax call: en

Bug in wicket-ajax.js introduced in Wicket 1.3.2?

2008-04-09 Thread Meetesh Karia
Hi all, We recently upgraded to Wicket 1.3.2 from Wicket 1.3.1 and we're seeing a bug with ajax behavior in Firefox (2.0.0.13 on Windows Vista). Basically, the following header is returned from an ajax call: The page this is called from has a URL that looks like this http://host/2008/foo/

Re: warning with enclosure

2008-04-09 Thread Eyal Golan
strange, was your other inner tag also a Wicket or a simple HTML ? It keeps on going ... On Tue, Apr 8, 2008 at 3:21 PM, Michael Sparer <[EMAIL PROTECTED]> wrote: > > I tried, but I can't reproduce this warning using your code ... > > > > Eyal Golan wrote: > > > > anyone ?? > > > > On Mon, Apr 7,

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Niels Bo
Yes, I can do that. It is both Application and Session at the same time. RequestCycle I have never seen it happen for. Niels Johan Compagner wrote: > > could you change that method that it checks this after the fact? > and then see if there is an error for that thread before? for example also

Re: Is there a Wicket spinner component?

2008-04-09 Thread Gerolf Seitz
the spinner in wicketstuff-minis should do the trick. Gerolf On Wed, Apr 9, 2008 at 2:00 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Something like this: http://www.eclipse.org/swt/R3_1/spinner.png > > -- > Martijn Lindhout > JointEffort IT Services > http://www.jointeffort.nl > [EMAIL

Is there a Wicket spinner component?

2008-04-09 Thread Martijn Lindhout
Something like this: http://www.eclipse.org/swt/R3_1/spinner.png -- Martijn Lindhout JointEffort IT Services http://www.jointeffort.nl [EMAIL PROTECTED] +31 (0)6 18 47 25 29

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Nino Saturnino Martinez Vazquez Wael
Do you synchronize those final blocks? Johan Compagner wrote: could you change that method that it checks this after the fact? and then see if there is an error for that thread before? for example also log the url call so that we can see what kind of request did let one thread local be there? W

Re: I have an error when try to test submit using FormTester

2008-04-09 Thread lars vonk
According to that Thread I was referring it was probably caused by the fact the newRequestCycleProcessor method in the WebApplication class was overridden to return the UrlCompressingWebRequestProcessor. Did you override that method as well? On Wed, Apr 9, 2008 at 1:25 PM, Tomasz Prus <[EMAIL PRO

Re: I have an error when try to test submit using FormTester

2008-04-09 Thread Tomasz Prus
Can You give mi more details how remove the UrlCompressingWebRequestProcessor because i don't have any idea? >

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Johan Compagner
could you change that method that it checks this after the fact? and then see if there is an error for that thread before? for example also log the url call so that we can see what kind of request did let one thread local be there? Which one is it by the way? is it app, session or request cycle?

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Johan Compagner
this can happen at some level.. for example if you have somewhere in the code that an error code is set as a response and that error code is mounted to a error page in the app server then there are 2 request at the same time for the same thread to wicket.. I worked around that last weekend. But i

Re: I have an error when try to test submit using FormTester

2008-04-09 Thread lars vonk
Hi, This is a bug in WicketTester. See http://issues.apache.org/jira/browse/WICKET-861. There was a similar thread on the user-group recently: http://www.nabble.com/Re%3A-Best-method-of-testing-behaviors.-p1639.html As I understand it the workaround is to remove the UrlCompressingWebRequestP

I have an error when try to test submit using FormTester

2008-04-09 Thread Tomasz Prus
I have test and formTester.submit(); throws an error: java.lang.NumberFormatException: For input string: "p:form" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.apa

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-09 Thread Niels Bo
We have kind of the same problem. It looks like Application and Session are not always cleared from the request thread, and to test this I have just deployed a subclassed WicketServlet with these checks (and also as a workaround): protected void service(HttpServletRequest req, HttpServletResp

StringResourceModel parameter substitutions question

2008-04-09 Thread TonyVegas
Hi! When setting a string via StringResourceModel and using parameters, the default operation in Wicket for retreiving the parameters' strings is to call PropertyVariableInterpolator.getValue(final String variableName) within the localizer. This operation retreives the string by simply calling th

Re: Question on component hierarchy

2008-04-09 Thread Eric Rotick
Good, this suggests that having a Panel as a boilerplate and then turning off the parts that are not required is a recognised pattern. Otherwise I could foresee the proliferation of home made components reaching a point where it became a burden to know which one to use. On Wed, Apr 9, 2008 at 7:57

Re: How to Create a link in a treeview

2008-04-09 Thread Thomas Kappler
Hi, you should base your tree on BaseTree, as it implements a lot of things for you. Then, you implement newNodeComponent(), where you can create any component (e.g. a link) to represent a tree node. The component you create there is not tree-specific. Cheers, Thomas On Wed, Apr 9, 2008 at 7:

Re: Feature request: using @SpringBean outside Wicket request

2008-04-09 Thread Erik van Oosten
Igor Vaynberg wrote: can you not roll your own simple filter? you can pull the webapp from the servletcontext -igor Thanks for the suggestion. It works perfectly. Here is the code for those that are interested. import org.apache.wicket.Application; import org.apache.wicket.protocol.http.W

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-09 Thread Tim Squires
OK. It's clicked. I was hoping to have a simple ajaxed submit link without having to create a fake property on the model object. No problem, I can see what I missed. Thanks for your help Igor. Tim > you said it yourself: > > "Insure that the component identifier names match > the appropriate

Fail to close ModalWindow on top of ModalWindow

2008-04-09 Thread Nili Adoram
Hi all, I have a ModalWindow "A" containing a page i.e. opened as an iframe. This modal opens another ModalWindow "B" containing a panel. Window "B" contains a simple AjaxLink that should close "B". add(new AjaxLink("cancel") { @Override public void onClick(AjaxRequestTarg

Re: New wicketstuff progress bar component / project

2008-04-09 Thread Christopher Hlubek
Hi Lucio, I looked at the pom.xml and fixed a wrong dependency. Currently I cannot commit to the SVN, but I think it will be fixed soon. 2008/3/27, luciolrv <[EMAIL PROTECTED]>: > > I downloaded svn from the link below, > but running maven2 on any of the 3 project gives the error: > Missing >