Re: sessionstore is too big

2007-09-24 Thread Eelco Hillenius
we have a problem with the sessions that wicket stores in the filesystem. It seems that the sessions that are stored here [TOMCAT-DIR]\work\Catalina\[HOST]\[WEB-APP-NAME\sessions\ are not deleted after they are no longer in use. The size of this directory is now grown to 2.5Gb, which is way

Re: sessionstore is too big

2007-09-24 Thread Benjamin Ernst
First of all: thanks for your help! Do you have any idea how to find that out? Where can I see how and when wicket tries to delete the session? Benjamin 2007/9/24, Eelco Hillenius [EMAIL PROTECTED]: we have a problem with the sessions that wicket stores in the filesystem. It seems that

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-24 Thread Martijn Dashorst
I'm going to take a passive role in the organizing of this, though I'd love to do so. Completing the book has my current highest priority. Any volunteers? Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now:

Re: [podcast] Wicket talk at JavaZone 2007

2007-09-24 Thread David Bernard
Why not add it to the wiki or the main site (and other presentations)? It's a good support for internal/customer show. I suggest a list with the following information : * authors * original target (ex: javazone 2007), first presentation date * wicket version (1.3.0) * attachament (slides,

Wicket Dialogs

2007-09-24 Thread carloc
Is there any component in wicket similar to this component? Something like wicket dialogs http://developer.yahoo.com/yui/examples/container/panel_clean.html -- View this message in context: http://www.nabble.com/Wicket-Dialogs-tf4507886.html#a12856206 Sent from the Wicket - User mailing list

Re: sessionstore is too big

2007-09-24 Thread Matej Knopp
If you upgrade Wicket, there's new page store called DiskPageStore. for this pagestore you can set limits for pagemap file size and limit for entire session (so the session never grows beyond that limit) -Matej On 9/24/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Because our Application in an

Re: sessionstore is too big

2007-09-24 Thread Benjamin Ernst
And an other question: is there risk changing from wicket 1.3-beta2 to beta3 in nearly completely implemented application? 2007/9/24, Benjamin Ernst [EMAIL PROTECTED]: Because our Application in an intrannet-Apllication the user should stay logged-in their whole workday. So our

yui examples

2007-09-24 Thread Mattijs Hoitink
hi all, i just checked out wicket-contrib-yui and wicket-contrib-yui-examples to do some testing. When i ran maven on it, the projects wouldn't build because of some wrong dependencies in the pom.xml. In a lot of places references are made to wicket 1.3.0-SNAPSHOT. But this doesn't exist in

Re: Inter component events?

2007-09-24 Thread Sam Hough
Or maybe just have a sortYourSelfOut method that gets called on all components after any changes but before the the wicket response life cycle? Any existing Wicket methods fit this? onBeforeRender? Needs to get called on _all_ components even for Ajax request... Sorry for talking to myself.

Re: Portlet Support

2007-09-24 Thread Dipu Seminlal
Hi Ate, Today i got some time to look at the wicket portlet demo ( jetspeed-2.1.3-dev-wicket-demo-installer.jar ), it looks very promising, thanks very much for the great work. I would like to see the portlet support integrated to the current trunk as soon as possible. Many thanks to the wicket

Re: [podcast] Wicket talk at JavaZone 2007

2007-09-24 Thread David Bernard
Done, I added http://cwiki.apache.org/confluence/display/WICKET/Slides+and+presentations . Xavier, could you check information. I create links to your presentations, but may do you prefer to convert to attachement (part of the wiki). /david Gerolf Seitz wrote: n 9/24/07, David Bernard

Re: [podcast] Wicket talk at JavaZone 2007

2007-09-24 Thread Xavier Hanin
On 9/24/07, David Bernard [EMAIL PROTECTED] wrote: Done, I added http://cwiki.apache.org/confluence/display/WICKET/Slides+and+presentations. Great! Xavier, could you check information. I create links to your presentations, but may do you prefer to convert to attachement (part of the

Experiences with ReloadingWicketFilter

2007-09-24 Thread Peter Thomas
Hi, I have minor issues with ReloadingWicketFilter and have reopened this JIRA issue I raised some time back, with a quickstart attached: https://issues.apache.org/jira/browse/WICKET-685 Just curious to know if others have problems with the ReloadingWicketFilter when you make minor changes to a

Re: FormTester and CheckBox

2007-09-24 Thread Ingram Chen
try: formTester.setValue(termsAccepted, true); On 9/24/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello, What do I need to do if I want to select a single CheckBox in a Form using the FormTester (Wicket 1.3 trunk)? If I do formTester.select(termsAccepted, 0); I get the following error:

Re: Ajax Problem on Page with IFRAME

2007-09-24 Thread SantiagoA
Sorry, doesn´t work for me either. The Problem is, that the refreshing in the main-page does not work, if the particular Panel is active. The inputs and the ajax are nested in the main page, the panel shows a readonly Iframe with no inputs. thanks for help! -- View this message in context:

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-24 Thread Wouter Huijnink
i will try to set something up, the problem is that location is depending on how many wil come.. how about: 1. pick date city 2. decide on venue depending on nr of attendees It's not like this is going to be the once in a lifetime Wicket event - I'd say it's more important to get this

Global variables

2007-09-24 Thread Artur W.
Hi! Where should I put global variables that are not related to the user but to the application. In JSP I've used servletContext.setAttribute How to do this in Wicket? Thanks, Artur -- View this message in context: http://www.nabble.com/Global-variables-tf4509527.html#a12860998 Sent from

Redirect to HTTPS?

2007-09-24 Thread Daniel Frisk
I'm trying to add a check to the constructor on one of our pages (a credit card processing page) which should: 1. If protocol is HTTPS; continue as usual 2. Else redirect so that HTTPS is used to access the same page I saw the sample in the wiki with the annotations that intercepted the

Re: Global variables

2007-09-24 Thread Jan Kriesten
hi artur, Where should I put global variables that are not related to the user but to the application. In JSP I've used servletContext.setAttribute How to do this in Wicket? you can do that in your application: getServletContext().setAttribute( name, value ); regards, --- jan.

Re: Global variables

2007-09-24 Thread Thies Edeling
Why not just add them to your Application class? Jan Kriesten wrote: hi artur, Where should I put global variables that are not related to the user but to the application. In JSP I've used servletContext.setAttribute How to do this in Wicket? you can do that in your application:

Re: Label associated with an open/close tag

2007-09-24 Thread Kent Tong
Gwyn wrote: Please raise an issue - https://issues.apache.org/jira/browse/WICKET Feel free to have a go at a patch, as that'll help it's chances of getting done! Done (https://issues.apache.org/jira/browse/WICKET-1004). No time to make a patch though... -- View this message in context:

Re: Ajax Problem on Page with IFRAME

2007-09-24 Thread Kent Tong
SantiagoA wrote: Sorry, doesn´t work for me either. The Problem is, that the refreshing in the main-page does not work, if the particular Panel is active. The inputs and the ajax are nested in the main page, the panel shows a readonly Iframe with no inputs. Sorry that I don't

Re: Append markup to BODY container

2007-09-24 Thread Rüdiger Schulz
2007/9/24, legol [EMAIL PROTECTED]: Hi all!!! What I want to do is append some markup to my webpage after body tag. I can't override onRender method in HTMLBodyContainer because it is created by method getBodyContainer() in WebPage. I had to do the same thing, and was able to solve it.

Re: Ajax Problem on Page with IFRAME

2007-09-24 Thread SantiagoA
I have a mainpage with some inputfields with ajax in, a submitbutton and a TabbePanel with three panels. The panels are for output only. one of the panels holds an Iframe. you can change inputs and on submit the panels are refreshed with new outputs. If one of the panels without the Iframe is

Re: Global variables

2007-09-24 Thread Eelco Hillenius
On 9/24/07, Thies Edeling [EMAIL PROTECTED] wrote: Why not just add them to your Application class? Yep, that's what you should do. If what you want to achieve is specific for one application, put them as members in your application class, or if you need something more generic, you can use

Re: newbie question about using WizardStep, help! thanks!

2007-09-24 Thread Eelco Hillenius
Hi experts, I want to implement a wizard, user need to input some data, I can do it with a single page using form, but I don't know how to do it in wizard, I put a couple of input textfield etc. then I get a error: java.lang.IllegalStateException: Attempt to set model object on null model

Re: Redirect to HTTPS?

2007-09-24 Thread Igor Vaynberg
just take whatever has been discussed on this list and strip it down to whatever level you need. i dont think any one is interesting in doing this for you... -igor On 9/24/07, Daniel Frisk [EMAIL PROTECTED] wrote: I'm trying to add a check to the constructor on one of our pages (a credit

Re: DynamicMappedImageResource

2007-09-24 Thread Igor Vaynberg
yeah, its certainly a good idea to do that. -igor On 9/24/07, Niels Bo [EMAIL PROTECTED] wrote: Hi It is very easy to create great and dynamic graphics in Wicket, but making them interactive using the ImageMap class only works for static images. Would it be an idear to have a

Re: Redirect to HTTPS?

2007-09-24 Thread Daniel Frisk
Well... Now that was certainly helpful. This was not intended as a do my homework question, read it as: I don't know Wicket inside out yet and could use a hint if someone gets an idea from reading my question. You wasn't that someone today and you didn't help with your post, you lose karma

Re: Redirect to HTTPS?

2007-09-24 Thread Igor Vaynberg
well, i dont know. you said you have seen a few solutions on this list but they are too complicated. you want something more stripped down. so why not strip it down yourself. sure sounds like do my homework for me. as far as karma, im already in the negative. -gior On 9/24/07, Daniel Frisk

Re: Redirect to HTTPS?

2007-09-24 Thread Eelco Hillenius
On 9/24/07, Daniel Frisk [EMAIL PROTECTED] wrote: I'm trying to add a check to the constructor on one of our pages (a credit card processing page) which should: 1. If protocol is HTTPS; continue as usual 2. Else redirect so that HTTPS is used to access the same page I saw the sample in the

Need combo to determine action but validation fails

2007-09-24 Thread Francisco Diaz Trepat - gmail
Hi all, I have a simple Form that contains a DropDownChoice. I have a submit button and a submit link to change part of the form based on the option selected in the DropDownChoice. What it is happening is that because of some fields are invalid (Empty) I cannot get to the selected option of the

FormComponentFeedbackIndicator usage

2007-09-24 Thread Clay Lehman
Hi, Can anyone point me to an example using FormComponentFeedbackIndicator? I have found examples using FormComponentFeedbackBorder, but they don't seem to have the same usage. From a post I saw on the old User's forum, I think a FormComponentFeedbackIndicator would better fit my needs, but I

Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
How would I get an instance of the HttpServletResponse? I'm doing some integration with an SSO provider that requires it. I've tried: ((WebResponse) RequestCycle.get().getResponse()).getHttpServletResponse() but RequestCycle.get().getResponse() returns StringResponse, which obviously will

Re: Getting at the HttpServletResponse?

2007-09-24 Thread Sean Sullivan
If you are using Wicket 1.3: class: WebResponse http://www.wicketstuff.org/wicket13doc/org/apache/wicket/protocol/http/WebResponse.html method: getHttpServletResponse On 9/24/07, Andrew Lombardi [EMAIL PROTECTED] wrote: How would I get an instance of the HttpServletResponse? I'm doing

Re: Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
ahh casting to WebRequestCycle was the magical incantation :) thanks. On Mon, 24 Sep 2007 13:12:39 -0700, Eelco Hillenius wrote: Just cast it. If you're building a regular web app, you'll always use WebRequestCycle, which returns WebResponse for getResponse. E.g.

