<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13974</id>
	<title>Nabble - Apache Wicket</title>
	<updated>2008-12-02T07:41:30Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Apache-Wicket-f13974.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Apache-Wicket-f13974.html" />
	<subtitle type="html">&lt;a href=&quot;http://wicket.apache.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Apache Wicket&lt;/a&gt; is a Java web application framework that takes simplicity, separation of concerns and ease of development to a whole new level. Wicket pages can be mocked up, previewed and later revised using standard WYSIWYG HTML design tools. You can find Apache Wicket's home &lt;a href=&quot;http://wicket.apache.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.
&lt;p&gt;
Before posting, please read &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;How to ask questions the smart way&lt;/a&gt; and answer these questions for yourself:
&lt;ul&gt;
&lt;li&gt;Did you check out our &lt;a href=&quot;http://wicketstuff.org/wicket13/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;live examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;read our &lt;a href=&quot;http://cwiki.apache.org/WICKET&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wiki&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.google.com/search?q=wicket+&amp;lt;your%20query%20here&amp;gt;&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;search using google&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
If these fail to provide an answer, posting to the &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; target=&quot;_top&quot;&gt;&lt;b&gt;users&lt;/b&gt;&lt;/a&gt; list is appropriate. Be sure to include full stack traces and code. Did we mention that you read &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;How to ask questions the smart way&lt;/a&gt; before posting?
&lt;/p&gt;</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-20794194</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T07:41:30Z</published>
	<updated>2008-12-02T07:41:30Z</updated>
	<author>
		<name>Mathias P.W Nilsson</name>
	</author>
	<content type="html">Nope!
&lt;br&gt;&lt;br&gt;I'm lost here. How can I create my own IRequestTargetUrlCodingStrategy when I need to add a mount path. The mount path is not the same as the page requested.
&lt;br&gt;&lt;br&gt;Let me explain this more in detail. 
&lt;br&gt;&lt;br&gt;I wan't to mount Base.class to /login. But I need to access the /login thru /Customer1/login and /Customer2/login. I can't mount every possible customer reference in init(). &lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20794194.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20794183</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T07:25:23Z</published>
	<updated>2008-12-02T07:25:23Z</updated>
	<author>
		<name>Mathias P.W Nilsson</name>
	</author>
	<content type="html">Thanks!
&lt;br&gt;&lt;br&gt;I will look at this and maybe come back on the subject. One problem that I saw was that the request didn't get printed in the UrlCodingStrategy because it was not mounted in init. Maybe I'm wrong about this and need to look it over again.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20794183.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793947</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T07:01:28Z</published>
	<updated>2008-12-02T07:01:28Z</updated>
	<author>
		<name>kan-4</name>
	</author>
	<content type="html">RTFS :)
&lt;br&gt;If you look at any implementation, say
&lt;br&gt;BookmarkablePageRequestTargetUrlCodingStrategy.decode, you'll see how
&lt;br&gt;RequestParameters are turning in IRequestTarget, and encode does
&lt;br&gt;opposite - IRequestTarget is turning in url.
&lt;br&gt;You can set page a parameter (say &amp;quot;variation&amp;quot;) from desired part of
&lt;br&gt;url and override in your page class the method:
&lt;br&gt;@Override
&lt;br&gt;public String getVariation()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; return getPageParameters().getAsString(&amp;quot;variation&amp;quot;);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;It's just thoughts, I never tried it myself. :)
&lt;br&gt;&lt;br&gt;2008/12/2 Mathias P.W Nilsson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793947&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mathias@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ok
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any topic on UrlRewriteFilter and Wicket. I still need to set
&lt;br&gt;&amp;gt; variation and locale even when I use UrlRewriteFilter.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793471.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793471.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793947&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793947&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;WBR, kan.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793947&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793947&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793947.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793898</id>
	<title>Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help</title>
	<published>2008-12-02T06:59:24Z</published>
	<updated>2008-12-02T06:59:24Z</updated>
	<author>
		<name>Timo Rantalaiho</name>
	</author>
	<content type="html">On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote:
&lt;br&gt;&amp;gt; org.apache.wicket.WicketRuntimeException: Unable to instantiate web session
&lt;br&gt;&amp;gt; class com.dabarobjects.fme.FMEWebSession
&lt;br&gt;...
&lt;br&gt;&amp;gt; Caused by: java.lang.NoSuchMethodException:
&lt;br&gt;&amp;gt; com.dabarobjects.fme.FMEWebSession.&amp;lt;init&amp;gt;(org.apache.wicket.Request)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Class.getConstructor0(Class.java:2706)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Class.getDeclaredConstructor(Class.java:1985)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:114)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there a constructor
&lt;br&gt;com.dabarobjects.fme.FMEWebSession(org.apache.wicket.Request) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;and is it public?
&lt;br&gt;&lt;br&gt;Best wishes,
&lt;br&gt;Timo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Timo Rantalaiho &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Reaktor Innovations Oy &amp;nbsp; &amp;nbsp;&amp;lt;URL: &lt;a href=&quot;http://www.ri.fi/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ri.fi/&lt;/a&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793898&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793898&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Unable-to-instantiate-Web-session-class-Error%3A%3A%3AWicket1.3.5-Help-tp20793167p20793898.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793736</id>
	<title>Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help</title>
	<published>2008-12-02T06:51:25Z</published>
	<updated>2008-12-02T06:51:25Z</updated>
	<author>
		<name>dabar</name>
	</author>
	<content type="html">Yeah I think the problem is in Wicket-auth-roles jarthe
&lt;br&gt;AuthtenticatedWebApplication.newSession class is throwing the error
&lt;br&gt;&lt;br&gt;cuz down down the stack trace
&lt;br&gt;&lt;br&gt;org.apache.wicket.WicketRuntimeException: Unable to instantiate web session
&lt;br&gt;class com.dabarobjects.fme.FMEWebSession
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:119)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Session.findOrCreate(Session.java:225)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Session.findOrCreate(Session.java:208)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Session.get(Session.java:244)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.Application$1.onInstantiation(Application.java:276)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:973)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Component.&amp;lt;init&amp;gt;(Component.java:866)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.MarkupContainer.&amp;lt;init&amp;gt;(MarkupContainer.java:104)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Page.&amp;lt;init&amp;gt;(Page.java:231)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.markup.html.WebPage.&amp;lt;init&amp;gt;(WebPage.java:184)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.markup.html.pages.ExceptionErrorPage.&amp;lt;init&amp;gt;(ExceptionErrorPage.java:55)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:162)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.RequestCycle.step(RequestCycle.java:1206)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
&lt;br&gt;Caused by: java.lang.NoSuchMethodException:
&lt;br&gt;com.dabarobjects.fme.FMEWebSession.&amp;lt;init&amp;gt;(org.apache.wicket.Request)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Class.getConstructor0(Class.java:2706)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Class.getDeclaredConstructor(Class.java:1985)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:114)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 44 more
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Dec 2, 2008 at 2:34 PM, Timo Rantalaiho &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793736&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Timo.Rantalaiho@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote:
&lt;br&gt;&amp;gt; &amp;gt; App Server: Glassfish V2
&lt;br&gt;&amp;gt; &amp;gt; Wicket Version:: Wicket 1.3.5
&lt;br&gt;&amp;gt; &amp;gt; JVM: Java 6u10
&lt;br&gt;&amp;gt; &amp;gt; IDE: Netbeans6.5
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; This error does not occur when using Wicket 1.3.1.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Any tips? thanks
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Unable to instantiate web session class
&lt;br&gt;&amp;gt; com.dabarobjects.fme.FMEWebSession
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think that the real problem is wrapped inside the exception
&lt;br&gt;&amp;gt; whose stack trace you sent. Could you send the whole stack
&lt;br&gt;&amp;gt; trace please?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See AuthenticatedWebApplication source code for more hints,
&lt;br&gt;&amp;gt; you could put a breakpoint there in newSession and see what
&lt;br&gt;&amp;gt; exactly is going on.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best wishes,
&lt;br&gt;&amp;gt; Timo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Timo Rantalaiho
&lt;br&gt;&amp;gt; Reaktor Innovations Oy &amp;nbsp; &amp;nbsp;&amp;lt;URL: &lt;a href=&quot;http://www.ri.fi/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ri.fi/&lt;/a&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793736&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793736&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Aladejebi Ayodeji A.,
&lt;br&gt;DabarObjects Solutions
&lt;br&gt;Phone: +234 9 481 7 156
&lt;br&gt;Mobile: +234 803 589 1780
&lt;br&gt;Email: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793736&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;deji@...&lt;/a&gt;
&lt;br&gt;Web: www.dabarobjects.com
&lt;br&gt;Blog: blog.dabarobjects.com
&lt;br&gt;&lt;br&gt;Participate, Collaborate, Innovate
&lt;br&gt;Join Community:
&lt;br&gt;&lt;a href=&quot;http://www.cowblock.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cowblock.net/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Get A Free Blog:
&lt;br&gt;&lt;a href=&quot;http://blogs.cowblock.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.cowblock.net/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Unable-to-instantiate-Web-session-class-Error%3A%3A%3AWicket1.3.5-Help-tp20793167p20793736.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793471</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T06:38:53Z</published>
	<updated>2008-12-02T06:38:53Z</updated>
	<author>
		<name>Mathias P.W Nilsson</name>
	</author>
	<content type="html">Ok
