Re: [Wicket-user] NPE in Page#componentStateChanging

2007-03-01 Thread Johan Compagner
That is because the mayTrackChangesFor() method should only return true when it makes a version manager. Why is that not the case? If that method returns true the version manager can't be null because the version info must be tracked. johan On 3/1/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote:

Re: [Wicket-user] Congratulations on Wicket's error reporting

2007-03-01 Thread Xavier Hanin
On 3/2/07, Chris Colman <[EMAIL PROTECTED]> wrote: > I must congratulate the Wicket developers on Wicket's error reporting > system. It's truly magnificent. > > Whenever I have an error in my markup or a problem in one of my Java > classes Wicket displays a HTML page with a very thorough outline of

Re: [Wicket-user] Defining link text for a ListView

2007-03-01 Thread Igor Vaynberg
instead of item.add(new link("categoryLink"){}); item.add(new label("categoryname")) do Link link=new linke("categoryLink"); item.add(link); link.add(new label("categoryname")); -igor On 3/1/07, Chris Colman <[EMAIL PROTECTED]> wrote: I have a list view and I need each item in the list to dis

[Wicket-user] Defining link text for a ListView

2007-03-01 Thread Chris Colman
I have a list view and I need each item in the list to display a HREF link and text. Both the link target URL and the link text are different for each item in the list. Using the following causes a component 'categoryName' not found error:

Re: [Wicket-user] Add JavaScript call after Ajax update?

2007-03-01 Thread dukejansen
PERFECT! Thanks. :) -Jason Al Maw wrote: > > dukejansen wrote: >> What I'm really after is whether there is a way to set default behavior >> for >> ALL AjaxRequestTargets. > > Ah, I see. > > You can execute some JavaScript on your page that looks like this: > > Wicket.Ajax.registerPostCallH

Re: [Wicket-user] help: how to reverse the order of RepeatingView's children

2007-03-01 Thread Igor Vaynberg
override repeatingview.renderiterator() and reverse the order -igor On 3/1/07, Otan <[EMAIL PROTECTED]> wrote: [Wicket 2.0] The javadoc says that RepeatingView renders all of its children in order they were added. Could anyone give me a pointer or a demonstration on how to reverse the order o

[Wicket-user] help: how to reverse the order of RepeatingView's children

2007-03-01 Thread Otan
[Wicket 2.0] The javadoc says that RepeatingView renders all of its children in order they were added. Could anyone give me a pointer or a demonstration on how to reverse the order of a RepeatingView's children? Thanks. - Take

Re: [Wicket-user] Add JavaScript call after Ajax update?

2007-03-01 Thread Al Maw
dukejansen wrote: > What I'm really after is whether there is a way to set default behavior for > ALL AjaxRequestTargets. Ah, I see. You can execute some JavaScript on your page that looks like this: Wicket.Ajax.registerPostCallHandler(function() { doFooHere(); }); That'll get executed aft

Re: [Wicket-user] Add JavaScript call after Ajax update?

2007-03-01 Thread dukejansen
Sorry, should have been more specific. I'm already using the appendJavaScript method and it works like a charm. What I'm really after is whether there is a way to set default behavior for ALL AjaxRequestTargets. I have some client-side javascript which does some DOM rewrites once the page is ren

[Wicket-user] NPE in Page#componentStateChanging

2007-03-01 Thread Aaron Hiniker
I pulled the latest from trunk. And I am getting this NPE: 16:30:14,543 ERROR [STDERR] java.lang.NullPointerException 16:30:14,544 ERROR [STDERR] at wicket.Page.componentStateChanging(Page.java:327) 16:30:14,545 ERROR [STDERR] at wicket.Component.addStateChange(Component.java:2553) 16:30:

