Re: Feature idea: sealed flag on MarkupContainer

2008-11-20 Thread Peter Ertl
Wouldn't it be more powerful to override / hook into the process of adding a component of a container? Something like that ... new WebMarkupContainer(id) { @Override public void onComponentAdd(Component child) { // check the sealed flag, decorate the child, throw exception, or do

Re: Feature idea: sealed flag on MarkupContainer

2008-11-20 Thread Peter Ertl
, 2008 at 11:27:39AM +0100, Peter Ertl wrote: Wouldn't it be more powerful to override / hook into the process of adding a component of a container? Something like that ... new WebMarkupContainer(id) { @Override public void onComponentAdd(Component child) { // check the sealed flag, decorate

Re: Feature idea: sealed flag on MarkupContainer

2008-11-20 Thread Peter Ertl
+0100, Peter Ertl wrote: I was thinking about something like this: [warning, sketchy pseudo code will follow] method org.apache.wicket.MarkupContainer.add(Component... children) : - call empty overridable method onComponentAdd(Component child) for each component - add component protected

Re: Create custom UrlCodingStrategy

2008-12-03 Thread Peter Ertl
maybe this would be the time to apply my patch? :-) https://issues.apache.org/jira/browse/WICKET-1666 Am 03.12.2008 um 16:18 schrieb Mathias P.W Nilsson: Yes, thanks! This is what I have been trying to do but with no luck. -- View this message in context:

Re: Modify textfield input before validation

2008-12-11 Thread Peter Ertl
I really wonder why converters are not the right thing to do? Trimming crap off the input is a one-way conversion *imho* Am 11.12.2008 um 20:45 schrieb pixologe: Please note that these were just examples, not actual use cases of mine (apart from the URL stuff). Anyway, I think there are

Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14

2008-12-11 Thread Peter Ertl
concerning the proper javascript client for comet... is there anything reasonable except dojo-cometd-client to use? The dojo stuff feels really bloated for me Am 11.12.2008 um 15:00 schrieb Michael Sparer: Alright, I'll keep an eye on changes of your project. Maybe we can merge some

Re: Modify textfield input before validation

2008-12-12 Thread Peter Ertl
Just because converter can convert 'from' and 'to' doesn't mean you can't use it for one direction only Am 12.12.2008 um 13:01 schrieb pixologe: seems to be igor's point of view, at least: http://www.nabble.com/append-a-converter-or-coversion-function-td15921777.html#a15964449 Peter Ertl

Re: About CodingStrategies for Database IDs

2008-12-13 Thread Peter Ertl
Daring to go even further, I think it's quite paranoid to obfuscate database ids. The danger of database ids in urls is not that people know about it but they can fake them by altering the url. So the solution is not some snakeoil-like encryption of the id but proper and thorough

Re: Participating in Wicket

2008-12-18 Thread Peter Ertl
Yeah, just put a breakpoint in WicketFilter, request a page in your browser and step through the whole wicket source and try to understand. Naturally this takes some time :-) Am 18.12.2008 um 11:13 schrieb James Perry: I'd recommend examining the WicketFilter as your starting point. This

Re: DataView vs ListView

2009-01-07 Thread Peter Ertl
Why do you read up to 1 records into memory? Nobody will be able to view all of these ever. I would set a limit at around 500-1000 records and provide some advanced filtering instead. Am 07.01.2009 um 15:52 schrieb Ames, Tim: My humble opinion is that you have to pay the price

Re: Get all sessions

2009-01-09 Thread Peter Ertl
implement javax.servlet.http.HttpSessionListener Am 09.01.2009 um 08:07 schrieb Eunice: Hi, Is there any methods or functions in wicket that can give me numbers of users/sessions that is currently active and viewing/ opening a page? I've been googling and read on the API, still cannot

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Peter Ertl
how is this wicket? Am 12.01.2009 um 11:36 schrieb Michael Sparer: http://www.google.com/search?q=java+zip ;-) wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart,

Re: thanks ur help,withe the zipoutputstream,

2009-01-12 Thread Peter Ertl
, and this looks absolutely normal that nothing exists in wicket for such a feature. Separation of concerns is very usual on today's days. Peter Ertl a écrit : how is this wicket? Am 12.01.2009 um 11:36 schrieb Michael Sparer: http://www.google.com/search?q=java+zip ;-) wch2001 wrote: thanks

Re: serving static images