Re: Redirect to HTTPS?

2007-09-24 Thread David Bernard
Hi, In my previous project, it was done by configuring (rewrite rules) the http front-end (apache, lighttpd,...). It's an other solution, that avoid developper to deal certificate and all the ssl machinery. /david Daniel Frisk wrote: I'm trying to add a check to the constructor on one of our

Re: Append markup to BODY container

2007-09-24 Thread Rüdiger Schulz
Jürgen and Igor once showed me how to do this: http://www.nabble.com/BodyContributor--tf2578291.html#a7187578 http://www.nabble.com/Replacing-HtmlBodyContainer-tf3665340.html#a10241426 You need your own implementation of BodyContainer, and replace during attachment. Something like this should

Appending JS to an Ajax Component

2007-09-24 Thread UPBrandon
I am trying to use an AttributeAppender to append an onchange script to a DropDownChoice that also has an OnChangeAjaxBehavior added to it. But only the OnChangeAjaxBehavior's script is showing up in the markup. Is there a trick to adding JavaScript to a component that also has an Ajax

Re: Appending JS to an Ajax Component

2007-09-24 Thread Igor Vaynberg
you can putting your script into iajaxcalldecorator and giving that to the behavior -igor On 9/24/07, UPBrandon [EMAIL PROTECTED] wrote: I am trying to use an AttributeAppender to append an onchange script to a DropDownChoice that also has an OnChangeAjaxBehavior added to it. But only

