Re: Redirecting to another page in a WebPage constructor

2011-03-11 Thread vineet semwal
if he actually needs *redirection* then throw new ImmediateRedirectException(RedirectToPage.class,params); public class ImmediateRedirectException extends AbstractRestartResponseException{ public ImmediateRedirectException(Class? extends Page pageClass,PageParameters params) {

problem using pre post ajax handlers

2011-03-11 Thread Thijs
Hi, I have the following issue. I have a separate js that on window.onload calls: Wicket.Ajax.registerPreCallHandler(foo); Wicket.Ajax.registerPostCallHandler(bar); Wicket.Ajax.registerFailureHandler(bar); This works great however not on the first page load when there is no session yet. The

Re: problem using pre post ajax handlers

2011-03-11 Thread Pedro Santos
looks like a bug, open a ticket + quickstart please On Fri, Mar 11, 2011 at 8:08 AM, Thijs vonk.th...@gmail.com wrote: Hi, I have the following issue. I have a separate js that on window.onload calls: Wicket.Ajax.registerPreCallHandler(foo); Wicket.Ajax.registerPostCallHandler(bar);

Wicket-dnd, unable to use with RepeatingViews

2011-03-11 Thread lucast
Hi Everyone, I am having behaviour problems when I add wicket-dnd DragSource and DropTarget to a WebMarkupContainer that is created inside a loop and it is added to a RepeatingView. The problem is that when I drag and drop a list item from one container to the other, sometimes it drops it on the

Re: problem using pre post ajax handlers

2011-03-11 Thread Thijs
I've been trying to create a quickstart displaying the problem all afternoon. But I can't seem to get it to generate resources links with ;sessionid's in them. While in my own application, when I do session.get().bind() on a stripped down page it does. So I'll be trying to get this to show up

Stateless Wicket and Ajax

2011-03-11 Thread Serban Balamaci
Hello everybody. I'm interested in Wicket for a public site. I want to use stateless pages in order to have nice looking pages indexed by Google(no JSESSIONID in the url) There is an approach to remove JSESSIONID from the url for search bots but I do not like it since that would mean that any

Deserialize/cache components in Ajax rendering and other scenarios

2011-03-11 Thread Brown, Berlin [GCG-PFS]
It looks like caching and the deserializing of pages only happens when the user revisits a page or goes back to a page? Is there any serialization/deserialization that is done to panels if they are just rerendered through ajax? If your whole site is ajax based (where most of the content is not

Re: problem using pre post ajax handlers

2011-03-11 Thread Pedro Santos
you can disable the browser cookies, than the sessionid will show up On Fri, Mar 11, 2011 at 11:19 AM, Thijs vonk.th...@gmail.com wrote: I've been trying to create a quickstart displaying the problem all afternoon. But I can't seem to get it to generate resources links with ;sessionid's in

Re: problem using pre post ajax handlers

2011-03-11 Thread Thijs
Looks like I found it. Turns out that somewhere between 1.4.10 and 1.4.16 something changed and jsessionid's get stripped from resources. I'll do some further testing but it seems to work ok now. Thanks Thijs On 11-3-2011 16:18, Pedro Santos wrote: you can disable the browser cookies, than

Re: Stateless Wicket and Ajax

2011-03-11 Thread Vojtěch Krása
Hi, check this http://apache-wicket.1842946.n4.nabble.com/Removing-the-jsessionid-for-SEO-td1854094.html no error should occur. 2011/3/11 Serban Balamaci serban.balam...@asf.ro Hello everybody. I'm interested in Wicket for a public site. I want to use stateless pages in order to have nice

wicket-tree implementation

2011-03-11 Thread Erik Johansson
Hello. I am trying out wicket-tree, by Sven Maier. However I can't figure out what is needed to get it to display the tree properly. It shows the content as its toString method. I have overridden it at the ITreeProvider.model-method, but that isn't it, it seems. The original object's

Re: entity manager in webapp

2011-03-11 Thread Cristiano Gavião
Well, warp-persist became Guice-Persist... and it is part of 3.0: dependency groupIdcom.google.inject.extensions/groupId artifactIdguice-persist/artifactId version3.0-rc3/version /dependency dependency groupIdcom.google.inject.extensions/groupId artifactIdguice-servlet/artifactId

Re: wicket-tree implementation

2011-03-11 Thread Sven Meier
Hi Erik, you can override a factory method in a tree subclass: @Override protected Component newContentComponent(String id, IModelFoo model) { return new FolderFoo(id, this, model) { protected IModel?

Re: Stateless Wicket and Ajax

2011-03-11 Thread robert.mcguinness
I built a stateless site using the http://code.google.com/p/jolira-tools/wiki/stateless Jolira Tools and it worked out great, you just have to get used to using PageParameters for everything (contructors, pagination, etc). During development I had conditional breakpoints in locations that

wicket version 2.0 ?

2011-03-11 Thread blr
Hi, I read on the documentation in the Wicket version 2.0 for the Wicket version 2.0 ... On Wicket site, i see only the version 1.4x or 1.5rc what is this version 2.0 ? Thanks, blr -- View this message in context:

Re: wicket version 2.0 ?

2011-03-11 Thread Igor Vaynberg
old version that has been scrapped. -igor On Fri, Mar 11, 2011 at 10:52 AM, blr lr.b21...@gmail.com wrote: Hi, I read on the documentation in the Wicket version 2.0 for the Wicket version 2.0 ... On Wicket site, i see only the version 1.4x or 1.5rc what is this version 2.0 ? Thanks,

Re: Wicket-dnd, unable to use with RepeatingViews

2011-03-11 Thread Sven Meier
Hi Lucas, I'll try to reproduce the problem here. Best regards Sven On 03/11/2011 12:57 PM, lucast wrote: Hi Everyone, I am having behaviour problems when I add wicket-dnd DragSource and DropTarget to a WebMarkupContainer that is created inside a loop and it is added to a RepeatingView.

Re: Stateless Wicket and Ajax

2011-03-11 Thread Martin Grigorov
On Fri, Mar 11, 2011 at 8:28 PM, robert.mcguinness robert.mcguinness@gmail.com wrote: I built a stateless site using the http://code.google.com/p/jolira-tools/wiki/stateless Jolira Tools and it worked out great, you just have to get used to using PageParameters for everything

RE: Wicket thinks setOutputMarkupId property is not set to true

2011-03-11 Thread MZemeck
I've run into this using tab-panels, you have to get the target right by calling getParent() or something similar. If you look at the rendered html the wicket id's can help yo track down the component you need to target. From: Coleman, Chris chris.cole...@thalesgroup.com.au To:

RE: Wicket thinks setOutputMarkupId property is not set to true

2011-03-11 Thread MZemeck
Note, I'm referring to ajax-tab-panels which are ajax ready by default... From: mzem...@osc.state.ny.us To: users@wicket.apache.org Date: 03/11/2011 03:11 PM Subject:RE: Wicket thinks setOutputMarkupId property is not set to true I've run into this using tab-panels, you have

Re: Wicket-dnd, unable to use with RepeatingViews

2011-03-11 Thread Sven Meier
Hi Lucas, I fixed a JavaScript bug in wicket-dnd: http://code.google.com/p/wicket-dnd/issues/detail?id=7 Please retry with 0.4-snapshot. Thanks for your report Sven On 03/11/2011 12:57 PM, lucast wrote: Hi Everyone, I am having behaviour problems when I add wicket-dnd DragSource and

Re: Fate of CompressedResourceReference in Wicket 1.5?

2011-03-11 Thread Matt Brictson
Opened: https://issues.apache.org/jira/browse/WICKET-3526 -- Matt On Mar 9, 2011, at 11:02 PM, Martin Grigorov wrote: File a ticket please. On Thu, Mar 10, 2011 at 3:01 AM, Matt Brictson m...@55minutes.com wrote: Hi, CompressedResourceReference in trunk is basically empty and has

Re: Wicket-dnd, unable to use with RepeatingViews

2011-03-11 Thread lucast
Thank you so much, Sven. I'll try it straight away. Regards, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-dnd-unable-to-use-with-RepeatingViews-tp3347961p3349218.html Sent from the Users forum mailing list archive at Nabble.com.

Large session store in target/work directory when running tests

2011-03-11 Thread Alec Swan
Hello, I have a problem with my tests writing too much stuff in the session store located in target/work directory. This problem was discussed in this thread http://markmail.org/thread/aaa2ub2ltcuhpqub#query:wicketmockservlet%20file%20store+page:1+mid:p3gf5wq75qi64lsp+state:results . I followed