&lt;br&gt;&lt;br&gt;Is there any topic on UrlRewriteFilter and Wicket. I still need to set variation and locale even when I use UrlRewriteFilter. &lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793471.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793409</id>
	<title>Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help</title>
	<published>2008-12-02T06:34:37Z</published>
	<updated>2008-12-02T06:34:37Z</updated>
	<author>
		<name>Timo Rantalaiho</name>
	</author>
	<content type="html">On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; App Server: Glassfish V2
&lt;br&gt;&amp;gt; Wicket Version:: Wicket 1.3.5
&lt;br&gt;&amp;gt; JVM: Java 6u10
&lt;br&gt;&amp;gt; IDE: Netbeans6.5
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This error does not occur when using Wicket 1.3.1.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any tips? thanks
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Unable to instantiate web session class com.dabarobjects.fme.FMEWebSession
&lt;/div&gt;&lt;br&gt;I think that the real problem is wrapped inside the exception
&lt;br&gt;whose stack trace you sent. Could you send the whole stack 
&lt;br&gt;trace please?
&lt;br&gt;&lt;br&gt;See AuthenticatedWebApplication source code for more hints, 
&lt;br&gt;you could put a breakpoint there in newSession and see what 
&lt;br&gt;exactly is going on.
&lt;br&gt;&lt;br&gt;Best wishes,
&lt;br&gt;Timo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Timo Rantalaiho &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Reaktor Innovations Oy &amp;nbsp; &amp;nbsp;&amp;lt;URL: &lt;a href=&quot;http://www.ri.fi/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ri.fi/&lt;/a&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793409&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793409&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Unable-to-instantiate-Web-session-class-Error%3A%3A%3AWicket1.3.5-Help-tp20793167p20793409.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793315</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T06:30:37Z</published>
	<updated>2008-12-02T06:30:37Z</updated>
	<author>
		<name>kan-4</name>
	</author>
	<content type="html">I only afraid, you cannot mount to &amp;quot;root&amp;quot;.