2009-01-13 Thread Peter Ertl
You must have some url to specify for the IMG tag in the browser html. in html images just need some url to work. you should check if the request is authorized inside DynamicImageResource. probably a good place to do this in public IResourceStream getResourceStream() get the

Re: Set width of auto complete text field?

2009-01-21 Thread Peter Ertl
All you want to know is summed up here :-) http://issues.apache.org/jira/browse/WICKET-1716 Am 21.01.2009 um 11:56 schrieb Daniel Peters: Jeremy Thomerson wrote: Any one? Thank you, You can use the CSS keyword !important to override the wicket definition. Here is what I use in my app

Re: making a HTTP request directly in Wicket

2009-02-05 Thread Peter Ertl
Please use commons HttpClient, with the standard Java client you have no control over timeouts potentially hanging your application. Is this still true? I found that at least in Java 6 there is URLConnection.setConnectTimeout(int) Cheers Peter Am 05.02.2009 um 14:12 schrieb Erik van

Re: making a HTTP request directly in Wicket

2009-02-07 Thread Peter Ertl
setReadTimeout(int) Also very important. On Thu, Feb 5, 2009 at 11:42 AM, Peter Ertl pe...@gmx.org wrote: Please use commons HttpClient, with the standard Java client you have no control over timeouts potentially hanging your application. Is this still true? I found that at least in Java 6

Re: Wicket and downloading huge pdf files

2009-03-03 Thread Peter Ertl
You might take a look at SharedResourceRequestTargetUrlCodingStrategy and IndexedSharedResourceCodingStrategy and eventually http://issues.apache.org/jira/browse/WICKET-1666 regards peter Am 02.03.2009 um 10:17 schrieb Emanuele Gesuato: Only want to know if an url similar to:

Re: wicket 1.4

2009-03-03 Thread Peter Ertl
*lol* made my day ! Am 02.03.2009 um 10:55 schrieb Martijn Dashorst: when it's done. Martijn On Mon, Mar 2, 2009 at 9:09 AM, SrinivasaRaju Ch srinivas.r...@sifycorp.com wrote: Hi, When will wicket 1.4 GA Release.. Regards, Srinivasa Raju CH. Get your world in your inbox! Mail,

Re: Uppercasing inputs

2009-03-05 Thread Peter Ertl
Yes, I love that mailing list :-) Am 05.03.2009 um 10:26 schrieb jWeekend: Martijn, Is there not already an EasyUpperCaseRUs.com web service you can subscribe to for unlimited conversions at an annual fee of under 30,000USD (or 100USD/conversion) who also have a 5 free conversions trial

Re: Uppercasing inputs

2009-03-05 Thread Peter Ertl
So what's the result o this? My dear customer, actually it is not possible to upper-case your input because type conversion doesn't fit, validation is the wrong place,too, and javascript uppercasing is not reliable if javascript is disabled. However we can compute the 100.000.000 digit of

Re: Uppercasing inputs

2009-03-05 Thread Peter Ertl
at the age of 15 for beating up his Ethics teacher, despite being quite good at mathematics. Your Grateful Customer Peter Ertl-3 wrote: So what's the result o this? My dear customer, actually it is not possible to upper-case your input because type conversion doesn't fit, validation

Re: Uppercasing inputs

2009-03-05 Thread Peter Ertl
Could there be any unexpected consequences when just up-casing the string in the model's setter (setObject(...)) ? like this... void setObject(String input) { this.value = (input != null) ? input.toUpperCase() : null; } Am 05.03.2009 um 19:39 schrieb jWeekend: Leszek, Thank

Re: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-02 Thread Peter Ertl
However this will not be true if you change the render strategy *imho* getRequestCycleSettings ().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER) +1 for applying the patch as it's not only a matter of correctness but also of taste Am 02.07.2008 um 16:06 schrieb Johan

Re: why are we coding Web apps?

2008-07-17 Thread Peter Ertl
Even Mac guys agree that development by Sun would be much better :-) They still lag behind with java 1.6 (no current 1.6.0_07), do not support powerpc for 1.6 anymore, can't run 32bit on 1.6 and can't run 64bit on 1.5 etc. Yeah, java by apple suckzz ! Am 17.07.2008 um 16:08 schrieb

Re: Comparing JSF and Wicket

