<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13977</id>
	<title>Nabble - Wicket - Dev</title>
	<updated>2009-11-25T13:56:06Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Wicket---Dev-f13977.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wicket---Dev-f13977.html" />
	<subtitle type="html">This list is for Wicket or Wicket Stuff developers only. User questions should be asked on the user list.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26520972</id>
	<title>PropertyModels *without* strings</title>
	<published>2009-11-25T13:56:06Z</published>
	<updated>2009-11-25T13:56:06Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">&lt;a href=&quot;http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/&lt;/a&gt;&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PropertyModels-*without*-strings-tp26520972p26520972.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493247</id>
	<title>Re: Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-24T02:00:46Z</published>
	<updated>2009-11-24T02:00:46Z</updated>
	<author>
		<name>nino martinez wael</name>
	</author>
	<content type="html">Argh, that is horrible. :(
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/17 Igor Vaynberg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493247&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor.vaynberg@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; not to mention that some components have 6 constructors, and that
&lt;br&gt;&amp;gt; means having 6 of methods :|
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -igor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 17, 2009 at 9:33 AM, Jeremy Thomerson
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493247&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Because we'll get questions to the list like:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; How can I create my own component since I have to instantiate them using
&lt;br&gt;&amp;gt; &amp;gt; Label.of(&amp;quot;foo&amp;quot;, PropertyModel.of(bar, &amp;quot;foo&amp;quot;))? &amp;nbsp;How can I override that?
&lt;br&gt;&amp;gt; &amp;nbsp;Do
&lt;br&gt;&amp;gt; &amp;gt; I have to override the static method &amp;quot;of&amp;quot;?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sadly, I think that's what it will cause.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Tue, Nov 17, 2009 at 10:50 AM, nino martinez wael &amp;lt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493247&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nino.martinez.wael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; im +1, unless Jeremy can tell why he believes it will hit a anti
&lt;br&gt;&amp;gt; patter..
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 2009/11/16 Jeremy Thomerson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493247&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; On Sun, Nov 15, 2009 at 11:39 AM, Martijn Dashorst &amp;lt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493247&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; i.e. ModelType.of(....)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; I am +1 for adding these methods.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I'm +1 for the model-type methods, although there are so many models
&lt;br&gt;&amp;gt; that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; are not final classes that it really won't save tons of code. &amp;nbsp;Mainly
&lt;br&gt;&amp;gt; in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; *PropertyModel family.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; We can do the same for components, although the benefit is typically
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; less, and it might even send our users down the wrong path thinking
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; they can't use the 'new' keyword.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;,
&lt;br&gt;&amp;gt; PropertyModel.of(foo,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;property&amp;quot;));
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I'm -1 on doing it for components. &amp;nbsp;I think it will lead to an
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; anti-pattern.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26493247.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486278</id>
	<title>Re: http://wicket.apache.org</title>
	<published>2009-11-23T13:31:03Z</published>
	<updated>2009-11-23T13:31:03Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">ok :( do you have time to fix up what is there now and add a note to
&lt;br&gt;our release doc?
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 1:29 PM, Martijn Dashorst
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486278&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 10:01 PM, Igor Vaynberg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486278&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor.vaynberg@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; or are we stuck having to add news in two different places?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Usually I move stuff from the homepage to the news archive... to make
&lt;br&gt;&amp;gt; the home page load faster. Typically only the last 3 news items on the
&lt;br&gt;&amp;gt; front page are useful.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There's no cms available that suits infra needs, and that is
&lt;br&gt;&amp;gt; manageable by us. Or you'd rather work with anakia (again).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Martijn
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Become a Wicket expert, learn from the best: &lt;a href=&quot;http://wicketinaction.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicketinaction.com&lt;/a&gt;&lt;br&gt;&amp;gt; Apache Wicket 1.4 increases type safety for web applications
&lt;br&gt;&amp;gt; Get it now: &lt;a href=&quot;http://www.apache.org/dyn/closer.cgi/wicket/1.4.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.apache.org/dyn/closer.cgi/wicket/1.4.0&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/http%3A--wicket.apache.org-tp26475887p26486278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486251</id>
	<title>Re: Session Invalidation Options</title>
	<published>2009-11-23T13:30:01Z</published>
	<updated>2009-11-23T13:30:01Z</updated>
	<author>
		<name>nino martinez wael</name>
	</author>
	<content type="html">Hehe, nice one. Never thought of that.
&lt;br&gt;&lt;br&gt;regards Nino
&lt;br&gt;2009/11/20 Michael Mosmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486251&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've got a business requirement that session invalidation must not be a
&lt;br&gt;&amp;gt; disruptive event (no &amp;quot;expired session&amp;quot; warning or anything similar).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is session invalidation an requirement? Put a container into your
&lt;br&gt;&amp;gt; session and throw it away if you want to invalidate the &amp;quot;user session&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; mm:)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-Invalidation-Options-tp26435069p26486251.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486235</id>
	<title>Re: http://wicket.apache.org</title>
	<published>2009-11-23T13:29:11Z</published>
	<updated>2009-11-23T13:29:11Z</updated>
	<author>
		<name>Martijn Dashorst</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 10:01 PM, Igor Vaynberg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor.vaynberg@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; or are we stuck having to add news in two different places?
&lt;br&gt;&lt;br&gt;Usually I move stuff from the homepage to the news archive... to make
&lt;br&gt;the home page load faster. Typically only the last 3 news items on the
&lt;br&gt;front page are useful.
&lt;br&gt;&lt;br&gt;There's no cms available that suits infra needs, and that is
&lt;br&gt;manageable by us. Or you'd rather work with anakia (again).
&lt;br&gt;&lt;br&gt;Martijn
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Become a Wicket expert, learn from the best: &lt;a href=&quot;http://wicketinaction.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicketinaction.com&lt;/a&gt;&lt;br&gt;Apache Wicket 1.4 increases type safety for web applications
&lt;br&gt;Get it now: &lt;a href=&quot;http://www.apache.org/dyn/closer.cgi/wicket/1.4.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.apache.org/dyn/closer.cgi/wicket/1.4.0&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/http%3A--wicket.apache.org-tp26475887p26486235.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26485764</id>
	<title>Re: http://wicket.apache.org</title>
	<published>2009-11-23T13:01:54Z</published>
	<updated>2009-11-23T13:01:54Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">martijn, considering we are already limited to static-only content by
&lt;br&gt;our publishing, what are our options for using something then then
&lt;br&gt;confluence to generate the site?
&lt;br&gt;&lt;br&gt;can we use some cms to manage the site somewhere and then push a
&lt;br&gt;static export to apache?
&lt;br&gt;&lt;br&gt;or are we stuck having to add news in two different places?
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 2:51 AM, nino martinez wael
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26485764&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nino.martinez.wael@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Guys
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Im wondering why:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wicket.apache.org/news.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicket.apache.org/news.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does not contain same information as this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wicket.apache.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicket.apache.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mainly the information about releases..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards Nino
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/http%3A--wicket.apache.org-tp26475887p26485764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475887</id>
	<title>http://wicket.apache.org</title>
	<published>2009-11-23T02:51:11Z</published>
	<updated>2009-11-23T02:51:11Z</updated>
	<author>
		<name>nino martinez wael</name>
	</author>
	<content type="html">Hi Guys
