Re: WicketTester - Problem submitting a form

2009-02-01 Thread Timo Rantalaiho
On Wed, 28 Jan 2009, Stephan Koch wrote: > mountBookmarkablePage("/login", LoginPage.class); > > When I remove that line, the test runs fine. Could be a bug in > WicketTester? I'd like some opinions on that before I file a JIRA issue. It could be, but you could still try replacing > > tester.sta

Re: AjaxFallbackDefaultDataTable and AjaxLink

2009-02-01 Thread Timo Rantalaiho
On Tue, 27 Jan 2009, Mathias P.W Nilsson wrote: > I have override the newRowItem for the AjaxFallbackDefaultDataTable to make > the entire row clickable. ( return new ClickableItem ). Can anyone help me > with some pointers in how to make the row open a model window for editing. ModalWindow is ju

Re: Render other components

2009-02-01 Thread Timo Rantalaiho
On Tue, 27 Jan 2009, Philipp Daumke wrote: > I think both of you mean similar things. So I need to attributes in my > custom panel, one for the referring instance (in my case an instance of > Class Index) and one for the component that I want to render (in my case > AjaxFallbackDefaultDataTable)

Re: Performance question

2009-02-01 Thread Timo Rantalaiho
On Sun, 25 Jan 2009, Johan Compagner wrote: > I guess wicket should dump the page serialized size in development > mode. So that users see them when developing. Yep, we have in one project debug logging doing just that so you more or less notice right away when something starts to hog memory. I'v

Re: Budy indicator next to a checkbox

2009-02-01 Thread Philipp Daumke
Thanks Igor, that was the point. Philipp ajaxcheckbox does not have a method public String getAjaxIndicatorMarkupId() so what are you trying to override? instead let your panel implement see IAjaxIndicatorAware -igor On Sun, Feb 1, 2009 at 3:49 PM, Philipp Daumke wrote: Hi all, I try

Re: Budy indicator next to a checkbox

2009-02-01 Thread Igor Vaynberg
ajaxcheckbox does not have a method public String getAjaxIndicatorMarkupId() so what are you trying to override? instead let your panel implement see IAjaxIndicatorAware -igor On Sun, Feb 1, 2009 at 3:49 PM, Philipp Daumke wrote: > Hi all, > > I try to get a busy indicator next to a checkboxm

Re: using Gmap2 for route planning

2009-02-01 Thread Andreas Petersson
hi again! I just finished a rough draft of a GDirections class for GMap2. this is a standalone class, no modifications at the existing resources/classes are necessary. it seems to work in my simple setting - this can also be updated with ajax. the implementation has to override getJSadd() , si

Budy indicator next to a checkbox

2009-02-01 Thread Philipp Daumke
Hi all, I try to get a busy indicator next to a checkboxm, but it doesn't work. I tried to use the standard AjaxIndicatorAppender as shown in wicket-extensions. Does this class only work with extension-classes startign with "Indicating.."? Do you have an example how to show an indicator next

Re: Servlet container authentication in Wicket

2009-02-01 Thread Philipp Daumke
Hi Timm, I also tried to add my application name in it (like you proposed), but no difference, still doesn't work. Philipp http://localhost:5080/j_security_check?j_username=test&j_password=test Shouldn't there be an application named? http://localhost:5080/MYAPP/j_security_check?j_use

Re: Servlet container authentication in Wicket

2009-02-01 Thread Timm Helbig
> http://localhost:5080/j_security_check?j_username=test&j_password=test Shouldn't there be an application named? http://localhost:5080/MYAPP/j_security_check?j_username=test&j_password=test Regards, Timm Am Sonntag, 1. Februar 2009 23:03:50 schrieb Philipp Daumke: > Hi all, > > I followed th

Servlet container authentication in Wicket

2009-02-01 Thread Philipp Daumke
Hi all, I followed the Servlet Container authentication as described in http://cwiki.apache.org/WICKET/servlet-container-authentication.html, but I do not get it working. At the moment I get an error in firefox when invoking the redirectToSecurityCheck() method: http://localhost:5080/j_sec

Re: best way to obtain component reference?

2009-02-01 Thread Timo Rantalaiho
On Thu, 22 Jan 2009, Phillip Rhodes wrote: > I used the page.get("componentid") method, but it returns null. While > I could just store the reference to the label as a variable in my page > class, I would like to understand how to obtain a reference to it > using the wicket API. If it's very simp

Re: Simulate processing of Page

2009-02-01 Thread Timo Rantalaiho
On Wed, 21 Jan 2009, Anton Veretennikov wrote: > I would like to know is it possible to simulate processing of some > PageA from some other PageB and get result as a String. > I need to return as HTTP response only some div from PageA. I think that something like this has been disussed on the lis

Re: ModalWindow gotcha!

2009-02-01 Thread Timo Rantalaiho
On Sun, 18 Jan 2009, Phillip Rhodes wrote: > Declaring the ModalWindow from a panel did not work. The ModalWindow > would appear, but the ModalWindow contents (a panel) would be rendered > within the parent panel after the ModalWindow was closed. > If I declare the ModalWindow in a page, every

