Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?
I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from dojo into the project, both seemed to work. When 1.2.1 is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib-dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
On Tue, 20 Jun 2006 13:07:37 +0430, Michiel Korthuis [EMAIL PROTECTED] wrote: i think \w = [_A-Za-z0-9] so instread of ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL PROTECTED](\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$) can tell ^\w+(\.\w+)[EMAIL PROTECTED]((\.\w+\.)+|\.)[a-z]{2,3}$ (only my difference that .words in part of domain of email end also to . except of last .word that must be 2 or 3 letter) FAQ : why use | ? answer : we see below shape after @ in email : ali.WORDs.com (WORDs once or more) = (\.\w+\.)+ or ali.com = \. I am currently working on my graduation(project) @ Topicus with another student (Ronald Hemmink). We are new to Wicket and before we saw the wicket-build-in validator we came up with our own expression: ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL PROTECTED](\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$) the Wicket expression: ^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\\.[a-z]{2,3})$ almost identical, but 'large TLD compatible' (the pattern in wicket has the argument 'Pattern.CASE_INSENSITIVE' and therefore they don't need to define the upper-case charcters). your pattern looks a bit too complicated for the job :P Michiel On 6/20/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: Thats right.. In our company we use the (crazy) regex pattern taken from http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html String emailPattern = [...] Would anyone in the wicket team like to use this as the emailvalidation pattern instead, I would be happy to submit a patch (for both 1.2 or 2.0 if thats the case). Regards Frank Bille Avaleo On Tue, 2006-06-20 at 10:08 +0200, Michiel Korthuis wrote: hi, In wicket.markup.html.form.validation.EmailAddressPatternValidator.java the validation-expression is incorrect. the regular expression reads: ^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\ \.[a-z]{2,3})$ According to this expression the TLD is 2 or 3 characters, but that's incorrect. Nowadays it can exceed the limit of 3 characters (for example: .aero or .travel. Source: http://www.iana.org/gtld/gtld.htm ). Michiel ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
On Thu, 2006-06-22 at 06:47 +0200, jan_bar wrote: just in the case, do you take IDN (International Domain Names) into consideration? Allowed characters for .de domain are listed here: http://www.denic.de/en/domains/idns/liste.html. It's not me who have created the RFC 822 compliant regex. But it should implement all specs from the RFC. So if the RFC says that IDN domains can be used, then they are validated. http://www.mädchen.de (doesn't work but is registered) I have added a test case (patch attached to this email; igor?) which matches a email from that domain ([EMAIL PROTECTED]) as valid. So yes: IDN domain names are validated as valid. :) Regards Frank Bille Avaleo Index: /home/fb/Workspaces/Wicket/wicket-extensions-1.2/src/test/wicket/extensions/markup/html/form/validation/RfcCompliantEmailValidatorTest.java === --- /home/fb/Workspaces/Wicket/wicket-extensions-1.2/src/test/wicket/extensions/markup/html/form/validation/RfcCompliantEmailValidatorTest.java (revision 6223) +++ /home/fb/Workspaces/Wicket/wicket-extensions-1.2/src/test/wicket/extensions/markup/html/form/validation/RfcCompliantEmailValidatorTest.java (working copy) @@ -45,7 +45,9 @@ my @email.com, my@ email.com, \John Doe\@email.com, -[EMAIL PROTECTED] }; +[EMAIL PROTECTED], +[EMAIL PROTECTED], +[EMAIL PROTECTED]}; for (int i = 0; i validEmails.length; i++) { All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
Instead of using some super long regex why not code the logic by hand (the old fashion way without regex). I find that often the resulting code is easier to read and in this case it might actually turn out to be shorter. Maybe :) Gili Frank Bille Jensen wrote: On Wed, 2006-06-21 at 12:02 -0400, Michael Day wrote: I only glanced quickly at the larger expression, but it seems to allow for quite a bit that you would NOT want. I think it's more geared toward mail servers. For example, I think it will evaluate the following as a valid email address (possibly with random tabs and spaces throughout): [EMAIL PROTECTED] Below are some (according to the RFC) valid email adresses. I think the ones to notice is the ones with a space in 'em. VALID_EMAIL1.setAddress([EMAIL PROTECTED]); VALID_EMAIL2.setAddress([EMAIL PROTECTED]); VALID_EMAIL3.setAddress([EMAIL PROTECTED]); VALID_EMAIL4.setAddress([EMAIL PROTECTED]); VALID_EMAIL5.setAddress([EMAIL PROTECTED]); VALID_EMAIL6.setAddress(my @email.com); VALID_EMAIL7.setAddress(my@ email.com); VALID_EMAIL8.setAddress(\Ulrik Jensen\@email.com); Is this what most people want? Probably not. I would prefer to ensure the email address is in a format like this: [EMAIL PROTECTED] And I think the smaller expression will validate emails in this format just fine. I agree. If Wicket used the RFC correct validation pattern and developers forgot to check whether there mailing systems actually were able to handle such email addresses they would probably be quite frustrated. How about having a RfcCompliantEmailAddressPatternValidator living next to the normal EmailAddressPatternValidator? Then developers would only pick the RFC compliant version if they actually needed it. Just a thought. Regards Frank Bille Avaleo All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
I don't think that code will be better readable. But I'm looking forward to what you think it should look like :) Eelco On 6/21/06, cowwoc [EMAIL PROTECTED] wrote: Instead of using some super long regex why not code the logic by hand (the old fashion way without regex). I find that often the resulting code is easier to read and in this case it might actually turn out to be shorter. Maybe :) Gili Frank Bille Jensen wrote: On Wed, 2006-06-21 at 12:02 -0400, Michael Day wrote: I only glanced quickly at the larger expression, but it seems to allow for quite a bit that you would NOT want. I think it's more geared toward mail servers. For example, I think it will evaluate the following as a valid email address (possibly with random tabs and spaces throughout): [EMAIL PROTECTED] Below are some (according to the RFC) valid email adresses. I think the ones to notice is the ones with a space in 'em. VALID_EMAIL1.setAddress([EMAIL PROTECTED]); VALID_EMAIL2.setAddress([EMAIL PROTECTED]); VALID_EMAIL3.setAddress([EMAIL PROTECTED]); VALID_EMAIL4.setAddress([EMAIL PROTECTED]); VALID_EMAIL5.setAddress([EMAIL PROTECTED]); VALID_EMAIL6.setAddress(my @email.com); VALID_EMAIL7.setAddress(my@ email.com); VALID_EMAIL8.setAddress(\Ulrik Jensen\@email.com); Is this what most people want? Probably not. I would prefer to ensure the email address is in a format like this: [EMAIL PROTECTED] And I think the smaller expression will validate emails in this format just fine. I agree. If Wicket used the RFC correct validation pattern and developers forgot to check whether there mailing systems actually were able to handle such email addresses they would probably be quite frustrated. How about having a RfcCompliantEmailAddressPatternValidator living next to the normal EmailAddressPatternValidator? Then developers would only pick the RFC compliant version if they actually needed it. Just a thought. Regards Frank Bille Avaleo All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester in 1.2 causing internal error cloning object errors.
Juergen Donnerstag wrote: HTTP sessions and hence Wicket Pages get serialized and hence all it components and variable must be serializable or transient. We enforced that policy a little bit to make sure the error are detected earlier and late when the application is deployed already. Just make sure your components and component variable implement Serializable. I am aware of that. Please look at the example code I included in my previous post. It's a trivial WebPage with a single label, and some WicketTester test code. That's all that's needed to cause the exception. This is code that I almost copied verbatim from the WicketTester api docs. There are no custom beans, so I don't see what I could make Serializable. In the actual project where I'm running into these problems, all beans are serializable or transient, and all business objects are injected with Spring proxies. (using @SpringBean annotations). The webapplication runs fine, it's *just* the WicketTester code that fails. Maybe there is a simple solution to this problem, but I'm obviously overlooking it. cheers, Gert wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.util.tester.DummyHomePage On 6/21/06, Gert Jan Verhoog [EMAIL PROTECTED] wrote: Hi list, After upgrading to Wicket 1.2, wicket tests for my project don't work anymore. Testing a page that is initialized using a custom constructor causes a WicketRuntimeException: wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.util.tester.DummyHomePage at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:62) [... bits of stacktrace omitted for brevity ...] Caused by: java.io.NotSerializableException: com.example.MyPageTest$1 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) [... rest of stacktrace omitted for brevity ...] I created the initialized page with an anonymous ITestPageSource, as per the WicketTester javadocs. Consider the following example code that causes the error: MyPage.html: - - - - - - - - - - - - - - - - - - - - - - - - - - html xmlns:wicket=http://wicket.sourceforge.net/; headtitlebla/title/head body h1span wicket:id=title(title)/span/h1 /body /html - - - - - - - - - - - - - - - - - - - - - - - - - - MyPage.java: - - - - - - - - - - - - - - - - - - - - - - - - - - package com.example; import wicket.markup.html.WebPage; import wicket.markup.html.basic.Label; public class MyPage extends WebPage { public MyPage() { this(empty); } public MyPage(String title) { add(new Label(title,title)); } } - - - - - - - - - - - - - - - - - - - - - - - - - - and finally, MyPageTest.java: - - - - - - - - - - - - - - - - - - - - - - - - - - package com.example; import junit.framework.TestCase; import wicket.Page; import wicket.util.tester.ITestPageSource; import wicket.util.tester.WicketTester; public class MyPageTest extends TestCase { public void testRenderMyPage() { WicketTester tester = new WicketTester(); // the following statement throws the exception: tester.startPage(new ITestPageSource() { public Page getTestPage() { return new MyPage(hello world); } }); } } - - - - - - - - - - - - - - - - - - - - - - - - - - What's happening here? Most of my pages use custom constructors to initialize the page, and every test method that use these cause the error. What can I do about it? cheers, Gert -- Gert Jan Verhoog Func. Internet Integration W http://www.func.nl T +31 30 2109750 F +31 30 2109751 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Gert Jan Verhoog Func. Internet Integration W http://www.func.nl T +31 30 2109750 F +31 30 2109751 All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?
When is wicket 1.2.1 expected to be released? Martijn Dashorst wrote: I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from dojo into the project, both seemed to work. When 1.2.1 is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib-dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?
somewhere next week. I'm currently on a conference, and we still have some (minor) things to solve before we can finally ship 1.2.1. We're trying to package as much fixes as possible into 1.2.1, and make it a great release. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: When is wicket 1.2.1 expected to be released? Martijn Dashorst wrote: I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from dojo into the project, both seemed to work. When 1.2.1 is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib-dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?
I'm sure it will. Best, Nili Martijn Dashorst wrote: somewhere next week. I'm currently on a conference, and we still have some (minor) things to solve before we can finally ship 1.2.1. We're trying to package as much fixes as possible into 1.2.1, and make it a great release. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: When is wicket 1.2.1 expected to be released? Martijn Dashorst wrote: I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from dojo into the project, both seemed to work. When 1.2.1 is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib-dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?
Perhaps all 1.2 compliant stuff could be copied into the wicket-stuff/ WICKET_1_2 branch so we know what should work. On 22 Jun 2006, at 01:45, Martijn Dashorst wrote: I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from dojo into the project, both seemed to work. When 1.2.1 is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib- dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel? cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel? cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket and Websphere
Does anyone use wicket in websphere 5? I am tring to deploy my application and I am getting class not found for java.land.charsequence. This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Is Wicket ok for DDA web applications?
Hi, I'm considering looking at Wicket after a painful two weeks on JSF (actually Apache MyFaces) and thinking there has to be a better way...!. Most of my work over the last 5 years has been JSP/Struts etc... I'm a J2EE developer but coming firmly from the web side rather than a back-end developmer. I want to use a framework that has clean markup and is intuitive for people with web skills. (Anyone who has seen the ghastly JSF tabular layouts and poor Tomahawk div implementation will understand!) I am about to start work on a webapp where one of the requirements is for a DDA compliant interface. If I were to use Wicket, does it have any reliance on Javascript or anything else that may jeopardise a DDA interface? Thanks, Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0 Model change trap...
there are some tradeoffs like for a propertymodel or compound there are now always wrapper model instances created.But i don't think that overhead will be that great.johan On 6/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote: The funny thing is that IModel started out without that argument and that it only got in there after popular (use) demand and some heavy debate. But we feel more confident about the use cases where we need and don't need the component argument, and now Igor and Johan found some better ways to do things. EelcoOn Jun 16, 2006, at 11:01 AM, John Patterson wrote: Nice one! It is so fundamental and has always seemed odd to me.That interface almost put me off using Wicket when I first checked it out. I know that is a very superficial attitude, but first impressions are important. I think I may have even hit the back button and then returned for another look only after thinking well the rest of the framework sounds good. That makes me happier than it probably should.On 16 Jun 2006, at 12:53, Igor Vaynberg wrote:well, mark stumbled on some major work-in-progress. johan and i are still trying out our new idea to see if it will work. looks like it will though :) just to quickly summarize some stuff for anyone interested IModel.setObject(Component, Object) - IModel.setObject(Object)IModel.getObject(Component) - IModel.getObject()i know this is what everyone has been crying for and we listened. it took so long because it took some very innovating thinking to make it work == we are still confirming if the idea actually does work :) now for models that /do/ want to know what component they are attached to there are a couple of options. either pass the component into the constructor orthere are a couple of points where models can wrap themselves: a) models can wrap themselves any time they are assigned to a component by implementsIAssignmentAware { IWrapModel wrapOnAssignment(Component); }b) models that are inherited implement IInheritableModel (used to be ICompoundModel) and now also have IWrapModel wrapOnInheritance(Component) just a preview of things to come-IgorOn 6/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote:Maybe we - core devs - should email about the major changes we are doing in svn/ Wicket 2.0. It's all still very alpha though at thisstage.Also, we could /consider/ putting those methods back in with final(so your code will break) and a deprecation message? Or should we just settle for search (/replace) facilities being good enough forthe job and list what needs to be changed.And of course, once Johan and Igor are done with the model changes,they will add a section to http://wicket-wiki.org.uk/wiki/index.php/Migrate-2.0EelcoOn Jun 16, 2006, at 4:16 AM, Mark Derricutt wrote: Just a heads up for anyone playing with HEAD/Wicket 2.0, one sneaky little trap I just found is that the Model class has changed its method signature from: public Object getObject(Component component) to public Object getObject(); Anywhere I was extending Model this tripped up silently by -adding- my (now) overloaded getObject() method.On the one or two instances where I was using AbstractReadOnlyModel (which doesn't provide a standard getObject() method) this signature change was trippedup and lead to finding this breakage. Just a heads up for anyone else dipping there toes -- i like my video games - mamma said they are gonna melt my brains i like my video games - i don't care what daddy said; they're my reality - henning pauly ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
None of these regexp are perfect, by the way. Email addresses are not allowed to begin with hyphens and underscores =). Michael Day On Jun 22, 2006, at 1:40 AM, ali wrote: On Tue, 20 Jun 2006 13:07:37 +0430, Michiel Korthuis [EMAIL PROTECTED] wrote: i think \w = [_A-Za-z0-9] so instread of ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL PROTECTED](\\.[A-Za- z0-9-]+)*((\\.[A-Za-z]{2,}){1}$) can tell ^\w+(\.\w+)[EMAIL PROTECTED]((\.\w+\.)+|\.)[a-z]{2,3}$ (only my difference that .words in part of domain of email end also to . except of last .word that must be 2 or 3 letter) FAQ : why use | ? answer : we see below shape after @ in email : ali.WORDs.com (WORDs once or more) = (\.\w+\.)+ or ali.com = \. I am currently working on my graduation(project) @ Topicus with another student (Ronald Hemmink). We are new to Wicket and before we saw the wicket-build-in validator we came up with our own expression: ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL PROTECTED](\\.[A-Za-z0-9-]+) *((\\.[A-Za-z]{2,}){1}$) the Wicket expression: ^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\\.[a-z] {2,3})$ almost identical, but 'large TLD compatible' (the pattern in wicket has the argument 'Pattern.CASE_INSENSITIVE' and therefore they don't need to define the upper-case charcters). your pattern looks a bit too complicated for the job :P Michiel On 6/20/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: Thats right.. In our company we use the (crazy) regex pattern taken from http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html String emailPattern = [...] Would anyone in the wicket team like to use this as the emailvalidation pattern instead, I would be happy to submit a patch (for both 1.2 or 2.0 if thats the case). Regards Frank Bille Avaleo On Tue, 2006-06-20 at 10:08 +0200, Michiel Korthuis wrote: hi, In wicket.markup.html.form.validation.EmailAddressPatternValidator.jav a the validation-expression is incorrect. the regular expression reads: ^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\ \.[a-z]{2,3})$ According to this expression the TLD is 2 or 3 characters, but that's incorrect. Nowadays it can exceed the limit of 3 characters (for example: .aero or .travel. Source: http://www.iana.org/gtld/gtld.htm ). Michiel ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel? cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Is Wicket ok for DDA web applications?
Fascinating. I had never heard of DDA compliance before but a little Googling makes me realise that I should really take notice. Especially the part about sites like Priceline.com being successfully sued over their accessibility. http://www.webcredible.co.uk/user-friendly-resources/web- accessibility/uk-website-legal-requirements.shtml Regards your question: wicket does by default use some Javascript to detect new windows for its PageMap implementation. But this is not essential user interface script and I can't see how it could stop a site being accessed correctly. All other JavaScript and AJAX is completely optional. You have complete control over the mark-up that is returned (unlike JSF) so you can use CSS and basic HTML if you want and be completely compliant. John. On 22 Jun 2006, at 10:47, Andrew Bate wrote: Hi, I'm considering looking at Wicket after a painful two weeks on JSF (actually Apache MyFaces) and thinking there has to be a better way...!. Most of my work over the last 5 years has been JSP/ Struts etc... I'm a J2EE developer but coming firmly from the web side rather than a back-end developmer. I want to use a framework that has clean markup and is intuitive for people with web skills. (Anyone who has seen the ghastly JSF tabular layouts and poor Tomahawk div implementation will understand!) I am about to start work on a webapp where one of the requirements is for a DDA compliant interface. If I were to use Wicket, does it have any reliance on Javascript or anything else that may jeopardise a DDA interface? Thanks, Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Websphere
i believe wicket requires 1.4. if you look at charsequence javadoc:* @version 1.8 03/12/19* @since 1.4* @spec JSR-51-IgorOn 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5?I am tring to deploy myapplication and I am getting class not found forjava.land.charsequence.This instance of websphere is running in JDK1.3.Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
patch merged-IgorOn 6/21/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: On Thu, 2006-06-22 at 06:47 +0200, jan_bar wrote: just in the case, do you take IDN (International Domain Names) into consideration? Allowed characters for .de domain are listed here: http://www.denic.de/en/domains/idns/liste.html.It's not me who have created the RFC 822 compliant regex. But it shouldimplement all specs from the RFC. So if the RFC says that IDN domainscan be used, then they are validated. http://www.mädchen.de (doesn't work but is registered)I have added a test case (patch attached to this email; igor?) whichmatches a email from that domain ( [EMAIL PROTECTED]) as valid. So yes:IDN domain names are validated as valid. :)RegardsFrank BilleAvaleoAll the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications inthe hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Session ids and search engine bots
A link could exist on a Stateless page that creates state. This would be the point where a stateless site moves to being stateful.For example, On my stateless home page I could have a link that has an onClick() handler which stores something in the users session (creating it also).On 22 Jun 2006, at 09:27, Johan Compagner wrote:yes we could but then a link really doesn't have state.The form has its new state pushed anyway,. And a link not. So then you need to encode something in the url..Because what should the link do? If it is only a next page and no state of the current page is touched you can use bookmarkable links. johanOn 6/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: We weren't only eating Tapas... I drank a lot of wine. That must haveblurred my memory a bit :)Cool Johan. So my hunch is that Links can be done in the same fashion?Though we should draw the line somewhere too. EelcoOn 6/14/06, Johan Compagner [EMAIL PROTECTED] wrote: WHAT! you have to listen more eelco :) i told you that i want to have exactly the same behaviour as a normal Form! when we where eating tappas you wanted to go directly the to resulting page. And i said no i want to go first to the form page and go on from that so that the processing is exactly the same.. (remember? :)) It is exactly how igor describes it. For a developer it is completely transparant only for one thing: The state of the form (validators and so on are in the init state) The data is ofcourse 'new' because that is posted. johan On 6/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Really? I haven't looked at it, but just remember Johan told me processing would go via the pageparameters constructor. If it's via the onSubmit handler, that's all the nicer. EelcoOn 6/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: you would use the onclick. what happens when a stateless form is submitted is that a new page instance is created instead of looked up from sessionstored, and then processing continues as usual. -Igor On 6/13/06, John Patterson [EMAIL PROTECTED] wrote: On 13 Jun 2006, at 19:55, Eelco Hillenius wrote:Or maybe there will be more trade offs. Depends on how badly people want it, and who will work on it. In 2.0, Johan built in a form that posts back to a bookmarkable page, so you can even build pages with forms that are still stateless. Eelco OK, thanks I will have a look into that. I have not yet checked out2.0 but would you just be able to clarify - when a stateless form issubmitted would I still use an onClick handler on my form component?Or do I need to work with page parameters and move my form processing logic away from the actual form component? ___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Is Wicket ok for DDA web applications?
Hello, a question regarding that PageMap-JavaScript: What will happen if a browser has JS disabled? Will it still be possible to reach every page and all? Another thing to avoid is the SubmitLink, as it will JavaScript as well. Coming to think about it - are there other Components which _require_ JavaScript to work? Maybe we should start a list on the wiki... DDA compliance becomes definitly more and more important, especially in the public sector. -- greetings from Berlin, Rüdiger Schulz John Patterson wrote on 22.06.2006 at 17:51: Fascinating. I had never heard of DDA compliance before but a little Googling makes me realise that I should really take notice. Especially the part about sites like Priceline.com being successfully sued over their accessibility. http://www.webcredible.co.uk/user-friendly-resources/web- accessibility/uk-website-legal-requirements.shtml Regards your question: wicket does by default use some Javascript to detect new windows for its PageMap implementation. But this is not essential user interface script and I can't see how it could stop a site being accessed correctly. All other JavaScript and AJAX is completely optional. You have complete control over the mark-up that is returned (unlike JSF) so you can use CSS and basic HTML if you want and be completely compliant. John. On 22 Jun 2006, at 10:47, Andrew Bate wrote: Hi, I'm considering looking at Wicket after a painful two weeks on JSF (actually Apache MyFaces) and thinking there has to be a better way...!. Most of my work over the last 5 years has been JSP/ Struts etc... I'm a J2EE developer but coming firmly from the web side rather than a back-end developmer. I want to use a framework that has clean markup and is intuitive for people with web skills. (Anyone who has seen the ghastly JSF tabular layouts and poor Tomahawk div implementation will understand!) I am about to start work on a webapp where one of the requirements is for a DDA compliant interface. If I were to use Wicket, does it have any reliance on Javascript or anything else that may jeopardise a DDA interface? Thanks, Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Is Wicket ok for DDA web applications?
Wicket's markup is clear and intuitive for people with web skills, but a Wicket application's presentation logic is written in Java, not mark-up. Someone with weak understanding of object-oriented design and programming (e.g., someone whose web skills are based on tools like ASP/VB-6 or Cold Fusion) will not be able to make the best use of the Wicket approach, and may even have trouble learning the framework. It may get easier for such people to learn Wicket when textbooks reach the market, but for now I occasionally had to resort to reading the object-oriented Wicket implementation code. (For example, my problem required me to subclass DataTable. To figure out how to do this I had to study the code behind DefaultDataTable -- a wicket-provided subclass that didn't solve my problem, but whose implementation illustrated the kinds of things I needed to do in my own subclass). If you can use Wicket, I'd recommend doing so. Compared with the ASP.NET application I'm rewriting, my code-base is about one-fourth the size (mainly because Wicket made it much easier to abstract fragments of presentation logic, appearing with minor variations on page after page, into my own reusable components). The tag-files generated by ASP.NET were huge compared to the little ones I had to write with Wicket, though to be fair, I had to write my tag files whereas the ASP.NET tagfiles were generated by the IDE. On the other hand, I didn't have to keep drag-dropping the same patterns of components onto page after page as did the ASP.NET developer. (I imagine that JSF programming is very similar to ASP.NET programming -- but without the benefit of so powerful an IDE.) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Bate Sent: Thursday, June 22, 2006 9:47 AM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Is Wicket ok for DDA web applications? Hi, I'm considering looking at Wicket after a painful two weeks on JSF (actually Apache MyFaces) and thinking there has to be a better way...!. Most of my work over the last 5 years has been JSP/Struts etc... I'm a J2EE developer but coming firmly from the web side rather than a back-end developmer. I want to use a framework that has clean markup and is intuitive for people with web skills. (Anyone who has seen the ghastly JSF tabular layouts and poor Tomahawk div implementation will understand!) I am about to start work on a webapp where one of the requirements is for a DDA compliant interface. If I were to use Wicket, does it have any reliance on Javascript or anything else that may jeopardise a DDA interface? Thanks, Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Session ids and search engine bots
i could provide the bookmarkable hint to the link also if that is something that more would prefer?johanOn 6/22/06, John Patterson [EMAIL PROTECTED] wrote:A link could exist on a Stateless page that creates state. This would be the point where a stateless site moves to being stateful. For example, On my stateless home page I could have a link that has an onClick() handler which stores something in the users session (creating it also). On 22 Jun 2006, at 09:27, Johan Compagner wrote:yes we could but then a link really doesn't have state. The form has its new state pushed anyway,. And a link not. So then you need to encode something in the url..Because what should the link do? If it is only a next page and no state of the current page is touched you can use bookmarkable links. johanOn 6/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: We weren't only eating Tapas... I drank a lot of wine. That must have blurred my memory a bit :)Cool Johan. So my hunch is that Links can be done in the same fashion?Though we should draw the line somewhere too. EelcoOn 6/14/06, Johan Compagner [EMAIL PROTECTED] wrote: WHAT! you have to listen more eelco :) i told you that i want to have exactly the same behaviour as a normal Form! when we where eating tappas you wanted to go directly the to resulting page. And i said no i want to go first to the form page and go on from that so that the processing is exactly the same.. (remember? :)) It is exactly how igor describes it. For a developer it is completely transparant only for one thing: The state of the form (validators and so on are in the init state) The data is ofcourse 'new' because that is posted. johan On 6/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Really? I haven't looked at it, but just remember Johan told me processing would go via the pageparameters constructor. If it's via the onSubmit handler, that's all the nicer. EelcoOn 6/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: you would use the onclick. what happens when a stateless form is submitted is that a new page instance is created instead of looked up from sessionstored, and then processing continues as usual. -Igor On 6/13/06, John Patterson [EMAIL PROTECTED] wrote: On 13 Jun 2006, at 19:55, Eelco Hillenius wrote:Or maybe there will be more trade offs. Depends on how badly people want it, and who will work on it. In 2.0, Johan built in a form that posts back to a bookmarkable page, so you can even build pages with forms that are still stateless. Eelco OK, thanks I will have a look into that.I have not yet checked out 2.0 butwould you just be able to clarify - when a stateless form issubmitted would I still use an onClick handler on my form component?Or do I need to work with page parameters and move my form processing logic away from the actual form component? ___Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Re: [Wicket-user] Is Wicket ok for DDA web applications?
what are you saying? i got started in web development with coldfusion! :)-IgorOn 6/22/06, Frank Silbermann [EMAIL PROTECTED] wrote:Wicket's markup is clear and intuitive for people with web skills, but a Wicket application's presentation logic is written in Java, not mark-up.Someone with weak understanding of object-oriented design andprogramming (e.g., someone whose web skills are based on tools likeASP/VB-6 or Cold Fusion) will not be able to make the best use of the Wicket approach, and may even have trouble learning the framework.It may get easier for such people to learn Wicket when textbooks reachthe market, but for now I occasionally had to resort to reading the object-oriented Wicket implementation code.(For example, my problemrequired me to subclass DataTable.To figure out how to do this I hadto study the code behind DefaultDataTable -- a wicket-provided subclass that didn't solve my problem, but whose implementation illustrated thekinds of things I needed to do in my own subclass).If you can use Wicket, I'd recommend doing so.Compared with the ASP.NET application I'm rewriting, my code-base is about one-fourth thesize (mainly because Wicket made it much easier to abstract fragments ofpresentation logic, appearing with minor variations on page after page, into my own reusable components).The tag-files generated by ASP.NETwere huge compared to the little ones I had to write with Wicket, thoughto be fair, I had to write my tag files whereas the ASP.NET tagfileswere generated by the IDE.On the other hand, I didn't have to keepdrag-dropping the same patterns of components onto page after page asdid the ASP.NET developer.(I imagine that JSF programming is very similar to ASP.NET programming-- but without the benefit of so powerful an IDE.)-Original Message- From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] ] On Behalf Of AndrewBateSent: Thursday, June 22, 2006 9:47 AMTo: wicket-user@lists.sourceforge.netSubject: [Wicket-user] Is Wicket ok for DDA web applications? Hi,I'm considering looking at Wicket after a painful two weeks on JSF(actually Apache MyFaces) and thinking there has to be a betterway...!. Most of my work over the last 5 years has been JSP/Struts etc...I'm a J2EE developer but coming firmly from the web side rather than aback-end developmer.I want to use a framework that has clean markupand is intuitive for people with web skills.(Anyone who has seen the ghastly JSF tabular layouts and poor Tomahawk div implementation willunderstand!)I am about to start work on a webapp where one of the requirements isfor a DDA compliant interface.If I were to use Wicket, does it have any reliance on _javascript_ or anything else that may jeopardise a DDAinterface?Thanks,AndrewUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Is Wicket ok for DDA web applications?
Check this out! First listing is a .gov.uk website giving info on DDA. The Googlebot indexed a page saying "Your browser does not support _javascript_!". Clearly they don't regard _javascript_ as a problem.http://www.google.com/search?hl=enlr=q=dda+support+_javascript_+worthingbtnG=SearchThe PageMap _javascript_ allows your site to have multiple windows open and give each its own in-session page stack. Unless your application _must_ have multiple window support then this does not affect usability. Also, Wicket 2.0 has infinite disk based page storage so I think that even this restriction no longer applies.One site I read said that compliance will probably equate to supporting this w3 accessibility guidelines at:http://www.w3.org/TR/WAI-WEBCONTENT/full-checklist.htmlwhich contains this relevant statement:6.3 Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page.So basically, the PageMap detection script does does not affect accessiblity but things like the SubmitLink could if there was no alternative.John.On 22 Jun 2006, at 12:08, Rüdiger Schulz wrote:Hello,a question regarding that PageMap-_javascript_:What will happen if a browser has JS disabled? Will it still bepossible to reach every page and all?Another thing to avoid is the SubmitLink, as it will _javascript_ aswell.Coming to think about it - are there other Components which _require__javascript_ to work? Maybe we should start a list on the wiki...DDA compliance becomes definitly more and more important, especiallyin the public sector.-- greetings from Berlin,Rüdiger SchulzJohn Patterson wrote on 22.06.2006 at 17:51: Fascinating. I had never heard of DDA compliance before but a littleGoogling makes me realise that I should really take notice. Especially the part about sites like Priceline.com being successfullysued over their accessibility. http://www.webcredible.co.uk/user-friendly-resources/web- accessibility/uk-website-legal-requirements.shtml Regards your question: wicket does by default use some _javascript_ todetect new windows for its PageMap implementation. But this is notessential user interface script and I can't see how it could stop asite being accessed correctly. All other _javascript_ and AJAX is completely optional. You have complete control over the mark-up thatis returned (unlike JSF) so you can use CSS and basic HTML if you want and be completely compliant. John. On 22 Jun 2006, at 10:47, Andrew Bate wrote: Hi,I'm considering looking at Wicket after a painful two weeks on JSF(actually Apache MyFaces) and thinking "there has to be a betterway"...!. Most of my work over the last 5 years has been JSP/ Struts etc...I'm a J2EE developer but coming firmly from the web side rather than aback-end developmer. I want to use a framework that has clean markupand is intuitive for people with web skills. (Anyone who has seen theghastly JSF tabular layouts and poor Tomahawk div implementation willunderstand!)I am about to start work on a webapp where one of the requirements isfor a DDA compliant interface. If I were to use Wicket, does it haveany reliance on _javascript_ or anything else that may jeopardise a DDAinterface?Thanks,AndrewUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make yourjob easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
Re: [Wicket-user] Is Wicket ok for DDA web applications?
well, some things are not possible to do in html without _javascript_. take submit link - there is no way to have anchor submit a form w/out _javascript_. another example is dropdownchoice.wantonselectionnotification() - there is no way to do a roundtrip to the server when the user changes a value in a dropdown without _javascript_. so you just have to be careful and not use things that require _javascript_. but as a web developer you should know what these things are so i dont think its a big problem. -IgorOn 6/22/06, John Patterson [EMAIL PROTECTED] wrote: Check this out! First listing is a .gov.uk website giving info on DDA. The Googlebot indexed a page saying Your browser does not support _javascript_!. Clearly they don't regard _javascript_ as a problem. http://www.google.com/search?hl=enlr=q=dda+support+_javascript_+worthingbtnG=Search The PageMap _javascript_ allows your site to have multiple windows open and give each its own in-session page stack. Unless your application _must_ have multiple window support then this does not affect usability.Also, Wicket 2.0 has infinite disk based page storage so I think that even this restriction no longer applies.One site I read said that compliance will probably equate to supporting this w3accessibility guidelines at: http://www.w3.org/TR/WAI-WEBCONTENT/full-checklist.html which contains thisrelevantstatement: 6.3Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page. So basically, the PageMap detection script does does not affect accessiblity but things like the SubmitLink could if there was no alternative. John.On 22 Jun 2006, at 12:08, Rüdiger Schulz wrote: Hello,a question regarding that PageMap-_javascript_: What will happen if a browser has JS disabled? Will it still bepossible to reach every page and all?Another thing to avoid is the SubmitLink, as it will _javascript_ as well.Coming to think about it - are there other Components which _require_ _javascript_ to work? Maybe we should start a list on the wiki...DDA compliance becomes definitly more and more important, especially in the public sector.-- greetings from Berlin,Rüdiger Schulz John Patterson wrote on 22.06.2006 at 17:51: Fascinating. I had never heard of DDA compliance before but a little Googling makes me realise that I should really take notice. Especially the part about sites like Priceline.com being successfullysued over their accessibility. http://www.webcredible.co.uk/user-friendly-resources/web- accessibility/uk-website-legal-requirements.shtml Regards your question: wicket does by default use some _javascript_ to detect new windows for its PageMap implementation. But this is notessential user interface script and I can't see how it could stop a site being accessed correctly. All other _javascript_ and AJAX is completely optional. You have complete control over the mark-up that is returned (unlike JSF) so you can use CSS and basic HTML if you want and be completely compliant. John. On 22 Jun 2006, at 10:47, Andrew Bate wrote: Hi,I'm considering looking at Wicket after a painful two weeks on JSF (actually Apache MyFaces) and thinking there has to be a betterway...!. Most of my work over the last 5 years has been JSP/ Struts etc...I'm a J2EE developer but coming firmly from the web side rather than a back-end developmer. I want to use a framework that has clean markupand is intuitive for people with web skills. (Anyone who has seen the ghastly JSF tabular layouts and poor Tomahawk div implementation willunderstand!)I am about to start work on a webapp where one of the requirements is for a DDA compliant interface. If I were to use Wicket, does it haveany reliance on _javascript_ or anything else that may jeopardise a DDA interface?Thanks,Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make yourjob easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application
Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?
Yeah, that would be a good idea. Any volunteers for testing and copying? Lots of people with access to wicket-stuff :) Eelco On 6/22/06, John Patterson [EMAIL PROTECTED] wrote: Perhaps all 1.2 compliant stuff could be copied into the wicket-stuff/ WICKET_1_2 branch so we know what should work. On 22 Jun 2006, at 01:45, Martijn Dashorst wrote: I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got several exceptions. After putting the most recent (soon to be released) Wicket 1.2.1 and trunk from dojo into the project, both seemed to work. When 1.2.1 is released, I'll see to upgrade and put up a release (0.4) of dojo. Martijn On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Does anyone know whether it is planned to upgrade wicket-contrib- dojo to wicket 1.2? Currently we cannot use them both in the same classpath since there are collisions. Thanks Nili All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel? cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel? cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AuthenticatedSpringWebApplication
Nope, that's the way. We hope to make it a bit nicer someday, though it's just a one time copy thing anyway. Eelco On 6/22/06, Michiel Trimpe [EMAIL PROTECTED] wrote: Has anyone already built an AuthenticatedSpringWebApplication? Seems like I need to implement Authentication by copying and pasting it into my SpringWebApplication, but is there a better way or a ready-made class available? Kind regards, Michiel Trimpe This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AuthenticatedSpringWebApplication
someday being the 2.0 release-IgorOn 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Nope, that's the way. We hope to make it a bit nicer someday, thoughit's just a one time copy thing anyway. EelcoOn 6/22/06, Michiel Trimpe [EMAIL PROTECTED] wrote: Has anyone already built an AuthenticatedSpringWebApplication? Seems like I need to implement Authentication by copying and pasting it into my SpringWebApplication, but is there a better way or a ready-made class available? Kind regards, Michiel Trimpe This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Websphere
Wicket is compiled using java 1.4, and we use some api's from the 1.4 runtime, so probably you should try to get your hands on a retrotranslator, but I don't know if one exists for 1.4 - 1.3 Especially the exception handling inside wicket is the largest deviation from 1.3 to 1.4 Martijn On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5? I am tring to deploy my application and I am getting class not found for java.land.charsequence. This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester in 1.2 causing internal error cloning object errors.
I guess it is a bug. Juergen On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: ITestPageSource is not serializable. If it was, you wouldn't have this problem. I don't use that part of Wicket myself, nor wrote it, so I'm not sure if that interface not being serializable is intentional. Maybe Ingram Chen can comment on that? Eelco On 6/22/06, Gert Jan Verhoog [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: HTTP sessions and hence Wicket Pages get serialized and hence all it components and variable must be serializable or transient. We enforced that policy a little bit to make sure the error are detected earlier and late when the application is deployed already. Just make sure your components and component variable implement Serializable. I am aware of that. Please look at the example code I included in my previous post. It's a trivial WebPage with a single label, and some WicketTester test code. That's all that's needed to cause the exception. This is code that I almost copied verbatim from the WicketTester api docs. There are no custom beans, so I don't see what I could make Serializable. In the actual project where I'm running into these problems, all beans are serializable or transient, and all business objects are injected with Spring proxies. (using @SpringBean annotations). The webapplication runs fine, it's *just* the WicketTester code that fails. Maybe there is a simple solution to this problem, but I'm obviously overlooking it. cheers, Gert wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.util.tester.DummyHomePage On 6/21/06, Gert Jan Verhoog [EMAIL PROTECTED] wrote: Hi list, After upgrading to Wicket 1.2, wicket tests for my project don't work anymore. Testing a page that is initialized using a custom constructor causes a WicketRuntimeException: wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.util.tester.DummyHomePage at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:62) [... bits of stacktrace omitted for brevity ...] Caused by: java.io.NotSerializableException: com.example.MyPageTest$1 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) [... rest of stacktrace omitted for brevity ...] I created the initialized page with an anonymous ITestPageSource, as per the WicketTester javadocs. Consider the following example code that causes the error: MyPage.html: - - - - - - - - - - - - - - - - - - - - - - - - - - html xmlns:wicket=http://wicket.sourceforge.net/; headtitlebla/title/head body h1span wicket:id=title(title)/span/h1 /body /html - - - - - - - - - - - - - - - - - - - - - - - - - - MyPage.java: - - - - - - - - - - - - - - - - - - - - - - - - - - package com.example; import wicket.markup.html.WebPage; import wicket.markup.html.basic.Label; public class MyPage extends WebPage { public MyPage() { this(empty); } public MyPage(String title) { add(new Label(title,title)); } } - - - - - - - - - - - - - - - - - - - - - - - - - - and finally, MyPageTest.java: - - - - - - - - - - - - - - - - - - - - - - - - - - package com.example; import junit.framework.TestCase; import wicket.Page; import wicket.util.tester.ITestPageSource; import wicket.util.tester.WicketTester; public class MyPageTest extends TestCase { public void testRenderMyPage() { WicketTester tester = new WicketTester(); // the following statement throws the exception: tester.startPage(new ITestPageSource() { public Page getTestPage() { return new MyPage(hello world); } }); } } - - - - - - - - - - - - - - - - - - - - - - - - - - What's happening here? Most of my pages use custom constructors to initialize the page, and every test method that use these cause the error. What can I do about it? cheers, Gert -- Gert Jan Verhoog Func. Internet Integration W http://www.func.nl T +31 30 2109750 F +31 30 2109751 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Gert Jan Verhoog Func. Internet Integration W http://www.func.nl T +31 30 2109750 F +31 30 2109751 All the
Re: [Wicket-user] Wicket and Websphere
It's probably less than a day work to convert to 1.3 by hand. But you'd be on your own I'm afraid. We considered 1.3. vs 1.4. long time ago, and thought 1.4. had enough improvements to justify going for that. Eelco On 6/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket is compiled using java 1.4, and we use some api's from the 1.4 runtime, so probably you should try to get your hands on a retrotranslator, but I don't know if one exists for 1.4 - 1.3 Especially the exception handling inside wicket is the largest deviation from 1.3 to 1.4 Martijn On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5? I am tring to deploy my application and I am getting class not found for java.land.charsequence. This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester in 1.2 causing internal error cloning object errors.
Fixed now. Eelco On 6/22/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: I guess it is a bug. Juergen On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: ITestPageSource is not serializable. If it was, you wouldn't have this problem. I don't use that part of Wicket myself, nor wrote it, so I'm not sure if that interface not being serializable is intentional. Maybe Ingram Chen can comment on that? Eelco On 6/22/06, Gert Jan Verhoog [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: HTTP sessions and hence Wicket Pages get serialized and hence all it components and variable must be serializable or transient. We enforced that policy a little bit to make sure the error are detected earlier and late when the application is deployed already. Just make sure your components and component variable implement Serializable. I am aware of that. Please look at the example code I included in my previous post. It's a trivial WebPage with a single label, and some WicketTester test code. That's all that's needed to cause the exception. This is code that I almost copied verbatim from the WicketTester api docs. There are no custom beans, so I don't see what I could make Serializable. In the actual project where I'm running into these problems, all beans are serializable or transient, and all business objects are injected with Spring proxies. (using @SpringBean annotations). The webapplication runs fine, it's *just* the WicketTester code that fails. Maybe there is a simple solution to this problem, but I'm obviously overlooking it. cheers, Gert wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.util.tester.DummyHomePage On 6/21/06, Gert Jan Verhoog [EMAIL PROTECTED] wrote: Hi list, After upgrading to Wicket 1.2, wicket tests for my project don't work anymore. Testing a page that is initialized using a custom constructor causes a WicketRuntimeException: wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.util.tester.DummyHomePage at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:62) [... bits of stacktrace omitted for brevity ...] Caused by: java.io.NotSerializableException: com.example.MyPageTest$1 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) [... rest of stacktrace omitted for brevity ...] I created the initialized page with an anonymous ITestPageSource, as per the WicketTester javadocs. Consider the following example code that causes the error: MyPage.html: - - - - - - - - - - - - - - - - - - - - - - - - - - html xmlns:wicket=http://wicket.sourceforge.net/; headtitlebla/title/head body h1span wicket:id=title(title)/span/h1 /body /html - - - - - - - - - - - - - - - - - - - - - - - - - - MyPage.java: - - - - - - - - - - - - - - - - - - - - - - - - - - package com.example; import wicket.markup.html.WebPage; import wicket.markup.html.basic.Label; public class MyPage extends WebPage { public MyPage() { this(empty); } public MyPage(String title) { add(new Label(title,title)); } } - - - - - - - - - - - - - - - - - - - - - - - - - - and finally, MyPageTest.java: - - - - - - - - - - - - - - - - - - - - - - - - - - package com.example; import junit.framework.TestCase; import wicket.Page; import wicket.util.tester.ITestPageSource; import wicket.util.tester.WicketTester; public class MyPageTest extends TestCase { public void testRenderMyPage() { WicketTester tester = new WicketTester(); // the following statement throws the exception: tester.startPage(new ITestPageSource() { public Page getTestPage() { return new MyPage(hello world); } }); } } - - - - - - - - - - - - - - - - - - - - - - - - - - What's happening here? Most of my pages use custom constructors to initialize the page, and every test method that use these cause the error. What can I do about it? cheers, Gert -- Gert Jan Verhoog Func. Internet Integration W http://www.func.nl T +31 30 2109750 F +31 30 2109751 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing
Re: [Wicket-user] wicket emailaddress validation incorrect
On Thu, 2006-06-22 at 11:25 -0400, Michael Day wrote: None of these regexp are perfect, by the way. Email addresses are not allowed to begin with hyphens and underscores =). According to whom ;-) At least in the RFC email addresses may start with _ and -. Regards Frank Bille Avaleo Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
Hrm, you're right, but the short regexps mentioned so far are still not correct. According to RFC3696 (Application Techniques for Checking and Transformation of Names), the following are all valid email addresses. I think I'll go shoot myself now. [EMAIL PROTECTED] customer/[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] On Jun 22, 2006, at 2:41 PM, Frank Bille Jensen wrote: On Thu, 2006-06-22 at 11:25 -0400, Michael Day wrote: None of these regexp are perfect, by the way. Email addresses are not allowed to begin with hyphens and underscores =). According to whom ;-) At least in the RFC email addresses may start with _ and -. Regards Frank Bille Avaleo Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket developer job opening
Title: wicket developer job opening I am looking for a full-time wicket programmer to join our team in San Francisco, California, USA. The position is within the IT department of a San Francisco retail company. The current team of 5 developers is building a Wicket application using Spring and Hibernate. It's a very exciting, ground-breaking project that has been in progress for the past few months. If you're interested, please send a resume directly to my email address. Looking forward to the responses! Jeff [EMAIL PROTECTED] Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Multiple redirects or redirect chain
I was wondering if it is possible to do multiple redirects, ie: Step1 - Step2 - Step3 - Step4 Where each Step processes in order, and each step my either prompt the user for information, or continue depending on certain conditions. So if Step1 redirects to Step2, which checks if their username is already taken, if it is, Step2 renders itself, otherwise Step2 bounces to Step3, which does another test and may conditionally display itself or redirect to Step3, etc, etc. What I would like to do is keep the logic for whether a page displays itself or not within the page itself, meaning I may end up doing multiple redirects in a row down the chain of steps. The major issue I'm having is that I am doing the checks in the constructor of each page, and so: setResponsePage( new Step2( .. blah .. ) ), the step2 constructor is being called before the setResponsePage(). So what would end up happening is redirections in reverse order ( because the constructors for subsequent pages (which also contain redirects) execute before returning back to the inital setResponsePage() ). Is there a way to achieve this pattern in Wicket without resorting to ugly hacks? Once solution I can think of is some sort of indirection like: setResponsePage( new Redirect() { public Page getRedirectPage() { return new Step2( model ); } } ); I don't know if something like this is possible with the design of wicket though Aaron Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multiple redirects or redirect chain
in constructor use the restart response exception?-IgorOn 6/22/06, Aaron Hiniker [EMAIL PROTECTED] wrote:I was wondering if it is possible to do multiple redirects, ie:Step1 - Step2 - Step3 - Step4 Where each Step processes in order, and each step my either prompt theuser for information, or continue depending on certain conditions.So if Step1 redirects to Step2, which checks if their username is already taken, if it is, Step2 renders itself, otherwise Step2 bouncesto Step3, which does another test and may conditionally display itselfor redirect to Step3, etc, etc.What I would like to do is keep the logic for whether a page displays itself or not within the page itself,meaning I may end up doing multiple redirects in a row down the chain ofsteps.The major issue I'm having is that I am doing the checks in the constructor of each page, and so:setResponsePage( new Step2( .. blah .. ) ), the step2 constructor isbeing called before the setResponsePage().So what would end up happening is redirections in reverse order ( because the constructors for subsequent pages (which also containredirects) execute before returning back to the inital setResponsePage()).Is there a way to achieve this pattern in Wicket without resorting to ugly hacks?Once solution I can think of is some sort of indirection like:setResponsePage( new Redirect() {public Page getRedirectPage() {return new Step2( model ); }} );I don't know if something like this is possible with the design of wicket thoughAaronUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multiple redirects or redirect chain
Sorry, I don't think I explained it very clearly. The problem is that call stack would look something like this: Step1.throw RestartException Step2.throw RestartException Step3.throw RestartException Step3.init Step2.init Step1.init As you can see, the Step3 exception would be thrown first because Step1 called throw new RestartException( new Step2() ), and Step2 call throw new RestartException( new Step3() ) It's like I need a physical redirect to the next page, creating the page only after the redirect has happened. So that the constructor isn't called until the redirect has actually happened. Aaron Igor Vaynberg wrote: in constructor use the restart response exception? -Igor On 6/22/06, *Aaron Hiniker* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I was wondering if it is possible to do multiple redirects, ie: Step1 - Step2 - Step3 - Step4 Where each Step processes in order, and each step my either prompt the user for information, or continue depending on certain conditions. So if Step1 redirects to Step2, which checks if their username is already taken, if it is, Step2 renders itself, otherwise Step2 bounces to Step3, which does another test and may conditionally display itself or redirect to Step3, etc, etc. What I would like to do is keep the logic for whether a page displays itself or not within the page itself, meaning I may end up doing multiple redirects in a row down the chain of steps. The major issue I'm having is that I am doing the checks in the constructor of each page, and so: setResponsePage( new Step2( .. blah .. ) ), the step2 constructor is being called before the setResponsePage(). So what would end up happening is redirections in reverse order ( because the constructors for subsequent pages (which also contain redirects) execute before returning back to the inital setResponsePage() ). Is there a way to achieve this pattern in Wicket without resorting to ugly hacks? Once solution I can think of is some sort of indirection like: setResponsePage( new Redirect() { public Page getRedirectPage() { return new Step2( model ); } } ); I don't know if something like this is possible with the design of wicket though Aaron Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multiple redirects or redirect chain
hmm, but step1 and step2 init will be aborted because you threw an exception, isnt that right?-IgorOn 6/22/06, Aaron Hiniker [EMAIL PROTECTED] wrote:Sorry, I don't think I explained it very clearly. The problem is that call stack would look something like this:Step1.throw RestartExceptionStep2.throw RestartExceptionStep3.throw RestartExceptionStep3.initStep2.initStep1.init As you can see, the Step3 exception would be thrown first because Step1called throw new RestartException( new Step2() ), and Step2 call thrownew RestartException( new Step3() )It's like I need a physical redirect to the next page, creating the page only after the redirect has happened. So that the constructor isn'tcalled until the redirect has actually happened.AaronIgor Vaynberg wrote: in constructor use the restart response exception? -Igor On 6/22/06, *Aaron Hiniker* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I was wondering if it is possible to do multiple redirects, ie: Step1 - Step2 - Step3 - Step4 Where each Step processes in order, and each step my either prompt the user for information, or continue depending on certain conditions. So if Step1 redirects to Step2, which checks if their username is already taken, if it is, Step2 renders itself, otherwise Step2 bounces to Step3, which does another test and may conditionally display itself or redirect to Step3, etc, etc.What I would like to do is keep the logic for whether a page displays itself or not within the page itself, meaning I may end up doing multiple redirects in a row down the chain of steps. The major issue I'm having is that I am doing the checks in the constructor of each page, and so: setResponsePage( new Step2( .. blah .. ) ), the step2 constructor is being called before the setResponsePage(). So what would end up happening is redirections in reverse order ( because the constructors for subsequent pages (which also contain redirects) execute before returning back to the inital setResponsePage() ). Is there a way to achieve this pattern in Wicket without resorting to ugly hacks? Once solution I can think of is some sort of indirection like: setResponsePage( new Redirect() { public Page getRedirectPage() {return new Step2( model ); } } ); I don't know if something like this is possible with the design of wicket though Aaron Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multiple redirects or redirect chain
Hmm... for some reason I wasn't thinking clearly, I know the step1 and step2 init would get aborted on the Exception (that call stack should have had setResponsePage calls instead), but for some reason I was thinking the throw RestartRequestException would give the same results as setResponsePage( new Page() ); return;.. I replaced those with the Exception and it seems to work, thanks Aaron Igor Vaynberg wrote: hmm, but step1 and step2 init will be aborted because you threw an exception, isnt that right? -Igor On 6/22/06, *Aaron Hiniker* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorry, I don't think I explained it very clearly. The problem is that call stack would look something like this: Step1.throw RestartException Step2.throw RestartException Step3.throw RestartException Step3.init Step2.init Step1.init As you can see, the Step3 exception would be thrown first because Step1 called throw new RestartException( new Step2() ), and Step2 call throw new RestartException( new Step3() ) It's like I need a physical redirect to the next page, creating the page only after the redirect has happened. So that the constructor isn't called until the redirect has actually happened. Aaron Igor Vaynberg wrote: in constructor use the restart response exception? -Igor On 6/22/06, *Aaron Hiniker* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I was wondering if it is possible to do multiple redirects, ie: Step1 - Step2 - Step3 - Step4 Where each Step processes in order, and each step my either prompt the user for information, or continue depending on certain conditions. So if Step1 redirects to Step2, which checks if their username is already taken, if it is, Step2 renders itself, otherwise Step2 bounces to Step3, which does another test and may conditionally display itself or redirect to Step3, etc, etc. What I would like to do is keep the logic for whether a page displays itself or not within the page itself, meaning I may end up doing multiple redirects in a row down the chain of steps. The major issue I'm having is that I am doing the checks in the constructor of each page, and so: setResponsePage( new Step2( .. blah .. ) ), the step2 constructor is being called before the setResponsePage(). So what would end up happening is redirections in reverse order ( because the constructors for subsequent pages (which also contain redirects) execute before returning back to the inital setResponsePage() ). Is there a way to achieve this pattern in Wicket without resorting to ugly hacks? Once solution I can think of is some sort of indirection like: setResponsePage( new Redirect() { public Page getRedirectPage() { return new Step2( model ); } } ); I don't know if something like this is possible with the design of wicket though Aaron Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
Re: [Wicket-user] Wicket and Websphere
Thanks very much for the response, can you point me to an example of how exceptions are used in wicket with 1.4 as complared to how it would work in 1.3. I'd like to figure out exactly how much is involved in backporting wicket. I'll post the library if I am successful. I wasn't able to find a retrotranslator for 1.3 :(... Hoping that building wicket for 1.3 will be easier then getting the servers upgraded ;)On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It's probably less than a day work to convert to 1.3 by hand. Butyou'd be on your own I'm afraid. We considered 1.3. vs 1.4. long timeago, and thought 1.4. had enough improvements to justify going forthat. EelcoOn 6/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket is compiled using java 1.4, and we use some api's from the 1.4 runtime, so probably you should try to get your hands on a retrotranslator, but I don't know if one exists for 1.4 - 1.3 Especially the exception handling inside wicket is the largest deviation from 1.3 to 1.4 Martijn On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5?I am tring to deploy my application and I am getting class not found for java.land.charsequence.This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching _javascript_! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Websphere
That's basically the exception with the throwable argument. Furthermore, there are the CharSequences, which should be converted to strings, and for the rest I don't know from the top of my head. I hope it is doable! The disadvantage of patching Wicket is of course that you don't have the bugfixes etc unless you do it manually. Is it your hosting party requiring you to use WS on JDK 1.3? That version is almost EOL... Eelco On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Thanks very much for the response, can you point me to an example of how exceptions are used in wicket with 1.4 as complared to how it would work in 1.3. I'd like to figure out exactly how much is involved in backporting wicket. I'll post the library if I am successful. I wasn't able to find a retrotranslator for 1.3 :(... Hoping that building wicket for 1.3 will be easier then getting the servers upgraded ;) On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It's probably less than a day work to convert to 1.3 by hand. But you'd be on your own I'm afraid. We considered 1.3. vs 1.4. long time ago, and thought 1.4. had enough improvements to justify going for that. Eelco On 6/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket is compiled using java 1.4, and we use some api's from the 1.4 runtime, so probably you should try to get your hands on a retrotranslator, but I don't know if one exists for 1.4 - 1.3 Especially the exception handling inside wicket is the largest deviation from 1.3 to 1.4 Martijn On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5? I am tring to deploy my application and I am getting class not found for java.land.charsequence. This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Websphere
Thanks for the info.It's my company. We are upgrading to WAS6, however that most likely won't be until January. I might be able to get the JVM's upgraded but IBM claims that as a nono and in production I don't think that will fly. They are deployed on Windows and I don't even see IBM allowing you to download Windows JDK's. I'll try with our rep. I think I can skip the CharSequences and just include java.lang.CharSequence in my app or the wicket lib build.. As for the exceptions, doesn't sound too bad. :) (famous last words)j On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That's basically the exception with the throwable argument.Furthermore, there are the CharSequences, which should be converted tostrings, and for the rest I don't know from the top of my head.Ihope it is doable! The disadvantage of patching Wicket is of course that you don't have the bugfixes etc unless you do it manually.Is it your hosting party requiring you to use WS on JDK 1.3? Thatversion is almost EOL...EelcoOn 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Thanks very much for the response, can you point me to an example of how exceptions are used in wicket with 1.4 as complared to how it would work in 1.3.I'd like to figure out exactly how much is involved in backporting wicket.I'll post the library if I am successful. I wasn't able to find a retrotranslator for 1.3 :(...Hoping that building wicket for 1.3 will be easier then getting the servers upgraded ;) On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It's probably less than a day work to convert to 1.3 by hand. But you'd be on your own I'm afraid. We considered 1.3. vs 1.4. long time ago, and thought 1.4. had enough improvements to justify going for that. Eelco On 6/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket is compiled using java 1.4, and we use some api's from the 1.4 runtime, so probably you should try to get your hands on a retrotranslator, but I don't know if one exists for 1.4 - 1.3 Especially the exception handling inside wicket is the largest deviation from 1.3 to 1.4 Martijn On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5?I am tring to deploy myapplication and I am getting class not found forjava.land.charsequence.This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching _javascript_! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get
Re: [Wicket-user] Wicket and Websphere
just including charsequence wont work i dont think because there are a lot of places where we cast down from string to charsequence because in 1.4 string implements charsequence-Igor On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Thanks for the info.It's my company. We are upgrading to WAS6, however that most likely won't be until January. I might be able to get the JVM's upgraded but IBM claims that as a nono and in production I don't think that will fly. They are deployed on Windows and I don't even see IBM allowing you to download Windows JDK's. I'll try with our rep. I think I can skip the CharSequences and just include java.lang.CharSequence in my app or the wicket lib build.. As for the exceptions, doesn't sound too bad. :) (famous last words) j On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That's basically the exception with the throwable argument.Furthermore, there are the CharSequences, which should be converted tostrings, and for the rest I don't know from the top of my head.Ihope it is doable! The disadvantage of patching Wicket is of course that you don't have the bugfixes etc unless you do it manually.Is it your hosting party requiring you to use WS on JDK 1.3? Thatversion is almost EOL...EelcoOn 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Thanks very much for the response, can you point me to an example of how exceptions are used in wicket with 1.4 as complared to how it would work in 1.3.I'd like to figure out exactly how much is involved in backporting wicket.I'll post the library if I am successful. I wasn't able to find a retrotranslator for 1.3 :(...Hoping that building wicket for 1.3 will be easier then getting the servers upgraded ;) On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It's probably less than a day work to convert to 1.3 by hand. But you'd be on your own I'm afraid. We considered 1.3. vs 1.4. long time ago, and thought 1.4. had enough improvements to justify going for that. Eelco On 6/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket is compiled using java 1.4, and we use some api's from the 1.4 runtime, so probably you should try to get your hands on a retrotranslator, but I don't know if one exists for 1.4 - 1.3 Especially the exception handling inside wicket is the largest deviation from 1.3 to 1.4 Martijn On 6/22/06, Jeremy Levy [EMAIL PROTECTED] wrote: Does anyone use wicket in websphere 5?I am tring to deploy myapplication and I am getting class not found forjava.land.charsequence.This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2 now! Write Ajax applications without touching _javascript_! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
[Wicket-user] Filtering Messages in FeedbackPanel
I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Filtering Messages in FeedbackPanel
see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form));-IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote:I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Filtering Messages in FeedbackPanel
Awesome, I'll check it out. Thanks as always Igor.On 6/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form)); -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Filtering Messages in FeedbackPanel
On one form I set the error on the session so I can have a flash message and display the error on a different page. On that other page I have a FeedbackPanel which takes in a ContainerFeedbackMessageFilter only for a particular form. However, I get an exception from the Session's feedback messages: java.lang.IllegalArgumentException: argument component may not be null at wicket.MarkupContainer.contains(MarkupContainer.java:211) at wicket.feedback.ContainerFeedbackMessageFilter.accept(ContainerFeedbackMessageFilter.java :54) at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:264)It looks as though the session's error which has no component associated with it is causing the exception. I am going to revert the FeedbackPanel to not include the filter which should correct the problem, but I'm not sure if this is a bug or something stupid on my part. --AndrewOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: Awesome, I'll check it out. Thanks as always Igor.On 6/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form)); -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Filtering Messages in FeedbackPanel
my bad, missed that spot when i built the session scroped feedback messages, fixed in 1_2 and 2.0 branches and here is a patchIndex: D:/ws/wicket_1_2/src/java/wicket/feedback/ContainerFeedbackMessageFilter.java ===--- D:/ws/wicket_1_2/src/java/wicket/feedback/ContainerFeedbackMessageFilter.java (revision 6185)+++ D:/ws/wicket_1_2/src/java/wicket/feedback/ContainerFeedbackMessageFilter.java (working copy) @@ -1,6 +1,7 @@/*- * $Id$- * $Revision$ $Date$+ * $Id: ContainerFeedbackMessageFilter.java 5528 2006-04-26 12:49:13 + (Wed,+ * 26 Apr 2006) eelco12 $ $Revision$ $Date: 2006-04-26 12:49:13 + + * (Wed, 26 Apr 2006) $ * * == * Licensed under the Apache License, Version 2.0 (the License); you may not@@ -51,6 +52,13 @@ */ public boolean accept(FeedbackMessage message) {- return container.contains(message.getReporter(), true);+ if (message.getReporter() == null)+ {+ return false; + }+ else+ {+ return container.contains(message.getReporter(), true);+ } }}-IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: On one form I set the error on the session so I can have a flash message and display the error on a different page. On that other page I have a FeedbackPanel which takes in a ContainerFeedbackMessageFilter only for a particular form. However, I get an exception from the Session's feedback messages: java.lang.IllegalArgumentException: argument component may not be null at wicket.MarkupContainer.contains(MarkupContainer.java:211) at wicket.feedback.ContainerFeedbackMessageFilter.accept(ContainerFeedbackMessageFilter.java :54) at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:264)It looks as though the session's error which has no component associated with it is causing the exception. I am going to revert the FeedbackPanel to not include the filter which should correct the problem, but I'm not sure if this is a bug or something stupid on my part. --AndrewOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: Awesome, I'll check it out. Thanks as always Igor.On 6/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form)); -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
Re: [Wicket-user] Filtering Messages in FeedbackPanel
Ok, I did a little more research and it looks like if you have any FeedbackPanel with a ContainerFeedbackMessageFilter and a Session error, you get the IllegalArgumentException, so this looks like a bug. I filed it here: http://sourceforge.net/tracker/index.php?func=detailaid=1511076group_id=119783atid=684975 Thanks,AndrewOn 6/23/06, Andrew Berman [EMAIL PROTECTED] wrote: On one form I set the error on the session so I can have a flash message and display the error on a different page. On that other page I have a FeedbackPanel which takes in a ContainerFeedbackMessageFilter only for a particular form. However, I get an exception from the Session's feedback messages: java.lang.IllegalArgumentException: argument component may not be null at wicket.MarkupContainer.contains(MarkupContainer.java:211) at wicket.feedback.ContainerFeedbackMessageFilter.accept(ContainerFeedbackMessageFilter.java :54) at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:264)It looks as though the session's error which has no component associated with it is causing the exception. I am going to revert the FeedbackPanel to not include the filter which should correct the problem, but I'm not sure if this is a bug or something stupid on my part. --AndrewOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: Awesome, I'll check it out. Thanks as always Igor.On 6/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form)); -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Filtering Messages in FeedbackPanel
, fixed before the bug is filed...how is that for customer service? :)-IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote:Ok, I did a little more research and it looks like if you have any FeedbackPanel with a ContainerFeedbackMessageFilter and a Session error, you get the IllegalArgumentException, so this looks like a bug. I filed it here: http://sourceforge.net/tracker/index.php?func=detailaid=1511076group_id=119783atid=684975 Thanks,AndrewOn 6/23/06, Andrew Berman [EMAIL PROTECTED] wrote: On one form I set the error on the session so I can have a flash message and display the error on a different page. On that other page I have a FeedbackPanel which takes in a ContainerFeedbackMessageFilter only for a particular form. However, I get an exception from the Session's feedback messages: java.lang.IllegalArgumentException: argument component may not be null at wicket.MarkupContainer.contains(MarkupContainer.java:211) at wicket.feedback.ContainerFeedbackMessageFilter.accept(ContainerFeedbackMessageFilter.java :54) at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:264)It looks as though the session's error which has no component associated with it is causing the exception. I am going to revert the FeedbackPanel to not include the filter which should correct the problem, but I'm not sure if this is a bug or something stupid on my part. --AndrewOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: Awesome, I'll check it out. Thanks as always Igor.On 6/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form)); -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Filtering Messages in FeedbackPanel
Very nice. And for your next trick..--AndrewOn 6/23/06, Igor Vaynberg [EMAIL PROTECTED] wrote:, fixed before the bug is filed...how is that for customer service? :) -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote:Ok, I did a little more research and it looks like if you have any FeedbackPanel with a ContainerFeedbackMessageFilter and a Session error, you get the IllegalArgumentException, so this looks like a bug. I filed it here: http://sourceforge.net/tracker/index.php?func=detailaid=1511076group_id=119783atid=684975 Thanks,AndrewOn 6/23/06, Andrew Berman [EMAIL PROTECTED] wrote: On one form I set the error on the session so I can have a flash message and display the error on a different page. On that other page I have a FeedbackPanel which takes in a ContainerFeedbackMessageFilter only for a particular form. However, I get an exception from the Session's feedback messages: java.lang.IllegalArgumentException: argument component may not be null at wicket.MarkupContainer.contains(MarkupContainer.java:211) at wicket.feedback.ContainerFeedbackMessageFilter.accept(ContainerFeedbackMessageFilter.java :54) at wicket.feedback.FeedbackMessages.messages(FeedbackMessages.java:264)It looks as though the session's error which has no component associated with it is causing the exception. I am going to revert the FeedbackPanel to not include the filter which should correct the problem, but I'm not sure if this is a bug or something stupid on my part. --AndrewOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: Awesome, I'll check it out. Thanks as always Igor.On 6/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: see ContainerFeedbackMessageFilterso new FeedbackPanel(...,new ContainerFeedbackMessageFilter(form)); -IgorOn 6/22/06, Andrew Berman [EMAIL PROTECTED] wrote: I currently have multiple feedback panels on one page due to the fact that I use quite a bit of DHTML to display different forms. As a result, I want each form's feedback panel to only display its own feedback. However, when one form throws an error and then I bring up another form, that feedback panel is also showing with the errors (since the forms all exist on the same page and I'm just changing their CSS display property). So, I've looked at the filtering mechanism for FeedbackPanel and at ComponentFeedbackPanel, but it won't work because the errors are attached to each form component not the form itself. So, I guess the question is how do you attach the errors to the form itself or how do you just filter the errors for all components within a particular form? Is this possible? Thanks for your help,Andrew Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user