&lt;br&gt;So, it will be &amp;quot;&lt;a href=&quot;http://localhost/company/edgesoft/something&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/company/edgesoft/something&lt;/a&gt;....&amp;quot;,
&lt;br&gt;&amp;quot;&lt;a href=&quot;http://localhost/company/another/something&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/company/another/something&lt;/a&gt;....&amp;quot;
&lt;br&gt;Maybe easier and much more flexible for you will be UrlRewriteFilter.
&lt;br&gt;&lt;br&gt;2008/12/2 kan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793315&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kan.izh@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Basically, just implement IRequestTargetUrlCodingStrategy. :)
&lt;br&gt;&amp;gt; What is precise question?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2008/11/24 Mathias P.W Nilsson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793315&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mathias@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;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 need some info in how to create my own UrlCodingStrategy
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is the preconditions.
&lt;br&gt;&amp;gt;&amp;gt; I have a database with 20 - 100 customers that needs to access this
&lt;br&gt;&amp;gt;&amp;gt; application. Every customer has it's own properties files and css variation.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What I want is that let's say Edgesoft wants to use the application. Then
&lt;br&gt;&amp;gt;&amp;gt; the user will access
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost/app/edgesoft&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/app/edgesoft&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I want to mount Base.class I do not want to do /edgesoft/base only base
&lt;br&gt;&amp;gt;&amp;gt; and the UrlCodingStrategy will handle the rest for me. Check if the customer
&lt;br&gt;&amp;gt;&amp;gt; exists, set variation and then continue with the request.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; An example.
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost/edgesoft/order/order/13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/edgesoft/order/order/13&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost/another/order/order/14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/another/order/order/14&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; mount( MyStrategy( &amp;quot;/order/&amp;quot; , .... );
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This should go to the exact same page but with different variation and
&lt;br&gt;&amp;gt;&amp;gt; properties. How can this be achieved. What classes do I need to subclass to
&lt;br&gt;&amp;gt;&amp;gt; make this happen?
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20660813.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20660813.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&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; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793315&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793315&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;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; WBR, kan.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;WBR, kan.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793315&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793315&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793315.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793285</id>
	<title>Re: Inmethod DataGrid</title>
	<published>2008-12-02T06:28:36Z</published>
	<updated>2008-12-02T06:28:36Z</updated>
	<author>
		<name>Timo Rantalaiho</name>
	</author>
	<content type="html">On Tue, 02 Dec 2008, ulrik wrote:
&lt;br&gt;&amp;gt; I'm using the Inmethod DataGrid in my application.
&lt;br&gt;&amp;gt; I would like to test it's functionality with WicketTester. I have run into
&lt;br&gt;&amp;gt; some problems though. How do I simulate clicking on a row in the DataGrid
&lt;br&gt;&amp;gt; from the WicketTester?
&lt;br&gt;&lt;br&gt;I'm not familiar with DataGrid, but if it has Wicket Ajax behaviours
&lt;br&gt;bound to &amp;quot;onclick&amp;quot; javascript event, probably with
&lt;br&gt;&lt;br&gt;&amp;nbsp; wicketTester.executeAjaxEvent(wicketComponentOfRow, &amp;quot;onclick&amp;quot;);
&lt;br&gt;&lt;br&gt;See the DataGrid source code to find out to which components
&lt;br&gt;the ajax behaviours are bound.
&lt;br&gt;&lt;br&gt;Best wishes,
&lt;br&gt;Timo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Timo Rantalaiho &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Reaktor Innovations Oy &amp;nbsp; &amp;nbsp;&amp;lt;URL: &lt;a href=&quot;http://www.ri.fi/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ri.fi/&lt;/a&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793285&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793285&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Inmethod-DataGrid-tp20792106p20793285.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793237</id>
	<title>Re: backbutton with AjaxFallbackDefaultDataTable</title>
	<published>2008-12-02T06:26:47Z</published>
	<updated>2008-12-02T06:26:47Z</updated>
	<author>
		<name>Timo Rantalaiho</name>
	</author>
	<content type="html">On Tue, 02 Dec 2008, Kamil Hark wrote:
&lt;br&gt;&amp;gt; Hi, I have a problem with browser's backbutton and
&lt;br&gt;&amp;gt; AjaxFallbackDefaultDataTable, I have button that adds new rows into table (I
&lt;br&gt;&amp;gt; put new objects into table's model and udate table with ajax). when I click
&lt;br&gt;&amp;gt; some link to other page and after redirect I click browser's backbutton then
&lt;br&gt;&amp;gt; my table is empty until I refresh the browser.
&lt;br&gt;&amp;gt; How to fix it? I think the reason of above is that after back onRender is
&lt;br&gt;&amp;gt; not invoked
&lt;br&gt;&lt;br&gt;Try disabling all caching with HTTP headers and proper browser 
&lt;br&gt;settings.
&lt;br&gt;&lt;br&gt;Best wishes,
&lt;br&gt;Timo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Timo Rantalaiho &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Reaktor Innovations Oy &amp;nbsp; &amp;nbsp;&amp;lt;URL: &lt;a href=&quot;http://www.ri.fi/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ri.fi/&lt;/a&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793237&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793237&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/backbutton-with-AjaxFallbackDefaultDataTable-tp20791685p20793237.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793201</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T06:24:29Z</published>
	<updated>2008-12-02T06:24:29Z</updated>
	<author>
		<name>kan-4</name>
	</author>
	<content type="html">Basically, just implement IRequestTargetUrlCodingStrategy. :)
&lt;br&gt;What is precise question?
&lt;br&gt;&lt;br&gt;2008/11/24 Mathias P.W Nilsson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793201&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mathias@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I need some info in how to create my own UrlCodingStrategy
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is the preconditions.
&lt;br&gt;&amp;gt; I have a database with 20 - 100 customers that needs to access this
&lt;br&gt;&amp;gt; application. Every customer has it's own properties files and css variation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I want is that let's say Edgesoft wants to use the application. Then
&lt;br&gt;&amp;gt; the user will access
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost/app/edgesoft&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/app/edgesoft&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I want to mount Base.class I do not want to do /edgesoft/base only base
&lt;br&gt;&amp;gt; and the UrlCodingStrategy will handle the rest for me. Check if the customer
&lt;br&gt;&amp;gt; exists, set variation and then continue with the request.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An example.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost/edgesoft/order/order/13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/edgesoft/order/order/13&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost/another/order/order/14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/another/order/order/14&lt;/a&gt;&lt;br&gt;&amp;gt; mount( MyStrategy( &amp;quot;/order/&amp;quot; , .... );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This should go to the exact same page but with different variation and
&lt;br&gt;&amp;gt; properties. How can this be achieved. What classes do I need to subclass to
&lt;br&gt;&amp;gt; make this happen?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20660813.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20660813.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793201&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793201&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;WBR, kan.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793201&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793201&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793201.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20793167</id>
	<title>Unable to instantiate Web session class Error:::Wicket1.3.5 Help</title>
	<published>2008-12-02T06:22:46Z</published>
	<updated>2008-12-02T06:22:46Z</updated>
	<author>
		<name>dabar</name>
	</author>
	<content type="html">App Server: Glassfish V2
&lt;br&gt;Wicket Version:: Wicket 1.3.5
&lt;br&gt;JVM: Java 6u10
&lt;br&gt;IDE: Netbeans6.5
&lt;br&gt;&lt;br&gt;This error does not occur when using Wicket 1.3.1.
&lt;br&gt;&lt;br&gt;Any tips? thanks
&lt;br&gt;&lt;br&gt;Unable to instantiate web session class com.dabarobjects.fme.FMEWebSession
&lt;br&gt;&lt;br&gt;StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw
&lt;br&gt;exception
&lt;br&gt;org.apache.wicket.WicketRuntimeException: Unable to instantiate web session
&lt;br&gt;class com.dabarobjects.fme.FMEWebSession
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:119)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Session.findOrCreate(Session.java:228)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Session.findOrCreate(Session.java:211)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Session.get(Session.java:250)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.Application$1.onInstantiation(Application.java:276)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:974)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Component.&amp;lt;init&amp;gt;(Component.java:873)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.MarkupContainer.&amp;lt;init&amp;gt;(MarkupContainer.java:105)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.Page.&amp;lt;init&amp;gt;(Page.java:235)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.wicket.markup.html.WebPage.&amp;lt;init&amp;gt;(WebPage.java:184)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.markup.html.pages.ExceptionErrorPage.&amp;lt;init&amp;gt;(ExceptionErrorPage.java:55)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abst
&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Aladejebi Ayodeji A.,
&lt;br&gt;DabarObjects Solutions
&lt;br&gt;Phone: +234 9 481 7 156
&lt;br&gt;Mobile: +234 803 589 1780
&lt;br&gt;Email: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20793167&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;deji@...&lt;/a&gt;
&lt;br&gt;Web: www.dabarobjects.com
&lt;br&gt;Blog: blog.dabarobjects.com
&lt;br&gt;&lt;br&gt;Participate, Collaborate, Innovate
&lt;br&gt;Join Community:
&lt;br&gt;&lt;a href=&quot;http://www.cowblock.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cowblock.net/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Get A Free Blog:
&lt;br&gt;&lt;a href=&quot;http://blogs.cowblock.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.cowblock.net/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Unable-to-instantiate-Web-session-class-Error%3A%3A%3AWicket1.3.5-Help-tp20793167p20793167.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20792516</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T05:47:26Z</published>
	<updated>2008-12-02T05:47:26Z</updated>
	<author>
		<name>Francis De Brabandere-2</name>
	</author>
	<content type="html">sorry for the misunderstanding, I never made a url coding strategy so
&lt;br&gt;I won't be able to help you, anybody else?
&lt;br&gt;&lt;br&gt;On Tue, Dec 2, 2008 at 2:31 PM, Mathias P.W Nilsson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20792516&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mathias@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nope this is not what I mean!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What if I want to mount &amp;quot;/events&amp;quot; to Event.class and 100 customers needs to
&lt;br&gt;&amp;gt; use the same page with different variation?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; when the user attempts &lt;a href=&quot;http://localhost/myapp/test/events/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/myapp/test/events/&lt;/a&gt;&amp;nbsp;( test is the
&lt;br&gt;&amp;gt; customer name ) then it should invoke /events.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost/myapp/test2/events&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/myapp/test2/events&lt;/a&gt;&amp;nbsp;should invoke the same page but with the
&lt;br&gt;&amp;gt; test2 customers variation. I do not want to mount test2/events , test/events
&lt;br&gt;&amp;gt; since there could be 100 customers that uses this. ( imaging doing this for
&lt;br&gt;&amp;gt; all classes and all customers ) I need a way to check the customer name set
&lt;br&gt;&amp;gt; variation in the session.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20792180.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20792180.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20792516&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20792516&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.somatik.be&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.somatik.be&lt;/a&gt;&lt;br&gt;Microsoft gives you windows, Linux gives you the whole house.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20792516&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20792516&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20792516.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20792180</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T05:31:50Z</published>
	<updated>2008-12-02T05:31:50Z</updated>
	<author>
		<name>Mathias P.W Nilsson</name>
	</author>
	<content type="html">Nope this is not what I mean!