&lt;br&gt;&lt;br&gt;Im wondering why:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://wicket.apache.org/news.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicket.apache.org/news.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Does not contain same information as this:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://wicket.apache.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicket.apache.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Mainly the information about releases..
&lt;br&gt;&lt;br&gt;regards Nino
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/http%3A--wicket.apache.org-tp26475887p26475887.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26442229</id>
	<title>Re: Session Invalidation Options</title>
	<published>2009-11-20T04:02:27Z</published>
	<updated>2009-11-20T04:02:27Z</updated>
	<author>
		<name>michael mosmann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;gt; I've got a business requirement that session invalidation must not be a disruptive event (no &amp;quot;expired session&amp;quot; warning or anything similar).
&lt;br&gt;&lt;br&gt;Is session invalidation an requirement? Put a container into your
&lt;br&gt;session and throw it away if you want to invalidate the &amp;quot;user session&amp;quot;.
&lt;br&gt;&lt;br&gt;mm:)
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-Invalidation-Options-tp26435069p26442229.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26435938</id>
	<title>Re: Session Invalidation Options</title>
	<published>2009-11-19T15:18:32Z</published>
	<updated>2009-11-19T15:18:32Z</updated>
	<author>
		<name>Hawk Newton</name>
	</author>
	<content type="html">On Nov 19, 2009, at 2:24 PM, Igor Vaynberg wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On Thu, Nov 19, 2009 at 2:15 PM, Hawk Newton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26435938&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hnewton@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; 2. Extend WebRequestCycle.onRuntimeException() to redirect the browser back to the target page instead of the &amp;quot;expired session&amp;quot; error page. &amp;nbsp;This approach has the drawback that the model will be reset which will cause the page to revert to default values. &amp;nbsp;Ultimately, initializing the page using values from a cookie or some other stateful store that is not tied to the user's session would be ideal, if possible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unless you encode the page class into every url there is no way to