Re: Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
I do not have my own RequestCycle, no. Just using whatever is standard with Wicket. On Mon, 24 Sep 2007 23:36:00 +0200, Martijn Dashorst wrote: Do you have your own RequestCycle? If so, is it a subclass of WebRequestCycle? Martijn On 9/24/07, Andrew Lombardi [EMAIL PROTECTED] wrote:

Re: Global variables

2007-09-24 Thread Jonathan Locke
yes, these may belong in your WebApplication subclass. however, you may want to be careful to separate your /web/ application from your /application/ (to keep details of your web tier isolated). for example, at my work, we have both a WebApplication subclass that contains a variety of things

wicket-ajax.js not added

2007-09-24 Thread John Carlson
I have had several pages that will not initially load the wicket-ajax functionality. The page will load but the throttler is missing or it will complain that submitFormById is undefined. Refreshing the page loads the ajax scripts and everything works fine. I did alittle snooping and found that

NoSuchMethodException / PropertyResolver

2007-09-24 Thread Phillip Rhodes
Hi guys, I'm seeing a weird problem with Wicket. I *think* it's the same problem discussed here http://www.nabble.com/Tracking-down-an-elusive-error-during-migration-to-1.3-t4381647.html, but won't swear to it. Basically Wicket is logging a NoSuchMethodException when rendering my page. This is

Re: Redirect to HTTPS?

2007-09-24 Thread Doug Leeper
I have been attempting to get HTTPS/SSL working in my app too. Unfortunately, I have hit a wall...mostly b/c I am learning the API/Framework. In any case, the Example in the WIKI is outdated (v 1.2???) It won't work with 1.3 as is (no IResponseStrategy any more). However, I do believe I have