&lt;br&gt;&lt;br&gt;What if I want to mount &amp;quot;/events&amp;quot; to Event.class and 100 customers needs to use the same page with different variation?
&lt;br&gt;&lt;br&gt;when the user attempts &lt;a href=&quot;http://localhost/myapp/test/events/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/myapp/test/events/&lt;/a&gt;&amp;nbsp;( test is the customer name ) then it should invoke /events. &lt;a href=&quot;http://localhost/myapp/test2/events&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/myapp/test2/events&lt;/a&gt;&amp;nbsp;should invoke the same page but with the test2 customers variation. I do not want to mount test2/events , test/events since there could be 100 customers that uses this. ( imaging doing this for all classes and all customers ) I need a way to check the customer name set variation in the session. 
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20792180.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20792106</id>
	<title>Inmethod DataGrid</title>
	<published>2008-12-02T05:28:05Z</published>
	<updated>2008-12-02T05:28:05Z</updated>
	<author>
		<name>ulrik</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I'm using the Inmethod DataGrid in my application.
&lt;br&gt;I would like to test it's functionality with WicketTester. I have run into some problems though. How do I simulate clicking on a row in the DataGrid from the WicketTester?
&lt;br&gt;&lt;br&gt;// Ulrik&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Inmethod-DataGrid-tp20792106p20792106.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20791999</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T05:21:02Z</published>
	<updated>2008-12-02T05:21:02Z</updated>
	<author>
		<name>Francis De Brabandere-2</name>
	</author>
	<content type="html">&amp;gt; &lt;a href=&quot;http://localhost/test/hello&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/test/hello&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost/test2/hello&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/test2/hello&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can this be done with wicket?
&lt;br&gt;&lt;br&gt;Yes, this is called mounting pages or resources
&lt;br&gt;&lt;br&gt;see here:
&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/WICKET/url-coding-strategies.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/WICKET/url-coding-strategies.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.javalobby.org/java/forums/t68753.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.javalobby.org/java/forums/t68753.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20791796.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20791796.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791999&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791999&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.somatik.be&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.somatik.be&lt;/a&gt;&lt;br&gt;Microsoft gives you windows, Linux gives you the whole house.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791999&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791999&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20791999.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20791796</id>
	<title>Re: Create custom UrlCodingStrategy</title>
	<published>2008-12-02T05:09:34Z</published>
	<updated>2008-12-02T05:09:34Z</updated>
	<author>
		<name>Mathias P.W Nilsson</name>
	</author>
	<content type="html">Can url rewrite be used for this. I guess there are alot of people that want custom made css and so on based on a url
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://localhost/test/hello&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/test/hello&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://localhost/test2/hello&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/test2/hello&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Can this be done with wicket?
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20791796.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20791685</id>
	<title>backbutton with AjaxFallbackDefaultDataTable</title>
	<published>2008-12-02T05:04:08Z</published>
	<updated>2008-12-02T05:04:08Z</updated>
	<author>
		<name>Kamil Hark</name>
	</author>
	<content type="html">Hi, I have a problem with browser's backbutton and AjaxFallbackDefaultDataTable, I have button that adds new rows into table (I put new objects into table's model and udate table with ajax). when I click some link to other page and after redirect I click browser's backbutton then my table is empty until I refresh the browser.