Re: [Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page - CLOSED

2007-03-01 Thread Igor Vaynberg
thats why i wanted the stack trace, couldnt find the damn thing -igor On 3/1/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote: I searched for AbstractRequestTargetResolverStrategy in the source tree, and it wasn't there. So apparently it was removed recently, but was still lingering in my target

Re: [Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page - CLOSED

2007-03-01 Thread Aaron Hiniker
I searched for AbstractRequestTargetResolverStrategy in the source tree, and it wasn't there. So apparently it was removed recently, but was still lingering in my target/classes directory. I did a mvn clean install, redeployed and now everything works as expected. My bad.. sorry.. Aaron Aaron

Re: [Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page

2007-03-01 Thread Aaron Hiniker
There is no stack trace, only the log output from AbstractRequestTargetResolverStrategy. I have DEBUG logging enabled as well. Aaron Igor Vaynberg wrote: > can we see the stacktrace please? > > -igor > > > On 3/1/07, *Aaron Hiniker* <[EMAIL PROTECTED] > > wrote: > >

Re: [Wicket-user] Congratulations on Wicket's error reporting

2007-03-01 Thread Igor Vaynberg
glad to hear it -igor On 3/1/07, Chris Colman <[EMAIL PROTECTED]> wrote: I must congratulate the Wicket developers on Wicket's error reporting system. It's truly magnificent. Whenever I have an error in my markup or a problem in one of my Java classes Wicket displays a HTML page with a very

[Wicket-user] Congratulations on Wicket's error reporting

2007-03-01 Thread Chris Colman
I must congratulate the Wicket developers on Wicket's error reporting system. It's truly magnificent. Whenever I have an error in my markup or a problem in one of my Java classes Wicket displays a HTML page with a very thorough outline of the problem which usually contains sufficient information t

Re: [Wicket-user] Specifying a class for the 's generated by MultiLineLabel

2007-03-01 Thread Igor Vaynberg
.multi p { font-color:red;} -igor On 3/1/07, Chris Colman <[EMAIL PROTECTED]> wrote: Is it possible to specify the CSS class for the 's generated by the MultiLineLabel component? Currently it generates: first line second line Is it possible to get it to generate something like: first li

Re: [Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page

2007-03-01 Thread Igor Vaynberg
can we see the stacktrace please? -igor On 3/1/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote: I implemented a drag-n-drop using scriptaculous. On my home PC, everything was working fine, I can drag my products into a droppable container and the container updates itself via AJAX just fine n

[Wicket-user] Specifying a class for the 's generated by MultiLineLabel

2007-03-01 Thread Chris Colman
Is it possible to specify the CSS class for the 's generated by the MultiLineLabel component? Currently it generates: first line second line Is it possible to get it to generate something like: first line second line Or is there a better way to achieve this using CSS that I have missed? Maybe

[Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page

2007-03-01 Thread Aaron Hiniker
I implemented a drag-n-drop using scriptaculous. On my home PC, everything was working fine, I can drag my products into a droppable container and the container updates itself via AJAX just fine no page refreshes. I checked in the code, came into work today and rebuilt the app. Now when I dr

Re: [Wicket-user] Redirecting to another internal page

2007-03-01 Thread Igor Vaynberg
throw new restartresponseexception -igor On 3/1/07, David Robison <[EMAIL PROTECTED]> wrote: I have a wicket application where, when I'm constructing the requested page, if I detect an error, I want to stop processing the page and "redirect" to another page and display the error. However, eve

[Wicket-user] Redirecting to another internal page

2007-03-01 Thread David Robison
I have a wicket application where, when I'm constructing the requested page, if I detect an error, I want to stop processing the page and "redirect" to another page and display the error. However, everything I tried reports an error that I did not finish mapping the first page. Is this possible

[Wicket-user] multi-file upload component

2007-03-01 Thread Igor Vaynberg
a few people were talking about the need to have a component that can upload multiple files as opposed to creating a bunch of fileuploadfields. last night i implemented one. see multifileuploadfield and its example [1]. right now its only in 1.x, once its been flushed out/field tested i will port

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Yep, thought of that just as I hit sent...works! Thanks again! On 3/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > use extension by delegation instead of inheritance > > > -igor > > > On 3/1/07, Mats Norén <[EMAIL PROTECTED] > wrote: > > Forgot to ask, but it seems that DefaultPageFactory has a

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Xavier Hanin
On 3/1/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: > On 3/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > If you use swing models then the wicket model or the wicket component > > can listen to that event the model has. If you get an event. Set a flag on > > the component > > or model. Then wa

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Igor Vaynberg
use extension by delegation instead of inheritance -igor On 3/1/07, Mats Norén <[EMAIL PROTECTED]> wrote: Forgot to ask, but it seems that DefaultPageFactory has a lot of final methods in 1.3. Is there another option? /Mats On 3/1/07, Mats Norén <[EMAIL PROTECTED]> wrote: > Brilliant! :-)

Re: [Wicket-user] Ajax indicators and form submits

2007-03-01 Thread Igor Vaynberg
then you get two requests, prob not something the user wanted in the first place. i talked to him on irc, he did what i suggested, and it all works for him now. that second behavior was there just for the indicator, but the first behavior can just implement that interface and be all good. -igor

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Forgot to ask, but it seems that DefaultPageFactory has a lot of final methods in 1.3. Is there another option? /Mats On 3/1/07, Mats Norén <[EMAIL PROTECTED]> wrote: > Brilliant! :-) I wouldn't have thought of that. That solves it. Thanks! > > On 3/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

Re: [Wicket-user] Ajax indicators and form submits

2007-03-01 Thread Johan Compagner
can't we attach those different ajax behaviors now with the new wicket-event.js? johan On 3/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: you are adding two behaviors to the same button that both compete for the onclick attribute - a formcomponentupdatingbehavior and ajaxformsubmitbehavior. y

Re: [Wicket-user] Add JavaScript call after Ajax update?

2007-03-01 Thread Al Maw
dukejansen wrote: > What's the best way to add some JavaScript code to be called after a > component is updated via Ajax? See AjaxRequestTarget#appendJavaScript(String) Al - Take Surveys. Earn Cash. Influence the Future of I

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Brilliant! :-) I wouldn't have thought of that. That solves it. Thanks! On 3/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > so now that ive looked at ipagefactory what you want should be pretty easy > if you still want to use pages > > mount a MyFactoryPage onto the /mountpointurl using indexedu

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Xavier Hanin
On 3/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > If you use swing models then the wicket model or the wicket component > can listen to that event the model has. If you get an event. Set a flag on > the component > or model. Then walk with the IVisitor pattern over all the components and > te

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Johan Compagner
Ok, I get it better now. And is it something that could be shared with the community? not really it is complete tied to how our stuff works (that also does have a swing frondend) Yes, but is there a "wicketmodel with event listener", or do I have to define my own? And if I define my own, I

[Wicket-user] Add JavaScript call after Ajax update?

2007-03-01 Thread dukejansen
What's the best way to add some JavaScript code to be called after a component is updated via Ajax? I have a component that is rendered by Wicket and then requires a Javascript function to be called in order to modify the DOM for that component client-side. I have Ajax events which re-render this

Re: [Wicket-user] Adding alt attribute to stars in RatingPanel

2007-03-01 Thread ckuehne
Never mind. I just saw that the class has a newRatingStarBar mehod. I guess this solves my problem. ckuehne wrote: > > Hi everyone, > > I'd like to add an "alt" attribute to the stars in the > wicket.extensions.rating.RatingPanel. > Unfortunately the inner class RatingStarBar is private so I c

[Wicket-user] Adding alt attribute to stars in RatingPanel

2007-03-01 Thread ckuehne
Hi everyone, I'd like to add an "alt" attribute to the stars in the wicket.extensions.rating.RatingPanel. Unfortunately the inner class RatingStarBar is private so I can't override its populateItem() method. Is there a way how I could achieve this behavior? Conny -- View this message in context

[Wicket-user] mountBookmarkablePage causes 'no session' error

2007-03-01 Thread Chris Colman
> > I tried to add some nice URLs by adding the following to my > > application class: > > > > public void init() > > { > > mountBookmarkablePage("/home", HomePage.class); > > mountBookmarkablePage("/location", LocationPage.class); } My bad!!! I accidentally had marked one the page

Re: [Wicket-user] relative urls?

2007-03-01 Thread Al Maw
ChuckDeal wrote: > Al Maw wrote: >> What you'd ideally like to be able to do is have a Wicket page which has >> a in it, and render the JSP in there, yes? > > Have you had the chance to write up any of the details of your solution? I > would be interested in seeing how you solved this problem.

Re: [Wicket-user] Ajax indicators and form submits

2007-03-01 Thread Igor Vaynberg
you are adding two behaviors to the same button that both compete for the onclick attribute - a formcomponentupdatingbehavior and ajaxformsubmitbehavior. you have two choices: create a compound behavior out of the two or let the ajaxformsubmitbehavior implement iajaxindicatoraware directly -igo

[Wicket-user] Ajax indicators and form submits

2007-03-01 Thread Apaar Trivedi
I have setup an AjaxIndicator to show up when I press a button, but the onclick event seems to be overridden when I set this up. For my button, the onclick event is tied to a form submit, causing the form to update. But when I had an onclick behavior which pops up the indicator, the form no longer

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Igor Vaynberg
so now that ive looked at ipagefactory what you want should be pretty easy if you still want to use pages mount a MyFactoryPage onto the /mountpointurl using indexedurlcodingstrategy then in ipagefactory do this: Page newPage(final Class pageClass, final PageParameters parameters) { if (pageCl

Re: [Wicket-user] repeaters and inheritance

2007-03-01 Thread Igor Vaynberg
but you can do that listview has newlistitem, there you can create the proper listitem subclass then in populate item you do item.add(((MyItem)item).getPricingPanel()) it is simply a matter of taste - whether something like this belongs in the class hierarchy or is it orthogonal and merits its

Re: [Wicket-user] repeaters and inheritance

2007-03-01 Thread Scott Swank
Thank you Eelco & Iman. I was hoping to have a custom component that played the role of the ListItem but which had methods such as abstract Panel getPricingPanle() which were variously implemented in subclasses as return new ShowPricingPanel() or return new HotelPricingPanel() instead of pushi

[Wicket-user] Feature Grid

2007-03-01 Thread Jonathan Locke
Does anyone know of a feature grid/matrix comparing web frameworks. -- View this message in context: http://www.nabble.com/Feature-Grid-tf3328003.html#a9253121 Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: [Wicket-user] Resuable AddressPanel

2007-03-01 Thread Igor Vaynberg
On 3/1/07, Murat Yücel <[EMAIL PROTECTED]> wrote: Hi Igor Dont we convert types? The model below is converting a string to an address object, so i guess it could be called a converter. as far as i can see he wants to convert some fields of address object into a string, and then back. I can

Re: [Wicket-user] Query Regarding Data Table

2007-03-01 Thread Igor Vaynberg
in datatable you cannot insert rows in arbitrary format - it really is a datagrid. what you want is to go higher in the hierarchy and use a dataview, that way you are in total control of rows and columns. -igor On 3/1/07, Anupama pullela <[EMAIL PROTECTED]> wrote: Hi, Is there a way to insert

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Igor Vaynberg
the niceset woiuld be to use panels instead of pages. that way you mount a page onto /mountpoint, when its hit you read the rest of the parameters, query the db for the panel class, instantiate it and add it to the page. nice and clean. there is really very little difference between page and panel

Re: [Wicket-user] Resuable AddressPanel

2007-03-01 Thread Murat Yücel
Hi Igor Dont we convert types? The model below is converting a string to an address object, so i guess it could be called a converter. I can see in the example that you have written to Flemming that you suggest at least two models. AddressModel and AddressLineModel. Do you need the first Address

[Wicket-user] Query Regarding Data Table

2007-03-01 Thread Anupama pullela
Hi, Is there a way to insert an arbitrary table(with different columns from main table , for example something like I have a product table and if I click on a particular row its inventories list to be displayed in the next row) as a row of a Data Table. I thought of overriding newRowItem and newC

Re: [Wicket-user] dynamically (client) created form components

2007-03-01 Thread Ittay Dror
Ittay Dror wrote: > > > b. have all repeating elements have the same name. the problem is that > components won't be updated correctly if some fields do not appear, or > i'll need to modify getInputAsArray for each (so as to look in the query > string, not the parsed parameters), and give eac

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Xavier Hanin
On 3/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > Interesting, I didn't know it was possible to ask the component tree > > which components wants to rerender. This could indeed answer to my > > first point. But if I want finer grain component update (for > > > I build this my self. I kn

Re: [Wicket-user] dynamically (client) created form components

2007-03-01 Thread Ittay Dror
Johan Compagner wrote: > >> > I have one of those pages with '+' and '-' buttons that allow to add >> more >> > fields. How do I manage these in wicket without ajax? > > > just links? Or if something should be submitted SubmitLinks? > And in that link.onClick you do the + or the - behavior >

Re: [Wicket-user] Ajax Link + IE7 problem

2007-03-01 Thread kan yuwakosol
>From: "Dipu" <[EMAIL PROTECTED]> >Reply-To: wicket-user@lists.sourceforge.net >To: >Subject: Re: [Wicket-user] Ajax Link + IE7 problem >Date: Thu, 1 Mar 2007 09:48:12 - > >Hi Igor, > >I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link >works even we have a table insi

Re: [Wicket-user] Ajax Link + IE7 problem

2007-03-01 Thread kan yuwakosol
>From: "Dipu" <[EMAIL PROTECTED]> >Reply-To: wicket-user@lists.sourceforge.net >To: >Subject: Re: [Wicket-user] Ajax Link + IE7 problem >Date: Thu, 1 Mar 2007 09:48:12 - > >Hi Igor, > >I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link >works even we have a table insi

Re: [Wicket-user] Ajax Link + IE7 problem

2007-03-01 Thread kan yuwakosol
>From: "Dipu" <[EMAIL PROTECTED]> >Reply-To: wicket-user@lists.sourceforge.net >To: >Subject: Re: [Wicket-user] Ajax Link + IE7 problem >Date: Thu, 1 Mar 2007 09:48:12 - > >Hi Igor, > >I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link >works even we have a table insi

Re: [Wicket-user] Ajax Link + IE7 problem

2007-03-01 Thread kan yuwakosol
>From: "Dipu" <[EMAIL PROTECTED]> >Reply-To: wicket-user@lists.sourceforge.net >To: >Subject: Re: [Wicket-user] Ajax Link + IE7 problem >Date: Thu, 1 Mar 2007 09:48:12 - > >Hi Igor, > >I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link >works even we have a table insi

Re: [Wicket-user] Ajax Link + IE7 problem

2007-03-01 Thread kan yuwakosol
>From: "Dipu" <[EMAIL PROTECTED]> >Reply-To: wicket-user@lists.sourceforge.net >To: >Subject: Re: [Wicket-user] Ajax Link + IE7 problem >Date: Thu, 1 Mar 2007 09:48:12 - > >Hi Igor, > >I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link >works even we have a table insi

Re: [Wicket-user] Ajax Link + IE7 problem

2007-03-01 Thread Dipu
Hi Igor, I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link works even we have a table inside anchors. I accept it's not good to use table inside anchors , but the good news is with the latest version it works !!! Regards Dipu - Original Message - From: Igo

Re: [Wicket-user] IE 7 + Ajax + Datepicker issues

2007-03-01 Thread Dipu
Thanks very much Eelco. I updated to 1.2.5 and now it works as expected with out any hacks. Regards Dipu - Original Message - From: "Eelco Hillenius" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 28, 2007 6:16 PM Subject: Re: [Wicket-user] IE 7 + Ajax + Datepicker issues >I th

Re: [Wicket-user] dynamically (client) created form components

2007-03-01 Thread Johan Compagner
> I have one of those pages with '+' and '-' buttons that allow to add more > fields. How do I manage these in wicket without ajax? just links? Or if something should be submitted SubmitLinks? And in that link.onClick you do the + or the - behavior another point is this: assume the fields

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Johan Compagner
Interesting, I didn't know it was possible to ask the component tree which components wants to rerender. This could indeed answer to my first point. But if I want finer grain component update (for I build this my self. I know because of our design when components gets new state or new data pus

Re: [Wicket-user] dynamically (client) created form components

2007-03-01 Thread Ittay Dror
Ittay Dror wrote: > > Hi, > > I have one of those pages with '+' and '-' buttons that allow to add more > fields. How do I manage these in wicket without ajax? > > Thanks, > Ittay > another point is this: assume the fields being added are a text (named atext) field and a checkbox (named ac

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Xavier Hanin
On 3/1/07, Vincent Demay <[EMAIL PROTECTED]> wrote: > Hi, Salut Vincent, > > AbstractAjaxTimerBehavior is a very good behavior but imho it is quite a > hack, it is not a server native way to update client side and it leads > to an useless important traffic because client side request the server >

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Xavier Hanin
On 3/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > if you just want polling (every X seconds), then that is already possible > just fine with the > AbstractAjaxTimerBehavior (or its subclass) > > I do that currently in my project. > I poll with my own ajax timer behavior attached to the page a

[Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Hi, I'm looking for a pattern to create page instances from a configuration in db. I sounds really weird but the scenario is this: - A request comes in for /mountpoint/dynamicpart1/part2/part3 - A lookup is made to db for a PageConfig with urlPart = dynamicpart1/part2/part3 PageConfig contains a

[Wicket-user] dynamically (client) created form components

2007-03-01 Thread Ittay Dror
Hi, I have one of those pages with '+' and '-' buttons that allow to add more fields. How do I manage these in wicket without ajax? Thanks, Ittay -- View this message in context: http://www.nabble.com/dynamically-%28client%29-created-form-components-tf3325801.html#a9246163 Sent from the Wicket

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Vincent Demay
Hi, AbstractAjaxTimerBehavior is a very good behavior but imho it is quite a hack, it is not a server native way to update client side and it leads to an useless important traffic because client side request the server event if there is nothing to update. Cometd is the best way I know to updat

Re: [Wicket-user] Does wicket:head work with markup inheritance?

2007-03-01 Thread Johan Compagner
wicket:head is what it says. It will place the stuff into the head part (where it belongs) that "extra" wicket:child is i guess because you don't strip the wicket tags currently what happens if you do: johan On 3/1/07, Chris Colman <[EMAIL PROTECTED]> wrote: Using a wicket:head in derived

Re: [Wicket-user] server side triggered page refresh (aka push)

2007-03-01 Thread Johan Compagner
if you just want polling (every X seconds), then that is already possible just fine with the AbstractAjaxTimerBehavior (or its subclass) I do that currently in my project. I poll with my own ajax timer behavior attached to the page and when that request comes in i ask the component tree which com

Re: [Wicket-user] mountBookmarkablePage causes 'no session' error

2007-03-01 Thread Johan Compagner
Give us the full stacktrace. So from the beginning of you Application.mount call until the Session failure. That bug report is for creating pagemaps which goes wrong (in the PageMap.forName method) But that is not the case in your situation, it goes wrong in the init of the Page johan On 3/1/0

[Wicket-user] mountBookmarkablePage causes 'no session' error

2007-03-01 Thread Chris Colman
> are you sure you need to specify a different pagemap? that is only needed > when you work with frames/popups Well actually I'm not using the version of the mountBookmarkablePage method that takes the PageMap parameter but I'm ending up with the same symptom - a 'no session' error. I assumed that