&lt;br&gt;&amp;gt; know what page was being accessed once the session is expired.
&lt;br&gt;&lt;br&gt;I got this working today provided each page is mounted as bookmarkable. &amp;nbsp;I might be missing some of the long-reaching implications, but here's the code if anyone is interested in it:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // In my WicketApplication class:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public RequestCycle newRequestCycle(Request request, Response response) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new WebRequestCycle(this, (WebRequest)request, (WebResponse)response) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Page onRuntimeException(Page page, RuntimeException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(e instanceof PageExpiredException) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IRequestCycleProcessor processor = WicketApplication.this.getRequestCycleProcessor();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RequestParameters params = request.getRequestParameters();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // We're just looking for the original page, not a component on that page.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String interfaceName = params.getInterfaceName();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Strip the interfaceName from the request so we can get the original target
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; params.setInterfaceName(null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IRequestTarget target = processor.resolve(this, params);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; params.setInterfaceName(interfaceName);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(target != null &amp;&amp; target instanceof BookmarkablePageRequestTarget) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Class&amp;lt;? extends Page&amp;gt; pageClass = ((BookmarkablePageRequestTarget)target).getPageClass();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RequestCycle.get();	// I'm not 100% on why I need this.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CharSequence path = processor.getRequestCodingStrategy().pathForTarget(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new BookmarkablePageRequestTarget(pageClass));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(path != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // This is a bookmarkable page, so lets send the user to the bookmark
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RequestCycle.get().setRedirect(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new RestartResponseException(pageClass);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 3. Use an external store instead of the J2EE session (like a RDBMS) with a data-retention policy so high the chance of a ajax request being issued against a page which has expired is practically nil. &amp;nbsp;We'd also probably need to implement our own encoder to ensure the session id is placed on every link to survive J2EE session invalidation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; or simply set the j2ee session timeout to a high value. servlet
&lt;br&gt;&amp;gt; containers these days can swap inactive sessions to disk to keep the
&lt;br&gt;&amp;gt; memory overhead low. same effect and no need to deal with a database.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -igor
&lt;br&gt;&lt;br&gt;Thank you, with a high enough session timeout and a disk-backed session overflow we should be good.
&lt;br&gt;&lt;br&gt;-- Hawk</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-Invalidation-Options-tp26435069p26435938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26435215</id>
	<title>Re: Session Invalidation Options</title>
	<published>2009-11-19T14:24:35Z</published>
	<updated>2009-11-19T14:24:35Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">On Thu, Nov 19, 2009 at 2:15 PM, Hawk Newton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26435215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hnewton@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello Wicket folx.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; First and foremost I want to commend you on an excellent job putting together a truly impressive best-in-class framework.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm in the process of evaluating Wicket for a large-scale ajax-heavy enterprise application.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've got a business requirement that session invalidation must not be a disruptive event (no &amp;quot;expired session&amp;quot; warning or anything similar).
&lt;br&gt;&lt;br&gt;if this is a hard requirement you may be best served by a client-side
&lt;br&gt;framework like gwt or extjs.
&lt;br&gt;&lt;br&gt;&amp;gt; Some of the most obvious options:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. Get rid of session requirements all together by using client-side models instead of server side models so we don't have the session invalidation issue.  This seems to be in line with &amp;quot;The next version of Wicket will support client-side models for zero-state scalability&amp;quot; line item on the features page.  After searching the list archives I've not seen much traction on this front.  Are there any potential designs being considered or other resources I could use to educate myself?
&lt;br&gt;&lt;br&gt;no, we have evaluated this option and decided not to pursue it
&lt;br&gt;further. the discussions are on the list if you want to search, but
&lt;br&gt;the agreement was that ram is cheap, disks are even cheaper, and the
&lt;br&gt;overhead of pushing all relevant state to the client is too high. we
&lt;br&gt;have built support for stateless pages, but there is no support for
&lt;br&gt;stateless ajax, and in order to keep a stateless page stateless you
&lt;br&gt;are limited to a subset of components offered by wicket which are
&lt;br&gt;themselves stateless.
&lt;br&gt;&lt;br&gt;&amp;gt; 2. Extend WebRequestCycle.onRuntimeException() to redirect the browser back to the target page instead of the &amp;quot;expired session&amp;quot; error page.  This approach has the drawback that the model will be reset which will cause the page to revert to default values.  Ultimately, initializing the page using values from a cookie or some other stateful store that is not tied to the user's session would be ideal, if possible.
&lt;br&gt;&lt;br&gt;unless you encode the page class into every url there is no way to
&lt;br&gt;know what page was being accessed once the session is expired.
&lt;br&gt;&lt;br&gt;&amp;gt; 3. Use an external store instead of the J2EE session (like a RDBMS) with a data-retention policy so high the chance of a ajax request being issued against a page which has expired is practically nil.  We'd also probably need to implement our own encoder to ensure the session id is placed on every link to survive J2EE session invalidation.
&lt;br&gt;&lt;br&gt;or simply set the j2ee session timeout to a high value. servlet
&lt;br&gt;containers these days can swap inactive sessions to disk to keep the
&lt;br&gt;memory overhead low. same effect and no need to deal with a database.
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;&amp;gt; We are most-interested in contributing any substantial work back to the community so pointers to style guidelines or other contribution-centric resources are greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you very much.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- Hawk Newton
&lt;br&gt;&amp;gt; Enterprise Architect
&lt;br&gt;&amp;gt; Cobalt Group, Inc.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-Invalidation-Options-tp26435069p26435215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26435069</id>
	<title>Session Invalidation Options</title>
	<published>2009-11-19T14:15:01Z</published>
	<updated>2009-11-19T14:15:01Z</updated>
	<author>
		<name>Hawk Newton</name>
	</author>
	<content type="html">Hello Wicket folx.
&lt;br&gt;&lt;br&gt;First and foremost I want to commend you on an excellent job putting together a truly impressive best-in-class framework.
&lt;br&gt;&lt;br&gt;I'm in the process of evaluating Wicket for a large-scale ajax-heavy enterprise application.
&lt;br&gt;&lt;br&gt;I've got a business requirement that session invalidation must not be a disruptive event (no &amp;quot;expired session&amp;quot; warning or anything similar).
&lt;br&gt;&lt;br&gt;Some of the most obvious options:
&lt;br&gt;&lt;br&gt;1. Get rid of session requirements all together by using client-side models instead of server side models so we don't have the session invalidation issue. &amp;nbsp;This seems to be in line with &amp;quot;The next version of Wicket will support client-side models for zero-state scalability&amp;quot; line item on the features page. &amp;nbsp;After searching the list archives I've not seen much traction on this front. &amp;nbsp;Are there any potential designs being considered or other resources I could use to educate myself?
&lt;br&gt;&lt;br&gt;2. Extend WebRequestCycle.onRuntimeException() to redirect the browser back to the target page instead of the &amp;quot;expired session&amp;quot; error page. &amp;nbsp;This approach has the drawback that the model will be reset which will cause the page to revert to default values. &amp;nbsp;Ultimately, initializing the page using values from a cookie or some other stateful store that is not tied to the user's session would be ideal, if possible.
&lt;br&gt;&lt;br&gt;3. Use an external store instead of the J2EE session (like a RDBMS) with a data-retention policy so high the chance of a ajax request being issued against a page which has expired is practically nil. &amp;nbsp;We'd also probably need to implement our own encoder to ensure the session id is placed on every link to survive J2EE session invalidation.
&lt;br&gt;&lt;br&gt;We are most-interested in contributing any substantial work back to the community so pointers to style guidelines or other contribution-centric resources are greatly appreciated.
&lt;br&gt;&lt;br&gt;Thank you very much.
&lt;br&gt;&lt;br&gt;-- Hawk Newton
&lt;br&gt;Enterprise Architect
&lt;br&gt;Cobalt Group, Inc.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Session-Invalidation-Options-tp26435069p26435069.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26417913</id>
	<title>Re: if this is true.</title>
	<published>2009-11-18T15:42:32Z</published>
	<updated>2009-11-18T15:42:32Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">meanwhile i am working on bindgen.org to make it play nice with wicket.
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;On Wed, Nov 18, 2009 at 3:38 PM, Johan Compagner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26417913&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jcompagner@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://java.dzone.com/news/closures-coming-java-7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.dzone.com/news/closures-coming-java-7&lt;/a&gt;&amp;nbsp;-&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://docs.google.com/Doc?id=ddhp95vd_6hg3qhc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.google.com/Doc?id=ddhp95vd_6hg3qhc&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; then that would pretty much solve our none static typed property model in
&lt;br&gt;&amp;gt; java 7
&lt;br&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/if-this-is-true.-tp26417872p26417913.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26417872</id>
	<title>if this is true.</title>
	<published>2009-11-18T15:38:28Z</published>
	<updated>2009-11-18T15:38:28Z</updated>
	<author>
		<name>Johan Compagner</name>
	</author>
	<content type="html">&lt;a href=&quot;http://java.dzone.com/news/closures-coming-java-7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.dzone.com/news/closures-coming-java-7&lt;/a&gt;&amp;nbsp;-&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://docs.google.com/Doc?id=ddhp95vd_6hg3qhc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.google.com/Doc?id=ddhp95vd_6hg3qhc&lt;/a&gt;&lt;br&gt;&lt;br&gt;then that would pretty much solve our none static typed property model in
&lt;br&gt;java 7
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/if-this-is-true.-tp26417872p26417872.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26417504</id>
	<title>Wicket-auth-roles : French translation</title>
	<published>2009-11-18T15:07:53Z</published>
	<updated>2009-11-18T15:07:53Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;I opened a JIRA
&lt;br&gt;(WICKET-2581&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-2581&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-2581&lt;/a&gt;&amp;gt;)
&lt;br&gt;asking to translate wicket-auth-roles resources to French, and provided a
&lt;br&gt;patch that does just that.
&lt;br&gt;Hope that helps !
&lt;br&gt;&lt;br&gt;Olivier
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wicket-auth-roles-%3A-French-translation-tp26417504p26417504.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26394203</id>
	<title>Re: Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-17T09:36:15Z</published>
	<updated>2009-11-17T09:36:15Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">not to mention that some components have 6 constructors, and that
&lt;br&gt;means having 6 of methods :|
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;On Tue, Nov 17, 2009 at 9:33 AM, Jeremy Thomerson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394203&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Because we'll get questions to the list like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How can I create my own component since I have to instantiate them using
&lt;br&gt;&amp;gt; Label.of(&amp;quot;foo&amp;quot;, PropertyModel.of(bar, &amp;quot;foo&amp;quot;))?  How can I override that?  Do
&lt;br&gt;&amp;gt; I have to override the static method &amp;quot;of&amp;quot;?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sadly, I think that's what it will cause.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 17, 2009 at 10:50 AM, nino martinez wael &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394203&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nino.martinez.wael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; im +1, unless Jeremy can tell why he believes it will hit a anti patter..
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/11/16 Jeremy Thomerson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394203&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Sun, Nov 15, 2009 at 11:39 AM, Martijn Dashorst &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394203&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; i.e. ModelType.of(....)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; I am +1 for adding these methods.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I'm +1 for the model-type methods, although there are so many models that
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; are not final classes that it really won't save tons of code.  Mainly in
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; *PropertyModel family.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; We can do the same for components, although the benefit is typically
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; less, and it might even send our users down the wrong path thinking
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; they can't use the 'new' keyword.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;, PropertyModel.of(foo,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;property&amp;quot;));
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I'm -1 on doing it for components.  I think it will lead to an
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; anti-pattern.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26394203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26394149</id>
	<title>Re: Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-17T09:33:37Z</published>
	<updated>2009-11-17T09:33:37Z</updated>
	<author>
		<name>jthomerson</name>
	</author>
	<content type="html">Because we'll get questions to the list like:
&lt;br&gt;&lt;br&gt;How can I create my own component since I have to instantiate them using
&lt;br&gt;Label.of(&amp;quot;foo&amp;quot;, PropertyModel.of(bar, &amp;quot;foo&amp;quot;))? &amp;nbsp;How can I override that? &amp;nbsp;Do
&lt;br&gt;I have to override the static method &amp;quot;of&amp;quot;?
&lt;br&gt;&lt;br&gt;Sadly, I think that's what it will cause.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Jeremy Thomerson
&lt;br&gt;&lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Nov 17, 2009 at 10:50 AM, nino martinez wael &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nino.martinez.wael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; im +1, unless Jeremy can tell why he believes it will hit a anti patter..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/16 Jeremy Thomerson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Sun, Nov 15, 2009 at 11:39 AM, Martijn Dashorst &amp;lt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394149&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; i.e. ModelType.of(....)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I am +1 for adding these methods.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm +1 for the model-type methods, although there are so many models that
&lt;br&gt;&amp;gt; &amp;gt; are not final classes that it really won't save tons of code. &amp;nbsp;Mainly in
&lt;br&gt;&amp;gt; &amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; *PropertyModel family.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; We can do the same for components, although the benefit is typically
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; less, and it might even send our users down the wrong path thinking
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; they can't use the 'new' keyword.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;, PropertyModel.of(foo,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;property&amp;quot;));
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm -1 on doing it for components. &amp;nbsp;I think it will lead to an
&lt;br&gt;&amp;gt; &amp;gt; anti-pattern.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26394149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26393872</id>
	<title>Re: Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-17T09:17:38Z</published>
	<updated>2009-11-17T09:17:38Z</updated>
	<author>
		<name>Pedro H. O. dos Santos</name>
	</author>
	<content type="html">I know it is an minor thing, but the creation act that the new keyword
&lt;br&gt;exposes, the 'of' method don't has. IMO the simple fact of an method name
&lt;br&gt;does not contain an verb is an anti-pattern.
&lt;br&gt;&lt;br&gt;On Tue, Nov 17, 2009 at 2:50 PM, nino martinez wael &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393872&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nino.martinez.wael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; im +1, unless Jeremy can tell why he believes it will hit a anti patter..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/16 Jeremy Thomerson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393872&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Sun, Nov 15, 2009 at 11:39 AM, Martijn Dashorst &amp;lt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393872&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; i.e. ModelType.of(....)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I am +1 for adding these methods.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm +1 for the model-type methods, although there are so many models that
&lt;br&gt;&amp;gt; &amp;gt; are not final classes that it really won't save tons of code. &amp;nbsp;Mainly in
&lt;br&gt;&amp;gt; &amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; *PropertyModel family.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; We can do the same for components, although the benefit is typically
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; less, and it might even send our users down the wrong path thinking
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; they can't use the 'new' keyword.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;, PropertyModel.of(foo,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;property&amp;quot;));
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm -1 on doing it for components. &amp;nbsp;I think it will lead to an
&lt;br&gt;&amp;gt; &amp;gt; anti-pattern.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pedro Henrique Oliveira dos Santos
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26393872.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26393350</id>
	<title>Re: Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-17T08:50:03Z</published>
	<updated>2009-11-17T08:50:03Z</updated>
	<author>
		<name>nino martinez wael</name>
	</author>
	<content type="html">im +1, unless Jeremy can tell why he believes it will hit a anti patter..
&lt;br&gt;&lt;br&gt;2009/11/16 Jeremy Thomerson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393350&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 15, 2009 at 11:39 AM, Martijn Dashorst &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393350&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; i.e. ModelType.of(....)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I am +1 for adding these methods.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm +1 for the model-type methods, although there are so many models that
&lt;br&gt;&amp;gt; are not final classes that it really won't save tons of code. &amp;nbsp;Mainly in
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; *PropertyModel family.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; We can do the same for components, although the benefit is typically
&lt;br&gt;&amp;gt; &amp;gt; less, and it might even send our users down the wrong path thinking
&lt;br&gt;&amp;gt; &amp;gt; they can't use the 'new' keyword.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;, PropertyModel.of(foo,
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;property&amp;quot;));
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm -1 on doing it for components. &amp;nbsp;I think it will lead to an
&lt;br&gt;&amp;gt; anti-pattern.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jeremy Thomerson
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26393350.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26391496</id>
	<title>WICKET-1355 autocomplete positioning</title>
	<published>2009-11-17T07:06:30Z</published>
	<updated>2009-11-17T07:06:30Z</updated>
	<author>
		<name>Erik van Oosten</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;After 13 months I finally got around creating a proper patch for the 
