Re: Handling Ajax session expired

2010-01-24 Thread Martin Makundi
Hi! What is the best way to change the PageExpiredErrorPage or InternalErrorPage depending on a silo? Application.getApplicationSettings() is shared among all silos. ** Martin 2009/12/28 Igor Vaynberg igor.vaynb...@gmail.com: use a cookie. every time a user enters a silo set it in a silo

Re: Handling Ajax session expired

2010-01-24 Thread Martin Makundi
Ah.. probably RequestCycle.onRuntimeException is the key. ** Martin 2010/1/24 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! What is the best way to change the PageExpiredErrorPage or InternalErrorPage depending on a silo? Application.getApplicationSettings() is shared among all

Resource JS

2010-01-24 Thread Douglas Ferguson
I recently configured apache to gzip my js files instead of going through tomcat. Can this be done for the js files that are loaded as resources? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: dynamically adding components to a ListView

2010-01-24 Thread Sven Meier
Hi, you'll have to tell the request target which components to redraw: Put your list inside a markupcontainer and use addComponent(). Sven zdmytriv wrote: Could anyone tell me why it doesn't work? Thanks InteractivePanelPage.html table tr td # Add Panel /td /tr tr

Re: Resource JS

2010-01-24 Thread Martin Grigorov
On Sun, 2010-01-24 at 03:19 -0800, Douglas Ferguson wrote: I recently configured apache to gzip my js files instead of going through tomcat. Can this be done for the js files that are loaded as resources? see Application.get().getResourceSettings().getJavascriptCompressor() if this returns

Re: Message Bundles - 1.3.2

2010-01-24 Thread keithrbennett
Another related question... I'm adding a ResourceModel to an AjaxLabelLink, and in the call to the AjaxLabelLink's constructor, passing in: new ResourceModel(myResourceKey) does not work...I need to use wrapOnAssignment: new ResourceModel(myResourceKey).wrapOnAssignment(this) Is this the

Re: how to set default options in object palette

2010-01-24 Thread James Carman
Make sure your model reflects the selected state. Palette will pick that up automatically On Sat, Jan 23, 2010 at 12:50 PM, victorTrapiello vic...@trapiello.net wrote: I use the palette component, to assigne option to a User. but I don't find a functionnality, how to set already selected

Re: urlFor() outside wicket session

2010-01-24 Thread Help System
Thanks Igor That's just what I'll do. 2010/1/22 Igor Vaynberg igor.vaynb...@gmail.com mount the page so the url is well known, then you do not need wicket to construct it for you. -igor On Fri, Jan 22, 2010 at 1:29 PM, Help System i...@squir.es wrote: Hi, I have a quartz job that

Getting value from TextField ?

2010-01-24 Thread Ashika Umanga Umagiliya
Greetings , I have placed a TextField and a Link(Html submit button) in my page.I want to get the value of the TextField when the button is pressed(onClick()). But in the following code, I dont get the value the user typed in. What I am doing wrong? My HTML is: div class=comment Search

Re: Getting value from TextField ?

2010-01-24 Thread James Carman
Are you using a form? On Sun, Jan 24, 2010 at 9:07 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings , I have placed a TextField and a Link(Html submit button) in my page.I want to get the value of the TextField when the button is pressed(onClick()). But in the following

Re: Getting value from TextField ?

2010-01-24 Thread Ashika Umanga Umagiliya
Oops, No..I am not using a Form! James Carman wrote: Are you using a form? On Sun, Jan 24, 2010 at 9:07 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings , I have placed a TextField and a Link(Html submit button) in my page.I want to get the value of the TextField when

Re: functional testing

2010-01-24 Thread Kent Tong
For functional testing, I'd suggest Selenium. For unit testing of Wicket pages, I'd suggest Wicket Page Test (http://wicketpagetest.sourceforge.net). - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF

Releasing wicket library

2010-01-24 Thread Sam Barrow
In the course of developing my first wicket web application, I've wound up with quite a few reusable wicket components, validators, and other utilities. I think things like a LinkPanel, EmailLink, etc etc should be available, after all wicket is all about reusability. I'm packaging and releasing

Re: Resource JS

2010-01-24 Thread Douglas Ferguson
Hmm... Actually, I'm wanting to gzip them are they gziped? Another thought was to do something like this: Alias /resources/com.package/ /user/local/tomcat5.5/webapps/resources/path/to/package So that apache can serve up the static content.. D/ On Jan 24, 2010, at 9:18 AM, Martin Grigorov

AjaxSelfUpdatingTimerBehavior and session timeout

2010-01-24 Thread Chuck Brinkman
I thought it would be fun to add a 'time to session expiration' display to my pages. So I attempted this using the AjaxSelfUpdatingTimerBehavior. I just took the Clock example and hacked it as follows hsession = request.getHttpServletRequest().getSession(); lastAccessTime =

Re: AjaxSelfUpdatingTimerBehavior and session timeout

2010-01-24 Thread Igor Vaynberg
your behavior is always touching the session, so it will never timeout. using this behavior is actually a solution to preventing the session from ever timing out :) -igor On Sun, Jan 24, 2010 at 9:10 PM, Chuck Brinkman chasb1...@gmail.com wrote: I thought it would be fun to add a 'time to

Re: wicket bench in eclipse

2010-01-24 Thread Swanthe Lindgren
We are not using the Wicket bench editor, just the plain built-in html editor in eclipse. For a while we tried an html editor from Aptana (no association with Wicket), but it did to much to the over-all eclipse environment. By entering your wicket context I guess you are supposed to get style