2008-08-07 Thread Peter Ertl
I don't need nearly as much extensions for wicket because it's such a no-brainer to write my own custom components... I think JSF is a big joke with nobody laughing :) my 2 % Cheers Peter Am 07.08.2008 um 17:59 schrieb Timm Helbig: Sorry, not really. *) JSF doesn't consume less Memory

Re: I'm adding a new item to a ListView via ajax - how to get reference to the new item?

2008-08-17 Thread Peter Ertl
use AjaxRequestTarget.get() Am 17.08.2008 um 15:36 schrieb Martin Grigorov: On Sun, 2008-08-17 at 13:36 +0200, Wayne Pope wrote: Hi, But how do I get that target? As the items are being rendered using a ListView - the only time I can get access is during the populateItem - but thats a

Re: Wicket merchandise take 2

2008-08-25 Thread Peter Ertl
Just having the logo would look even more magical *g* Less is more Loads of people would ask what this 'wicked' logo means and you have all the attraction you possibly want :-) This would make it easier to proselytize alien web developers because you don't have to hunt them down first

Re: WANG–Wicket Ajax Next Generation–bei ng based on YUI (MD)

2008-08-26 Thread Peter Ertl
+1 for including support for cometd in wicket core I expect server side push the next great thing in web development :) my 2 pct Am 26.08.2008 um 22:19 schrieb Matej Knopp: Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend [EMAIL PROTECTED] wrote: Matej, What are the implications of the

Re: Discussion on Wicket Interface Speed-Up

2008-08-28 Thread Peter Ertl
@stefan: did you take into account getApplication ().getResourceSettings ().setAddLastModifiedTimeToResourceReferenceUrl(true)?? Cheers Peter Am 28.08.2008 um 18:20 schrieb Igor Vaynberg: sfussenegger now has access to wicketstuff... i dont know which parts should go into

Re: Discussion on Wicket Interface Speed-Up

2008-08-29 Thread Peter Ertl
. Cheers Peter Am 29.08.2008 um 08:17 schrieb Stefan Fußenegger: honestly, no, I didn't. however, using last modified times still results in an HTTP request and a 304 Not Modified reply. better than nothing, but client-side caching is still preferable. regards Peter Ertl wrote: @stefan

Re: Discussion on Wicket Interface Speed-Up

2008-08-29 Thread Peter Ertl
shouldn't be served by Wicket at all, but I really don't like to use proxies, CDNs or whatever voodoo for low traffic web sites: server-side performance isn't an issue there while client-side performance is. regards Peter Ertl wrote: That's not true. this settings will generate urls like

Re: Wicket,tomcat and UTF-8

2008-08-29 Thread Peter Ertl
It's a standard tomcat problem that everybody sooner or later encounters... This will work for you: http://cagan327.blogspot.com/2006/05/utf-8-encoding-fix-tomcat-jsp-etc.html Just use the EncodingFilter and I bet my [EMAIL PROTECTED]@#$ it will work :-) Am 29.08.2008 um 11:04 schrieb Ray

Re: Discussion on Wicket Interface Speed-Up

2008-08-29 Thread Peter Ertl
why don't you open up an issue in JIRA? Am 29.08.2008 um 12:22 schrieb Jörn Zaefferer: Here is a first patch for the RevisionVersionProvider: Index: src/main/java/org/wicketstuff/mergedresources/versioning/ RevisionVersionProvider.java

Re: html code in component class

2008-10-09 Thread Peter Ertl
If it's just a line use Label Am 09.10.2008 um 21:01 schrieb miro: Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples please can

Re: Returning XML to JS

2008-10-21 Thread Peter Ertl
have a look at XStream :-) Am 21.10.2008 um 11:25 schrieb [EMAIL PROTECTED]: Hi, What's the nice / correct way to do this in Wicket: I have a client side bit of JS that looks something like getData(URL); It expects to get back an XML document like data entryfoo/entry

Re: Render a Wicket page to a string for HTML email