&lt;br&gt;wrong autocomplete dropdown positioning, 
&lt;br&gt;(&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1355&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1355&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;I added 2 patch files to the issue, one for 1.3.x, and one for 1.4.x/trunk.
&lt;br&gt;&lt;br&gt;The patches are based on a version I created to patch wicket 1.3.6. The 
&lt;br&gt;changes are very straight forward but I did not actually test the 
&lt;br&gt;patches on 1.3.x, 1.4.x nor trunk. Please let me know if it works for you.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; Erik.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Erik van Oosten
&lt;br&gt;&lt;a href=&quot;http://day-to-day-stuff.blogspot.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://day-to-day-stuff.blogspot.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/WICKET-1355-autocomplete-positioning-tp26391496p26391496.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26365180</id>
	<title>Re: Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-15T16:14:13Z</published>
	<updated>2009-11-15T16:14:13Z</updated>
	<author>
		<name>jthomerson</name>
	</author>
	<content type="html">On Sun, Nov 15, 2009 at 11:39 AM, Martijn Dashorst &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26365180&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martijn.dashorst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; i.e. ModelType.of(....)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am +1 for adding these methods.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;I'm +1 for the model-type methods, although there are so many models that
&lt;br&gt;are not final classes that it really won't save tons of code. &amp;nbsp;Mainly in the
&lt;br&gt;*PropertyModel family.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; We can do the same for components, although the benefit is typically
&lt;br&gt;&amp;gt; less, and it might even send our users down the wrong path thinking
&lt;br&gt;&amp;gt; they can't use the 'new' keyword.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;, PropertyModel.of(foo,
&lt;br&gt;&amp;gt; &amp;quot;property&amp;quot;));
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;I'm -1 on doing it for components. &amp;nbsp;I think it will lead to an
&lt;br&gt;anti-pattern.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Jeremy Thomerson
&lt;br&gt;&lt;a href=&quot;http://www.wickettraining.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wickettraining.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26365180.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26361334</id>
	<title>Cutting down on the repetitive type identifiers for generics</title>
	<published>2009-11-15T09:39:44Z</published>
	<updated>2009-11-15T09:39:44Z</updated>
	<author>
		<name>Martijn Dashorst</name>
	</author>
	<content type="html">I hate repeating myself and being the compiler's teacher. IMHO the
