Re: [Wicket-user] VOTE
Hello, 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) +1 Best regards, Piotr --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) Cheers Dipu - Original Message - From: Eelco Hillenius [EMAIL PROTECTED] To: Wicket User List wicket-user@lists.sourceforge.net Sent: Friday, February 17, 2006 1:33 AM Subject: [Wicket-user] VOTE Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
1. Give me the constructor change and the Java 5 functionality in onepass (Wicket 2.0) +1 |Per EjeklintMobile: +46 (0)70-5090052Web: http://www.ejeklint.seSkype: callto://ejeklint
Re: [Wicket-user] VOTE
Vote for 2. On 2/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
A vote for: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) Regards, Erik. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
+1 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) cheers, Adam Chesney Head of Core Development Multicom Products Ltd = Tel: (+44) 117 908 1254 (Direct) Mobile (+44) 7780 962 961 email: [EMAIL PROTECTED] This communication is intended solely for the addressee and is confidential. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Multicom Products Limited for any loss or damage arising in any way from receipt or use thereof. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) +1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Best practice for setting up a forward to your app's homepage
What is typically the best practice for setting up a forward to your application's homepage? Right now I have a filter that checks if any page is specified, if it's not, it sends the user to whatever.html (I have wicket mapped to *.html) which feels like such a crap-hack to me. So if I have wicket bound to *.html, and I want people sent to my homepage when they visit http://www.mysite.com, any pointers? I don't mind the index.jsp with the single forward in it, but I thought there was likely a nicer way to do this. Best,Riyad
Re: [Wicket-user] Best practice for setting up a forward to your app's homepage
Hello, What is typically the best practice for setting up a forward to your application's homepage? Right now I have a filter that checks if any page is specified, if it's not, it sends the user to whatever.html (I have wicket mapped to *.html) which feels like such a crap-hack to me. So if I have wicket bound to *.html, and I want people sent to my homepage when they visit http://www.mysite.com, any pointers? I don't mind the index.jsp with the single forward in it, but I thought there was likely a nicer way to do this. index.html: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / meta http-equiv=refresh content=0; url=./app / title/title /head body /body /html where /app is the mapping of the wicket servlet. Best regards, Piotr --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Post 1.2 roadmap
If we do this (java5 and constructor change at once)Then we need to support 2 really different versions1.2 like it is now and a pretty much changed wicket by internals (constructor) and java5.If we don't we only really have to support 1.3 and 2.0 but those wickets are pretty much the same except 1.5 features like generics.That does merge much easier.But maybe if retroweaver or translater works right then we could use that for supporting 1.4 people a bit more.johanOn 2/17/06, Jesse Sightler [EMAIL PROTECTED] wrote: I tend to agree... could we perhaps have another thread for a formal vote? I've read through this thread and I just don't see that many people who both don't want 1.5 and do want the constructor change.Perhaps a survey like: 1. I need the constructor change NOW, but don't want 1.52. I don't care about the constructor change, do them whenever you want3. I don't want either one (just to catch the obstinate types:))I honestly think the do them separate types were mostly just wanting the 1.5 delayed a bit, and don't really care if there's a formal release with just the constructor change or not (but, of course, just IMO).Thanks,Jess http://www.jroller.com/page/jsight/ On 2/16/06, Justin Lee [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: RIPEMD160The constructor change is going to be disruptive enough that maybeswitching both at once wouldn't be so bad.That'd mean only twobranches to maintain which would be a lot less work on you guys.That'd be my vote.It sucks for those who can't upgrade to 1.5 yet, but youhave to make sure you're not making too much work for yourself.And 3branches could get ugly fast.Eelco Hillenius wrote: Yeah, that would mean supporting 1.2 and 1.3 as branches. 2.0 would be HEAD. For us it would be way less work if we'd move to 1.2 directly. But that would probably be a bummer for people that don't want to make the move to JDK 5, but who do want to take advantage of the constructor change. Eelco On 2/16/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: SNIP Only thing for us is that we have to support both 1.2 and 1.3. Does that mean supporting 3 branches;1.2, 1.3 and eventually 2.0?Or did you mean support 1.2 and 1.3 until 2.0 comes out; then supporting 1.3 and 2.0? Just curious on how much I should pity the committers. -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user- --Justin Lee http://www.antwerkz.com AIM : evan chooly720.299.0101-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (Cygwin)iD8DBQFD9LudJnQfEGuJ90MRA0EEAJ985iq9DWPAG4RHekGmqiOkqyisBgCeOw2t81qP9GYOjffV+aYOkyhzywQ==67QW-END PGP SIGNATURE- ---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: VOTE
Eelco Hillenius wrote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) Note sure what the constructor change is. I vote for getting Java5 functionality as soon as possible. /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) In the hope that we will have both sooner. On Thursday 16 Feb 2006 21:33, Eelco Hillenius wrote: Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] java.util.MissingResourceException
Hi all, I have a panel called PersonFormPanel where Ii add a form with id=personForm In this form I add an RequiredTextField with id=name I created a properties file in the same folder with an entry like this: personForm.name.RequiredValidator=Name is a Mandatory field The problem is that when I try to submit the form without the name value, I am getting this error: Unexpected RuntimeException Root cause: java.util.MissingResourceException: Unable to find resource: RequiredValidator If i change the properties file to use: name.RequiredValidator=Name is a Mandatory field It works fine, but it ignores the form Id. Is it the expected behaviour? The problem I see with this is that I can not have two different forms in my panel with elements with equivalent ids and different messages. Best regards, -- __ André Matheus --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) On 2/17/06, John Patterson [EMAIL PROTECTED] wrote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) In the hope that we will have both sooner. On Thursday 16 Feb 2006 21:33, Eelco Hillenius wrote: Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- play tetris http://pepone.on-rez.com/tetris --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
1. Same pepone pepone wrote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) On 2/17/06, John Patterson [EMAIL PROTECTED] wrote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) In the hope that we will have both sooner. On Thursday 16 Feb 2006 21:33, Eelco Hillenius wrote: Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- play tetris http://pepone.on-rez.com/tetris --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) -Matej --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Antw: [Wicket-user] VOTE
+1 on 2. Martin 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] No such method
Hi, I've upgraded from CVS today and got this error: java.lang.NoSuchMethodError: wicket.PageMap.getAccessStack()Ljava/util/Stack If my memory serves me right I saw somewhere that this method was altered? I'm using wicket-spring as well, does that have something to do with it? Stacktrace below: java.lang.NoSuchMethodError: wicket.PageMap.getAccessStack()Ljava/util/Stack; wicket.session.pagemap.LeastRecentlyAccessedEvictionStrategy.evict(LeastRecentlyAccessedEvictionStrategy.java:60) wicket.PageMap.put(PageMap.java:531) wicket.Session.touch(Session.java:575) wicket.Page.doRender(Page.java:390) wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:143) wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:60) wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:47) wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:824) wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:851) wicket.RequestCycle.step(RequestCycle.java:931) wicket.RequestCycle.steps(RequestCycle.java:1005) wicket.RequestCycle.request(RequestCycle.java:451) wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:207) wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:234) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
RE: [Wicket-user] VOTE
2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) Walter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Friday, February 17, 2006 2:34 AM To: Wicket User List Subject: [Wicket-user] VOTE Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user This e-mail (including any attachments) is confidential, may be legally privileged and is designated exclusively for the intended recipient. Access by any other person is not authorised. Any disclosure of this e-mail or of names of persons mentioned therein as well as any storing, copying, distribution and dissemination is strictly prohibited. If you are not the intended recipient, please immediately delete this e-mail and notify the sender by phone or by e-mail. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) +1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Post 1.2 roadmap
I agree with Justin, if you are already introducing a break, put them all into 1 release. Let's say you break the constructors (I'm sorry I'm not farmiliar exactly with what was refactored) and then a certain number of people re-normalize ontop of it, then you break it all over again for Java 5, just break it all at once. On 2/16/06, Justin Lee [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: RIPEMD160The constructor change is going to be disruptive enough that maybeswitching both at once wouldn't be so bad.That'd mean only twobranches to maintain which would be a lot less work on you guys.That'd be my vote.It sucks for those who can't upgrade to 1.5 yet, but youhave to make sure you're not making too much work for yourself.And 3branches could get ugly fast.Eelco Hillenius wrote: Yeah, that would mean supporting 1.2 and 1.3 as branches. 2.0 would be HEAD. For us it would be way less work if we'd move to 1.2 directly. But that would probably be a bummer for people that don't want to make the move to JDK 5, but who do want to take advantage of the constructor change. Eelco On 2/16/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: SNIP Only thing for us is that we have to support both 1.2 and 1.3. Does that mean supporting 3 branches;1.2, 1.3 and eventually 2.0?Or did you mean support 1.2 and 1.3 until 2.0 comes out; then supporting 1.3 and 2.0? Just curious on how much I should pity the committers. -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user- --Justin Leehttp://www.antwerkz.com AIM : evan chooly720.299.0101-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (Cygwin)iD8DBQFD9LudJnQfEGuJ90MRA0EEAJ985iq9DWPAG4RHekGmqiOkqyisBgCeOw2t81qP9GYOjffV+aYOkyhzywQ==67QW-END PGP SIGNATURE- ---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Give me the constructor change and the Java 5 functionality
Please is there any link where one can review the serious changes (advantages and disadvantages) of the Java 5 stuffs. So that one can actually know what he stands to gain or loose generally before casting a vote. Can someone show a coding difference. What already set pattern will really change? Just to be really sure what some of us new usersare voting for Thanks
Re: [Wicket-user] VOTE
I vote for option 1. On Thu, 2006-02-16 at 17:33 -0800, Eelco Hillenius wrote: Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
[Wicket-user] Problems including header elements with custom panels?
Hi, I'm using the latest stable build 1.1, and I'm trying to include a wicket:head tag in my panel's template, and I'm get the following exception: wicket.markup.MarkupException: Markup for a panel component must begin with 'wicket:panel' [markup = file:/C:/src/BangersAndMash/classes/wicket/gmaps/GmapPanel.html, index = 1, current = 'wicket:head' (line 2, column 5)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:247) at wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:626) at wicket.markup.html.panel.Panel.onRender(Panel.java:93) at wicket.Component.render(Component.java:1038) at wicket.MarkupContainer.renderNext(MarkupContainer.java:855) at wicket.MarkupContainer.renderAll(MarkupContainer.java:759) at wicket.Page.onRender(Page.java:737) at wicket.Component.render(Component.java:1038) at wicket.Page.doRender(Page.java:476) at wicket.RequestCycle.respond(RequestCycle.java:665) at wicket.RequestCycle.request(RequestCycle.java:376) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:221) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) Here is my tempalte: html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://wicket.sourceforge.net/; xml:lang=en lang=en wicket:head script src=http://google.com/maps?file=jshl=en; type=text/javascript/script script src=gmap.js type=text/javascript/script script type=text/javascript function _initGoogle() { initMap(map, sidebar, meta, perma, mapType, printer, ) } /script LINK REL=StyleSheet HREF=gmapviewer.css TYPE=text/css MEDIA=screen/ /wicket:head body onload=initGoogle() wicket:panel div class=container div id=mapType class=headernbsp;/div div id=sidebar class=right /div div id=map class=content/div div class=footer div id=meta/div a id=perma href=#/a div id=printer/div /div /div /wicket:panel /body /html If you noticed I also have an onload in the body tag for the javascript. I'm hoping this is working for 1.1 builds. Thanks Charlie --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
Vote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
On Feb 16, 2006, at 6:33 PM, Eelco Hillenius wrote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) +1 -jason --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Give me the constructor change and the Java 5 functionality
We already have committed our self that the constructor change will happen, just as the java 5 stuff will happen.The only question is when.but the constructor change is this, now you do this:public MyWebPage() { Form form = new Form(form); TextField field = new TextField(text); form.add(field); add(form);}with the change you do this:public MyWebPage() { Form form = new Form(this,form); TextField field = new TextField(form,text);} On 2/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please is there any link where one can review the serious changes (advantages and disadvantages) of the Java 5 stuffs. So that one can actually know what he stands to gain or loose generally before casting a vote. Can someone show a coding difference. What already set pattern will really change? Just to be really sure what some of us new usersare voting for Thanks
Re: [Wicket-user] No such method
Somehow it seems that the code is a bit out of syncOr not compiled cleanly.Please make sure that you do compile everything from the start.If you look at the source code you do see that method?johan On 2/17/06, Mats Norén [EMAIL PROTECTED] wrote: Hi,I've upgraded from CVS today and got this error:java.lang.NoSuchMethodError: wicket.PageMap.getAccessStack()Ljava/util/StackIf my memory serves me right I saw somewhere that this method was altered? I'm using wicket-spring as well, does that have something to do with it?Stacktrace below:java.lang.NoSuchMethodError: wicket.PageMap.getAccessStack()Ljava/util/Stack;wicket.session.pagemap.LeastRecentlyAccessedEvictionStrategy.evict (LeastRecentlyAccessedEvictionStrategy.java:60)wicket.PageMap.put(PageMap.java:531)wicket.Session.touch(Session.java:575)wicket.Page.doRender(Page.java:390)wicket.protocol.http.WebRequestCycle.redirectTo (WebRequestCycle.java:143)wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:60)wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:47) wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:824)wicket.RequestCycle.processEventsAndRespond (RequestCycle.java:851)wicket.RequestCycle.step(RequestCycle.java:931)wicket.RequestCycle.steps(RequestCycle.java:1005)wicket.RequestCycle.request(RequestCycle.java:451)wicket.protocol.http.WicketServlet.doGet (WicketServlet.java:207)wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:234)javax.servlet.http.HttpServlet.service(HttpServlet.java:709)javax.servlet.http.HttpServlet.service (HttpServlet.java:802)---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best practice for setting up a forward to your app's homepage
I think that signle forward still is the easiest/ best way to go. If you bind the Wicket servlet on *.html, why not put your forward header in index.htm and configure welcome-file-list welcome-fileindex.htm/welcome-file!-- instead of html -- /welcome-file-list in the bottom of your web app? Eelco On 2/16/06, Riyad Kalla [EMAIL PROTECTED] wrote: What is typically the best practice for setting up a forward to your application's homepage? Right now I have a filter that checks if any page is specified, if it's not, it sends the user to whatever.html (I have wicket mapped to *.html) which feels like such a crap-hack to me. So if I have wicket bound to *.html, and I want people sent to my homepage when they visit http://www.mysite.com, any pointers? I don't mind the index.jsp with the single forward in it, but I thought there was likely a nicer way to do this. Best, Riyad --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Give me the constructor change and the Java 5 functionality
Yeah. We need it for several reasons, the most important being that users are currently not able to work with the full component path in the constructor, which comes in handy when you work with javascript and let components cooperate. Other than the API break, there are no real disadvantages we can think of. The JDK 5 changes (and advantages) can embody a lot, but probably the most important is to use generics with IModel. Currently IModel returns an object (and accepts for setting for that matter), which may be anything on runtime. An example of where that causes problems - especially for new users - is ListView. The ListView should only be used with IModels that return instances of java.util.List. If we could use generics, we could have the compiler enforce that. And furthermore, having IModel like that, would help you tremendously in tightening up your code. No more searching what model x and model y should work with. As you can see, the changes that we talk about are quite small on themselves really. But pretty big if you look at the impact of both the API break and the better usuability. Eelco On 2/17/06, Johan Compagner [EMAIL PROTECTED] wrote: We already have committed our self that the constructor change will happen, just as the java 5 stuff will happen. The only question is when. but the constructor change is this, now you do this: public MyWebPage() { Form form = new Form(form); TextField field = new TextField(text); form.add(field); add(form); } with the change you do this: public MyWebPage() { Form form = new Form(this,form); TextField field = new TextField(form,text); } On 2/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please is there any link where one can review the serious changes (advantages and disadvantages) of the Java 5 stuffs. So that one can actually know what he stands to gain or loose generally before casting a vote. Can someone show a coding difference. What already set pattern will really change? Just to be really sure what some of us new users are voting for Thanks --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Post 1.2 roadmap
The difference between these two changes is though, that people can always 'fix' their code to work with the constructor change, but they might not be able to move to Java 5 due to external factors (ie they can't run on a platform with Java 5 support). Eelco On 2/16/06, Riyad Kalla [EMAIL PROTECTED] wrote: I agree with Justin, if you are already introducing a break, put them all into 1 release. Let's say you break the constructors (I'm sorry I'm not farmiliar exactly with what was refactored) and then a certain number of people re-normalize ontop of it, then you break it all over again for Java 5, just break it all at once. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Problems including header elements with custom panels?
Or you sure you are using 1.1 and not 1.0? 1.1 has support for header contribution. It was one of the major improvements over 1.0 (see http://wicket.sourceforge.net/ news item for October 30) Eelco On 2/17/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: I'm not sure, but the message looks like wicket:head is not supported at all in 1.1 Juergen On 2/17/06, Charlie Hubbard [EMAIL PROTECTED] wrote: Hi, I'm using the latest stable build 1.1, and I'm trying to include a wicket:head tag in my panel's template, and I'm get the following exception: wicket.markup.MarkupException: Markup for a panel component must begin with 'wicket:panel' [markup = file:/C:/src/BangersAndMash/classes/wicket/gmaps/GmapPanel.html, index = 1, current = 'wicket:head' (line 2, column 5)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:247) at wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:626) at wicket.markup.html.panel.Panel.onRender(Panel.java:93) at wicket.Component.render(Component.java:1038) at wicket.MarkupContainer.renderNext(MarkupContainer.java:855) at wicket.MarkupContainer.renderAll(MarkupContainer.java:759) at wicket.Page.onRender(Page.java:737) at wicket.Component.render(Component.java:1038) at wicket.Page.doRender(Page.java:476) at wicket.RequestCycle.respond(RequestCycle.java:665) at wicket.RequestCycle.request(RequestCycle.java:376) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:221) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) Here is my tempalte: html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://wicket.sourceforge.net/; xml:lang=en lang=en wicket:head script src=http://google.com/maps?file=jshl=en; type=text/javascript/script script src=gmap.js type=text/javascript/script script type=text/javascript function _initGoogle() { initMap(map, sidebar, meta, perma, mapType, printer, ) } /script LINK REL=StyleSheet HREF=gmapviewer.css TYPE=text/css MEDIA=screen/ /wicket:head body onload=initGoogle() wicket:panel div class=container div id=mapType class=headernbsp;/div div id=sidebar class=right /div div id=map class=content/div div class=footer div id=meta/div a id=perma href=#/a div id=printer/div /div /div /wicket:panel /body /html If you noticed I also have an onload in the body tag for the javascript. I'm hoping this is working for 1.1 builds. Thanks Charlie --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] question on DatePicker in FormInput example
In the FormInput example, we build a subclass of wicket.markup.html.form.Form to contain the date inputbox and DatePicker. For this input, the HTML inside the form is: label wicket:id=dateLabel for=datePropertyDate/label input wicket:id=dateProperty id=dateProperty type=text size=40/ span wicket:id=datePicker/span On the java side, adding the DatePicker to the Form subclass is: WebMarkupContainer dateLabel = new WebMarkupContainer(dateLabel); add(dateLabel); TextField datePropertyTextField = new TextField(dateProperty, Date.class); add(datePropertyTextField); add(new DatePicker(datePicker, dateLabel, datePropertyTextField)); Questions: (1) What is the significance of the label's for='dateProperty' attribute, and the passing of the dateLabel to the DatePicker's constructor? Is this to prevent the pop-up from covering the label? (2) Why to we make dateLabel a WebMarkupContainer, rather than an ordinary wicket.markup.html.basic.Label ? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best practice for setting up a forward to your app's homepage
Thank you Eelco. Eelco Hillenius wrote: I think that signle forward still is the easiest/ best way to go. If you bind the Wicket servlet on *.html, why not put your forward header in index.htm and configure welcome-file-list welcome-fileindex.htm/welcome-file!-- instead of html -- /welcome-file-list in the bottom of your web app? Eelco On 2/16/06, Riyad Kalla [EMAIL PROTECTED] wrote: What is typically the best practice for setting up a forward to your application's homepage? Right now I have a filter that checks if any page is specified, if it's not, it sends the user to whatever.html (I have wicket mapped to *.html) which feels like such a crap-hack to me. So if I have wicket bound to *.html, and I want people sent to my homepage when they visit http://www.mysite.com, any pointers? I don't mind the index.jsp with the single forward in it, but I thought there was likely a nicer way to do this. Best, Riyad --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Question about Panel in Form
I've seen examples of putting widgets into a Form, but I've not seen one where a Panel is added to a Form. Suppose I have a collection of form widgets (text boxes, radio buttons, etc.) that I need to put in forms on many different pages. If I put these components in a Panel, does adding the Panel to each Form give me the same effect as adding to each form all the widgets contained in the Panel (but with re-use of the Panel's HTML)? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about Panel in Form
Yes.MartijnOn 2/17/06, Frank Silbermann [EMAIL PROTECTED] wrote: I've seen examples of putting widgets into a Form, but I've not seen onewhere a Panel is added to a Form.Suppose I have a collection of form widgets (text boxes, radio buttons,etc.) that I need to put in forms on many different pages. If I put these components in a Panel, does adding the Panel to each Formgive me the same effect as adding to each form all the widgets containedin the Panel (but with re-use of the Panel's HTML)? ---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1
Re: [Wicket-user] VOTE
#2. Java 5 still does not run on all hardware that Java 1.4 runs on. AIX is one good example. And are all Java web hosters running Java 5 yet? - Jonathan [EMAIL PROTECTED] 2006-02-16 7:33:37 PM Hi all, This is a non-binding (the developers ultimately decide) call votes concerning whether we should fold the upcomming constructor changes with our move to Java 5 or not. See for a discussion of those changes other threads, please use this thread for voting only. 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) 2. Do the constructor change in a seperate release (Wicket 1.3) and put Java 5 in the next (Wicket 2.0) 3. I don't want either one and I want to stay on Wicket 1.2. This last option has no real effect except that you explicitly say that you prefer a long lasting support on 1.2 over new features. Also, take into consideration that the less versions we have to maintain seperately, the quicker we probably can implement them. Your votes please? Btw, it is still our plan to be up-to-date with Wicket In Action. Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Katun Corporation -- www.katun.com _ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [wicket-user] VOTE
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) +1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Getting a reference to the underlying HttpSession object
I have setup a listener to place Hibernate Session instances into each HttpSession created and clean them out when done. Although now in my WebPage code I need to get access to the HttpSession in order to pull the Hibernate Session out and am not seeing a good way to do it. All the add/remove/getAttribute methods in addition to the ISessionStore instance are all protected, and AFAIKT those are the ways to get to the underlying HttpSession. Any help appreciated. I'd like to appologize for the onslaught of n00b questions recently, believe it or not I actually search for this stuff before I ask... but my guess is not good enough. Best, Riyad --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Getting a reference to the underlying HttpSession object
On 2/17/06, Riyad Kalla [EMAIL PROTECTED] wrote: I have setup a listener to place Hibernate Session instances into each HttpSession created and clean them out when done. Although now in my WebPage code I need to get access to the HttpSession in order to pull the Hibernate Session out and am not seeing a good way to do it. All the add/remove/getAttribute methods in addition to the ISessionStore instance are all protected, and AFAIKT those are the ways to get to the underlying HttpSession. If you really need the HttpSession, ISessionStore is not even guaranteed to be backed by that. Which is one reason why I removed the getHttpSession method from Session. Another is that I saw some serious mis-use in on of the wicket-stuff projects, giving me a stronger idea that it was 'too easy to get' still. Anyway, you can always get it like this: ((WebRequest)getRequest()).getHttpServletRequest().getSession() Any help appreciated. I'd like to appologize for the onslaught of n00b questions recently, believe it or not I actually search for this stuff before I ask... but my guess is not good enough. Hey, no problem! That's what the user list is for :) Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Getting a reference to the underlying HttpSession object
Eelco, Thank you for the snippet. Although what you said about misuse made me wonder, am I doing something I shouldn't be doing? Is there an alternative strategy for storing Hibernate sessions in an easy-to-access location that you would employ that is Wicket friendly? Best, Riyad Eelco Hillenius wrote: On 2/17/06, Riyad Kalla [EMAIL PROTECTED] wrote: I have setup a listener to place Hibernate Session instances into each HttpSession created and clean them out when done. Although now in my WebPage code I need to get access to the HttpSession in order to pull the Hibernate Session out and am not seeing a good way to do it. All the add/remove/getAttribute methods in addition to the ISessionStore instance are all protected, and AFAIKT those are the ways to get to the underlying HttpSession. If you really need the HttpSession, ISessionStore is not even guaranteed to be backed by that. Which is one reason why I removed the getHttpSession method from Session. Another is that I saw some serious mis-use in on of the wicket-stuff projects, giving me a stronger idea that it was 'too easy to get' still. Anyway, you can always get it like this: ((WebRequest)getRequest()).getHttpServletRequest().getSession() Any help appreciated. I'd like to appologize for the onslaught of n00b questions recently, believe it or not I actually search for this stuff before I ask... but my guess is not good enough. Hey, no problem! That's what the user list is for :) Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Problems including header elements with custom panels?
Doh! I originally downloaded the 1.1 release, then saw the quickstart projects. The IDEA project is using 1.0.1 and not 1.1. Thanks for pointing that out. :-) Charlie On 2/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Or you sure you are using 1.1 and not 1.0? 1.1 has support for header contribution. It was one of the major improvements over 1.0 (see http://wicket.sourceforge.net/ news item for October 30) Eelco On 2/17/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: I'm not sure, but the message looks like wicket:head is not supported at all in 1.1 Juergen On 2/17/06, Charlie Hubbard [EMAIL PROTECTED] wrote: Hi, I'm using the latest stable build 1.1, and I'm trying to include a wicket:head tag in my panel's template, and I'm get the following exception: wicket.markup.MarkupException: Markup for a panel component must begin with 'wicket:panel' [markup = file:/C:/src/BangersAndMash/classes/wicket/gmaps/GmapPanel.html, index = 1, current = 'wicket:head' (line 2, column 5)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:247) at wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:626) at wicket.markup.html.panel.Panel.onRender(Panel.java:93) at wicket.Component.render(Component.java:1038) at wicket.MarkupContainer.renderNext(MarkupContainer.java:855) at wicket.MarkupContainer.renderAll(MarkupContainer.java:759) at wicket.Page.onRender(Page.java:737) at wicket.Component.render(Component.java:1038) at wicket.Page.doRender(Page.java:476) at wicket.RequestCycle.respond(RequestCycle.java:665) at wicket.RequestCycle.request(RequestCycle.java:376) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:221) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) Here is my tempalte: html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://wicket.sourceforge.net/; xml:lang=en lang=en wicket:head script src=http://google.com/maps?file=jshl=en; type=text/javascript/script script src=gmap.js type=text/javascript/script script type=text/javascript function _initGoogle() { initMap(map, sidebar, meta, perma, mapType, printer, ) } /script LINK REL=StyleSheet HREF=gmapviewer.css TYPE=text/css MEDIA=screen/ /wicket:head body onload=initGoogle() wicket:panel div class=container div id=mapType class=headernbsp;/div div id=sidebar class=right /div div id=map class=content/div div class=footer div id=meta/div a id=perma href=#/a div id=printer/div /div /div /wicket:panel /body /html If you noticed I also have an onload in the body tag for the javascript. I'm hoping this is working for 1.1 builds. Thanks Charlie --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search
Re: [Wicket-user] Post 1.2 roadmap
*puts on his Vote for Igor shirt*On 2/16/06, Johan Compagner [EMAIL PROTECTED] wrote: igor is ofcourse 100% right !We all should really listen to what igor has to say on this matter!!I always completely agree with igor! We all should follow him!!johan On 2/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it doesnt matter how the post started, you have to read the entire thing.first he said what the constructor refactor isthen he asked when we should do it.there was never a question of /how/ the refactor will look. furthermore, i asked gili not to post any discussion into /this/ thread. is that so difficult? i never told him not to discuss it, just not to do it here. if he wants to gain insight as to why we chose to do the refactor like we did, that is fine, but once again, not in this thread. this is absolutely the last message i am posting about this. i have very little free time and so i do not want to waste other people's time on reading this because i know it sucks.-Igor On 2/16/06, Timo Stamm [EMAIL PROTECTED] wrote: Igor Vaynberg schrieb: first of all we have already decided that this is going to happen. there was a vote and it passed. this is what the original posting by martijn implied, he asked for /when/ not /how/. Martijns post started with the following sentence (emphasis mine):| We are of course very busy finalizing Wicket 1.2, and we /really/ hope| to get it done soon. This will benefit everyone. So I want to take a | look beyond 1.2 and try to *get some opinions on our roadmap*, and| *adjust where appropiate*.Where did he ask /when/ to make the changes? I can't find that questionin the entire original posting. You are the committers, you have the best insight into wicket, youreceive the most user feedback and you are probably in the best positionto decide which changes are necessary. I don't want to question that. But the original posting did seem like a request for discussion, sopeople started a discussion. It's just a misunderstanding, and itreconfirmes once again that one should be extra verbose in allcommunications that are not face-to-face communication. Timo---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket:head in Wicket 1.2
Has something changed in Wicket 1.2 for header contribution? I was under the impression that if an inheriting page had both head and wicket:head then Wicket would copy only the contents of wicket:head up to the parent and the rest of the content of head is purely for previewability purposes and is discarded at runtime. For an unknown reason, I am getting an exception when rendering a page where Wicket is complaining I define a component in the markup bu never add()ed it in the Java code. But I have! I suspect something in the header contribution code is screwing things up because if I remove wicket:head so that the component is available directly in head then add() works fine with no error. Ideas? Gili -- http://www.desktopbeautifier.com/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
Vote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] conceptual question
I am wondering where I can get a conceptual overview of how Wicket works. My questions are: What sort of application data is automatically stored in the wicket servlet's HttpSession (for simplicity, assume that models are not detachable). What sort of data, if any, is stored in secret fields in the HTML on the client's browser? If I declare a variable in a Wicket object's constructor, what happens to its value when the constructor completes its execution? Does it vanish, or is it saved somewhere for the next time the page is built? I notice that users never seem to declare instance variables in their subclasses of Wicket objects. Why is this? If I did create an instance variable, how would Wicket use it? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Spam] [Wicket-user] wicket:head in Wicket 1.2
Caused by the use of wicket:head in a child page without wicket:extend in the body. I'm going to file a bug report against the misleading error message. Gili Gili wrote: Has something changed in Wicket 1.2 for header contribution? I was under the impression that if an inheriting page had both head and wicket:head then Wicket would copy only the contents of wicket:head up to the parent and the rest of the content of head is purely for previewability purposes and is discarded at runtime. For an unknown reason, I am getting an exception when rendering a page where Wicket is complaining I define a component in the markup bu never add()ed it in the Java code. But I have! I suspect something in the header contribution code is screwing things up because if I remove wicket:head so that the component is available directly in head then add() works fine with no error. Ideas? Gili -- http://www.desktopbeautifier.com/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Give me the constructor change and the Java 5 functionality
i think i am clearer now..thanks On 2/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah. We need it for several reasons, the most important being thatusers are currently not able to work with the full component path in the constructor, which comes in handy when you work with _javascript_and let components cooperate. Other than the API break, there are noreal disadvantages we can think of.The JDK 5 changes (and advantages) can embody a lot, but probably the most important is to use generics with IModel. Currently IModelreturns an object (and accepts for setting for that matter), which maybe anything on runtime. An example of where that causes problems -especially for new users - is ListView. The ListView should only be used with IModels that return instances of java.util.List. If we coulduse generics, we could have the compiler enforce that. Andfurthermore, having IModel like that, would help you tremendously intightening up your code. No more searching what model x and model y should work with.As you can see, the changes that we talk about are quite small onthemselves really. But pretty big if you look at the impact of boththe API break and the better usuability.Eelco On 2/17/06, Johan Compagner [EMAIL PROTECTED] wrote: We already have committed our self that the constructor change will happen, just as the java 5 stuff will happen. The only question is when. but the constructor change is this, now you do this: public MyWebPage() { Form form = new Form(form); TextField field = new TextField(text); form.add(field); add(form); } with the change you do this: public MyWebPage(){Form form = new Form(this,form); TextField field = new TextField(form,text); } On 2/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please is there any link where one can review the serious changes (advantages and disadvantages) of the Java 5 stuffs. So that one can actually know what he stands to gain or loose generally before casting a vote. Can someone show a coding difference. What already set pattern will really change? Just to be really sure what some of us new users are voting for Thanks ---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] New User - Two pages in one Application
Hi, I am new to wicket and have a pretty silly question, but could not find an example to help me Assuming you create an Application that will have two pages, the first page is easy to display using the getPages().setHomePage(MyPage.class); in the constructor of the application. But, how can I have a link on the MyPage to show a second (third, fourth etc) page ? Thanks in advance !!
Re: [Wicket-user] Getting a reference to the underlying HttpSession object
On 2/18/06, Al Maw [EMAIL PROTECTED] wrote: Spring contains an OpenSessionInViewFilter for Hibernate (which is astandard Servlet API ServletFilter). This will open a single session atthe beginning of each request and close it when the request ends. Youshould be hooking all this up to a database connection pool to make it efficient.Is there anything magic one needs to do for this? I've tried adding this to two of my projects but I still seem to always get my lazy loading problems. In my web.xml for my wicket app I had: filter filter-nameopenSessionInView/filter-name filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class init-param param-namesingleSession/param-name param-valuetrue/param-value /init-param /filter filter-mapping filter-nameopenSessionInView/filter-name url-pattern/app/*/url-pattern /filter-mappingIs this -all- I need? Spring is being initialized with: listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listenerin my web.xml ( not sure if that matters? ). -- i like my video games - mamma said they are gonna melt my brainsi like my video games - i don't care what daddy said; they're my reality- henning pauly
Re: [Wicket-user] New User - Two pages in one Application
In MyPage.html have: a wicket:id="secondPage"Second PageLink/a and in MyPage.java: add(new PageLink("secondPage", SecondPage.class)); The actual "href" part is created using voodoo magic in the backing Java class to your other pages. -R Kyriakos Tsourapas wrote: Hi, I am new to wicket and have a pretty silly question, but could not find an example to help me Assuming you create an Application that will have two pages, the first page is easy to display using the getPages().setHomePage(MyPage.class); in the constructor of the application. But, how can I have a link on the MyPage to show a second (third, fourth etc) page ? Thanks in advance !!
Re: [Wicket-user] Getting a reference to the underlying HttpSession object
if you store a hibernate object in session ( as a model object or a property of the component ) and access it in another request you will get the lazy load exception because that object is no longer connected to the session that loaded it. to avoid this you can use detachable models that load the object whenever it is requested and only stores the id in session.-IgorOn 2/17/06, Mark Derricutt [EMAIL PROTECTED] wrote: On 2/18/06, Al Maw [EMAIL PROTECTED] wrote: Spring contains an OpenSessionInViewFilter for Hibernate (which is astandard Servlet API ServletFilter). This will open a single session atthe beginning of each request and close it when the request ends. You should be hooking all this up to a database connection pool to make it efficient.Is there anything magic one needs to do for this? I've tried adding this to two of my projects but I still seem to always get my lazy loading problems. In my web.xml for my wicket app I had: filter filter-nameopenSessionInView/filter-name filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class init-param param-namesingleSession/param-name param-valuetrue/param-value /init-param /filter filter-mapping filter-nameopenSessionInView/filter-name url-pattern/app/*/url-pattern /filter-mappingIs this -all- I need? Spring is being initialized with: listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listenerin my web.xml ( not sure if that matters? ). -- i like my video games - mamma said they are gonna melt my brainsi like my video games - i don't care what daddy said; they're my reality- henning pauly
RE: [Wicket-user] New User - Two pages in one Application
Thanks, it worked. Is there a Building a web app guide that I can read ? I mean, the question I asked is straight forward, but I couldn t find the answer in any guide there is on the site
Re: [Wicket-user] New User - Two pages in one Application
you can try searching this list. this particular answer has been answered many times.-IgorOn 2/17/06, Kyriakos Tsourapas [EMAIL PROTECTED] wrote: Thanks, it worked. Is there a "Building a web app" guide that I can read ? I mean, the question I asked is straight forward, but I couldn' t find the answer in any guide there is on the site…
Re: [Wicket-user] VOTE
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 w00t! 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) - -- Justin Lee http://www.antwerkz.com AIM : evan chooly 720.299.0101 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) iD8DBQFD9kfKJnQfEGuJ90MRA/TeAJ9am+RnU+7nHj5vTGijT+PasdCEiQCfQHKf XDaFHbkKS4CxsvcUnHWWbNg= =FfJI -END PGP SIGNATURE- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] New User - Two pages in one Application
The wiki has several links to tutorial articles written by others. Javalobby has posted several articles recently. Martijn On 2/17/06, Kyriakos Tsourapas [EMAIL PROTECTED] wrote: Thanks, it worked. Is there a Building a web app guide that I can read ? I mean, the question I asked is straight forward, but I couldn' t find the answer in any guide there is on the site… -- Living a wicket life... Martijn Dashorst - http://www.jroller.com/page/dashorst Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE
+1 to option 1On 2/17/06, Justin Lee [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: RIPEMD160w00t! 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0)- --Justin Lee http://www.antwerkz.comAIM : evan chooly720.299.0101-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (Cygwin)iD8DBQFD9kfKJnQfEGuJ90MRA/TeAJ9am+RnU+7nHj5vTGijT+PasdCEiQCfQHKfXDaFHbkKS4CxsvcUnHWWbNg= =FfJI-END PGP SIGNATUREThis SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user