System requirements for running wicket app in production

2008-04-10 Thread Oliver Lieven
Hi all, are there any suggestions or experiences on the (minimum) system/hardware requirements for running a Wicket based application on a productive system? Would e.g. a Virtual Server as offered by most hosting providers be powerful enough to run a Java/Tomcat/Wicket/database application? I kn

Re: Wicket 1.3 rc1 Relative URLs not working properly

2007-12-04 Thread Oliver Lieven
"/*" (see this thread). Regards, Oliver Johan Compagner wrote: > > But a mapping shouldnt matter to much. With the filter there should be > no need for a filter mapping like a servlet. > > Johan > > 2007/12/4, Oliver Lieven <[EMAIL PROTECTED]>: >> &

Re: Wicket 1.3 rc1 Relative URLs not working properly

2007-12-04 Thread Oliver Lieven
Hi, I encountered this problem a week ago, too, and digged a little into code and forum. Here's my summary: the problem seems to be the "/*" filter mapping. If you specify a "/app/*" filter mapping, relative URLs work just fine. In my base-page-class (all my pages are derived from it thro

Re: How to determine absolute URL of a mounted page?

2007-11-23 Thread Oliver Lieven
; However if you really want to do this (which I don't advise) you can use > the HttpServletRequest to find your information using: > > getWebRequestCycle().getWebRequest().getHttpServletRequest() > > Regards, > Sebastiaan > > Oliver Lieven wrote: >> Hi, >> &

How to determine absolute URL of a mounted page?

2007-11-23 Thread Oliver Lieven
Hi, is there a way to determine the complete, absolute URL to a mounted page (including protocol, host, port, application, filter and destination page)? I need this to be able to send a link to a Registration-Confirmation page to a user via email. I searched the forum already, but didn't find a

Re: 1.3.0-beta4: updateFeedback() gone?

2007-10-29 Thread Oliver Lieven
Hi, browsing the JIRA I found WICKET-836 (which originally addressed a different problem), but I think that the call to updateFeedback() was removed because of this issue. At the end of WICKET-836 it was said that the original issue was caused by wrong usage. So I wonder if there is still a reaso

1.3.0-beta4: updateFeedback() gone?

2007-10-28 Thread Oliver Lieven
Hi, in 1.3.0-beta4, Page.renderPage() doesn't call the updateFeedback() on its children any more. Because of this change the FormComponentFeedbackBorder component fails to work. Is there a reason for this change? Do I have to call updateFeedback() now myself? What's the supposed place to do this

Re: Quick follow-up

2007-10-23 Thread Oliver Lieven
Hi, what about using products.setOutputMarkupId(true) ? regards, Oliver Martijn Dashorst wrote: > > Is the products a repeater (ListView, RepeatingView, DataView)? Then > it doesn't have its own markup (see for instance > http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html

Re: Refreshing components with new data w/o altering the backing model

2007-10-23 Thread Oliver Lieven
Hi, two week ago I had a similar problem (see Thread "AutoCompleteTextfield---how to populate two input fields - tf4592192.html#a13166291") The solution was to have an autocomplete-list attached to the zipcode and the city-field. The list shows the valid zipcode-city combinations for the zipcode

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-11 Thread Oliver Lieven
ch is good for you, i can send you our version, plus some > example usages. > > Regards, > > German > > > It seems that Oliver Lieven wrote: >> >> Hi, >> >> thanks for your answer. >> >> No, solution didn't work as supposed, mainly

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-11 Thread Oliver Lieven
lution already working. Perhaps it can help you too. > > Regards, > > German > > > It seems that Nino Saturnino Martinez Vazquez Wael wrote: >> NP, waiting with excitement to hear if it works:) >> >> Oliver Lieven wrote: >>> Thanks allot for your eff

Re: AutoCompleteTextField problem

2007-10-09 Thread Oliver Lieven
IMHO the AutoCompleteTextfield sets the value of your input field to the value selected in the autocomplete-list, but this is done via JavaScript and works only inside the browser. As long as you don't attach a special Ajax...Behaviour (eg. AjaxUpdateBehaviour) to your input field, the model wil

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-09 Thread Oliver Lieven
tems(input); > } > }; > > And ofcourse you need to add the other completefield to the > ajaxresponse... > > Hope this pseudo code works a little better... Was on my way out the > door before... > > > Oliver Lieven wrote: >> Hi

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-08 Thread Oliver Lieven
mbination selected by the user... regards, Oliver Nino.Martinez wrote: > > Quick answer, why not use property models and use both in the fiields > you mention? > > Oliver Lieven wrote: >> Hi, >> >> in an address edit panel I've got the two AutoCompleteText fields

AutoCompleteTextfield - how to populate two input fields

2007-10-08 Thread Oliver Lieven
Hi, in an address edit panel I've got the two AutoCompleteText fields 'zipcode' and 'city'. When a users begins typing into the zipcode-field, the autocomplete shows up and offers valid "zipcode - city" combinations. After selecting a value from the autocomplete the 'zipcode' is set. Same for 'c

Can a component determine it's surrounding HTML elements?

2007-09-28 Thread Oliver Lieven
Hi, I wonder if there's a way for a component to determine if it is embedded inside some specific HTML tag, e.g. determine if it is used inside a table. What I would like to achieve is having a component/panel which, when not used inside a HTML table, would render itself with surrounding "table

Re: Given a Page subclass and its PageParameters, how to determine the URL string?

2007-08-16 Thread Oliver Lieven
Hi, I'm doing this by mounting an alias-name to the page in the application's init()-method by calling WebApplication.mountBookmarkablePage( java.lang.String path,java.lang.Class bookmarkablePageClass) e.g. mountBookmarkablePage("verifyEmail", VerifyEmailPage.class) Then you can send an em