2008-11-05 Thread Peter Ertl
Great work! You should put this on the Wiki :-) Am 05.11.2008 um 11:22 schrieb Jörn Zaefferer: No voodoo neccessary, got it working: protected String renderPage(Class? extends Page pageClass, PageParameters pageParameters) { //get the servlet context

Re: Render a Wicket page to a string for HTML email

2008-11-05 Thread Peter Ertl
Won't it be easier / will it work to use WicketTester for this? Am 05.11.2008 um 17:26 schrieb Igor Vaynberg: make sure you do this in a thread other then the request thread so you dont mess up any threadlocals. -igor On Wed, Nov 5, 2008 at 2:22 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote:

Re: Render a Wicket page to a string for HTML email

2008-11-05 Thread Peter Ertl
) { e.printStackTrace(); } Am 05.11.2008 um 18:18 schrieb Igor Vaynberg: you still have to do it in a separate thread :) -igor On Wed, Nov 5, 2008 at 9:14 AM, Peter Ertl [EMAIL PROTECTED] wrote: Won't it be easier / will it work to use WicketTester for this? Am 05.11.2008 um 17:26

Re: Render a Wicket page to a string for HTML email

2008-11-05 Thread Peter Ertl
wickettester the actual application object also. -igor On Wed, Nov 5, 2008 at 9:26 AM, Peter Ertl [EMAIL PROTECTED] wrote: So would this be ok ?! (caution! untested!) try { final String html = Executors.newSingleThreadExecutor().submit(new CallableString() { public String call

Re: Render a Wicket page to a string for HTML email

2008-11-06 Thread Peter Ertl
WicketRuntimeException(e.getMessage(), e); } catch (ExecutionException e) { throw new WicketRuntimeException(e.getMessage(), e); } } Peter Ertl wrote: ... return new String(tester.getServletResponse().getBinaryContent

Re: Render a Wicket page to a string for HTML email

2008-11-06 Thread Peter Ertl
) { throw new WicketRuntimeException(e.getMessage(), e); } } Peter Ertl wrote: ... return new String(tester.getServletResponse().getBinaryContent(), tester.getServletResponse().getCharacterEncoding()); ... -- View this message in context: http

Re: Modal window and SSL

2009-08-19 Thread Peter Ertl
I remember this issue begin fixed already: https://issues.apache.org/jira/browse/WICKET-855 did someone change ModalWindow in the meantime? Am 19.08.2009 um 17:13 schrieb Igor Vaynberg: it just means that you are on a https page but it links to some http resources, eg images or javascripts.

Re: Male/Female messages

2009-08-28 Thread Peter Ertl
This might be helpful when translatiing between male - female :-) http://monster-island.org/tinashumor/humor/mflwebst.html Am 27.08.2009 um 17:35 schrieb Cserep Janos: use setStyle() and different styles for property files. That means you should have 2 files: MyApplication_male.properties

Re: How to redirect from a ModalWindow

2009-09-10 Thread Peter Ertl
throw new RestartResponseException(OtherPage.class) window.close() is not needed! Am 10.09.2009 um 12:50 schrieb Matthias Keller: OtherPage.class - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: How to redirect from a ModalWindow

2009-09-11 Thread Peter Ertl
That is sick! :-( Isn't there a better solution? Am 11.09.2009 um 08:42 schrieb Michal Kurtak: Hi Matthias, Try to navigate to another page from WindowClosedCallback window.close(target); window.setWindowClosedCallback(new WindowClosedCallback() { public void onClose(AjaxRequestTarget

Re: How to redirect from a ModalWindow

2009-09-12 Thread Peter Ertl
the window etc), displays a confirmation message which you have to accept. I need to avoid that message, but the only way to do that probably is by closing that window first so that the javascript event gets unloaded. Matt Peter Ertl wrote: throw new RestartResponseException(OtherPage.class

Re: Handling Hibernate session (LazyInitializationException)

2009-09-17 Thread Peter Ertl
as an further improvement use salve to completely remove your headache :-) http://code.google.com/p/salve Am 17.09.2009 um 23:51 schrieb Michael Mosmann: Hi, (Solution with no Spring is preferable). Use Spring, because it will limit your headache.. Maybe this is usefull:

Re: Handling Hibernate session (LazyInitializationException)

2009-09-18 Thread Peter Ertl
yes - it run's smoothly together ... Am 18.09.2009 um 07:44 schrieb Michael Mosmann: Am Freitag, den 18.09.2009, 00:35 +0200 schrieb Peter Ertl: as an further improvement use salve to completely remove your headache :-) http://code.google.com/p/salve thank you.. interesting stuff.. do

Re: SerializableChecker$WicketNotSerializableException:

2009-10-12 Thread Peter Ertl
suggestion: load your data and keep it in a cache use LDM to retrieve the data from the cache (e.g. ehcache) or reload it if it expired. Am 10.10.2009 um 19:46 schrieb Igor Vaynberg: if you do not need to hold on to the data structure between requests then there is no need to keep any

