Re: [Wicket-user] question on autolinking

2006-04-14 Thread Juergen Donnerstag
Only very little performance impact. Wicket automatically creates a Link component for you and the disable behavior is exactly the same as for for Links. And Links get disabled if they point to the same page. If you don't want that behavior, than you can not use autolinks. Just add standard

Re: [Wicket-user] immediate redirect?

2006-04-14 Thread Davy De Durpel
In wicket 1.2 you just have to add this line of code: throw new RestartResponseAtInterceptPageException(YourFancyErrorPage.class); I'm not sure if this one will work with wicket version prior to 1.2, but then it might be worth the upgrade ;-) -- View this message in context:

Re: Betr.: Re: [Wicket-user] Wicket 2 (beta 3) and Resin 3.0.18 on SuSE 9.3 FileNotFoundException Too many open files

2006-04-14 Thread Johan Compagner
We can't disabled lastModified for that kind of stuff. We need a last modified timestamp for the http HEAD request for resources inside jarsWe could cache that result if we see that it comes from a jar. But as i said then we have to make sure that we have some sort of soluton for OSGI containers

Re: [Wicket-user] immediate redirect?

2006-04-14 Thread Alexander Lohse
Thanks. That was what I needed. In wicket 1.2 you just have to add this line of code: throw new RestartResponseAtInterceptPageException (YourFancyErrorPage.class); I'm not sure if this one will work with wicket version prior to 1.2, but then it might be worth the upgrade ;-)

Re: [Wicket-user] question on autolinking

2006-04-14 Thread Igor Vaynberg
i dont think its a bug. autolinking is based on page's class, so if you have multiple links to the same page class with different parameters they will all be disabled. one more disadvantage of using wicket:link to do it automatically. if you used a link component you created you could override the

[Wicket-user] modifing Feedback

2006-04-14 Thread Alexander Lohse
Hi, is there any automatic-pre-render-method-invocation I can use to check conditions and add feedback? I tried onBeforeRender(). This seems to be to late to modify content?! I tried onAttach(). Here I have a strange phenomenon: The new feedback is not displayed, but I have an

[Wicket-user] AjaxRequest with expired session

2006-04-14 Thread Arto Arffman
Hi, What should happen when AjaxRequest is issued and session has expired? In my app nothing happens at all. /arto

[Wicket-user] Re: AjaxRequest with expired session

2006-04-14 Thread Arto Arffman
Ha! found a bug there is one parameter missing when generating ajax-response... Signature in wicket-ajax.js is: function wicketSubmitFormById(formId, url, submitButton, successHandler, failureHandler) { AjaxFormSubmitBehavior.getEventHandler() has now: return getCallbackScript(new

[Wicket-user] bug with components names and tags

2006-04-14 Thread Michael Day
In my markup, I have added a RequiredTextField component called message. I also use the wicket:message tag. Wicket seems to get them confused. Is this a bug? wicket.markup.MarkupException: Component message must be applied to a tag of type 'input', not 'wicket:message key=phone' (line

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Timo Stamm
Igor, do you know RIFE/Continuations? It uses continuations for better state handling and control flow instead of better performance. There are some examples in this slide (pages 5 to 8): https://www.dev.java.net/files/documents/204/3120/rife_fosdem_2004.pdf It really looks like an

Re: [Wicket-user] wicket Session vs HttpSession

2006-04-14 Thread Eelco Hillenius
However, the session passed to the backend isn't always the same one, causing the back-end to throw exceptions. Then there is something wrong that is not Wicket related. Wicket just passes/ uses the underlying httpSession. Is there something i can do to maintain the httpSession (and keep it

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Eelco Hillenius
I can't speak for Igor - though we have talked about that too - but for my opion see e.g. http://www.theserverside.com/news/thread.tss?thread_id=39579#204913 Basically, I think continuations are a smart idea, and they might be useful for wizard/ flow type applications. That said, I also think

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Igor Vaynberg
heh, so why post to this thread and not start a new one?-IgorOn 4/14/06, Timo Stamm [EMAIL PROTECTED] wrote:Igor Vaynberg schrieb: what do rife's continuations have to do with ajax? Nothing. On 4/14/06, Timo Stamm [EMAIL PROTECTED] wrote: Igor, do you know RIFE/Continuations? It uses

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Timo Stamm
Eelco Hillenius schrieb: I can't speak for Igor - though we have talked about that too - but for my opion see e.g. http://www.theserverside.com/news/thread.tss?thread_id=39579#204913 Thanks for the link. mind you that Wicket allows for very fancy state optimizations as well. Quoting from

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Igor Vaynberg
the problem with the word continuation is that it has recently aquired multiple meanings.in rife, afaik, the continations are used to drive program flow. that is, the continuation remembers where in the function you are and can resume from that point forward. this is basically an abstraction of a

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Igor Vaynberg
i dont see how this spreads the logic around. your navigation logic would be isolated in an object that will drive the flow and the steps are reusable panels.i wrote a wizard framework for the company i work for, and we have been using it with great success. it is driven by a general workflow like