By Pass the rendering strategie and set the HTTP return code

2013-01-09 Thread Gaetan Zoritchak
Hi all, I've got a public website on which I fight against spammer. In the case of a form submit by a spamer, I would like to return a basic response with an error code 500 (I hope that the tools used by spamer check the return code to optimize the list of sites they spam). I don't find where

Re: By Pass the rendering strategie and set the HTTP return code

2013-01-09 Thread Gaetan Zoritchak
This is actually the easiest way. No control on the rendering but a good 500 code status. Thanks, 2013/1/9 francois meillet francois.meil...@gmail.com throw new AbortWithHttpErrorCodeException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR)

Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Gaetan Zoritchak
Hello, I don't know what is the best way of impleting that in Wicket That's my use case: - the user has to select a customer in a field of a form, - he starts to type some characters, - the list shows some possibilities based on a database request using the first and last names, the email, ... -

Re: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Gaetan Zoritchak
examples. Thanks Ivan for a great job! ~ Thank you, Paul Bors -Original Message- From: Gaetan Zoritchak [mailto:g.zoritc...@moncoachfinance.com] Sent: Wednesday, October 24, 2012 9:39 AM To: users@wicket.apache.org Subject: Using AutocompleteTextField with database entries (without

Using Autocomplete with a

2012-10-22 Thread Gaetan Zoritchak
Hi, I want to have a behavior similar to AutoCompleteTextField but without the conversion. That's my use case: - the user has to select a customer in a field, - he starts to type some characters, - the list shows some possibilities based on a database request using the first and last names, the

Bookmarkablepagelink with anchor

2012-05-15 Thread Gaetan Zoritchak
Hi all, I wanted to make a link on a Bookmarkablepage with an anchor. I didn't find how to do it. The link has a setAnchor(Component) method but it can't be that because the targeted anchor does not exist yet. My hope was that the method would take a String as parameter:

Re: Bookmarkablepagelink with anchor

2012-05-15 Thread Gaetan Zoritchak
it in the constructor or even model to the BookmarkablePageLink. In the override we call super.getURL() and then append an anchor. I see pretty much the same logic in some inner class of AutoLinkResolver -- so we are on the right way :) Regards, Alex. 2012/5/15 Gaetan Zoritchak g.zoritc

Injection in a Resource

2012-02-07 Thread Gaetan Zoritchak
Hi all, I use guice in my applications. I need to inject some code (service) in a DynamicImageResource. It is not straightforward because a Resource is not a component. Does anybody has already done that? What would be the best way? Thanks in advance,

Re: Injection in a Resource

2012-02-07 Thread Gaetan Zoritchak
Thanks for that quick answer. 2012/2/7 Carl-Eric Menzel cmen...@wicketbuch.de On Tue, 7 Feb 2012 16:08:37 +0100 Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: Hi all, I use guice in my applications. I need to inject some code (service) in a DynamicImageResource

Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-11-29 Thread Gaetan Zoritchak
I had this problem during the migration from wicket 1.4 to wicket 1.5 The problems occurs under chrome, safari and wicket 1.5 Scenario with an AjaxEditableMultiLineLabel : 1. The user puts the focus on the AjaxEditableMultiLineLabel and edit the field. 2. Without focusing out of the editable

Re: Apache Wicket is a Flawed Framework

2011-11-22 Thread Gaetan Zoritchak
:30 PM, Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: I must admit that I agree with you. While I think Wicket is a great framework, the documentation is not up to par. This tool seems a little too elitist. If you're strong enough you will find a great framework. It's a shame

Re: Apache Wicket is a Flawed Framework

2011-11-22 Thread Gaetan Zoritchak
Super cool list, thanks a lot. 2011/11/18 robert.mcguinness robert.mcguinness@gmail.com i'm baffled when people say the documentation is poor, the javadocs are excellent and like igor said there are some great books (blogs too!). books and blogs get outdated fast since technlogy is

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Gaetan Zoritchak
I started with the book wicket in action so it was ok. Before choosing a technology I look at the number of existing books and I buy the best one. But I'm not sure that every body does like me. My main problem is the wiki. The pages are often very old explaining things that do not apply with the

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Gaetan Zoritchak
The Play Framework has the right idea: stateless and restful. No clunky components and over-engineered objected-oriented baggage. Play has some advantages but also shortcomings and presents significant risks. The transition from version 1 to version 2 will require re-writing the code. No