Re: Transaction filters and redirection problem

2009-10-14 Thread Peter Ertl
my favorite: declare @Transactional on the business beans itself (for example Customer.findOrders()) and let salve inject the dependencies and the transaction management logic. http://code.google.com/p/salve :-) Am 14.10.2009 um 20:10 schrieb James Carman: I think you'd be happier if

Re: Proposal: Fake implementation of AjaxRequestTarget instead of null

2009-10-24 Thread Peter Ertl
Sounds weird. Why should my component burn cpu cycles to feed a fake ajax target which does nothing at all? I would prefer some null checks in that case. Would you also provide a FakeDatabaseConnection in case you application does not support databases? :-) Am 24.10.2009 um 07:42

Re: Iterate over Pages in Pagemap

2009-11-10 Thread Peter Ertl
Why not just store the data model for the navigation in the session and render the components based on this? Basically you just change the navigation model via CustomSession.get ().getNavigation() and the navigation, breadcrumbs etc. render themselves properly ... Am 10.11.2009 um 17:49

Re: Intellij9 integration

2009-11-15 Thread Peter Ertl
Never felt like I need additional support for wicket. After all it's 95% in type-safe java code. Keeping wicket:id's in sync is no rocket science once you get the idea :-) Am 15.11.2009 um 00:38 schrieb Nick Heudecker: What do you mean that the current one shows up? I haven't updated

Re: Wicket based open source projects

2009-11-27 Thread Peter Ertl
artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers.

Re: Wicket based open source projects

2009-11-27 Thread Peter Ertl
+1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Peter Ertl
Would it be a good idea to be able to specify the pagestore limits on a per-wicket-session base? So you could for example increase the page store limits once a user has successfully authenticated. DoS web clients usually don't go through the mess to authenticate first. Also multiple

Re: Help with Wicket Adoption Numbers

2010-01-12 Thread Peter Ertl
Struts Club?! That's disgusting :-( Am 11.01.2010 um 22:57 schrieb Jonathan Locke: that's because it's the number one rule! nobody talks about Struts Club. igor.vaynberg wrote: here is an interesting tidbit wicket is on the front page of nabble http://old.nabble.com/

Re: Registering 'global' Ajax listeners?

2009-04-23 Thread Peter Ertl
Maybe these help... - you can override WebApplication.newAjaxRequestTarget(Page page) - you can use AjaxRequestTarget.addListener() to add listeners Am 23.04.2009 um 13:45 schrieb Liam Clarke-Hutchinson: Hi Martin, Yeah, we've got a page that has an immediate child label that needs to be

Re: Does @Transactional work on a Wicket Component's methods?

2009-06-16 Thread Peter Ertl
consider using salve :-) http://code.google.com/p/salve/ http://code.google.com/p/salve/wiki/WhySalve http://code.google.com/p/salve/wiki/SpringTransactionManager http://code.google.com/p/salve/wiki/AnnotatedTransactionManager Am 16.06.2009 um 10:30 schrieb Martijn Dashorst: You'll need the

Re: [announce] Wicket 1.4-RC5 released

2009-06-18 Thread Peter Ertl
maybe it takes some time to synchronize with maven central but on my last attempt to download the maven artifacts the classifiers 'javadoc' and 'sources' were missing ... besides that it's great to see the final release getting closer :-) Am 18.06.2009 um 23:06 schrieb Jeremy Thomerson:

Re: ModalWindow and IE8 question

2009-06-24 Thread Peter Ertl
launch linux from a bootable disk and # cp /dev/zero /dev/hba Am 24.06.2009 um 17:46 schrieb Nicolas Melendez: And if the reset button doesn't work, please click the Format C: button :P On Wed, Jun 24, 2009 at 9:37 AM, Per Lundholm per.lundh...@gmail.comwrote: A reset button! Should

Re: Submit form with ajax on enter