&lt;br&gt;How to fix it? I think the reason of above is that after back onRender is not invoked
&lt;br&gt;&lt;br&gt;Regards Kamil.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/backbutton-with-AjaxFallbackDefaultDataTable-tp20791685p20791685.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20791423</id>
	<title>Re: Openid integration?</title>
	<published>2008-12-02T04:45:11Z</published>
	<updated>2008-12-02T04:45:11Z</updated>
	<author>
		<name>Nino.Martinez</name>
	</author>
	<content type="html">yeah:(
&lt;br&gt;&lt;br&gt;I have something working only partially though, cant get email and name 
&lt;br&gt;attribute back from the openid provider properly.. Seems to work with 
&lt;br&gt;openid.org, but not claimid.com or myopenid.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;But I do not think it has anything todo with wicket:
&lt;br&gt;&lt;br&gt;Wicket sign in panel, sender of request:
&lt;br&gt;&lt;br&gt;public class OpenIdSignInPanel extends SignInPanel {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public OpenIdSignInPanel(String id) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super(id);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean signIn(String username, String password) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OpenIdHelper openIdHelper = new OpenIdHelper();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ServletWebRequest swr = (ServletWebRequest) 
&lt;br&gt;this.getRequestCycle()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getRequest();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BufferedWebResponse bwr = (BufferedWebResponse) this
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getRequestCycle().getResponse();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String returnPage = urlFor(OpenIdSignInPage.class, new 
&lt;br&gt;PageParameters())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .toString();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; returnPage=RequestUtils.toAbsolutePath(returnPage);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openIdHelper.authRequest(username, 
&lt;br&gt;swr.getHttpServletRequest(), bwr
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getHttpServletResponse(),returnPage);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO Auto-generated catch block
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new AbortException() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;// server endpoint
&lt;br&gt;public class OpenIdSignInPage extends AbstractHasRepositoryPage {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final long serialVersionUID = 1L;
&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String MOUNTPATH = &amp;quot;/openid&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public OpenIdSignInPage(PageParameters pageParameters) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super(pageParameters);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OpenIdHelper oih = new OpenIdHelper();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ServletWebRequest swr = (ServletWebRequest) 
&lt;br&gt;this.getRequestCycle()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getRequest();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User openIdUser = 
&lt;br&gt;oih.verifyResponse(swr.getHttpServletRequest());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User user = 
&lt;br&gt;userRepository.getUserByEmail(openIdUser.getEmail());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (user!=null &amp;&amp; user.getPassword() != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;You cannot have both a openid user acount and 
&lt;br&gt;local account either, you can only log on with open id now&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.setPassword(null);
&lt;br&gt;&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; SocratesSession socratesSession = (SocratesSession) 
&lt;br&gt;getSession();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (user == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user = new User();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.setEmail(openIdUser.getEmail());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.setName(openIdUser.getEmail());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; userRepository.add(user);
&lt;br&gt;&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; // userwasthere
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socratesSession.setUserId(user.getId());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socratesSession.setAuthorized(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setResponsePage(MyEventsPage.class);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (ConsumerException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO Auto-generated catch block
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;// helper class using openid4java
&lt;br&gt;&lt;br&gt;public class OpenIdHelper {
&lt;br&gt;&amp;nbsp; &amp;nbsp; public ConsumerManager manager;
&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String OPENID_NS_SREG1_1 = 
&lt;br&gt;&amp;quot;&lt;a href=&quot;http://openid.net/extensions/sreg/1.1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openid.net/extensions/sreg/1.1&lt;/a&gt;&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static org.apache.log4j.Logger log = 
&lt;br&gt;org.apache.log4j.Logger.getLogger(OpenIdHelper.class);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public OpenIdHelper() throws ConsumerException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // instantiate a ConsumerManager object
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; manager = WicketApplication.consumerManager;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; // --- placing the authentication request ---
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String authRequest(String userSuppliedString,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HttpServletRequest httpReq, HttpServletResponse httpResp,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String returnToUrl) throws IOException, ServletException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // configure the return_to URL where your application will 
&lt;br&gt;receive
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // the authentication responses from the OpenID provider
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // perform discovery on the user-supplied identifier
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List discoveries = manager.discover(userSuppliedString);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // attempt to associate with the OpenID provider
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // and retrieve one service endpoint for authentication
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DiscoveryInformation discovered = 
&lt;br&gt;manager.associate(discoveries);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // store the discovery information in the user's session
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; httpReq.getSession().setAttribute(&amp;quot;openid-disc&amp;quot;, discovered);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // obtain a AuthRequest message to be sent to the OpenID 
&lt;br&gt;provider
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AuthRequest authReq = manager.authenticate(discovered, 
&lt;br&gt;returnToUrl);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FetchRequest fetch = FetchRequest.createFetchRequest();
&lt;br&gt;&lt;br&gt;&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; // SRegRequest sregReq = SRegRequest.createFetchRequest();
&lt;br&gt;&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; // sregReq.addAttribute(&amp;quot;fullname&amp;quot;, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // sregReq.addAttribute(&amp;quot;nickname&amp;quot;, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // sregReq.addAttribute(&amp;quot;email&amp;quot;, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetch.addAttribute(&amp;quot;Fullname&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;&lt;a href=&quot;http://axschema.org/namePerson/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://axschema.org/namePerson/&lt;/a&gt;&amp;quot;, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetch.addAttribute(&amp;quot;Email&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;&lt;a href=&quot;http://axschema.org/contact/email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://axschema.org/contact/email&lt;/a&gt;&amp;quot;, true);
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // wants up to three email addresses
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetch.setCount(&amp;quot;Email&amp;quot;, 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AuthRequest req = manager.authenticate(discovered, returnToUrl);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; req.addExtension(fetch);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // authReq.addExtension(sregReq);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!discovered.isVersion2()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Option 1: GET HTTP-redirect to the OpenID Provider 
&lt;br&gt;endpoint
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // The only method supported in OpenID 1.x
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // redirect-URL usually limited ~2048 bytes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; httpResp.sendRedirect(authReq.getDestinationUrl(true));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; httpResp.sendRedirect(authReq.getDestinationUrl(true));
&lt;br&gt;&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; // // Option 2: HTML FORM Redirection (Allows payloads &amp;gt;2048
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // bytes)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // RequestDispatcher dispatcher =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // httpReq.getRequestDispatcher(OpenIdSignInPage.MOUNTPATH);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // httpReq.setAttribute(&amp;quot;parameterMap&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // authReq.getParameterMap());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // httpReq.setAttribute(&amp;quot;destinationUrl&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // authReq.getDestinationUrl(false));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // dispatcher.forward(httpReq, httpResp);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (OpenIDException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // present error to the user
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; // --- processing the authentication response ---
&lt;br&gt;&amp;nbsp; &amp;nbsp; public User verifyResponse(HttpServletRequest httpReq) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // extract the parameters from the authentication response
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // (which comes in as a HTTP request from the OpenID provider)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ParameterList response = new ParameterList(httpReq
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getParameterMap());
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // retrieve the previously stored discovery information
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DiscoveryInformation discovered = (DiscoveryInformation) httpReq
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getSession().getAttribute(&amp;quot;openid-disc&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // extract the receiving URL from the HTTP request
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuffer receivingURL = httpReq.getRequestURL();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String queryString = httpReq.getQueryString();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (queryString != null &amp;&amp; queryString.length() &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; receivingURL.append(&amp;quot;?&amp;quot;).append(httpReq.getQueryString());
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // verify the response; ConsumerManager needs to be the same
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // (static) instance used to place the authentication request
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VerificationResult verification = manager.verify(receivingURL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .toString(), response, discovered);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // examine the verification result and extract the verified
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // identifier
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Identifier verified = verification.getVerifiedId();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (verified != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AuthSuccess authSuccess = (AuthSuccess) verification
&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; .getAuthResponse();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (authSuccess.hasExtension(AxMessage.OPENID_NS_AX)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FetchResponse fetchResp = (FetchResponse) authSuccess
&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; .getExtension(AxMessage.OPENID_NS_AX);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return filluser(fetchResp);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (authSuccess.hasExtension(OPENID_NS_SREG1_1)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.info(&amp;quot;got 
&lt;br&gt;info:&amp;quot;+authSuccess.getParameterValue(&amp;quot;openid.sreg.email&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.info(&amp;quot;got 
&lt;br&gt;info:&amp;quot;+authSuccess.getParameterValue(&amp;quot;openid.sreg.fullname&amp;quot;));
&lt;br&gt;&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; User user = new User();
&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;user.setEmail(authSuccess.getParameterValue(&amp;quot;openid.sreg.email&amp;quot;));
&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;user.setName(authSuccess.getParameterValue(&amp;quot;openid.sreg.fullname&amp;quot;));
&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; return user;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // return verified; // success
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (OpenIDException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // present error to the user
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private User filluser(FetchResponse fetchResp) {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&amp;lt;String&amp;gt; emails = fetchResp.getAttributeValues(&amp;quot;email&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String email = emails.get(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&amp;lt;String&amp;gt; names = fetchResp.getAttributeValues(&amp;quot;name&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String name = names.get(0);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User user = new User();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.setEmail(email);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.setName(name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return user;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Michael Sparer wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Looks pretty empty, doesn't it? :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nino.Martinez wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hmm just saw this :
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://code.google.com/p/wicket-auth-openid/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/wicket-auth-openid/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Nino Saturnino Martinez Vazquez Wael wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Guys
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Have any of you tried to do a openid integration ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; -Wicket for love
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Nino Martinez Wael
&lt;br&gt;&amp;gt;&amp;gt; Java Specialist @ Jayway DK
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.jayway.dk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jayway.dk&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; +45 2936 7684
&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; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791423&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791423&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&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; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; Michael Sparer
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://talk-on-tech.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://talk-on-tech.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;-Wicket for love
&lt;br&gt;&lt;br&gt;Nino Martinez Wael
&lt;br&gt;Java Specialist @ Jayway DK
&lt;br&gt;&lt;a href=&quot;http://www.jayway.dk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jayway.dk&lt;/a&gt;&lt;br&gt;+45 2936 7684
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791423&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20791423&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Openid-integration--tp20778841p20791423.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20790787</id>
	<title>Re: Openid integration?</title>
	<published>2008-12-02T04:02:47Z</published>
	<updated>2008-12-02T04:02:47Z</updated>
	<author>
		<name>Michael Sparer</name>
	</author>
	<content type="html">Looks pretty empty, doesn't it? :-)
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Nino.Martinez wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hmm just saw this :
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://code.google.com/p/wicket-auth-openid/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/wicket-auth-openid/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Nino Saturnino Martinez Vazquez Wael wrote:
&lt;br&gt;&amp;gt; Hi Guys
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have any of you tried to do a openid integration ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-Wicket for love
&lt;br&gt;&lt;br&gt;Nino Martinez Wael
&lt;br&gt;Java Specialist @ Jayway DK
&lt;br&gt;&lt;a href=&quot;http://www.jayway.dk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jayway.dk&lt;/a&gt;&lt;br&gt;+45 2936 7684
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
&lt;br&gt;For additional commands, e-mail: users-help@wicket.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class=&quot;signature&quot;&gt;Michael Sparer
&lt;br&gt;&lt;a href=&quot;http://talk-on-tech.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://talk-on-tech.blogspot.com&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Openid-integration--tp20778841p20790787.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20790155</id>
	<title>Re: Default Focus Behavior?</title>
	<published>2008-12-02T03:12:50Z</published>
	<updated>2008-12-02T03:12:50Z</updated>
	<author>
		<name>Antony Stubbs</name>
	</author>
	<content type="html">Why not put this code into Wicket?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;jwcarman wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On 3/11/08, Martijn Dashorst &amp;lt;martijn.dashorst@gmail.com&amp;gt; wrote:
&lt;br&gt;&amp;gt; I suggest wiki.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Done:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://cwiki.apache.org/confluence/display/WICKET/Request+Focus+on+a+Specific+Form+Component&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/WICKET/Request+Focus+on+a+Specific+Form+Component&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'm happy now. &amp;nbsp;My work (no matter how trivial) may help someone
&lt;br&gt;someday! :) &amp;nbsp;I don't have time to do so now, but I might add in some
&lt;br&gt;examples on how to do focus on errors, etc.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
&lt;br&gt;For additional commands, e-mail: users-help@wicket.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class=&quot;signature&quot;&gt;___________________________&lt;br /&gt;
&lt;a href=&quot;http://stubbisms.wordpress.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stubbisms.wordpress.com&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Default-Focus-Behavior--tp15934889p20790155.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20787361</id>
	<title>Re: How to add cookies to WicketTester?</title>
	<published>2008-12-01T23:29:14Z</published>
	<updated>2008-12-01T23:29:14Z</updated>
	<author>
		<name>Peter Gardfjell</name>
	</author>
	<content type="html">Thanks Vit,
&lt;br&gt;&lt;br&gt;your approach seems to be working. That is, use something like
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cookie cookie = new Cookie(&amp;quot;name&amp;quot;, &amp;quot;value&amp;quot;);		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WicketTester wicketTester = new WicketTester(new MyApplication());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wicketTester.getServletRequest().addCookie(cookie);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wicketTester.startPage(new MyPage());		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wicketTester.assertRenderedPage(MyPage.class);
&lt;br&gt;&lt;br&gt;regards, Peter
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Vit Rozkovec wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hallo,
&lt;br&gt;I think it should work with one of those methods:
&lt;br&gt;&lt;br&gt;public final Page startPage(final ITestPageSource testPageSource)
&lt;br&gt;public final Page startPage(final Page page)
&lt;br&gt;instead of wicketTester.startPage(FooPage.class);
&lt;br&gt;&lt;br&gt;and also you should use wicket tester's request for adding cookies:
&lt;br&gt;wicketTester.getServletRequest()
&lt;br&gt;&lt;br&gt;have not tried it though.
&lt;br&gt;&lt;br&gt;Vitek
&lt;br&gt;&lt;br&gt;&lt;br&gt;Peter Gardfjell wrote:
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; does anyone know of some easy way of adding cookies to WicketTester prior to
&lt;br&gt;&amp;gt; having it visit page?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is something along the line of
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		WicketTester wicketTester = new WicketTester(new MyApplication());
&lt;br&gt;&amp;gt; 		Cookie cookie = new Cookie(&amp;quot;name&amp;quot;, &amp;quot;value&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... insert code for adding cookie to request here ...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;gt; 		wicketTester.startPage(FooPage.class);
&lt;br&gt;&amp;gt; 		wicketTester.assertRenderedPage(FooPage.class);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards, Peter
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
&lt;br&gt;For additional commands, e-mail: users-help@wicket.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-add-cookies-to-WicketTester--tp20733095p20787361.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20786695</id>
	<title>Re: Wicket Session grows too big real fast</title>
	<published>2008-12-01T22:13:41Z</published>
	<updated>2008-12-01T22:13:41Z</updated>
	<author>
		<name>Eelco Hillenius</name>
	</author>
	<content type="html">&amp;gt; With Wicket 1.3 only one page should be stored in session. You should
&lt;br&gt;&amp;gt; check if you don't keep references between pages -&amp;gt; that would result
&lt;br&gt;&amp;gt; in 1+N pages (with N being the number of pages you reference in your
&lt;br&gt;&amp;gt; page).
&lt;br&gt;&lt;br&gt;That's optimized though, so shouldn't typically be a problem. See the
&lt;br&gt;custom read/ write serialization methods in Component and Page and
&lt;br&gt;PageSerializer in AbstractPageStore.
&lt;br&gt;&lt;br&gt;I think the main concern you should have is with serialized domain
&lt;br&gt;objects, especially if you use ORMs like Hibernate and such, since
&lt;br&gt;that makes it all too easy to just read in half of your database with
&lt;br&gt;very little programming effort.
&lt;br&gt;&lt;br&gt;Eelco
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786695&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786695&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wicket-Session-grows-too-big-real-fast-tp20697077p20786695.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20786521</id>
	<title>Re: how to set response to the previous page</title>
	<published>2008-12-01T21:47:51Z</published>
	<updated>2008-12-01T21:47:51Z</updated>
	<author>
		<name>igor.vaynberg</name>
	</author>
	<content type="html">pass the page instance into the confirmation page
&lt;br&gt;&lt;br&gt;setresponsepage(new confirmationpage(this)) or new confirmationpage(getpage());
&lt;br&gt;&lt;br&gt;then in confirmationpage setresponsepage(passedininstance)
&lt;br&gt;&lt;br&gt;-igor
&lt;br&gt;&lt;br&gt;On Mon, Dec 1, 2008 at 9:02 PM, ketanbparekh &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786521&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tabho_2000@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hi i am trying to create a generic confirmation page which can be called by
&lt;br&gt;&amp;gt; an page after its operation is done.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the confirmation page has a back button which clicked goes back to the page
&lt;br&gt;&amp;gt; which called the confirmation page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; eg -&amp;gt; edit user page calls -&amp;gt; confirm page, back button click calls-&amp;gt; edit
&lt;br&gt;&amp;gt; user page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; same for other functionality but only one generic confirm page is used.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is it something to do with websession store or requestcycle in wicket.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; can any one guide me, that will be really appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks,
&lt;br&gt;&amp;gt; Ketan.B.Parekh
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/how-to-set-response-to-the-previous-page-tp20786201p20786201.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/how-to-set-response-to-the-previous-page-tp20786201p20786201.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786521&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786521&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786521&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20786521&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-set-response-to-the-previous-page%28back-button-in-generic-confirmation-page-calls-the-calling-page0-tp20786201p20786521.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20786201</id>
	<title>how to set response to the previous page(back button in generic confirmation page calls the calling page0</title>
	<published>2008-12-01T21:02:11Z</published>
	<updated>2008-12-01T21:02:11Z</updated>
	<author>
		<name>ketanbparekh</name>
	</author>
	<content type="html">hi i am trying to create a generic confirmation page which can be called by an page after its operation is done. 

the confirmation page has a back button which clicked goes back to the page which called the confirmation page.

eg -&gt; edit user page calls -&gt; confirm page, back button click calls-&gt; edit user page. 

same for other functionality but only one generic confirm page is used.

is it something to do with websession store or requestcycle in wicket.

can any one guide me, that will be really appreciated.

thanks,
Ketan.B.Parekh&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-set-response-to-the-previous-page%28back-button-in-generic-confirmation-page-calls-the-calling-page0-tp20786201p20786201.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20785481</id>
	<title>Re: [VOTE] Consistent naming for Wicket Stuff projects</title>
	<published>2008-12-01T19:36:08Z</published>
	<updated>2008-12-01T19:36:08Z</updated>
	<author>
		<name>Ned Collyer</name>
	</author>
	<content type="html">If you can vote +1000 then.. that kinda defeats the purpose yeah ;)
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Martijn Dashorst wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;voting is the apache way. It focusses discussions, and quickly allows
&lt;br&gt;us to find decisions. These *must* happen on the list. +1000 for
&lt;br&gt;Jeremy's energy and vote threads.
&lt;br&gt;&lt;br&gt;Martijn
&lt;br&gt;&lt;br&gt;On Fri, Nov 28, 2008 at 6:52 AM, Ned Collyer &amp;lt;ned.collyer@gmail.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [X] YES - I would like consistent naming!
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-VOTE--Consistent-naming-for-Wicket-Stuff-projects-tp20726075p20785481.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20782621</id>
	<title>Wait confirmation from ModalWindow</title>
	<published>2008-12-01T15:02:47Z</published>
	<updated>2008-12-01T15:02:47Z</updated>
	<author>
		<name>BugBreeder</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I have a confirmation ModalWindow (I expect &amp;quot;yes&amp;quot; or &amp;quot;no&amp;quot;) which opens above
&lt;br&gt;another ModalWindow which allows to update a TextArea and a List which feed
&lt;br&gt;a DropDownBox :
&lt;br&gt;&lt;br&gt;final ConfirmationModel confirmationModel = new ConfirmationModel(this);
&lt;br&gt;final DialogWindow confirmPanel = new DialogWindow(&amp;quot;confirmPanel&amp;quot;,
&lt;br&gt;confirmationModel);
&lt;br&gt;add(confirmPanel);
&lt;br&gt;&lt;br&gt;public class ConfirmationModel extends Observable implements Serializable
&lt;br&gt;.......
&lt;br&gt;&lt;br&gt;// Confirm to Add something
&lt;br&gt;AjaxLink add = new AjaxLink(ADD_COMMAND)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; public void onClick(AjaxRequestTarget target)
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; confirmPanel.setTitle(getString(&amp;quot;confirm&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; confirmPanel.setContent(new DialogPanel(confirmPanel,
&lt;br&gt;parmeters));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; confirmationModel.setCommand(ADD_COMMAND);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; confirmPanel.show(target);
&lt;br&gt;&lt;br&gt;// 1st OPTION: I WOULD LIKE TO BE KEPT WAITING HERE UNTIL CONFIRMATION
&lt;br&gt;OCCURS FROM confirmPanel
&lt;br&gt;&lt;br&gt;// Here below Add command dynamically updates TextArea and List
&lt;br&gt;(session.getUserNotesList()) which feed a DropDownBox (notes)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; target.addComponent(notesForm.get(&amp;quot;textArea&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // VITAL for the DropDownList to refresh its inner list when an item
&lt;br&gt;is removed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; target.addComponent(form.get(&amp;quot;notes&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String id = myNotesChapter + &amp;quot;_&amp;quot; +
&lt;br&gt;(session.getUserNotesList().size() + 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Note noteModel = (Note)form.getModelObject();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Note note = new Note(id, (Person)(session.getUser()),
&lt;br&gt;textArea.getContent());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; session.getUserNotesList().add(note);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dao.addNoteToUser(session.getUser().getLogin(), note);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textArea.setModelValue(new String[1]);
&lt;br&gt;&lt;br&gt;................................................................
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void update(Observable observable, Object object)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String command = ((ConfirmationModel)observable).getCommand();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String result = object.toString();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AjaxRequestTarget target = new AjaxRequestTarget(getPage());
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(command.equals(ADD_COMMAND))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;// 2nd OPTION: REPORT THE DYNAMICAL UPDATES WITH AjaxRequestTarget HERE
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...........................
&lt;br&gt;_______________________________________________________________________
&lt;br&gt;&lt;br&gt;So with 1st option I cannot block smartly the confirmation confirmPanel
&lt;br&gt;until I get &amp;quot;yes&amp;quot; or &amp;quot;no&amp;quot; just after line: confirmPanel.show(target);
&lt;br&gt;&lt;br&gt;And with 2nd option where I try to deport dynamical updates inside the
&lt;br&gt;update() method of Observer/Observable all works fine BUT the elements don't
&lt;br&gt;refresh properly, I have to close then open again the ModalWindow with its
&lt;br&gt;DropDownList and TextArea to check updates happened.
&lt;br&gt;&lt;br&gt;Is there either a way to block the confirmation ModalWindow until answer
&lt;br&gt;comes, or to make the refresh in deported update() work properly?
&lt;br&gt;&lt;br&gt;TIA, best regards.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Eric Lemaitre
&lt;br&gt;CNAM IT Engineer, MS/CS
&lt;br&gt;&lt;br&gt;SCJA, SCJP, SCJD, SCWCD, SCBCD, SCEA, Net+, RHCE, RHCX
&lt;br&gt;&lt;br&gt;Senior Java Developer
&lt;br&gt;__________________
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---Dev-f13977.html&quot; embed=&quot;fixTarget[13977]&quot; target=&quot;_top&quot; &gt;Wicket - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wait-confirmation-from-ModalWindow-tp20782621p20782621.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20778879</id>
	<title>Re: Openid integration?</title>
	<published>2008-12-01T11:32:39Z</published>
	<updated>2008-12-01T11:32:39Z</updated>
	<author>
		<name>Nino.Martinez</name>
	</author>
	<content type="html">Hmm just saw this :
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://code.google.com/p/wicket-auth-openid/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/wicket-auth-openid/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Nino Saturnino Martinez Vazquez Wael wrote:
&lt;br&gt;&amp;gt; Hi Guys
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have any of you tried to do a openid integration ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-Wicket for love
&lt;br&gt;&lt;br&gt;Nino Martinez Wael
&lt;br&gt;Java Specialist @ Jayway DK
&lt;br&gt;&lt;a href=&quot;http://www.jayway.dk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jayway.dk&lt;/a&gt;&lt;br&gt;+45 2936 7684
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778879&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778879&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Openid-integration--tp20778841p20778879.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20778841</id>
	<title>Openid integration?</title>
	<published>2008-12-01T11:31:20Z</published>
	<updated>2008-12-01T11:31:20Z</updated>
	<author>
		<name>Nino.Martinez</name>
	</author>
	<content type="html">Hi Guys
&lt;br&gt;&lt;br&gt;Have any of you tried to do a openid integration ?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-Wicket for love
&lt;br&gt;&lt;br&gt;Nino Martinez Wael
&lt;br&gt;Java Specialist @ Jayway DK
&lt;br&gt;&lt;a href=&quot;http://www.jayway.dk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jayway.dk&lt;/a&gt;&lt;br&gt;+45 2936 7684
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778841&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Openid-integration--tp20778841p20778841.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20778416</id>
	<title>Re: button click and Form with CompoundPropertyModel lose its data</title>
	<published>2008-12-01T11:08:01Z</published>
	<updated>2008-12-01T11:08:01Z</updated>
	<author>
		<name>Edvin Syse</name>
	</author>
	<content type="html">I'm sorry, I see now that I misunderstood the question :)
&lt;br&gt;&lt;br&gt;-- Edvin
&lt;br&gt;&lt;br&gt;Igor Vaynberg skrev:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; your buttons in different forms will submit the form they are in, so
&lt;br&gt;&amp;gt; you lose any input form any other form. this is how html works - only
&lt;br&gt;&amp;gt; one form can be submitted.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; wicket supports embedded forms, so if you embed all your other forms
&lt;br&gt;&amp;gt; into one form the input should not be lost.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -igor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 1, 2008 at 12:11 AM, itayh &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itay.hindy@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am creating a form in the next format:
&lt;br&gt;&amp;gt;&amp;gt; private abstract class EditForm extends Form{
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; public EditForm(String id, Poll poll) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * We wrap the poll bean with a CompoundPropertyModel, this
&lt;br&gt;&amp;gt;&amp;gt; allows
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * us to easily connect form components to the bean properties
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * (component id is used as the property expression)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;super(id, new CompoundPropertyModel(poll));
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My page has also some buttons in different forms that do all kind of things.
&lt;br&gt;&amp;gt;&amp;gt; My problem begin when I create new Poll object (so the poll is empty) and
&lt;br&gt;&amp;gt;&amp;gt; fill the fields of the poll, but before saving it I press on one of the
&lt;br&gt;&amp;gt;&amp;gt; other buttons. It is rendering the page again so all the &amp;nbsp;data that I enter
&lt;br&gt;&amp;gt;&amp;gt; is lost.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Same problem occur when I edit poll and before saving it I press on one of
&lt;br&gt;&amp;gt;&amp;gt; the other buttons. It is rendering the page again so all the &amp;nbsp;data that I
&lt;br&gt;&amp;gt;&amp;gt; change is lost.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any idea will be appreciate.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Itay
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/button-click-and-Form-with-CompoundPropertyModel-lose-its-data-tp20767616p20767616.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/button-click-and-Form-with-CompoundPropertyModel-lose-its-data-tp20767616p20767616.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Wicket - User mailing list archive at Nabble.com.
&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; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20778416&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/button-click-and-Form-with-CompoundPropertyModel-lose-its-data-tp20767616p20778416.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20777952</id>
	<title>Re: Monitor session size in Tomcat</title>
	<published>2008-12-01T10:45:20Z</published>
	<updated>2008-12-01T10:45:20Z</updated>
	<author>
		<name>asfernandes</name>
	</author>
	<content type="html">So does that mean there is nothing already made to monitor session size 
&lt;br&gt;at container level instead of &amp;nbsp;application level?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Adriano
&lt;br&gt;&lt;br&gt;&lt;br&gt;Johan Compagner escreveu:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; you can monitor what wicket does with the IRequestLogger
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 1, 2008 at 16:13, Adriano dos Santos Fernandes &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20777952&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adrianosf@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is not a direct wicket question, but important for wicket usage, so
&lt;br&gt;&amp;gt;&amp;gt; I'm asking here...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What you use to monitor Tomcat sessions size? (preferable something that I
&lt;br&gt;&amp;gt;&amp;gt; can use in production)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I tried with JMX/jconsole and with LambdaProbe. The former doesn't seems to
&lt;br&gt;&amp;gt;&amp;gt; have that info, and the later probably enters in cycle, because &amp;quot;estimate
&lt;br&gt;&amp;gt;&amp;gt; sizes&amp;quot; nevers end for a session just established.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Adriano
&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; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20777952&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20777952&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20777952&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20777952&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Wicket---User-f25133.html&quot; embed=&quot;fixTarget[25133]&quot; target=&quot;_top&quot; &gt;Wicket - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Monitor-session-size-in-Tomcat-tp20773772p20777952.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20774812</id>
	<title>Re: Bug of Wicket when iterate the form using iterator()?</title>
	<published>2008-12-01T07:58:21Z</published>
	<updated>2008-12-01T07:58:21Z</updated>
	<author>
		<name>Johan Compagner</name>
	</author>
	<content type="html">fixed
&lt;br&gt;&lt;br&gt;On Mon, Dec 1, 2008 at 16:48, Johan Compagner &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20774812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jcompagner@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; i am busy fixing it
&lt;br&gt;&amp;gt; but it is not as straightforward as just replacing it with Object[]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 1, 2008 at 16:38, jWeekend &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20774812&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jweekend_forums@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yes, your suggestion should stop that runtime exception being thrown. A
&lt;br&gt;&amp;gt;&amp;gt; new
&lt;br&gt;&amp;gt;&amp;gt; (or more comprehensive) test for that method could confirm this.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What I described addresses a not totally unrelated but slightly broader
&lt;br&gt;&amp;gt;&amp;gt; concern, and would not impact on any optimisations; it is not more
&lt;br&gt;&amp;gt;&amp;gt; important
&lt;br&gt;&amp;gt;&amp;gt; than fixing a known bug that is disturbing a user.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards - Cemal
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.jWeekend.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jWeekend.co.uk&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://jWeekend.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jWeekend.co.uk&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; Matej Knopp-2 wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The only problem right now is the cast to Component[]. The fix is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; easy, just change it to Object[]. The optimization makes a lot of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; sense and there is reason why it can't really be simple.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; -Matej
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Mon, Dec 1, 2008 at 2:29 AM, jWeekend &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20774812&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jweekend_forums@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;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; MarkupContainer's children field is declared as an Object and can refer
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; a ChildList - which is a List, hopefully (until it's genericised) of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Components,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; an Object[] - again, hopefully of Components,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; a Component - ie a single child, or, even
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; a ComponentSourceEntry - a bare-bones representation of only the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;quot;essentials&amp;quot; of a Component from which it can be reconstructed.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I assume MarkupContainer's implementation was refactored (_from_
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; something
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; much more straight-forward) as an optimisation, in particular related
&lt;br&gt;&amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; serialisation, with the argument probably along the lines of: it is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; common
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; for a MarkupContainer to have just a single child, so we don't want the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; luggage of a List in those cases etc ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; All this can make MarkupContainer pretty fragile, easy to accidentally
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; break. If the optimisation argument is really strong enough (I expect
&lt;br&gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; must have been at the time and may still be), at the very least, all
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; messy operations on &amp;quot;children&amp;quot; could be encapsulated in a class
&lt;br&gt;&amp;gt;&amp;gt; (perhaps
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; called FunkyChildren, possibly as an inner class if it necessarily
&lt;br&gt;&amp;gt;&amp;gt; needs
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; access to its owning MarkupContainer instance's guts and is never used
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; outside this context) that exposes only friendly methods like
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; set(int index,Component child) and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; remove(Component child)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; etc ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Apart from simplifying MarkupContainer, the above design would also
&lt;br&gt;&amp;gt;&amp;gt; have
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; benefit of making it possible to address the problem in hand (with the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; illegal runtime array cast), mend what's broken and test this funky,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; edge-case(?) behaviour without having to interfere with
&lt;br&gt;&amp;gt;&amp;gt; MarkupContainer.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; And, if there's a simpler/better/more efficient FunkyChildren possible
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; for
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; 1.5 just plug in the new implementation. Importantly, as this an
&lt;br&gt;&amp;gt;&amp;gt; internal
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; change (internal to MarkupContainer), there will be no API break
&lt;br&gt;&amp;gt;&amp;gt; (neither
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; within Wicket nor in the public API).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Regards - Cemal
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.jWeekend.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jWeekend.co.uk&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://jWeekend.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jWeekend.co.uk&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;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Matej Knopp-2 wrote:
&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; this
&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; sorted = Arrays.asList((Component[])children);
&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; doesn't look right. I think it should have been (Object[])children
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; although a type check would be appropriate.
&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; -Matej
&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; On Fri, Nov 28, 2008 at 7:30 PM, jWeekend &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20774812&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jweekend_forums@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Not quite.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; String[] bO = (String[])(new Object[]{&amp;quot;yes&amp;quot;,&amp;quot;we&amp;quot;,&amp;quot;can&amp;quot;});
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; compiles but fails at run time.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Regards - Cemal
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.jWeekend.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jWeekend.co.uk&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://jWeekend.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jWeekend.co.uk&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Valentine2008 wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It will bring the compilation error when trying to cast arrays in
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Java.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; So you mean it is a bug in Wicket?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Timo Rantalaiho wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Thu, 27 Nov 2008, Valentine2008 wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast
&lt;br&gt;&amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; [Lorg.apache
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; .wicket.Component;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; org.apache.wicket.MarkupContainer.iterator(MarkupContainer.java:478)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; .........
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The code on line 478 of MarkupContainer.java is:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sorted = Arrays.asList((Component[])children);
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Is it a bug of Wicket?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; No, I think it's a limitation of Java. You cannnot cast
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; arrays.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Best wishes,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Timo
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Timo Rantalaiho
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Reaktor Innovations Oy &amp;nbsp; &amp;nbsp;&amp;lt;URL: &lt;a href=&quot;http://www.ri.fi/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ri.fi/&lt;/a&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20774812&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20774812&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &a