RE: Page Expired to home or login instead of default?

2008-07-04 Thread David Leangen
> I can't seem to find anywhere, how I get wicket to automatically go to > the "home" page instead of the "Page Expired" page when the session is > invalidated (expires, or the user logs out). Never actually tried this, but I don't see why it wouldn't work... Application.get().getApplicationSett

Page Expired to home or login instead of default?

2008-07-04 Thread Brill Pappin
I can't seem to find anywhere, how I get wicket to automatically go to the "home" page instead of the "Page Expired" page when the session is invalidated (expires, or the user logs out). Can anyone give me a hint as to were to look (i've likely just missed it in some documentation)? - Bri

Wicket IOC / Java EE Problem?

2008-07-04 Thread David Arnold
Upon reviewing wicket-contrib-javaee, I suspect that its behavior wrt stateful session beans is broken. afaict, it caches a single lazy init proxy per EJB type (JavaEEProxyFieldValueFactory#getCachedProxy). It then injects it into every component that needs an instance of that EJB type. The firs

Re: Problem with Pagination in Wicket 1.3.4

2008-07-04 Thread Eric Velazquez
Until 1.3.3 the PagingNavigator class added the navigation links on the constructor, but on 1.3.4 those links are added on the onBeforeRender method. Are you overriding the method? would be useful if you provide us with some related piece of code. Umesh Paliwal wrote: > > Hi , > > > > I h

Re: generics

2008-07-04 Thread Matthijs Wensveen
How do you cope with deeply nested model properties? For example: public class PersonViewer extends Component { .. } some other component does: person.getOrders().get(0).setAmount(0); // first order for free (as in beer) Matthijs Johan Compagner wrote: There are many state things in a compone

Re: OSGi and class loading issues solution proposal

2008-07-04 Thread Jan Stette
Hi, I'm working on a project that uses Wicket and OSGi and have come across some of the same classloading issues. We don't use Spring, so I can't comment on that side of things. Some brief comments follow below: 2008/7/3 Daniel Stoch <[EMAIL PROTECTED]>: > > Proposal 1 (change actual method be

strange log entries about wicket-event.js

2008-07-04 Thread steinen
After having migrated from wicket 1.2.7 to 1.3.4, the following error often appears in our log: ERROR - RequestCycle - URL fragment has unmatched key/value pair: resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js We use mountBookmarkablePages (nice url's) and a servlet-

Re: Strange stack trace in logs

2008-07-04 Thread Jan Stette
I can actually reproduce this problem now, with our application. I don't know if this is the only way to make it happen, but it occurs when right clicking a link and selecting "open in new tab", but only where the resulting page contains a specific type of component that includes the css file ment

Re: Strange stack trace in logs

2008-07-04 Thread Piller Sébastien
Thank you Jan! I'm glad not to be alone with this strange problem On our side, we're using wicket 1.3.1 with the same behavior. Jan Stette a écrit : I've also had reports of a similar problem. The logs I have show references to css files, and I'm sure that the user didn't modify any URLs: ERR

Re: Strange stack trace in logs

2008-07-04 Thread Jan Stette
I've also had reports of a similar problem. The logs I have show references to css files, and I'm sure that the user didn't modify any URLs: ERROR 11:52:37,426 [btpool1-5] wicket.RequestCycle URL fragment has unmatched key/value pair: wicket:interface/_0_1214298450782%3A0%3A3%3AINewBrowserWin

Re: How to add nodes to a tree using Ajax

2008-07-04 Thread geke
sorry hier are the file http://www.nabble.com/file/p18279343/MyTree.java MyTree.java To your point 3: A possible solution would be: Catch only the root level and next level from the database, give it into the tree model and display it. on click on the plus image you catch the next level and so

Re: How to add nodes to a tree using Ajax

2008-07-04 Thread Kai Schubert-Altmann
Hello, 2. Thanks, but your file contains only an empty class. 3. If the tree has ever 2000 nodes, it lasts maybe a little bit to long to get all data at once from the database. Kai 2008/7/4 geke <[EMAIL PROTECTED]>: > > Hello, > > to your point 2. > You have to build a subclass from LinkTree.

RE: TextField in IE and Opera

2008-07-04 Thread Alexander Landsnes Keül
I found the problem with this eventually, it was related to using NTLM authentication. IE doesn't perform any POST on forms until you've negotiated the password hashes again. Something which we seem to not do :) Alex -Opprinnelig melding- Fra: Alexander Landsnes Keül [mailto:[EMAIL PRO

Re: A problem with paging - Page links not showing up

2008-07-04 Thread JohannesK
There should be a < span wicket:id="paging">< / span > there after the wicket:panel tag but it's only visible when i edit the post. JohannesK wrote: > > Hi > > I've tried searching for this problem but couldn't find anything useful. > My problem, in a nutshell, is that my PagingNavigation prod

A problem with paging - Page links not showing up

2008-07-04 Thread JohannesK
Hi I've tried searching for this problem but couldn't find anything useful. My problem, in a nutshell, is that my PagingNavigation produces empty blocks where the paging should go. Here's the Java, I'm doing this in the constructor of a wicket Panel object: container = new WebMa

Change mounted URL - redirect to new one

2008-07-04 Thread Thomas Singer
Hi, We are using Wicket for our web*site* and want to change the URL of a mounted page. Is there an elegant way in Wicket to redirect from /old-path to /new-path or should we better do that the hard way with a URL rewriting filter? -- Thanks in advance, Tom -

Issues with a TreeGrid inside a Form

2008-07-04 Thread ulrik
I have a question about the TreeGrid from Inmethod . I have a very simple page with this markup: ... ... ... ... And the corresponding java class public class BaseExamplePage extends WebPage { private AjaxEditableLabel label;

Prevent navigation to other pages on unsaved data

2008-07-04 Thread Andre van der Schyff
We're having trouble implementing a page that prevents the user from navigating away after data has changed on the page without saving. To do this, we've extended WebRequestCycle with the following: public class CustomRequestCycle extends WebRequestCycle { protected void onBeginRequest() {

Re: TextField in IE and Opera

2008-07-04 Thread Martin Grigorov
On Thu, 2008-07-03 at 12:21 +0200, Alexander Landsnes Keül wrote: > I'm having a wee bit of a problem getting TextFields to cooperate in our > project. I'm baffled by the problem, because it's something that's been > working fine for months. > > > > The panel I'm working with is very a simple