Re: What are Behaviors in Wicket?

2009-02-01 Thread Timo Rantalaiho
On Sun, 18 Jan 2009, HHB wrote: > In easy words, what are Wicket Behaviors? what is their role? See how IBehavior interface is being implemented wicket core and -examples. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oyhttp://www.ri.fi/ > ---

Re: How to test Ajax Submit Button on A form

2009-02-01 Thread Timo Rantalaiho
> rag...@directi schrieb: > >Can any one please help me with testing an AjaxSubmitButton on a form. > > ... On Sat, 17 Jan 2009, Per Newgro wrote: > You have to call submit at the end. Otherwise the call of > executeAjaxEvent has no data in form. Nope, you can submit directly with executeAjaxEve

Re: unit test for dropdownchoice with ajax

2009-02-01 Thread Timo Rantalaiho
On Tue, 23 Dec 2008, tbt wrote: > formTester.submit(); If you submit the form with Ajax, you should use WicketTester.executeAjaxEvent in the test instead. Anyway, it seems like there might be a bug. If you can debug some more and/or produce a quickstart that reproduces the probl

using Gmap2 for route planning

2009-02-01 Thread Andreas Petersson
Hi! I'm using wicket.contrib.gmap.Gmap2 to create maps. i browsed the source, and it does not appear as if there is any implementation ready to overlay routes. hay anybody extended the Gmap2 stuff? my first guess would be to create a new type of GOveray,. similar to GMarker, but slightly more

Re: where to find javadoc for wikcet 1.4

2009-02-01 Thread Timo Rantalaiho
On Tue, 13 Jan 2009, Jeremy Thomerson wrote: > Do you use Maven? If so, do "mvn eclipse:eclipse -DdownloadJavadocs=true" Better yet, -DdownloadSources=true or the equivalent in pom.xml. With open source, you shold always get the source (that also provides the javadocs in the IDE). It doesn't

Re: brainstorming

2009-02-01 Thread Timo Rantalaiho
On Mon, 05 Jan 2009, Daniele Dellafiore wrote: > Using wicket for a long time now, one of the most tedious task is > "panel refactoring". I mean, often you start with some simple panel > then it grows and you split in several panels. > This operation is tedious becouse there is no IDE support for >

Re: DropDownChoice onchange event with AjaxEventBehaviour

2009-02-01 Thread Timo Rantalaiho
On Wed, 07 Jan 2009, Yazeed Isaacs wrote: > Yes, I want feedback text for a lengthy process and then update the > table and remove the feedback text. See IAjaxIndicatorAware. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oyhttp://www.ri.fi/ >

Re: What are the consequences on sharing panels between pages?

2009-02-01 Thread Per Newgro
Hi Uwe, until now i can do everything :-). All my experiments with ldm failed so far. I have to store the states. But in DB? It's heavyweight for me. Maybe i should try a cookie based solution. Thanks for your doubts Cheers Per -

CSS Arrangement Order

2009-02-01 Thread TH Lim
Hi, How do I arrange my CSS declaration order? For example, the current order is ... ... some script tags removed ... resources/com.acme/box.css and resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.css are CSS included with the libraries / components I

Multi-module applications in Wicket

2009-02-01 Thread Daniel Lipski
Hi Im working on web application divided into multiple 'modules' and Im wondering how to use Wicket in such scenario. Because 'module' means a lot, I'll specify what I would like to achive: 1)diffrent home pages for each module 2)diffrent session classes for each module (WebApplication.newSessio

Re: What are the consequences on sharing panels between pages?

2009-02-01 Thread Uwe Schäfer
Per Newgro schrieb: i would like to share (instance reuse) a navigation panel in my page flow. I try to achieve that so i can keep the current state of navigation components. It's a clone of the windows xp sidebar in system controls. sounds awful. would not do that. being deserialized from t

Re: Image Resource not loading

2009-02-01 Thread Nicolas Labrot
After some debug, it seems my firefox is bugging. It's work perfectly on chrome, IE, opera and not with firefox. It works on firefox when httpfox (a http header tracer) is running... wrote: > Hello, > > I'm glad to write my first message on the wicket ML. :) > > I have a problem with resour

What are the consequences on sharing panels between pages?

2009-02-01 Thread Per Newgro
Hi, i would like to share (instance reuse) a navigation panel in my page flow. I try to achieve that so i can keep the current state of navigation components. It's a clone of the windows xp sidebar in system controls. But i don't know if sharing is a good idea. I will have many pages. What

Image Resource not loading

2009-02-01 Thread Nicolas Labrot
Hello, I'm glad to write my first message on the wicket ML. :) I have a problem with resource loading. I have create a GridView which display 12 images : GridView gridView = new GridView("rows", dataProvider) The populateItem : Image randomImage = new NonCachinImage("randomImage"); randomImag