&lt;br&gt;generics that are implemented in Java resulted in terrible code where
&lt;br&gt;you have to repeat yourself over and over and over. Are you sure your
&lt;br&gt;text field holds a String and your model returns a String?
&lt;br&gt;&lt;br&gt;TextField&amp;lt;String&amp;gt; field = new TextField&amp;lt;String&amp;gt;(&amp;quot;someId&amp;quot;, new
&lt;br&gt;PropertyModel&amp;lt;String&amp;gt;(foo, &amp;quot;property&amp;quot;));
&lt;br&gt;&lt;br&gt;This counts for 3 times the type String. In a recent discussion with
&lt;br&gt;Igor on ##wicket, we saw a way to remove at least 1 String. By
&lt;br&gt;providing model factory methods for concrete models: Model,
&lt;br&gt;CompoundPropertyModel and PropertyModel. For abstract models it
&lt;br&gt;doesn't make sense...
&lt;br&gt;&lt;br&gt;Igor suggested the following syntax:
&lt;br&gt;&lt;br&gt;TextField&amp;lt;String&amp;gt; field = new TextField&amp;lt;String&amp;gt;(&amp;quot;someId&amp;quot;,
&lt;br&gt;PropertyModel.of(foo, &amp;quot;property&amp;quot;));
&lt;br&gt;&lt;br&gt;i.e. ModelType.of(....)
&lt;br&gt;&lt;br&gt;I am +1 for adding these methods.
&lt;br&gt;&lt;br&gt;We can do the same for components, although the benefit is typically
&lt;br&gt;less, and it might even send our users down the wrong path thinking
&lt;br&gt;they can't use the 'new' keyword.
&lt;br&gt;&lt;br&gt;TextField&amp;lt;String&amp;gt; field = TextField.of(&amp;quot;someId&amp;quot;, PropertyModel.of(foo,
&lt;br&gt;&amp;quot;property&amp;quot;));
&lt;br&gt;&lt;br&gt;WDYT?
&lt;br&gt;&lt;br&gt;Martijn
&lt;br&gt;-- 
&lt;br&gt;Become a Wicket expert, learn from the best: &lt;a href=&quot;http://wicketinaction.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wicketinaction.com&lt;/a&gt;&lt;br&gt;Apache Wicket 1.4 increases type safety for web applications
&lt;br&gt;Get it now: &lt;a href=&quot;http://www.apache.org/dyn/closer.cgi/wicket/1.4.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.apache.org/dyn/closer.cgi/wicket/1.4.0&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cutting-down-on-the-repetitive-type-identifiers-for-generics-tp26361334p26361334.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26327732</id>
	<title>Re: Wicket Stuff commit access</title>
	<published>2009-11-12T14:31:42Z</published>
	<updated>2009-11-12T14:31:42Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">done
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;On Thu, Nov 12, 2009 at 1:06 PM, phpmedia &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26327732&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpmedia@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hello list,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i would like to have commit access.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; my sourceforge-id is &amp;quot;blade23&amp;quot; .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thx,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; dirk
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wicket-Stuff-commit-access-tp26326422p26327732.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326422</id>
	<title>Wicket Stuff commit access</title>
	<published>2009-11-12T13:06:32Z</published>
	<updated>2009-11-12T13:06:32Z</updated>
	<author>
		<name>phpmedia</name>
	</author>
	<content type="html">hello list,
&lt;br&gt;&lt;br&gt;i would like to have commit access.
&lt;br&gt;&lt;br&gt;my sourceforge-id is &amp;quot;blade23&amp;quot; .
&lt;br&gt;&lt;br&gt;thx,
&lt;br&gt;&lt;br&gt;dirk
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wicket-Stuff-commit-access-tp26326422p26326422.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26313717</id>
	<title>Re: Patch for easy Enums I18N</title>
	<published>2009-11-11T21:30:24Z</published>
	<updated>2009-11-11T21:30:24Z</updated>
	<author>
		<name>MartinM</name>
	</author>
	<content type="html">Component is optional so it can be given optionally to the renderer.
&lt;br&gt;&lt;br&gt;I have attached a patch. However, it should still be coupled with
&lt;br&gt;TypeChoiceModel so that they fetch the localized label using the same
&lt;br&gt;method. I uploaded that too.
&lt;br&gt;&lt;br&gt;I also provided factory methods so that it is easier to construct these objects.
&lt;br&gt;&lt;br&gt;**
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;2009/11/12 Olivier Croisier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313717&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The Localizer methods also require a Component as a parameter, so we're back
&lt;br&gt;&amp;gt; to square one : we must provide a Component.
&lt;br&gt;&amp;gt; Also, it would be helpful if you provided your alternative implementation as
&lt;br&gt;&amp;gt; a well-formed patch instead of plain-text code in the Jira comment.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 11, 2009 at 8:44 PM, Martin Makundi &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313717&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.makundi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I admit the EnumDropDownChoice is more of a convenient class that a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; real new feature.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It's simply an overkill for the purpose. I loved the idea of a
&lt;br&gt;&amp;gt;&amp;gt; TypeChoiceModel, though. Maybe it should also be tuned to be non
&lt;br&gt;&amp;gt;&amp;gt; enum-specific, like the TypeChoiceRenderer.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; A standalone EnumChoiceRenderer would need to take a Component as a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; constructor parameter, to call getString() on,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is not true. Localizer is available everywhere.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Application.get().getResourceSettings().getLocalizer();
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; **
&lt;br&gt;&amp;gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Wed, Nov 11, 2009 at 7:58 PM, Martin Makundi &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313717&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.makundi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I vote for EnumChoiceRender instead of full DropDownChoice.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; However. EnumChoiceRenderer can render any TYPE so that's why I have
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; proposed TypeChoiceRenderer. You can directly use it with existing
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; wicket and no need for specific dropdown.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; **
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; 2009/11/11 Olivier Croisier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313717&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I just submitted a patch to the very old
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; WICKET-1157&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1157&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1157&lt;/a&gt;&amp;gt;JIRA
&lt;br&gt;&amp;gt;&amp;gt; (no
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; activity for the last 2 years).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; It provides a simple and flexible way to internationalize enums :
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; - An EnumMessageKeyProvided that implements a Strategy pattern to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; generate
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I18N keys from enums.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; - An EnumDropDownChoice to render HTML &amp;lt;select&amp;gt; components
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; - An EnumModel to internationalize any enum provided by another Model
&lt;br&gt;&amp;gt;&amp;gt; (so
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; there is no need of EnumLabels and such).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-for-easy-Enums-I18N-tp26305514p26313717.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26309777</id>
	<title>Re: Patch for easy Enums I18N</title>
	<published>2009-11-11T14:20:52Z</published>
	<updated>2009-11-11T14:20:52Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">The Localizer methods also require a Component as a parameter, so we're back
&lt;br&gt;to square one : we must provide a Component.
&lt;br&gt;Also, it would be helpful if you provided your alternative implementation as
&lt;br&gt;a well-formed patch instead of plain-text code in the Jira comment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 8:44 PM, Martin Makundi &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309777&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.makundi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; I admit the EnumDropDownChoice is more of a convenient class that a
&lt;br&gt;&amp;gt; &amp;gt; real new feature.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's simply an overkill for the purpose. I loved the idea of a
&lt;br&gt;&amp;gt; TypeChoiceModel, though. Maybe it should also be tuned to be non
&lt;br&gt;&amp;gt; enum-specific, like the TypeChoiceRenderer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; A standalone EnumChoiceRenderer would need to take a Component as a
&lt;br&gt;&amp;gt; &amp;gt; constructor parameter, to call getString() on,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is not true. Localizer is available everywhere.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Application.get().getResourceSettings().getLocalizer();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; **
&lt;br&gt;&amp;gt; Martin
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Nov 11, 2009 at 7:58 PM, Martin Makundi &amp;lt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309777&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.makundi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I vote for EnumChoiceRender instead of full DropDownChoice.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; However. EnumChoiceRenderer can render any TYPE so that's why I have
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; proposed TypeChoiceRenderer. You can directly use it with existing
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; wicket and no need for specific dropdown.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; **
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Martin
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 2009/11/11 Olivier Croisier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309777&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I just submitted a patch to the very old
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; WICKET-1157&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1157&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1157&lt;/a&gt;&amp;gt;JIRA
&lt;br&gt;&amp;gt; (no
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; activity for the last 2 years).
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; It provides a simple and flexible way to internationalize enums :
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; - An EnumMessageKeyProvided that implements a Strategy pattern to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; generate
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I18N keys from enums.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; - An EnumDropDownChoice to render HTML &amp;lt;select&amp;gt; components
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; - An EnumModel to internationalize any enum provided by another Model
&lt;br&gt;&amp;gt; (so
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; there is no need of EnumLabels and such).
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-for-easy-Enums-I18N-tp26305514p26309777.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307326</id>
	<title>Re: Patch for easy Enums I18N</title>
	<published>2009-11-11T11:44:51Z</published>
	<updated>2009-11-11T11:44:51Z</updated>
	<author>
		<name>MartinM</name>
	</author>
	<content type="html">&amp;gt; I admit the EnumDropDownChoice is more of a convenient class that a
&lt;br&gt;&amp;gt; real new feature.
&lt;br&gt;&lt;br&gt;It's simply an overkill for the purpose. I loved the idea of a
&lt;br&gt;TypeChoiceModel, though. Maybe it should also be tuned to be non
&lt;br&gt;enum-specific, like the TypeChoiceRenderer.
&lt;br&gt;&lt;br&gt;&amp;gt; A standalone EnumChoiceRenderer would need to take a Component as a
&lt;br&gt;&amp;gt; constructor parameter, to call getString() on,
&lt;br&gt;&lt;br&gt;This is not true. Localizer is available everywhere.
&lt;br&gt;&lt;br&gt;Application.get().getResourceSettings().getLocalizer();
&lt;br&gt;&lt;br&gt;&lt;br&gt;**
&lt;br&gt;Martin
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 11, 2009 at 7:58 PM, Martin Makundi &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307326&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.makundi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I vote for EnumChoiceRender instead of full DropDownChoice.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; However. EnumChoiceRenderer can render any TYPE so that's why I have
&lt;br&gt;&amp;gt;&amp;gt; proposed TypeChoiceRenderer. You can directly use it with existing
&lt;br&gt;&amp;gt;&amp;gt; wicket and no need for specific dropdown.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; **
&lt;br&gt;&amp;gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/11/11 Olivier Croisier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307326&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I just submitted a patch to the very old
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; WICKET-1157&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1157&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1157&lt;/a&gt;&amp;gt;JIRA (no
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; activity for the last 2 years).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; It provides a simple and flexible way to internationalize enums :
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; - An EnumMessageKeyProvided that implements a Strategy pattern to
&lt;br&gt;&amp;gt;&amp;gt; generate
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I18N keys from enums.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; - An EnumDropDownChoice to render HTML &amp;lt;select&amp;gt; components
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; - An EnumModel to internationalize any enum provided by another Model (so
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; there is no need of EnumLabels and such).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-for-easy-Enums-I18N-tp26305514p26307326.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307215</id>
	<title>Re: Patch for easy Enums I18N</title>
	<published>2009-11-11T11:36:03Z</published>
	<updated>2009-11-11T11:36:03Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Thanks for your answer.
&lt;br&gt;&lt;br&gt;I admit the EnumDropDownChoice is more of a convenient class that a real new
&lt;br&gt;feature.
&lt;br&gt;However, it has the benefit of providing its enclosed EnumChoiceRenderer a
&lt;br&gt;base component to call getString() on. A standalone EnumChoiceRenderer would
&lt;br&gt;need to take a Component as a constructor parameter, to call getString() on,
&lt;br&gt;and I thought it might be a bit confusing for the developers.
&lt;br&gt;Now, if everyone finds it better, I am willing to submit a new patch with
&lt;br&gt;only the EnumChoiceRenderer, modified as required.
&lt;br&gt;&lt;br&gt;On the other hand, any remarks on the EnumMessageKeyProvider system ?
&lt;br&gt;&lt;br&gt;Olivier
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 7:58 PM, Martin Makundi &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.makundi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I vote for EnumChoiceRender instead of full DropDownChoice.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However. EnumChoiceRenderer can render any TYPE so that's why I have
&lt;br&gt;&amp;gt; proposed TypeChoiceRenderer. You can directly use it with existing
&lt;br&gt;&amp;gt; wicket and no need for specific dropdown.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; **
&lt;br&gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/11 Olivier Croisier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307215&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I just submitted a patch to the very old
&lt;br&gt;&amp;gt; &amp;gt; WICKET-1157&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1157&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1157&lt;/a&gt;&amp;gt;JIRA (no
&lt;br&gt;&amp;gt; &amp;gt; activity for the last 2 years).
&lt;br&gt;&amp;gt; &amp;gt; It provides a simple and flexible way to internationalize enums :
&lt;br&gt;&amp;gt; &amp;gt; - An EnumMessageKeyProvided that implements a Strategy pattern to
&lt;br&gt;&amp;gt; generate
&lt;br&gt;&amp;gt; &amp;gt; I18N keys from enums.
&lt;br&gt;&amp;gt; &amp;gt; - An EnumDropDownChoice to render HTML &amp;lt;select&amp;gt; components
&lt;br&gt;&amp;gt; &amp;gt; - An EnumModel to internationalize any enum provided by another Model (so
&lt;br&gt;&amp;gt; &amp;gt; there is no need of EnumLabels and such).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-for-easy-Enums-I18N-tp26305514p26307215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306656</id>
	<title>Re: Patch for easy Enums I18N</title>
	<published>2009-11-11T10:58:26Z</published>
	<updated>2009-11-11T10:58:26Z</updated>
	<author>
		<name>MartinM</name>
	</author>
	<content type="html">I vote for EnumChoiceRender instead of full DropDownChoice.
&lt;br&gt;&lt;br&gt;However. EnumChoiceRenderer can render any TYPE so that's why I have
&lt;br&gt;proposed TypeChoiceRenderer. You can directly use it with existing
&lt;br&gt;wicket and no need for specific dropdown.
&lt;br&gt;&lt;br&gt;**
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;2009/11/11 Olivier Croisier &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306656&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just submitted a patch to the very old
&lt;br&gt;&amp;gt; WICKET-1157&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1157&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1157&lt;/a&gt;&amp;gt;JIRA (no
&lt;br&gt;&amp;gt; activity for the last 2 years).
&lt;br&gt;&amp;gt; It provides a simple and flexible way to internationalize enums :
&lt;br&gt;&amp;gt; - An EnumMessageKeyProvided that implements a Strategy pattern to generate
&lt;br&gt;&amp;gt; I18N keys from enums.
&lt;br&gt;&amp;gt; - An EnumDropDownChoice to render HTML &amp;lt;select&amp;gt; components
&lt;br&gt;&amp;gt; - An EnumModel to internationalize any enum provided by another Model (so
&lt;br&gt;&amp;gt; there is no need of EnumLabels and such).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope that helps,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-for-easy-Enums-I18N-tp26305514p26306656.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306457</id>
	<title>Re: Patch submitted for Enum-ification of the runtime configuration types</title>
	<published>2009-11-11T10:39:24Z</published>
	<updated>2009-11-11T10:39:24Z</updated>
	<author>
		<name>martin-g</name>
	</author>
	<content type="html">Hi Olivier,