Re: Apache Wicket is a Flawed Framework

2011-11-17 Thread Gaetan Zoritchak
I must admit that I agree with you. While I think Wicket is a great framework, the documentation is not up to par. This tool seems a little too elitist. If you're strong enough you will find a great framework. It's a shame because even if the mailing list is very effective it slows down the

Re: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Gaetan Zoritchak
at 12:48 AM, Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: The problems occurs under chrome, safari and wicket 1.5. Scenario with an AjaxEditableLabel : 1. The user puts the focus on the AjaxEditableLabel and edit the field. 2. Without focusing out of the editable label, the user

Re: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Gaetan Zoritchak
its org.apache.wicket.behavior.Behavior.canCallListenerInterface(Component) On Thu, Oct 20, 2011 at 10:44 AM, Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: So is it a bug or a regression (because it was working on W1.4)? Even, if the event is fired when leaving the tab, I don't

Re: Removing jsessionid in wicket 1.5

2011-10-11 Thread Gaetan Zoritchak
isAgent(agent) ? url : super.encodeURL(url); } };} Please update the wiki page if that works. Thanks! On Mon, Oct 10, 2011 at 11:34 PM, Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: Hi, Removing the jsessionid for scrawling robots is important to avoid

Removing jsessionid in wicket 1.5

2011-10-10 Thread Gaetan Zoritchak
Hi, Removing the jsessionid for scrawling robots is important to avoid the duplicate content problem. The solution proposed in the wiki https://cwiki.apache.org/WICKET/seo-search-engine-optimization.html is not working anymore. Does anyone knows the new way of doing it in wicket 1.5? Thanks in

Re: Community tools

2011-10-08 Thread Gaetan Zoritchak
2011/10/7 Clint Checketts checke...@gmail.com So what is the best way (official? permanent?) to link to a previous response? In 6 months when someone has a similar question, what is the official way to link to previous answers? Equally, what is the best way to improve those answers if the

Re: Community tools

2011-10-07 Thread Gaetan Zoritchak
I fully understand the risk of relying on an external and uncontrolled party. The best of breed solution would be to have SO like a Q A for wicket based on an open source implementation like Bert mentionned. For the mailing list, I think the advantage of reading the messages on his phone is

Community tools

2011-10-06 Thread Gaetan Zoritchak
First of all, I love wicket. I think it's a very effective framework, with an active community. But ... I regret that some tools reduce its visibility. I think, in particular, the mode of exchange based on a mailing list is quite outdated. This mailing list which requires subscription limits the

Re: Community tools

2011-10-06 Thread Gaetan Zoritchak
Heh. You just said we have a very active community. While I do like Stack Overflow for many things, it's not a true way of building a community. It's a way of asking questions. (Yes, this is just my opinion - not meaning to start a flamewar). We have a vibrant community here - I don't

Re: updating page version after an ajax request

2010-09-17 Thread Gaetan Zoritchak
I'm waiting for a long time for the resolution of this bug wich is very important in regards on the use of Ajax nowadays. Unfortunately, the resolution has always been delayed and I don't know enough Wicket to try to resolve it. :( 2010/9/17 Josh Kamau joshnet2...@gmail.com hello, Is there a

Wicket Pattern to reduce session size

2010-01-28 Thread Gaetan Zoritchak
in a static bloc. Is it an valid way of handling that problem? Gaetan Zoritchak,

Re: Wicket Pattern to reduce session size

2010-01-28 Thread Gaetan Zoritchak
variable. On Thu, Jan 28, 2010 at 8:28 AM, Gaetan Zoritchak g.zoritc...@virtual-soft.com wrote: Hi all, I was debugging my sessions size in order to reduce it and I saw that one of my page spend 20ko because of an dynamic image generated with JFreeChart. JFreeChart was serialized