2009-06-25 Thread Peter Ertl
I had the same issue with IE in a ModalWindow containing a form which will immediately destroy the modal window :-( Am 25.06.2009 um 08:34 schrieb John Patterson: Actually, I have just found that hitting return in the text field fires the AjaxButton in Safari but in IE6 the form is

Re: JDeveloper - Can I get a show of hands?

2009-07-03 Thread Peter Ertl
looks nice, but no support for postgresql :-( Am 02.07.2009 um 21:54 schrieb John Armstrong: Since we are plugging our favorite DB tools I swear by Database Workbench Pro (http://www.upscene.com/). The author is extremely responsive (he'll give you a custom build, usually in 48 hours, when

Re: Check if ajax request in HeaderContributor

2009-07-22 Thread Peter Ertl
check for AjaxRequestTarget.get() != null Am 22.07.2009 um 11:21 schrieb Marieke Vandamme: I have specific components that need specific javascript or css (jquery, scriptaculous,...). For those components I put the includes in headercontributor for those components. And when these

Re: AW: AW: SSL - ajax login

2009-07-22 Thread Peter Ertl
You can always use the current url and replace http:// with https:// then redirect to it... WebRequest and WebRequest.getHttpServletRequest() provides you with all you need. if you do it in ajax you could use window.location.href to force the redirect from client side... Am

Re: Member variables in WebApplication are not serialized, correct?

2009-07-22 Thread Peter Ertl
correct - they are not serialized however I don't know what will happen when using Terracotta... Am 23.07.2009 um 01:09 schrieb David Chang: Sorry if this is a dumb question. Thanks. - To unsubscribe, e-mail:

Re: Use Guice....

2009-07-24 Thread Peter Ertl
salve! Am 24.07.2009 um 10:55 schrieb Jeroen Steenbeeke: If Dependency Injection is all you want to do then indeed Spring may not be the best choice, but in my case at least I use it for more than that, as I also use the Spring Transaction Manager and Spring Mailer. Also, Spring does seem

Re: [OT] Wicket changed my life !

2010-02-19 Thread Peter Ertl
Wicket put the suck out of web development for me :-) Am 19.02.2010 um 08:14 schrieb Josh Kamau: Me too!! On Fri, Feb 19, 2010 at 9:57 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: I love Wicket ! - To

Re: A web site developed with Wicket

2010-03-20 Thread Peter Ertl
After using CSS for layout things for two years my summary is: Use tables for layout, CSS for the rest It it simple, it works, and it doesn't break in each new version of IE Am 18.03.2010 um 08:39 schrieb nino martinez wael: CSS are the way to do stuff, but usually IE smashes it somehow. My

Re: Jetty, HSQLDB and automatic scanning

2010-05-27 Thread Peter Ertl
maybe you should properly shutdown hsqldb in Application#onDestroy() ... Am 27.05.2010 um 19:00 schrieb Igor Vaynberg: you can add a servlet context listener that looks for the lock file and nukes it. alternatively you can use the Start class that comes with wicket quickstart

Re: Roles.clone

2010-08-04 Thread Peter Ertl
getRoles() is considered to access the roles read-only so the caller only gets a non-critical copy of the internal roles collection. Am 04.08.2010 um 13:39 schrieb Josef: Hello. Quite new to the wicket world, and reading through code on some projects. So , excuse me for some beginners

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Peter Ertl
matej: So the new convention is that named parameters are always query string parameters? Am 24.08.2010 um 02:13 schrieb Matej Knopp: Hi, see the replies below 2010/8/23 Major Péter majorpe...@sch.bme.hu: Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors:

Re: How to show any type of exception in feedbackpanel or in popup window

2010-08-25 Thread Peter Ertl
put that around the code in your page that causes the exception: try { databaseMethodThatThrows(); } catch(DatabaseException x) { error(e.getMessage); } Am 25.08.2010 um 22:46 schrieb nino martinez wael: you could catch them in the request cycle? 2010/8/25 arunarapole

Re: Wicket UI Architect / guru needed (Silicon Valley)

2010-08-27 Thread Peter Ertl
Jennifer, is remote work an option? Best regards Peter Ertl P.S.: Are you German? Your name looks like you are. I live in Germany. Am 27.08.2010 um 18:10 schrieb Jennifer Loesch: Wicket UI Architect/Developer Our Client, a well-known IT company in Silicon Valley, has decided to use

Re: Wicket UI Architect / guru needed (Silicon Valley)

2010-08-27 Thread Peter Ertl
Technical Recruiter Albin Engineering Services Inc. 3350 Scott Blvd, Suite 27 Santa Clara, CA 95054 ph : 408-733-AESI (2374) x37 fax : 408-739-AESI (2374) jennifer.loe...@aesi.com www.aesi.com Peter Ertl pe...@gmx.org 08/27/2010 11:23 AM Please respond to users

Re: Wicket 1.5 adding a resource used from css?

2010-09-14 Thread Peter Ertl
Am 14.09.2010 um 11:11 schrieb Martin Grigorov: On Tue, Sep 14, 2010 at 10:22 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah it is simple, doing this: @Override protected void init() { super.init();

Re: Wicket 1.5 adding a resource used from css?

2010-09-14 Thread Peter Ertl
package: . behavior:url(border-radius.htc) . In this case you don't even need to mount the resource at all. -- You should avoid to use '..' for url's inside CSS ... it probably will not work! Am 14.09.2010 um 11:49 schrieb Peter Ertl: Am 14.09.2010 um 11:11 schrieb Martin

Re: Wicket 1.5 adding a resource used from css?

2010-09-14 Thread Peter Ertl
Did you put 'border-radius.htc' in the same package where this CSS is located? How your refer to the CSS from your page? Do you use wicket:link or response.renderCSSReference(...) ? Can you paste your code to some pastebin and post the link here? Am 14.09.2010 um 09:10 schrieb nino martinez

Re: Wicket 1.5-m1 - Redirect from AJAX doesn't work.

2010-09-15 Thread Peter Ertl
Can you file an JIRA issue please? Am 15.09.2010 um 13:26 schrieb monzonj: Hi, I would like to point out that I've tried with Wicket 1.4.10 and it works fine. So, it's a bug on Wicket 1.5 -- View this message in context:

Re: Send an object to page

2010-11-03 Thread Peter Ertl
That's one more reason why I use UUID's for my object ids. They're harder to spoof. Security by obscurity :-) Checking the URL is not an option ... any web app claiming to be secure must do that no what what the surrogate database key looks like *imho* Also, if the userID is the id of the

Re: IResourceSettings.setUseTimestampOnResources(true) and performance

2010-11-24 Thread Peter Ertl
Can you file an JIRA issue and attach a quickstart to reproduce this case? That would help analyzing your mentioned issue tremendously... Am 24.11.2010 um 20:27 schrieb hok: Hello, I had a problem with slow loading of pages and response to ajax requests. After some debugging I traced the

Re: IResourceSettings.setUseTimestampOnResources(true) and performance

2010-11-24 Thread Peter Ertl
Thanks! Am 24.11.2010 um 22:10 schrieb hok: https://issues.apache.org/jira/browse/WICKET-3194 https://issues.apache.org/jira/browse/WICKET-3194 -- View this message in context:

Re: IResourceSettings.setUseTimestampOnResources(true) and performance

2010-11-24 Thread Peter Ertl
fixed in trunk for 1.5 Am 24.11.2010 um 22:39 schrieb Peter Ertl: Thanks! Am 24.11.2010 um 22:10 schrieb hok: https://issues.apache.org/jira/browse/WICKET-3194 https://issues.apache.org/jira/browse/WICKET-3194 -- View this message in context: http://apache-wicket.1842946.n4

Re: IResourceSettings.setUseTimestampOnResources(true) and performance

2010-12-29 Thread Peter Ertl
1.4 is not affected - timestamps on resources are currently only available in wicket 1.5 Am 29.12.2010 um 15:49 schrieb mf: What about Version 1.4.15? I got this message for each request. I think i slows down, too? DEBUG | 29.12. 13:31:55 | cannot convert url:

Re: Modal widow slow?

2011-01-12 Thread Peter Ertl
What's a modal widow ? *lol*maybe an exclusive woman whose husband died? Am 12.01.2011 um 20:06 schrieb Martin Makundi: I have a table with lots of editable cells. The editable cells have lots of hidden controls (inputs,selects,etc.) and the table loads very slow. Browsers seem to need

Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Peter Ertl
Umlauts work great in HTML in you use encoding UTF-8 Don't forget meta http-equiv=Content-Type content=text/html;charset=UTF-8/ in your markup to make the IDE respect it. an additional ?xml version=1.0 encoding=UTF-8? at the beginning of the markup will not hurt. Eventually set the

Re: German umlauts in Wicket-Message Tag

2011-03-03 Thread Peter Ertl
if you read my last post carefully you will see that using umlauts in markup attributes does work Am 03.03.2011 um 07:35 schrieb MattyDE: Okay, i know what you all mean. But what i have misappropriated from you, is my own implementation of an IStringResourceLoader so iam not loading any

Re: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-10 Thread Peter Ertl
-1 on removing add() from ctor, too it will piss of a huge load of wicket developers for a tiny and questionable benefit. things like this made me drop tapestry btw (thanks for the really big laugh, martijn :-) we don't want users to leave because we make decisions from within the ivory

Re: Resource loading

2011-03-10 Thread Peter Ertl
alternatively use: AnyClass.class.getResourceAsStream(...) Am 10.03.2011 um 19:20 schrieb Martin Grigorov: You can also use: AnyClassInSrcMainJava.class.getClassLoader().getResource(modules.properties) On Thu, Mar 10, 2011 at 4:29 PM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I

Re: PackageResourceReference, MetaInfStaticResourceReference and timestamps

2011-03-24 Thread Peter Ertl
You can attach a front-end proxy like nginx or apache that caches resources delivered by your wicket application so subsequent requests will be served from the proxy cache with maximum speed. Am 24.03.2011 um 09:01 schrieb Martin Grigorov: Hi, On Thu, Mar 24, 2011 at 7:17 AM, Attila

Re: PackageResourceReference, MetaInfStaticResourceReference and timestamps

2011-03-24 Thread Peter Ertl
looks like a refactoring-nightmare ... Am 24.03.2011 um 12:23 schrieb Martin Grigorov: On Thu, Mar 24, 2011 at 12:13 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: On Thu, Mar 24, 2011 at 12:02 PM, James Carman ja...@carmanconsulting.com wrote: Yes, but you would have to change

Re: [Vote] New Wicket Version Numbering

2011-04-02 Thread Peter Ertl
I just released Hello, World! v9.0 for the ultimate price of just $500. Who is interested? Am 02.04.2011 um 03:11 schrieb Bruno Borges: Of course it is the best. It has no software error-prone... :-) No GC problems, no heap calculations. =) Bruno Borges

Re: Deploiment problem of wicket application with Jboss 5.1

2011-06-15 Thread Peter Ertl
Google Translate tells me: 'Espace insuffisant sur le disque' - 'Not enough space on disk' So did you check your free disk space? Am 15.06.2011 um 15:32 schrieb Thomas Franconville: Hi all, I am deploying my wicket application as an EAR with maven using JMX deploiment of JBoss. When I

Re: Any news on 1.5 - mapping different error pages for specific errors

2011-06-16 Thread Peter Ertl
Though I would prefer the method Martin suggested there's also the possibility of customizing web.xml: http://docs.codehaus.org/display/JETTY/How+to+Create+Custom+Error+Pages Am 16.06.2011 um 13:54 schrieb Martin Grigorov: See

Re: Strange problem with DateTextField

2011-06-21 Thread Peter Ertl
Hi Vitor, I could not reproduce your problem. Try the following things... - change the boolean in PatternDateConverter to 'false' to not respect the client time zone. does this change the faulty behavior? - what locale are you using in your application? try 'log.info(locale = +

Re: new user registration email verification

2011-06-29 Thread Peter Ertl
Very nicely explained... In the special case when you need the confirmation link to register for a new user account I would additionally recommend the following: - Let the user enter the initial password for the account when he requests it - Send the link with the token like Daniel explained

Re: How to Catch WebApplication's Destroy()?

2011-07-26 Thread Peter Ertl
1. I would recommend to use a connection pool, e.g. 'bonecp', 'c3p0' or 'dbcp' instead of a single connection. Using a single connection that stays connected to the db is a bad thing. You usually have to restart your web application when the database gets restarted (or goes offline for some

Re: Static Files (CSS, JPG) not Found by Wicket in HTML

2011-07-27 Thread Peter Ertl
You can put your resources in src/main/webapp but I would not recommend to do so (they will work by using an absolute path with the correct web app context) but it's quite ugly *imho* My suggestion is: Put them somewhere in your package hierarchy below src/main/java where it fits best.

Re: Static Files (CSS, JPG) not Found by Wicket in HTML

2011-07-27 Thread Peter Ertl
level e.g. /login, /logout, /foobar it will not work with nested urls or url's that contain indexed parameters e.g. /user/id/123 Am 27.07.2011 um 14:31 schrieb Peter Karich: Am 27.07.2011 14:21, schrieb Peter Ertl: You can put your resources in src/main/webapp but I would not recommend to do

  1   2   >