&lt;br&gt;&lt;br&gt;Thanks for explaining! 
&lt;br&gt;My opinion is that if j.l.String is used properly then it is sufficient
&lt;br&gt;for this use case. One benefit in your solution is the parsing of the
&lt;br&gt;JVM/web init-param property. Now it warns when unknown value is
&lt;br&gt;provided.
&lt;br&gt;There are few comments about the patch though:
&lt;br&gt;&amp;nbsp;- it seems you don't use the Eclipse's preferences which come with
&lt;br&gt;Wicket's code. I guess you use another IDE. All imports are folded 
&lt;br&gt;(+ import org.apache.wicket.*) and many indentations are broken
&lt;br&gt;&amp;nbsp;- there is a dead local variable in the code related to parsing of
&lt;br&gt;JVM/init-param property
&lt;br&gt;&lt;br&gt;Keep the good work!
&lt;br&gt;&lt;br&gt;On Wed, 2009-11-11 at 17:26 +0100, Olivier Croisier wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The benefit is that the code doesn't rely on string literal
&lt;br&gt;&amp;gt; comparison, which is inherently neither secure nor
&lt;br&gt;&amp;gt; refactoring-friendly. 
&lt;br&gt;&amp;gt; Ex: Before my patch, there was at least one &amp;nbsp;== string comparison,
&lt;br&gt;&amp;gt; which result may vary depending on whether the strings are intern()-ed
&lt;br&gt;&amp;gt; or not. 
&lt;br&gt;&amp;gt; Enums prevent that sort of errors, and ensure that constants are
&lt;br&gt;&amp;gt; defined in only one place (the enum class) instead of maybe being
&lt;br&gt;&amp;gt; scattered across many classes (you can define string literals
&lt;br&gt;&amp;gt; anywhere).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW, I'm not sure the configuration type modularization, as proposed
&lt;br&gt;&amp;gt; by WICKET-1847, is a good idea. 
&lt;br&gt;&amp;gt; Let me explain my point of view :
&lt;br&gt;&amp;gt; IMO, the runtime level belongs to wicket internals and shall not be
&lt;br&gt;&amp;gt; used by users to tweak their applications. And for the Wicket engine,
&lt;br&gt;&amp;gt; only two modes are relevant : debug (&amp;quot;development&amp;quot;) and &amp;quot;not
&lt;br&gt;&amp;gt; debug&amp;quot; (ie, deployment). Also, these modes are referred to in many
&lt;br&gt;&amp;gt; places throughout the code ; allowing user-defined runtime types would
&lt;br&gt;&amp;gt; require to give them access to lots of Wicket's internals. There are
&lt;br&gt;&amp;gt; already too many special corner cases in the main and sub-projects
&lt;br&gt;&amp;gt; with the existing two modes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I think the user customisation, if really needed, would be better
&lt;br&gt;&amp;gt; implemented by another system (&amp;quot;profiles&amp;quot; ?) that would deal only with
&lt;br&gt;&amp;gt; the startup configuration (ie, tune the various *Settings), and would
&lt;br&gt;&amp;gt; be applied after the existing development/deployment default
&lt;br&gt;&amp;gt; configuration. Such profiles could be detected using the Service
&lt;br&gt;&amp;gt; Provider API for example, and selected by an init-parameter. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What do you think ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Nov 11, 2009 at 4:08 PM, Martin Grigorov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306457&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mcgregory@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; On Wed, 2009-11-11 at 15:59 +0100, Olivier Croisier wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; WICKET-1847 is more than a year old and has had no activity
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for more than a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; year, whereas the WICKET-1945 was more revent and seemed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; interesting to me,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; so I corrected it.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; But in my opinion, even if the former is the target
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; architecture, nothing
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; prevents from integrating my patch now (in the 1.4.x branch
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for example) and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; benefit from the type safety in the meantime.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What is the actual benefit of this type safety?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If it is prefered to be enum I would prefer to use
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.wicket.util.lang.EnumeratedType which is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; extendable.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; On Wed, Nov 11, 2009 at 3:42 PM, Jonas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306457&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;barney2k7@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; I thought the plan for 1.5 was going into the opposite
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; direction:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1847&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1847&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; On Wed, Nov 11, 2009 at 3:34 PM, Olivier Croisier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306457&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt; I just submitted a patch that converts the runtime
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; configuration types
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt; (&amp;quot;development&amp;quot;, &amp;quot;deployment&amp;quot;) into a type-safe Enum.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt; See &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1945&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1945&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-submitted-for-Enum-ification-of-the-runtime-configuration-types-tp26302248p26306457.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305514</id>
	<title>Patch for easy Enums I18N</title>
	<published>2009-11-11T09:47:41Z</published>
	<updated>2009-11-11T09:47:41Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I just submitted a patch to the very old
&lt;br&gt;WICKET-1157&amp;lt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1157&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1157&lt;/a&gt;&amp;gt;JIRA (no
&lt;br&gt;activity for the last 2 years).
&lt;br&gt;It provides a simple and flexible way to internationalize enums :
&lt;br&gt;- An EnumMessageKeyProvided that implements a Strategy pattern to generate
&lt;br&gt;I18N keys from enums.
&lt;br&gt;- An EnumDropDownChoice to render HTML &amp;lt;select&amp;gt; components
&lt;br&gt;- An EnumModel to internationalize any enum provided by another Model (so
&lt;br&gt;there is no need of EnumLabels and such).
&lt;br&gt;&lt;br&gt;Hope that helps,
&lt;br&gt;&lt;br&gt;Olivier
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-for-easy-Enums-I18N-tp26305514p26305514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26304200</id>
	<title>Re: Patch submitted for Enum-ification of the runtime configuration  types</title>
	<published>2009-11-11T08:26:57Z</published>
	<updated>2009-11-11T08:26:57Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">The benefit is that the code doesn't rely on string literal comparison,
&lt;br&gt;which is inherently neither secure nor refactoring-friendly.
&lt;br&gt;Ex: Before my patch, there was at least one &amp;nbsp;== string comparison, which
&lt;br&gt;result may vary depending on whether the strings are intern()-ed or not.
&lt;br&gt;Enums prevent that sort of errors, and ensure that constants are defined in
&lt;br&gt;only one place (the enum class) instead of maybe being scattered across many
&lt;br&gt;classes (you can define string literals anywhere).
&lt;br&gt;&lt;br&gt;BTW, I'm not sure the configuration type modularization, as proposed by
&lt;br&gt;WICKET-1847, is a good idea.
&lt;br&gt;Let me explain my point of view :
&lt;br&gt;IMO, the runtime level belongs to wicket internals and shall not be used by
&lt;br&gt;users to tweak their applications. And for the Wicket engine, only two modes
&lt;br&gt;are relevant : debug (&amp;quot;development&amp;quot;) and &amp;quot;not debug&amp;quot; (ie, deployment). Also,
&lt;br&gt;these modes are referred to in many places throughout the code ; allowing
&lt;br&gt;user-defined runtime types would require to give them access to lots of
&lt;br&gt;Wicket's internals. There are already too many special corner cases in the
&lt;br&gt;main and sub-projects with the existing two modes.
&lt;br&gt;&lt;br&gt;So I think the user customisation, if really needed, would be better
&lt;br&gt;implemented by another system (&amp;quot;profiles&amp;quot; ?) that would deal only with the
&lt;br&gt;startup configuration (ie, tune the various *Settings), and would be applied
&lt;br&gt;after the existing development/deployment default configuration. Such
&lt;br&gt;profiles could be detected using the Service Provider API for example, and
&lt;br&gt;selected by an init-parameter.
&lt;br&gt;&lt;br&gt;What do you think ?
&lt;br&gt;&lt;br&gt;Olivier
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 4:08 PM, Martin Grigorov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304200&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mcgregory@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 2009-11-11 at 15:59 +0100, Olivier Croisier wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; WICKET-1847 is more than a year old and has had no activity for more than
&lt;br&gt;&amp;gt; a
&lt;br&gt;&amp;gt; &amp;gt; year, whereas the WICKET-1945 was more revent and seemed interesting to
&lt;br&gt;&amp;gt; me,
&lt;br&gt;&amp;gt; &amp;gt; so I corrected it.
&lt;br&gt;&amp;gt; &amp;gt; But in my opinion, even if the former is the target architecture, nothing
&lt;br&gt;&amp;gt; &amp;gt; prevents from integrating my patch now (in the 1.4.x branch for example)
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; &amp;gt; benefit from the type safety in the meantime.
&lt;br&gt;&amp;gt; What is the actual benefit of this type safety?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it is prefered to be enum I would prefer to use
&lt;br&gt;&amp;gt; org.apache.wicket.util.lang.EnumeratedType which is extendable.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Nov 11, 2009 at 3:42 PM, Jonas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304200&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;barney2k7@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I thought the plan for 1.5 was going into the opposite direction:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1847&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1847&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Wed, Nov 11, 2009 at 3:34 PM, Olivier Croisier
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304200&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I just submitted a patch that converts the runtime configuration
&lt;br&gt;&amp;gt; types
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; (&amp;quot;development&amp;quot;, &amp;quot;deployment&amp;quot;) into a type-safe Enum.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; See &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1945&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1945&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-submitted-for-Enum-ification-of-the-runtime-configuration-types-tp26302248p26304200.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26302876</id>
	<title>Re: Patch submitted for Enum-ification of the runtime configuration types</title>
	<published>2009-11-11T07:08:16Z</published>
	<updated>2009-11-11T07:08:16Z</updated>
	<author>
		<name>martin-g</name>
	</author>
	<content type="html">On Wed, 2009-11-11 at 15:59 +0100, Olivier Croisier wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; WICKET-1847 is more than a year old and has had no activity for more than a
&lt;br&gt;&amp;gt; year, whereas the WICKET-1945 was more revent and seemed interesting to me,
&lt;br&gt;&amp;gt; so I corrected it.
&lt;br&gt;&amp;gt; But in my opinion, even if the former is the target architecture, nothing
&lt;br&gt;&amp;gt; prevents from integrating my patch now (in the 1.4.x branch for example) and
&lt;br&gt;&amp;gt; benefit from the type safety in the meantime.
&lt;br&gt;What is the actual benefit of this type safety?
&lt;br&gt;&lt;br&gt;If it is prefered to be enum I would prefer to use
&lt;br&gt;org.apache.wicket.util.lang.EnumeratedType which is extendable.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Nov 11, 2009 at 3:42 PM, Jonas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302876&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;barney2k7@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I thought the plan for 1.5 was going into the opposite direction:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1847&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1847&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Nov 11, 2009 at 3:34 PM, Olivier Croisier
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302876&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I just submitted a patch that converts the runtime configuration types
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; (&amp;quot;development&amp;quot;, &amp;quot;deployment&amp;quot;) into a type-safe Enum.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; See &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1945&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1945&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-submitted-for-Enum-ification-of-the-runtime-configuration-types-tp26302248p26302876.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26302664</id>
	<title>Re: Patch submitted for Enum-ification of the runtime configuration  types</title>
	<published>2009-11-11T06:59:09Z</published>
	<updated>2009-11-11T06:59:09Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;WICKET-1847 is more than a year old and has had no activity for more than a
&lt;br&gt;year, whereas the WICKET-1945 was more revent and seemed interesting to me,
&lt;br&gt;so I corrected it.
&lt;br&gt;But in my opinion, even if the former is the target architecture, nothing
&lt;br&gt;prevents from integrating my patch now (in the 1.4.x branch for example) and
&lt;br&gt;benefit from the type safety in the meantime.
&lt;br&gt;&lt;br&gt;Olivier
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 3:42 PM, Jonas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302664&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;barney2k7@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I thought the plan for 1.5 was going into the opposite direction:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1847&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1847&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 11, 2009 at 3:34 PM, Olivier Croisier
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302664&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I just submitted a patch that converts the runtime configuration types
&lt;br&gt;&amp;gt; &amp;gt; (&amp;quot;development&amp;quot;, &amp;quot;deployment&amp;quot;) into a type-safe Enum.
&lt;br&gt;&amp;gt; &amp;gt; See &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1945&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1945&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; &amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-submitted-for-Enum-ification-of-the-runtime-configuration-types-tp26302248p26302664.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26302387</id>
	<title>Re: Patch submitted for Enum-ification of the runtime configuration  types</title>
	<published>2009-11-11T06:42:55Z</published>
	<updated>2009-11-11T06:42:55Z</updated>
	<author>
		<name>Jonas-21</name>
	</author>
	<content type="html">I thought the plan for 1.5 was going into the opposite direction:
&lt;br&gt;&lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1847&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1847&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 3:34 PM, Olivier Croisier
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302387&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.croisier@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just submitted a patch that converts the runtime configuration types
&lt;br&gt;&amp;gt; (&amp;quot;development&amp;quot;, &amp;quot;deployment&amp;quot;) into a type-safe Enum.
&lt;br&gt;&amp;gt; See &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1945&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1945&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope that helps,
&lt;br&gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-submitted-for-Enum-ification-of-the-runtime-configuration-types-tp26302248p26302387.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26302248</id>
	<title>Patch submitted for Enum-ification of the runtime configuration types</title>
	<published>2009-11-11T06:34:47Z</published>
	<updated>2009-11-11T06:34:47Z</updated>
	<author>
		<name>Olivier Croisier</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I just submitted a patch that converts the runtime configuration types
&lt;br&gt;(&amp;quot;development&amp;quot;, &amp;quot;deployment&amp;quot;) into a type-safe Enum.
&lt;br&gt;See &lt;a href=&quot;https://issues.apache.org/jira/browse/WICKET-1945&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/WICKET-1945&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hope that helps,
&lt;br&gt;Olivier
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-submitted-for-Enum-ification-of-the-runtime-configuration-types-tp26302248p26302248.html" />
</entry>

</feed>
