[ANNOUNCE] Apache Wicket 1.4 release candidate 2
The Apache Wicket team is proud to present the second release candidate of Apache Wicket 1.4. This is the first Wicket version with java 1.5 as minimum requirement. Eager people click here to download the distribution, others can read further: * http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc2 We thank you for your patience and support. The Wicket Team - Apache Wicket Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: * http://wicket.apache.org - This release The Apache Wicket team is proud to announce the availability of the third milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m3. This is the first release with java 1.5 as a minimum. Almost everything has been converted to java 1.5. If you find something missing, please help us and send a message to the dev@ or user@ list. Migrating from 1.3 If you are coming from Wicket 1.3, you really want to read our migration guide, found on the wiki: * http://cwiki.apache.org/WICKET/migrate-14.html - Downloading the release You can download the release from the official Apache mirror system, and you can find it through the following link: * http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc2/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4-rc2/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org - Validating the release The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. * http://www.apache.org/dist/wicket/1.4-rc2/KEYS Instructions on how to validate the release can be found here: * http://www.apache.org/dev/release-signing.html#check-integrity - Reporting bugs In case you do encounter a bug, we would appreciate a report in our JIRA: * http://issues.apache.org/jira/browse/WICKET - The distribution In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the first release in the 1.4 branch. Release Notes - Wicket - Version 1.4-RC2 Sub-task • WICKET-1678 - integrate code into extensions • WICKET-1875 - create javadoc for existing portal imeplementation • WICKET-2058 - Upgrade Wicket Portlet Support to only use native Portlet API 2.0 Bug • WICKET-693 - What to do with the wicket dtd? • WICKET-1314 - DateTimeField does not correct the timezone properly • WICKET-1360 - Wrong path separator in reloading classloader patterns • WICKET-1403 - Reinjection fails after Server restart • WICKET-1483 - Unusual ClassCastException (SimpleAttributeModifier to IBehaviorListener) processing onError. • WICKET-1504 - AutoCompleteTextField - javascript error type mismatch in line 227 in IE • WICKET-1513 - input tag with type=image results in null pointer exception in AutoLinkResolver • WICKET-1605 - onclick is null or not an object in IE6, IE7; Form.appendDefaultButtonField • WICKET-1619 - PagingNavigator.setEnabled(false) doesn't work • WICKET-1621 - Misleading example works despite error • WICKET-1647 - SqlTimestampConverter drops the date portion of a Timestamp • WICKET-1663 - Wicket tries to decode servlet path that already has been decoded by servlet container • WICKET-1677 - AjaxFormChoiceComponentUpdatingBehavior affects checkboxes even if component uses radios and vice-versa • WICKET-1689 - style resources not looked up correctly in markup inheritance • WICKET-1691 - StringResourceModel honors container's key (rather than its own) • WICKET-1718 - WebPage#onAfterRender erroneously reports missing header • WICKET-1750 - Inconsisting Handling of id mismatch on wicket:container • WICKET-1781 - ParentResourceEscapePathTest fails on OS X using cmd line maven • WICKET-1794 - WicketTester.clickLink and IndexedParamUrlCodingStrategy don't work together • WICKET-1812 - Header contributions occur even though rendering is not allowed by authorization strategy • WICKET-1851 - Default lookup keys don't work when
Javadocs for Wicket 1.4 online
Hi all, I have put the javadocs for 1.4-rc2 online. You can find them through the wicket website or directly on this URL: http://wicket.apache.org/docs/1.4 Regards, Frank - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
[ANNOUNCE] Apache Wicket 1.4 release candidate 1
The Apache Wicket team is proud to present the first release candidate of Apache Wicket 1.4. This is the first Wicket version with java 1.5 as minimum requirement. Eager people click here to download the distribution, others can read further: * http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc1 We thank you for your patience and support. The Wicket Team - Apache Wicket Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: * http://wicket.apache.org - This release The Apache Wicket team is proud to announce the availability of the third milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m3. This is the first release with java 1.5 as a minimum. Almost everything has been converted to java 1.5. If you find something missing, please help us and send a message to the dev@ or user@ list. - Migrating from 1.3 If you are coming from Wicket 1.3, you really want to read our migration guide, found on the wiki: * http://cwiki.apache.org/WICKET/migrate-14.html h3. Downloading the release You can download the release from the official Apache mirror system, and you can find it through the following link: * http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc1/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4-rc1/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org - Validating the release The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. * http://www.apache.org/dist/wicket/1.4-rc1/KEYS Instructions on how to validate the release can be found here: * http://www.apache.org/dev/release-signing.html#check-integrity - Reporting bugs In case you do encounter a bug, we would appreciate a report in our JIRA: * http://issues.apache.org/jira/browse/WICKET - The distribution In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the first release in the 1.4 branch. - Release Notes - Wicket - Version 1.4-RC1 ** Sub-task * [WICKET-1624] - ServletWebRequest.getRelativePathPrefixToContextRoot() double decodes servlet path * [WICKET-1805] - Allow to change charset in StringRequestTarget: change CharSet used by the OutStream as well ** Bug * [WICKET-550] - Use WebRequestEncoder everywhere a query string is constructed * [WICKET-861] - NumberFormatException with UrlCompressingWebRequestProcessor in WicketTester * [WICKET-1120] - Problem closing a ModalWindow when used through an IFrame * [WICKET-1180] - Converters : final vs non final * [WICKET-1220] - Component.visitParents visits the calling component as well * [WICKET-1311] - Improper HTML escaping for most wicket components and extensions * [WICKET-1376] - Using AbstractAjaxTimerBehavior and mounting that page gives exception * [WICKET-1425] - appendToInit() method is not called in class DatePicker * [WICKET-1436] - Unable to use properties file when generating XML files * [WICKET-1496] - DataTable.html does not validate (HTML 4.01/XHTML-Strict) * [WICKET-1535] - ExternalLink JavaScript not working in FF 3 * [WICKET-1565] - AbstractTransformerBehavior can't be added to a page * [WICKET-1582] - WicketTester executeAjaxEvent onclick generating non-AJAX response * [WICKET-1583] - NPE in EnclosureResolver * [WICKET-1627] - AbstractRequestTargetUrlCodingStrategy improper user of URLEncoder.encode * [WICKET-1634] - ClassName needs conversion from Path to dotted notation in AutoLinkResolver * [WICKET-1648] - AbstractRequestTargetUrlCodingStrategy(line 174) throws confusing exception. It would be better redirect to 404-page in this case. * [WICKET-1652] - Hard-coded quotes in xml prologue * [WICKET-1704] - ResourceStreamRequestTarget.configure set wrong ContentLength for non-ascii characters * [WICKET-1719] - StringResourceModel may fail to format numbers using MessageFormat * [WICKET-1728] - remove obsolete check from LocalizedImageResource * [WICKET-1730] - RfcCompliantEmailAddressValidator
Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)
On Tue, Sep 30, 2008 at 3:27 PM, Matej Knopp [EMAIL PROTECTED] wrote: One thing that has crossed my mind too. YUI contains API for getting absolute coordinates of element as well as settings absolute coordinates to element (it takes care of setting proper position attributes, etc.). Last time I checked this was only available as a separate plugin for jQuery. This is a functionality that is really useful, if not for the base wicket API, then for the extentions. Is this part of jQuery core, or will it be in future? I think the Dimensions plugin is now merged into jquery as of 1.2.6. Frank
Re: [OT] Wicket in Action Jubilation
Yay, I got mine (yesterday, when I wasn't at work). Looks very nice. On Thu, Sep 4, 2008 at 8:10 AM, Jonathan Locke [EMAIL PROTECTED]wrote: i just got mine today. it is really really nice!!! Martijn Dashorst wrote: Thanks for the report, I've notified Manning of this issue and they're looking into it. I also asked when the books should arrive. If you've ordered from Manning, you should receive your copy one of these days. As I understand it, shipping was happening today or tomorrow. I'm not sure if you get a message that the book was shipped. If you ordered your copy with Amazon, you might have to wait longer as the books need to go to Amazon first before they get shipped out (and that happens on Amazon's schedule, nothing much Manning can do about). This may be a bit disappointing, but remember that you got a great discount. A big thanks to everybody that reviewed/bought the book, hang on just a little more—the book is coming (provided you ordered the print edition). Martijn On Mon, Sep 1, 2008 at 12:23 AM, James Carman [EMAIL PROTECTED] wrote: I called my local Barnes Noble today asking if they had a copy of WIA and the lady said that book is out of print; perhaps you can get one used through BN.com. The Waldenbooks in our mall said it was on back order (I'm assuming this is because of my two talks I gave to the Cincinnati Java Users Group). Is anyone else having issues getting a copy at brick and mortar stores? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-OT--Wicket-in-Action-Woes-tp19246776p19303970.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Roadmap for Wicket
1.5 wishlist in wiki: http://cwiki.apache.org/WICKET/wicket-15-wish-list.html Non-bug issues in JIRA: http://tinyurl.com/4ofab2 Frank On Thu, Jul 3, 2008 at 9:14 AM, Murat Yücel [EMAIL PROTECTED] wrote: Hi All I have been looking for a roadmap for the wicket project, but i could not find anything on your homepage or on google :)... Can anyone provide a link to a roadmap for wicket? Could be nice to see a roadmap for wicket 1.4 and wicket 1.5. What is the idea behind the version? What will be included etc. /Murat
Re: Functional testing tools comparison
Hi, I have a test suite for selenium for the wicket examples, which I use to test with when releasing (or testing your release). In that way I can quickly test on IE6, IE7 (using vmware (2 pcs unfortunatly)), Firefox etc. I can wrap them up and put them somewhere. Frank On Wed, Jul 2, 2008 at 6:30 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: All, I'm trying to discover which functional testing tool suits Wicket development best. My options are: - Canoo webtest - Selenium - Watir I'd like some folks to create a couple of functional tests for our wicket examples in one of these tools so that we get a complete overview of all three testing platforms. I've created one test for Canoo webtest, and I like the output of the tool. The XML stuff is not that great though. Fortunately it also supports groovy scripts. I intend to create some more tests and hope that someone will be able to translate those tests to selenium and watir so that we can compare these tools. Anyone interested? Martijn -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Functional testing tools comparison
no, I run them manually, from command line. I haven't got that thing set up, though one of my colleagues have created something that integrated into maven for work (I think). We can see if selenium is the best fit for us, and then I can try to integrate it into maven. It is doable, since we have them running at work. Frank On Thu, Jul 3, 2008 at 10:23 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Do you have them running from maven? Could we RC them onto our build server? Martijn On Thu, Jul 3, 2008 at 10:20 AM, Frank Bille [EMAIL PROTECTED] wrote: Hi, I have a test suite for selenium for the wicket examples, which I use to test with when releasing (or testing your release). In that way I can quickly test on IE6, IE7 (using vmware (2 pcs unfortunatly)), Firefox etc. I can wrap them up and put them somewhere. Frank On Wed, Jul 2, 2008 at 6:30 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: All, I'm trying to discover which functional testing tool suits Wicket development best. My options are: - Canoo webtest - Selenium - Watir I'd like some folks to create a couple of functional tests for our wicket examples in one of these tools so that we get a complete overview of all three testing platforms. I've created one test for Canoo webtest, and I like the output of the tool. The XML stuff is not that great though. Fortunately it also supports groovy scripts. I intend to create some more tests and hope that someone will be able to translate those tests to selenium and watir so that we can compare these tools. Anyone interested? Martijn -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Functional testing tools comparison
Selenium uses xpath, so you don't have to use domid's. But if you do, the selenium IDE is good for maintaining the tests as well. If a test fails when UI changes it's easy to fix in the IDE. My 2c On Thu, Jul 3, 2008 at 1:41 PM, richardwilko [EMAIL PROTECTED] wrote: hi, I've used selenium in the past and I do like it. However it uses domIds quite a bit, and as these are autogenerated by wicket they can prove troublesome. For example, you might get a test working, then add a new component to the page, which then changes all the dom ids on the page, breaking all your tests. I know that you can specify a static domId in the wicket code, but I would be interested to hear how other people have solved / got around this problem. I had thought about using wickettester at the same time as selenium and using this to get the correct domids, but that didnt seem like a very good way of doing things. Richard -- View this message in context: http://www.nabble.com/Functional-testing-tools-comparison-tp18241663p18257390.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicketstuff-push
As far as I know it only lives in subversion. I tried it myself a month ago and it is functional: http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push/ http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-push-examples/ On Thu, Jul 3, 2008 at 4:10 PM, Julien Graglia [EMAIL PROTECTED] wrote: Hi, I'am looking for a way to do reverse ajax (or cometd) in Wicket. I have search the Wicket website, examples, and google and the only thing I found was some mail archives talking about a maven artifact called wicketstuff-push, and classes like org.wicketstuff.push.cometd.CometdAbstractBehavior It sound's good, but I can't find any reference to that lib, only mail archive.(even on the wicketstuff website (1)) The last mail is from may 2008... Do you know where I can found a wicket lib to do reverse ajax. I already used the AjaxSelfUpdatingTimerBehavior wich works well but i need push, no polling. Thanx, 1 : http://wicketstuff.org -- Julien Graglia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker
This question is asked twice. See[0] for the other thread: [0]: http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions-etc.-tp18190491p18190491.html On Mon, Jun 30, 2008 at 10:00 AM, jdj [EMAIL PROTECTED] wrote: Hello, I'm new to Wicket. I'm using Wicket 1.3.3. I'm looking for a date picker component for Wicket, and I noticed that there is one in the http://wicket.sourceforge.net/wicket-extensions/ wicket-extensionshttp://wicket.sourceforge.net/wicket-extensions/wicket-extensions package. However, the information on that website seems to be out of date, it's about wicket-extensions 1.2 while the newest version in the Maven repository is wicket-extensions 1.3.3. In wicket-extensions 1.3.3, the DatePicker, which was in the package wicket.extensions.markup.html.datepicker in version 1.2, seems to be gone. I cannot find documentation for wicket-extensions 1.3.3 anywhere. Where is it? Is there a date picker component available in the current version of Wicket or Wicket Extenstions? If so, where can I find it? If not, then where can I find a date picker for Wicket? -- View this message in context: http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions%2C-looking-for-date-picker-tp18190491p18190491.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: override onClick of BookmarkablePageLink
If you want to do it in the calling code, use a normal Link and do a redirect to the bookmarkable page afterwords. Frank On Sun, Jun 15, 2008 at 12:03 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I want to override the onClick of a BookmarkablePageLink. What I actually want is to subclass a BookmarkablePageLink so whenever the user clicks, I will do something an then will call the actual obClick. after checking in the API I saw that: /** * THIS METHOD IS NOT USED! Bookmarkable links do not have a click handler. It is here to * satisfy the interface only, as bookmarkable links will be dispatched by the handling servlet. * * @see org.apache.wicket.markup.html.link.Link#onClick() */ public final void onClick() { // Bookmarkable links do not have a click handler. // Instead they are dispatched by the request handling servlet. } So how do I do a specific task whenever it is clicked? thanks -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74
Re: override onClick of BookmarkablePageLink
When you say it's easier and nicer what do you mean? nicer URL? The problem is that if you use bookmarkable page link, then the request goes directly to that new page (of cause) and doesn't go through your calling page first. This means that you have to do your work on the page instead, perhaps based on the page parameters. And that doesn't sound nicer to me. Frank On Sun, Jun 15, 2008 at 12:17 PM, Eyal Golan [EMAIL PROTECTED] wrote: I thought about this option and it's possible, BUT, I still prefer using a BookmarkablePageLink as it is easier and nicer (to me anyway). I have PageParameters that are set to the Link (yes I know, I can set them to the page). The default linksTo is good for me. So, any idea or should I really use a simple Link ? On Sun, Jun 15, 2008 at 1:08 PM, Frank Bille [EMAIL PROTECTED] wrote: If you want to do it in the calling code, use a normal Link and do a redirect to the bookmarkable page afterwords. Frank On Sun, Jun 15, 2008 at 12:03 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I want to override the onClick of a BookmarkablePageLink. What I actually want is to subclass a BookmarkablePageLink so whenever the user clicks, I will do something an then will call the actual obClick. after checking in the API I saw that: /** * THIS METHOD IS NOT USED! Bookmarkable links do not have a click handler. It is here to * satisfy the interface only, as bookmarkable links will be dispatched by the handling servlet. * * @see org.apache.wicket.markup.html.link.Link#onClick() */ public final void onClick() { // Bookmarkable links do not have a click handler. // Instead they are dispatched by the request handling servlet. } So how do I do a specific task whenever it is clicked? thanks -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74
Re: ValueMap, NullSafeKeyComparator and WicketNotSerializableException
https://issues.apache.org/jira/browse/WICKET-1694 On Thu, Jun 12, 2008 at 11:20 PM, Matthew Hanlon [EMAIL PROTECTED] wrote: Sorry, forgot to mention that I'm using wicket 1.4-SNAPSHOT, rev 667063. On Thu, Jun 12, 2008 at 4:18 PM, Matthew Hanlon [EMAIL PROTECTED] wrote: I'm getting a WicketNotSerializableException on a couple of my pages. The field that seems to be not serializable appears to be a Wicket class, org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator. Any suggestions? I saw a posting on the list earlier today that I though may have something to do with it, but I cannot find the reference now. Here's the stacktrace for the exception I'm getting: ERROR Objects:1114 - Error serializing object class com.mycompany.MyPage[object=[Page class = com.mycompany.MyPage, id = 3, version = 0, ajax = 0]] org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator Field hierarchy is: 3 [class=com.mycompany.MyPage, path=3] java.lang.Object org.apache.wicket.Component.data [class=[Ljava.lang.Object;] private org.apache.wicket.spring.ISpringContextLocator org.apache.wicket.spring.SpringBeanLocator.springContextLocator[1] [class=[Lorg.apache.wicket.MetaDataEntry;] private org.apache.wicket.spring.ISpringContextLocator org.apache.wicket.spring.SpringBeanLocator.springContextLocator[1][0] [class=org.apache.wicket.MetaDataEntry] java.lang.Object org.apache.wicket.MetaDataEntry.object [class=org.apache.wicket.PageParameters] private java.util.Comparator java.util.TreeMap.comparator [class=org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator] - field that is not serializable at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.writeObjectOverride(SerializableChecker.java:687) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.writeObjectOverride(IObjectStreamFactory.java:127) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1100) at org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:200) at org.apache.wicket.protocol.http.pagestore.DiskPageStore.storePage(DiskPageStore.java:814) at org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put(SecondLevelCacheSessionStore.java:327) at org.apache.wicket.Session.requestDetached(Session.java:1391) at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1113) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1384) at org.apache.wicket.RequestCycle.request(RequestCycle.java:499) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507) at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) at org.mortbay.http.HttpServer.service(HttpServer.java:863) at org.mortbay.http.HttpConnection.service(HttpConnection.java:775) at
Re: ValueMap, NullSafeKeyComparator and WicketNotSerializableException
Fixed On Thu, Jun 12, 2008 at 11:47 PM, Frank Bille [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-1694 On Thu, Jun 12, 2008 at 11:20 PM, Matthew Hanlon [EMAIL PROTECTED] wrote: Sorry, forgot to mention that I'm using wicket 1.4-SNAPSHOT, rev 667063. On Thu, Jun 12, 2008 at 4:18 PM, Matthew Hanlon [EMAIL PROTECTED] wrote: I'm getting a WicketNotSerializableException on a couple of my pages. The field that seems to be not serializable appears to be a Wicket class, org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator. Any suggestions? I saw a posting on the list earlier today that I though may have something to do with it, but I cannot find the reference now. Here's the stacktrace for the exception I'm getting: ERROR Objects:1114 - Error serializing object class com.mycompany.MyPage[object=[Page class = com.mycompany.MyPage, id = 3, version = 0, ajax = 0]] org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator Field hierarchy is: 3 [class=com.mycompany.MyPage, path=3] java.lang.Object org.apache.wicket.Component.data [class=[Ljava.lang.Object;] private org.apache.wicket.spring.ISpringContextLocator org.apache.wicket.spring.SpringBeanLocator.springContextLocator[1] [class=[Lorg.apache.wicket.MetaDataEntry;] private org.apache.wicket.spring.ISpringContextLocator org.apache.wicket.spring.SpringBeanLocator.springContextLocator[1][0] [class=org.apache.wicket.MetaDataEntry] java.lang.Object org.apache.wicket.MetaDataEntry.object [class=org.apache.wicket.PageParameters] private java.util.Comparator java.util.TreeMap.comparator [class=org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator] - field that is not serializable at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.writeObjectOverride(SerializableChecker.java:687) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.writeObjectOverride(IObjectStreamFactory.java:127) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1100) at org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:200) at org.apache.wicket.protocol.http.pagestore.DiskPageStore.storePage(DiskPageStore.java:814) at org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put(SecondLevelCacheSessionStore.java:327) at org.apache.wicket.Session.requestDetached(Session.java:1391) at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1113) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1384) at org.apache.wicket.RequestCycle.request(RequestCycle.java:499) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507) at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) at org.mortbay.http.HttpServer.service(HttpServer.java:863
Re: 1.3.4 release
Hi, The 1.3.4 release has been delayed a couple of times for various reasons. Right now the state is that I need to find the time to look into an issue that could mean regression from 1.3.3[0]. I just haven't got the time for it yet. Frank [0]: https://issues.apache.org/jira/browse/WICKET-1646 On Tue, Jun 10, 2008 at 3:47 PM, Ricky [EMAIL PROTECTED] wrote: Hi, I know I have asked this question couple of times now, but is there a fixed release date on this yet? sorry if it sounds like a duplicate question; but we are being pushed to raise the concern over and over; Using a 1.3-SNAPSHOT is not really a great idea, because if something changes at wicket end which breaks our stuff it would end up being a bug on our plate from users here ... Hopefully someone can give a definitive schedule for release date. The original question was raised like a month back and the response was that it will be sometime that week itself. apparently each time the response has been the same. My question is: 1.) Is it delayed? 2.) Is it canceled? 3.) Is it being replaced by 1.4? (in that there will be *NO* 1.3.4 anymore) My apologies if i sound obstinate. Thnx, Rick.
Re: Wicket cheat sheet, solve your wicket problem fast?
It appears that we can't do so much at the moment. What you can do is to fax a CLA to Apache[0] and when that is registered then you should be part of the asf-cla group which now has the appropriate rights to add attachments. Frank [0]: http://www.apache.org/licenses/#clas On Tue, Jun 3, 2008 at 10:27 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: great. Frank is working on the diagram stuff, to be able to give clearance to me i think. Gwyn Evans wrote: On Tue, Jun 3, 2008 at 8:25 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: argh! It's very clean on the upload side of stuff. Anyway when we get confluence sorted out i'll put the diagram on this page : I've put the 2nd version up as an attatchment now. /Gwyn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket cheat sheet, solve your wicket problem fast?
secretary@ it says in that page. Frank On Wed, Jun 4, 2008 at 11:53 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: It looks like I can also email a scanned copy, but to where do I email? Frank Bille wrote: It appears that we can't do so much at the moment. What you can do is to fax a CLA to Apache[0] and when that is registered then you should be part of the asf-cla group which now has the appropriate rights to add attachments. Frank [0]: http://www.apache.org/licenses/#clas On Tue, Jun 3, 2008 at 10:27 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: great. Frank is working on the diagram stuff, to be able to give clearance to me i think. Gwyn Evans wrote: On Tue, Jun 3, 2008 at 8:25 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: argh! It's very clean on the upload side of stuff. Anyway when we get confluence sorted out i'll put the diagram on this page : I've put the 2nd version up as an attatchment now. /Gwyn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket 1.3 - SNAPSHOT release dates
1.3.4 is sometime this week. Frank On Wed, Jun 4, 2008 at 6:58 PM, Ricky [EMAIL PROTECTED] wrote: Hi, Is there an estimated release date for Wicket 1.3.4 or for 1.3-SNAPSHOT ? Regards, Vyas, Anirudh
Re: Wicket 1.3 - SNAPSHOT release dates
1.3 has entered maintainance since all development effort is going into 1.4. It should therefore be safe to use snapshot releases since they will only be bug-fixes from a final 1.3.4 release. Frank On Wed, Jun 4, 2008 at 9:10 PM, Ricky [EMAIL PROTECTED] wrote: Thanks. I meant 1.3 - SNAPSHOT being finalized to a release version. appreciate your response. -- Regards Vyas, Anirudh || ॐ || On Wed, Jun 4, 2008 at 2:51 PM, Frank Bille [EMAIL PROTECTED] wrote: 1.3.4 is sometime this week. Frank On Wed, Jun 4, 2008 at 6:58 PM, Ricky [EMAIL PROTECTED] wrote: Hi, Is there an estimated release date for Wicket 1.3.4 or for 1.3-SNAPSHOT ? Regards, Vyas, Anirudh
Re: Add onClick to an AjaxButton
I have created a behavior (WIP), which takes care of that: http://svn2.assembla.com/svn/planningpoker/trunk/planningpoker-wicket/src/main/java/org/planningpoker/wicket/behaviours/ClickConfirmBehavior.java Frank On Tue, Jun 3, 2008 at 11:01 AM, Eyal Golan [EMAIL PROTECTED] wrote: Hello all, We have a StyledAjaxButton that extends AjaxButton. We want to add a confirmation when clicking. We added this: @Override protected String getOnClickScript() { String warning = LocalizationHelper.getMessage(page.confirmation.message, DELETE_TICKETS); return if (!window.confirm('+warning+')) return false;; } Now, in a normal Button it works. But in the AjaxButton it does not. I checked the AjaxButton and saw that an AjaxFormSubmitBehavior is added to it with an onClick. How can I add another behavior like this? Or how can I tackle this problem? Thanks -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74
Re: Ajax-on-click-somewhere-else?
I'm no js shark either, but I had created something like that a while ago and I got around that problem by setting a flag when the mouse was over the popup (onmouseover) and reset it onmouseout. Then you can use that flag when detecting the click event. Frank On Tue, Jun 3, 2008 at 1:40 PM, gurgel2 [EMAIL PROTECTED] wrote: I want to do a popup menu (using a z-indexed layer) that should closed if i click anywhere, EXCEPT on the menu itself. Its the close behavior I need to know. Everything but that, is clear to me. A similar behavior to a opened desktop app File,Edit, .. Help menu or a context menu (not opened with right button ofcourse). Maybe something like... final MyMenu myMenu = ... getPage().add(new AjaxEventBehavior(onclick) { void onEvent(AjaxRequestTarget target) { myMenu.setVisibible(false); target.addComponent(myMenu); } }); ...but than then I have to deal with the exclusion of click events on my menu popup layer. Any better ideas? /Kalle -- View this message in context: http://www.nabble.com/Ajax-on-click-somewhere-else--tp17621638p17621638.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANNOUNCE] Apache Wicket 1.4 Milestone 2 is released
Help the Apache Wicket team to determine the future of your Wicket based web application development. We have released our second milestone release of our Java 5 based web framework and are anxious to receive feedback on our use of generics. Download Wicket 1.4-m2 now and help us decide whether to tone down, remove or increase the application of Java 5 generics to our API. We have started the discussion on the user mailing list: http://www.nabble.com/users%2C-please-give-us-your-opinion%3A-what-is-your-take-on-generics-with-Wicket-td17589984.html Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.4-m2 We thank you for your patience and support. The Wicket Team === Apache Wicket === Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: http://wicket.apache.org === This release === The Apache Wicket team is proud to announce the availability of the first milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m2. This is the first release with java 1.5 as a minimum. Not everything has been converted to java 1.5 yet but we are getting there. === Migrating from 1.3 === If you are coming from Wicket 1.3, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-14.html === Downloading the release === You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.4-m2/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4-m2/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org === Validating the release === The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.4-m2/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity === Reporting bugs === In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET === The distribution === In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the first release in the 1.4 branch.
Re: Wicket cheat sheet, solve your wicket problem fast?
Nino makes a profit on every ad you accidently click on, trying to find the correct download link ;-) BTW, isn't the apache wiki having a Add diagram button now? Frank On Mon, Jun 2, 2008 at 3:46 PM, Brill Pappin [EMAIL PROTECTED] wrote: It's there, but tiny and hidden in among the ads (centred, middle/bottom). - Brill Pappin -Original Message- From: Ames, Tim [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 8:59 AM To: users@wicket.apache.org Subject: RE: Wicket cheat sheet, solve your wicket problem fast? Sorry, I don't understand how to access the pdf from this link -Original Message- From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] ] Sent: Monday, June 02, 2008 4:34 AM To: users@wicket.apache.org Subject: Wicket cheat sheet, solve your wicket problem fast? Hi I've created a small wicket cheat sheet for issues and features, please see here : http://www.flyupload.com/?fid=9436254 It's based on my experience so it's certainly not complete and you should consider it a draft. Any comment will be welcome:) -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket cheat sheet, solve your wicket problem fast?
On Mon, Jun 2, 2008 at 5:37 PM, Gwyn Evans [EMAIL PROTECTED] wrote: The Add Attatchment on the wiki is restricted to the Confluence wicket-committers group (which is probably out of sync with the real Wicket committers list). Also the Add Diagram button on this page? http://cwiki.apache.org/confluence/display/WICKET/Index Frank
Re: Wicket cheat sheet, solve your wicket problem fast?
On Mon, Jun 2, 2008 at 8:19 PM, Frank Bille [EMAIL PROTECTED] wrote: On Mon, Jun 2, 2008 at 5:37 PM, Gwyn Evans [EMAIL PROTECTED] wrote: The Add Attatchment on the wiki is restricted to the Confluence wicket-committers group (which is probably out of sync with the real Wicket committers list). Also the Add Diagram button on this page? http://cwiki.apache.org/confluence/display/WICKET/Index Frank (I think I'm also asking where you see those restrictions?) Frank
Re: 1.3.4 Release
I think we are ready to release 1.3.4. Let me ping the others if it can be this weekend (I don't have time before) Frank On Wed, May 21, 2008 at 3:57 PM, OliZilla [EMAIL PROTECTED] wrote: Any news on the 1.3.4 release date yet? We are waiting on a couple of fixes that are already committed, but we don't want to go back to using a SNAPSHOT if the 1.3.4 release is on the horizon. Cheers, Oli -- View this message in context: http://www.nabble.com/1.3.4-Release-tp16810205p17364249.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [JUG] Advanced Wicket - Cincinnati, OH (tonight)
On Mon, May 19, 2008 at 6:48 PM, James Carman [EMAIL PROTECTED] wrote: I'll ask the place that's hosting if they have video equipment. They do video conferencing all the time. That would be cool if I could webcast it! +1 :-) Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Contribution for Wicket
A big +1 from me. Frank On Tue, May 20, 2008 at 10:32 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Since Wicket is an offical Apache project you can donate to Apache. But I'm not sure if that will be of enough interest for you. In my personal opinion, you could donate to Literacy Bridge (a project to promote literacy in 3rd world countries through developing a device that allows for cheap ebook reading, aiui). Literacy bridge is founded by an Apache Member, so it is close to home, so to speak. Other than that, I think the organizations helping in Myanmar and other disaster areas can use the funds too. Martijn On 5/20/08, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Hi! I was wondering how I could make a contribution for wicket. I'm not talking about a code contribution but rather a small money contribution. I have got a lot of help here on this forum and in fact I don't think I have ever experienced this kind of help elsewhere! -- View this message in context: http://www.nabble.com/Contribution-for-Wicket-tp17330946p17330946.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Caused by: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main
Take a look on WicketTester. Frank On Tue, May 20, 2008 at 11:20 PM, Fernando Wermus [EMAIL PROTECTED] wrote: I am trying to instantiate a Panel according to an specific object. I thought this was something related to reflection, but the panel is throwing this exception. Caused by: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main I developed a test with junit to be assured that this works. I think this is the problem. If this is the case, how can I do a test to guarantee that this works without the server running? -- Fernando Wermus. www.linkedin.com/in/fernandowermus http://mientretiempo.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket tags and IE6
What happens if you add the wicket namespace to the html tag? html xmlns:wicket=http://wicket.apache.org; Frank On Fri, May 16, 2008 at 7:33 PM, John Krasnay [EMAIL PROTECTED] wrote: I've just noticed a specific problem with Wicket tags interfering with IE6. I have a page that uses the jqModal plugin for jQuery to display a popup div. It works fine on FF, but on IE6 the overlay (the semi-transparent div that blocks out the rest of the page while the popup is active) pushes the rest of the content down instead of floating above it, and the popup div itself is not visible. After quite a bit of debugging I narrowed it down to a Border I was using on the page, and I suspect it was the wicket:body tag that was giving IE fits. Of course, this is easily fixed by suppressing Wicket tags from the output, but I was wondering if (a) anyone else had seen this and can think of another workaround, and (b) if there's some way of fixing this in Wicket itself short of renaming wicket:body. jk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket tags and IE6
Then I don't really know. Perhaps file a bug report with Microsoft ;-) Frank On Sat, May 17, 2008 at 12:47 PM, John Krasnay [EMAIL PROTECTED] wrote: On Sat, May 17, 2008 at 09:57:13AM +0200, Frank Bille wrote: What happens if you add the wicket namespace to the html tag? html xmlns:wicket=http://wicket.apache.org; Frank I thought about that, but the page already has the declaration. jk On Fri, May 16, 2008 at 7:33 PM, John Krasnay [EMAIL PROTECTED] wrote: I've just noticed a specific problem with Wicket tags interfering with IE6. I have a page that uses the jqModal plugin for jQuery to display a popup div. It works fine on FF, but on IE6 the overlay (the semi-transparent div that blocks out the rest of the page while the popup is active) pushes the rest of the content down instead of floating above it, and the popup div itself is not visible. After quite a bit of debugging I narrowed it down to a Border I was using on the page, and I suspect it was the wicket:body tag that was giving IE fits. Of course, this is easily fixed by suppressing Wicket tags from the output, but I was wondering if (a) anyone else had seen this and can think of another workaround, and (b) if there's some way of fixing this in Wicket itself short of renaming wicket:body. jk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FYI: new wicket site
Very nice! But where is the Powered by Apache Wicket button? Frank On Wed, May 14, 2008 at 10:36 AM, lars vonk [EMAIL PROTECTED] wrote: Hi all, A new Wicket site is born! It's a Dutch site on which you can search for day trips and such. See: www.eropuit.nl. Thanks to the user- and dev-group for answering any questions we had during the process. Lars - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket 1.4 Generics
http://repo1.maven.org/maven2/org/apache/wicket/wicket-spring/1.4-m1/ On Mon, May 12, 2008 at 8:02 AM, Andre Prasetya [EMAIL PROTECTED] wrote: usually there is a wicket-spring release for every wicket release, can I use wicket-spring 1.3.3 for 1.4-m1 or should i wait until there is a spesific release for 1.4-m1 ? -andre- Igor Vaynberg wrote: spring support has been there since 1.2, see wicket-spring and spring examples. -igor On Sun, May 11, 2008 at 8:10 PM, Andre Prasetya [EMAIL PROTECTED] wrote: Doug Donohoe wrote: I just migrated to 1.4-M1 and converted all my classes to use the new generics support. It cleaned up my code quite nicely - I got to remove a lot of casting and cured many unchecked/raw messages. It also make the code much more readable - especially in list views, etc. Excellent work, Wicket team. -Doug has 1.4-m1 support spring ? i m about to start a wicket project, and if 1.4-m1 already supported spring i can give a shot. -andre- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to run some javascript some # of seconds after page is loaded
If I remember correctly, then take a look at AbstractAjaxTimerBehavior because it has a fix for a IE error. Something with putting the function in quotes or something. Frank On Thu, May 1, 2008 at 3:31 AM, Matthew Young [EMAIL PROTECTED] wrote: Alright, that worked. Thanks! On Wed, Apr 30, 2008 at 6:13 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: window.setTimeout(function() {Effect.Fade('feedback-id');}, 7000) -igor On Wed, Apr 30, 2008 at 6:08 PM, Matthew Young [EMAIL PROTECTED] wrote: I have a feedback panel on the page I want to fade way after 7 seconds. I tried adding this to the page: private static AbstractBehavior feedbackSelfDisappear = new AbstractBehavior() { private static final long serialVersionUID = 1L; @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); response.renderOnDomReadyJavascript(window.setTimeout(Effect.Fade('feedback-id'), 7000)); } }; But the fade happens immediately without delay. I tried these and all the same: response.renderOnDomReadyJavascript(setTimeout(Effect.Fade('feedback-id'), 7000)); response.renderOnLoadReadyJavascript(window.setTimeout(Effect.Fade('feedback-id'), 7000)); response.renderOnLoadReadyJavascript(setTimeout(Effect.Fade('feedback-id'), 7000)); What's the right way to get make this happen? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Apache Wicket 1.4-M1
It wasn't done at the time of m1. It's fixed in trunk (hardcoded to String) Frank On Sun, May 4, 2008 at 5:47 PM, Hoover, William [EMAIL PROTECTED] wrote: Is there a reason why StringResourceModel is not using StringResourceModelT ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Bille Sent: Friday, May 02, 2008 4:09 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; users@wicket.apache.org; Apache Wicket Development Subject: [ANNOUNCE] Apache Wicket 1.4-M1 The Apache Wicket team is proud to announce the availability of the first milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m1. Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.4-m1 We thank you for your patience and support. The Wicket Team === Apache Wicket === Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: http://wicket.apache.org === This release === The Apache Wicket team is proud to announce the availability of the first milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m1. This is the first release with java 1.5 as a minimum. Not everything has been converted to java 1.5 yet but we are getting there. === Migrating from 1.3 === If you are coming from Wicket 1.3, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-14.html === Downloading the release === You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.4-m1/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4-m1/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: [http://slf4j.org] === Validating the release === The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.4-m1/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity === Reporting bugs === In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET === The distribution === In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the first release in the 1.4 branch. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANNOUNCE] Apache Wicket 1.4-M1
The Apache Wicket team is proud to announce the availability of the first milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m1. Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.4-m1 We thank you for your patience and support. The Wicket Team === Apache Wicket === Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: http://wicket.apache.org === This release === The Apache Wicket team is proud to announce the availability of the first milestone release of our first java 1.5 Wicket version: Apache Wicket 1.4-m1. This is the first release with java 1.5 as a minimum. Not everything has been converted to java 1.5 yet but we are getting there. === Migrating from 1.3 === If you are coming from Wicket 1.3, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-14.html === Downloading the release === You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.4-m1/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4-m1/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: [http://slf4j.org] === Validating the release === The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.4-m1/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity === Reporting bugs === In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET === The distribution === In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the first release in the 1.4 branch. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Updating multiple PropertyModels
You don't need the wrapper. If you give PropertyModel a IModel as object it knows how to handle it. I do that all the time: Single backing IModel with lots of different IModel in front (property models, AROM, etc.) Frank On Wed, Apr 30, 2008 at 7:09 AM, Martin Makundi [EMAIL PROTECTED] wrote: I use Ajax and in an OnChange event I reload/replace some model objects and add the components holding the models into ajaxupdatetarget. I have not found another way to replace the model objects using a single point of entry. ** Martin 2008/4/29 Johan Compagner [EMAIL PROTECTED]: Why do you want to propagate the changes? Why isnt it just pull instead of push? Or do you use ajax and you have to know what components have to be rerendered? On 4/28/08, Martin Makundi [EMAIL PROTECTED] wrote: Hi! I have a situation where I have multiple propertymodels whose model-object changes as a result of an update. I need to propagate this change to all the property models. Is there an existing functionality to accomplish this? I came up with a workaround, but I would like to know if there was a proper way to deal with the situation. Here is my workaround, which smells a bit like a hack: public class WrappedPropertyModel extends PropertyModel { /** * @param model The model whose modelObject can be changed and the change will be represented by all WrappedPropetyModels sharing the same model * @param property The property of the modelObject that is wanted */ public WrappedPropertyModel(IModel model, String property) { // Strictly speaking, the IModel here could be any wrapper object super(model, object. + property); } } ** Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unit test of AjaxLazyLoadPanel and ModalWindow
On Thu, Apr 24, 2008 at 8:10 PM, qk [EMAIL PROTECTED] wrote: 1. after the page was rendered using WicketTester.startPage(), the real content (the one that returned by getLazyLoadComponent()) was not loaded by default. I always got an empty panel. Is there a way that I can have the real content rendered? Wicket tester doesn't parse javascript, so it can't execute the ajax callback. You have to do that yourself. Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using AJAX to change style of component
You have to set outMarkupId when creating the component. It's too late to do it in the ajax callback. Frank On Thu, Apr 24, 2008 at 9:32 PM, Ryan O'Hara [EMAIL PROTECTED] wrote: I'm fairly new to Wicket and was wondering if there is a way to use AJAX to change the style of a WebMarkupContainer? Below is a snippet of my code: IModel sourceModel = new Model() { public Object getObject() { return sourceOptions; } }; final DropDownChoice source = new DropDownChoice(source, new PropertyModel(this, sourceSelection), sourceModel); source.add(new AjaxFormComponentUpdatingBehavior(onchange) { protected void onUpdate(AjaxRequestTarget target) { variationMetricRow.add(new AttributeModifier(style, true, new Model(sourceSelection.equals(CHOP_Normals) ? display:block : display:none))); variationMetricRow.setOutputMarkupId(true); target.addComponent(variationMetricRow); } }); In this example, I would like to change the display to show/hide a particular component. Any help would be appreciated. Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PageableListView need to be generified?
Done. On Wed, Apr 23, 2008 at 6:57 AM, Matthew Young [EMAIL PROTECTED] wrote: I'm getting warning on: new PageableListView() { @Override protected void populateItem(ListItem item) { ListItem is generic. References to generic type ListItemT should be parameterized. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: make source jars part of wicket distribution
There is source code in the distribution. Can't you just jar it yourself? Alternatively you can download source jar from maven (even though you are not using maven): http://repo1.maven.org/maven2/org/apache/wicket/wicket/1.3.3/wicket-1.3.3-sources.jar Frank On Tue, Apr 22, 2008 at 1:22 PM, Peter Ertl [EMAIL PROTECTED] wrote: Dear wicket developers, could you make the wicket source jars part of the distribution (even when this means more megabytes)? Or maybe an additional apache-wicket-1.x-sources.tar.gz (.zip) ? This would be very helpful for debugging and ensure that wicket-jar and wicket-source-jars do match exactly. Regards, Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple DropDownChoice
http://wicketstuff.org/wicket13/ajax/choice On Sun, Apr 20, 2008 at 6:19 PM, i ii [EMAIL PROTECTED] wrote: is example available for multiple DropDownChoice where one menu changes value in other? i look at http://wicketstuff.org/wicket13/ but see no example - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to test setResponsePage
You could also look at the RequestCycle and check that a BookmarkablePageRequestTarget was set with correct page class. Frank On Mon, Apr 21, 2008 at 7:33 AM, Ned Collyer [EMAIL PROTECTED] wrote: For those that are interested, I've extended the wicketTester with this method public void assertNextPageIs(final Class clazz) { final IPageFactory pageFactory = getApplication().getSessionSettings().getPageFactory(); getApplication().getSessionSettings().setPageFactory(new IPageFactory() { public Page newPage(Class pageClass) { assertEquals(pageClass, clazz); getApplication().getSessionSettings().setPageFactory(pageFactory); return null; } public Page newPage(Class pageClass, PageParameters parameters) { // todo - assert page parameters return newPage(pageClass); } }); } I've had to respondSuspend mentioned in the link in my first post. Pretty handy tho, I can now go wicketTester.assertNextPageIs(SomeComplexPage.class) formTester.submit() Obviously early days at the moment :) Rgds Ned -- View this message in context: http://www.nabble.com/How-to-test-setResponsePage-tp16802302p16803012.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: testing a link
1) In your java code the link's wicket:id is back but in your test you use links 2) You have a space in the Tester.assertLabel ( links: linkLabel, Access); 3) What is it you want to test with the Link? remember tester.clickLink Frank On Thu, Apr 17, 2008 at 2:36 PM, aynif [EMAIL PROTECTED] wrote: Hello ev'ry body, First, I apologize for my poor English. I want to know how to perform a link test in JUnit. This is my code : Final List String values = ; Link myButton = new Link ( back) ( Private static final long serialVersionUID = 1L; @ Override Public void onClick () ( SetResponsePage (New Page (...)); ) ); Add (myButton); If (values.isEmpty ()) MyButton.setVisible (false); in the Test class, i add these lines : ... Tester.assertComponent ( links, Link.class); Tester.assertLabel ( links: linkLabel, Access); ... My test fails and i have a NullPointerException Thanks for yoyr help -- View this message in context: http://www.nabble.com/testing-a-link-tp16743958p16743958.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WicketTester table testing question
try tester.debugComponentTrees to see the components on your page. This can help you to get the components out you want to test. Frank On Wed, Apr 16, 2008 at 2:33 PM, Michael Perkonigg [EMAIL PROTECTED] wrote: Hello, I am filling a table (it's a list of links) with some data with help of a Panel but all of the rows have the same wicket:id. Is there a way to test if there is my value in one of the rows? Thanks, Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WicketTester.startPage(page) throws No requestCycle is currently set
tester.createRequestCycle() (or something). Though I thought it was called for you in startPage. It's good that we will take a look at it for WNG. Frank On Wed, Apr 16, 2008 at 3:28 PM, Federico Fanton [EMAIL PROTECTED] wrote: Hi to all, I'm receiving a strange message with WicketTester in 1.3.3.. Whenever I use startPage(Page) I get a No requestcycle is currently set! logged.. To reproduce, just use a QuickStart with a completely static Homepage.html (no wicket:id's) and an empty Homepage.class (just a Homepage extends WebPage), while the test itself is new WicketTester().startPage(new HomePage()); with log4j.logger.org.apache.wicket=DEBUG inside log4j.properties, to enable logging. Am I missing something? Many thanks for your time! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [WUG] Copenhagen
We could also have an informal ask-a-question session for 30-45 min in the beginning? Which expectations does people have for this meeting? Frank On Mon, Apr 14, 2008 at 2:49 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi This is a reminder, and callout as it would be really nice to be some more people in order to get discussions going. Heres the proposed content: *Wicket-Spring-JPA-Hibernate (Could also be a discussion of the upcomming archetype wicket Iolith) *Wicket Testsing experiences *Creating behaviors *Selling Wicket (to your company, and customers) * Integrating javascript libraries with wicket Please sign up here: 23 april 16 hrs is date and time. http://cwiki.apache.org/confluence/display/WICKET/Community+meetups If you have any suggestions on content, etc please write. This also goes for requests on content. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DynamicWebResource filename
I can't see any good reason. If you create an issue for it (preferable with a patch), then I'll take a look at it. Frank On Mon, Apr 14, 2008 at 12:56 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, Any reason why the filename field in DynamicWebResource does not at least have a protected getter so you can use it in subclasses without having to add the field again? Regards, Sebastiaan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANNOUNCE] Apache Wicket 1.3.3 is released!
The Apache Wicket team is proud to announce the availability of the third maintenance release: Apache Wicket 1.3.3. A lot of bugs have been squashed and several improvements implemented. PLEASE NOTE: We have fixed a bug related to the order of the rendered links in wicket:head, which might have influence on how your stylesheets are loaded. See WICKET-1487 (https://issues.apache.org/jira/browse/WICKET-1487) for details. Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.3.3 We thank you for your patience and support. - The Wicket Team Apache Wicket Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: http://wicket.apache.org This release This release is the second maintenance release for the Wicket 1.3 product. Development for a new version of Wicket will commence soon. This release fixes several bugs and adds some minor improvements. You can find out about the changes at the bottom of this announcement. Migrating from 1.2 If you are coming from Wicket 1.2, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-13.html Downloading the release You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.3.3/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.3.3/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org Validating the release The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.3.3/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity Reporting bugs In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET The distribution In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.3 which contains a list of all things that have been fixed, added and/or removed since Wicket 1.3.0. Release Notes - Wicket - Version 1.3.3 Bug * WICKET-310 - AutoCompleteTextField does not invoke post call handlers * WICKET-860 - GoAndClearFilter doesn't reset filter form fields * WICKET-932 - BaseWicketTester support for SubmitLink * WICKET-1105 - Missing javascript header referencies when there are no body or head tags. * WICKET-1265 - Close ModalWindow in IE with scrollbars scrolls to bottom * WICKET-1268 - Form inside VelocityPanel throws WicketRuntimeException: Unable to find the markup for the component. * WICKET-1280 - Autocomplete onchange event gets fired twice when selecting with mouse click * WICKET-1329 - AutoCompleteTextField's suggestion list disappeared when it is used inside a ModalWindow * WICKET-1332 - AjaxFormChoiceComponentUpdatingBehavior just updates the group grandchildren * WICKET-1350 - AutoCompleteTextField's scrollable suggestion list disappeared when a mouse pointing to the scroll bar in IE6/7 * WICKET-1372 - Input field with autocomplete behavior does not submit the form via enter key in some cases * WICKET-1391 - wicket:enclosure bug: setObject(null) called for excplicitly invisible fields in a non-visible enclosure * WICKET-1408 - ComponentFeedbackMessageFilter should use equals() method to determine equality * WICKET-1411 - FormTester doesn't initialise values for RadioGroups * WICKET-1414 - findSubmittingButton will fail when button without form is added before form * WICKET-1415 - BundleStringResourceLoader throws NPE if component is null * WICKET-1416 - WIcket Filter ignoring query parameters on redirect * WICKET-1417 - AjaxFormChoiceComponentUpdatingBehavior does not iterate over immediate children * WICKET-1423 - AuthenticatedWebApplication uses deprecated constructor of AuthenticatedWebSession * WICKET-1430 - Form processing throws NPE if button.onsubmit() moves the button or its parents out of the component hierarchy
Re: [WUG] Copenhagen
Good initiative. I'm glad you are taking lead on this. I think I can come and have signed up on the wiki page. Frank On Thu, Apr 3, 2008 at 10:54 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: So in order to have this meetin, i'd like to see how many we are (if below 5 or something around there it's not gonna happen). So please fill in if you will come here : http://cwiki.apache.org/confluence/display/WICKET/Community+meetups#Communitymeetups-Denmark Or if youre really lazy, write me a email:) Nino Saturnino Martinez Vazquez Wael wrote: I suggest that we hold a meeting the 23. april at 16 hours. At Jayway. http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.comctz=Europe/Copenhagen WDYT? -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: My Wicket Flickr Demo a la Ruby On Rails
I would suggest uploading it to vimeo.com. It supports HD videos as well as support for downloading the original file. Frank On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke [EMAIL PROTECTED] wrote: this looks like it's probably cool, but there's no audio and the video size is such that i can't read anything. MYoung wrote: Hi, I am new to Wicket and to help me learn, I created a Wicket version of the Flickr demo like the one on the Ruby on Rails site seen here http://www.rubyonrails.org/screencasts. I put my version in my blog here: http://limboville.blogspot.com/2008_03_01_archive.html. Please take a look and give me some feedback. Thanks! -- View this message in context: http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANNOUNCE] Apache Wicket 1.3.2 is released
Apache Wicket 1.3.2 is released! The Apache Wicket team is proud to announce the availability of the second maintenance release: Apache Wicket 1.3.2. A lot of bugs have been squashed and several improvements implemented. Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2 We thank you for your patience and support. - The Wicket Team Apache Wicket Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: http://wicket.apache.org This release This release is the second maintenance release for the Wicket 1.3 product. Development for a new version of Wicket will commence soon. This release fixes several bugs and adds some minor improvements. You can find out about the changes at the bottom of this announcement. Migrating from 1.2 If you are coming from Wicket 1.2, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-13.html Downloading the release You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.3.2/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org Validating the release The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.3.2/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity Reporting bugs In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET The distribution In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.3 which contains a list of all things that have been fixed, added and/or removed since Wicket 1.3.0. Release Notes - Wicket - Version 1.3.2 Bug WICKET-1038 - Setting UnexpectedExceptionDisplay to IExceptionSettings.SHOW_NO_EXCEPTION_PAGE doesn't throw Servlet Exception WICKET-1239 - java.lang.IllegalAccessError when changing AjaxEditableLabel WICKET-1278 - Uncaught checked exceptions in page constructor WICKET-1294 - PrependingStringBuffer.hashCode() doesn't meet its contract WICKET-1305 - AbstractTextComponent requires itself to be rendered before conversion happens WICKET-1307 - autolinked resources have locale appended WICKET-1308 - TextArea trims content when saved WICKET-1314 - DateTimeField does not correct the timezone properly WICKET-1319 - StringResourceModel incorrectly escapes ' characters in choice formats WICKET-1321 - Javadoc error in QueryStringUrlCodingStrategy WICKET-1323 - AbstractPageableView has transient cachedItemCount, but doesn't set it to -1 on deserialization. WICKET-1330 - ComponentTag#setNamespace() only modifies the opening tag WICKET-1340 - Bogus LocalizedImageResource#isStateless() WICKET-1342 - Inline documentation WICKET-1353 - Typo in palette.html WICKET-1356 - When no request target is found for url we should let other filters/servers process the url instead of trying to serve the resource WICKET-1361 - Localizer doesn't honor style when caching property lookups WICKET-1364 - BaseWicketTester.isVisible() doesn't check Component.isRenderAllowed() WICKET-1365 - Having instance variables referencing pages causes memory leaks, StackOverflowErrors and ClassCastExceptions WICKET-1370 - MarkupCache can leak memory WICKET-1377 - AbstractCalendar use the wrong resources path WICKET-1383 - MiniMap IndexOutOfBoundsException when empty WICKET-1387 - Cookie Path of persistent FormElements wrong WICKET-1388 - charset=UTF-8 is appended to Content-Type of DynamicWebResources WICKET-1395 - BigDecimalConverter does not work with space - eg, French or Russian Locales. WICKET-1397 - AjaxSubmitLink doesn't always find enclosing form properly WICKET-1398 - AjaxFallbackButton not getting form WICKET-1400 - FormComponent.error(ivalidationerror) error needs to show tried resource keys WICKET-1401 - StyleDateConverter does not use
Re: Russian localization
On Thu, Mar 6, 2008 at 3:16 PM, Juha Alatalo [EMAIL PROTECTED] wrote: Hi, Russian language supports seems to be broken. Calling getString() causes class cast exception (stack trace in the end of the mail). Removing file org\apache\wicket\Application_ru.xml seems to be fixing the provlem. Should I create a jire issue for that? Yes please. I don't think the solution is to remove the file but instead fix the problem itself. :-) Frank
Re: bug or feature in FormTester while setting a value on a form?
Please create a jira issue for it. We are planning to redo the testing part of wicket to make it consistent and up-to-date for 1.4/2.0. Frank On Thu, Mar 6, 2008 at 2:29 PM, Wojciech Biela [EMAIL PROTECTED] wrote: Hey It looks like a bug but it's so obvious I suspect it's a feature not a bug, a feature I yet have learn to appreciate. When I assert a value on a component and the path is invalid (either the component is not there or I misspelled the path) the assertion fails. This is fine. When I try to set a value of a component and the path is invalid the method returns without any complaints. So now I have to double every set with an assert to be sure I'm setting a value to an existing component. Why the extra work? regards -- Wojtek Biela - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Junit required for WicketTester?
In 1.3 WicketTester is the Junit implementation of BaseWicketTester. Frank On Fri, Mar 7, 2008 at 3:33 PM, reikje [EMAIL PROTECTED] wrote: Do you have to have junit.jar in the classpath if you want to use WicketTester? We are using TestNG here and in a regular TestNG test case (where the class is annotated with @Test), I get java.lang.NoClassDefFoundError: junit/framework/AssertionFailedError. -- View this message in context: http://www.nabble.com/Junit-required-for-WicketTester--tp15892202p15892202.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Copenhagen wicket user meeting: rescheduled
Yes sounds good. 16.00 is ok for me. not earlier. Frank On Jan 24, 2008 5:41 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: 29 january at jayway copenhagen office... will we start at 16:00? Guðmundur Bjarni wrote: Hey, Sounds good. Where and when exactly will it be then? :) regards, Guðmundur Bjarni Ólafsson Nino.Martinez wrote: Cancel previous message. Meeting will be held at same time next week. Nino Saturnino Martinez Vazquez Wael wrote: Hi We are gonna reschedule the meeting, Flemmings getting one up to hold a course for their firm internally, but it's our hope that instructor will participate in our meeting. Information will follow asap. This makes it an even greater reason to come and check out wicket if youre a newcommer.. -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: *Wicket users copenhagen* reschedule!
It's fine by me to reschedule. What about somewhere in med-february? Frank On Jan 28, 2008 2:00 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Im currently on the hospital, my daughter are sick. We will have to reschedule. Im sorry for this. Alternately, you can go ahead with the meeting. But as im not a jayway, it's not possible to hold the meeting there... I've pointed this out in the old thread also.. regards Nino -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Copenhagen wicket user meeting: rescheduled
No problem of cause. Don't hope it's serious. Best wishes, Frank On Jan 28, 2008 1:23 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Im currently on the hospital, my daughter are sick. We will have to reschedule. Im sorry for this. regards Nino Frank Bille wrote: Yes sounds good. 16.00 is ok for me. not earlier. Frank On Jan 24, 2008 5:41 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: 29 january at jayway copenhagen office... will we start at 16:00? Guðmundur Bjarni wrote: Hey, Sounds good. Where and when exactly will it be then? :) regards, Guðmundur Bjarni Ólafsson Nino.Martinez wrote: Cancel previous message. Meeting will be held at same time next week. Nino Saturnino Martinez Vazquez Wael wrote: Hi We are gonna reschedule the meeting, Flemmings getting one up to hold a course for their firm internally, but it's our hope that instructor will participate in our meeting. Information will follow asap. This makes it an even greater reason to come and check out wicket if youre a newcommer.. -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Copenhagen wicket user meeting: rescheduled
On Jan 28, 2008 10:09 PM, James Carman [EMAIL PROTECTED] wrote: Ok, I think I speak for the rest of us when I say that I think this should be taken off-line. Ok, I can only speak for myself, but I'm not part of those rest. Even if I were not part of this thread I would still disagree. Even if it had went on for days in this thread I still wouldn't care. I don't think this mailing list is overrun by these kind of subjects Although I'm sure we all hope your daughter gets better, +1 I don't think this is the proper forum to discuss her pneumonia and diarrhea. I fail to see the discussion about it. Doesn't the user group have their own mailing list they can use? No, and as long as it's not bigger than it is it's not likely to get one, unless the Wicket community decides the WUG activity should be splitted of this mailing list. But at the moment I don't think it makes sense because the traffic is so low and at least some of the user groups needs as much publicity as possible to attract interested users from the different countries. But again, this is just me. I might be totally out of sync with the rest of the community. Regards, Frank
Re: Controlling render for DropDownChoice
Use stylesheets: select.yourCssClass option { background-color: pink; color: green; } Frank On Jan 26, 2008 1:47 AM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Is there anyway to control the rendering of a dropdownchoice? I don't mean implementing IChoiceRenderer but to set style on option tag in select parent tag. I tried to indent the name in a select tag by implementing the IChoiceRenderer but it doens't work. See getDisplayValue class TestChoiceRenderer implements IChoiceRenderer { public Object getDisplayValue(Object object) { // I don't know if it can be anything other...?? if (object instanceof se.boardstore.model.Category) { se.boardstore.model.Category so = (se.boardstore.model.Category) object; if( ! so.isParent() ) { return+ so.getName(); }else{ return so.getName(); } } return null; } public String getIdValue(Object key, int index) { // I don't know if it can be anything other...?? if (key instanceof se.boardstore.model.Category) { se.boardstore.model.Category selectOption = (se.boardstore.model.Category) key; return selectOption.getId().toString(); } return null; } } -- View this message in context: http://www.nabble.com/Controlling-render-for-DropDownChoice-tp15100129p15100129.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven repo for wicketstuff?
No bamboo id: http://www.wicketstuff.org/bamboo On Jan 23, 2008 8:30 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Here are a few im involved in. http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-bbcodecomponent And the one I've done most on: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events You want my sourceforge id? *nmwael ... * regards Nino* * Frank Bille wrote: I didn't know you were a project ;) Create yourself as a user and let me know the username, so I can give you rights On Jan 22, 2008 5:34 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Ok, could I get setup please?:) Frank Bille wrote: On Jan 18, 2008 10:21 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: How does one actually apply to get setup? Just ask. Frank -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven repo for wicketstuff?
On Jan 18, 2008 10:21 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: How does one actually apply to get setup? Just ask. Frank
Re: home page with parameters
I normally do something like this: application.getHomePage() {return HomePage.class} HomePage.java public HomePage() { // Check the current state of everything if (state == WORLD) { throw new RestartResponseException(ThePage.class, new PageParameters()); } } Frank On Jan 22, 2008 9:03 AM, Newgro [EMAIL PROTECTED] wrote: Did you get a solution for this? I have the same problem and i would be glad to solve this. Cheers Per -- View this message in context: http://www.nabble.com/home-page-with-parameters-tp11935608p15014223.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven repo for wicketstuff?
I didn't know you were a project ;) Create yourself as a user and let me know the username, so I can give you rights On Jan 22, 2008 5:34 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Ok, could I get setup please?:) Frank Bille wrote: On Jan 18, 2008 10:21 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: How does one actually apply to get setup? Just ask. Frank -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Link and Submit behaviour
Could it be because there is validation errors? Try adding a FeedbackPanel. Frank On Jan 14, 2008 5:20 PM, Russell Webb [EMAIL PROTECTED] wrote: Got a question on what the expected behaviours are from a link and a button both of which have their response page set to the same page (onClick onSubmit respectively). I took these form items from the Cheesr example in 'Wicket in Action' and I have used both of these on the second tab on an AjaxTabbedPanel and both response pages set to return to the page containing the tabbed panel. Selecting the link redisplays the tabbed panel showing the first tab. The button, however, displays the second tab. I did attempt a cancel button and this behaved the same as the link but I don't understand why disabling validation and form updating should make a difference. Does anyone have any suggestions as to why there is different behaviour here? public class VxsUserPage extends VxsBasePage { ... public TabPanel2(String id) { super(id); Form form = new Form(form); add(form); form.add(new VxsUserSettingsPanel(userSettings, new Model( VxsUserPage.this.user))); form.add(new Link(cancel) { @Override public void onClick() { setResponsePage(VxsUserPage.class); } }); form.add(new Button(submit) { @Override public void onSubmit() { setResponsePage(VxsUserPage.class); } }); } ... } Regards, Russell -- *VoxSurf Limited* Registered principal office: 2nd Floor Elme House 133 Long Acre London WC2E 9DT United Kingdom Company No (England): 4051448 http://www.voxsurf.com/ Email disclaimer: This can be viewed at http://www.voxsurf.com/disclaimer.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TreeGrid and DataGrid open source
On Jan 12, 2008 2:35 AM, Matej Knopp [EMAIL PROTECTED] wrote: On Jan 12, 2008 2:28 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Jan 11, 2008 5:08 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi everyone, I just want to let you know that the TreeGrid and DataGrid components have been released under the Apache 2.0 license. That was very quick! Already rich after one day? Yeah, I'm a zillionaire already. Seriously, it rips my heart out to sell wicket components. I know how you feel. I can't even create applications without making them open source. philosophicalSome of us just have a different definition of Rich/philosophical But great work by the way. Frank
Re: Supported browsers on Wiki still up to date?
It doesn't have to be wicket developers that provide this information. All may chip in with there results. A good benchmark would be the various ajax examples. F.ex.: http://wicketstuff.org/wicket13/ajax http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.AjaxDataTablePage Frank On Jan 11, 2008 3:15 PM, Erik van Oosten [EMAIL PROTECTED] wrote: Hi, The list of supported browsers on http://cwiki.apache.org/WICKET/faqs.html#FAQs-WhichbrowsershavebeentestedwithWicketAJAX%253F looks a bit out dated. Could someone please update it for Wicket 1.3? If you have a pointer to more up to date information, I can update it myself. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Copenhagen Meeting
Sounds fine. Frank On Jan 9, 2008 7:49 AM, Flemming Boller [EMAIL PROTECTED] wrote: That suits also me! 29 jan tuesday ? /Flemming On Jan 8, 2008 7:54 PM, Frank Bille [EMAIL PROTECTED] wrote: I'm fresh for a new meeting. What about the last week of January? Preferable late afternoon starting around 4-6pm. Frank On Jan 3, 2008 11:17 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes I think so, dates anyone? Currently im free, although in the start of next week our car has to go to the mechanic.. And what about topics? Should we have one about testing with wicket, and while some where exploring testing with wicket others could fix bugs with the wicket tester? brtw:I have a nice blog tutorial for wicket, using JPA-SPRING and hibernate for new comers... regards Nino Flemming Boller wrote: dammit :-) Cheers /FLemming ps: Should we arrange on a wicket meeting in copenhagen, now that 1.3.0is released - Nino, Frank ? On Jan 2, 2008 10:11 PM, Flemming Boller [EMAIL PROTECTED] wrote: Hi First of all, congrats with the new release, great work! I am behind a corporate firewall that infect downloading of jarfiles, so I like the old wicket quickstart :-) I have updated the old Wicket QuickStart zip file for use with 1.3.0. I have only set it up with Eclipse and with JDK 1.4, so the jar file for jmx is excluded in the classpath together with wicke-velocity. You can download it from my homepage, if you need it http://boller.dk/wicket-quickstart-1.3.0.zip Cheers and -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AjaxEditableLabel in 1.3.0
It's a known issue[0]. It will be fixed in 1.3.1. Frank [0]: https://issues.apache.org/jira/browse/WICKET-1239 On Jan 7, 2008 9:40 PM, givp [EMAIL PROTECTED] wrote: Hello, I'm having some problems with AjaxEditableLabel that seem to happen in Wicket 1.3.0 only. When I roll back to rc1, everything works fine. I have used the example code from: http://www.wicket-library.com/wicket-examples/ajax/editable-label.1 setModel(new CompoundPropertyModel(this)); add(new AjaxEditableLabel(userStatus)); I can edit the field but it fails to save. According to Tomcat it's setModel that is causing the errors. java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1 Can anyone please point me to the right direction as to how I can fix this without having to use rc1? Thanks, g -- View this message in context: http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14675483.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Copenhagen Meeting
I'm fresh for a new meeting. What about the last week of January? Preferable late afternoon starting around 4-6pm. Frank On Jan 3, 2008 11:17 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes I think so, dates anyone? Currently im free, although in the start of next week our car has to go to the mechanic.. And what about topics? Should we have one about testing with wicket, and while some where exploring testing with wicket others could fix bugs with the wicket tester? brtw:I have a nice blog tutorial for wicket, using JPA-SPRING and hibernate for new comers... regards Nino Flemming Boller wrote: dammit :-) Cheers /FLemming ps: Should we arrange on a wicket meeting in copenhagen, now that 1.3.0is released - Nino, Frank ? On Jan 2, 2008 10:11 PM, Flemming Boller [EMAIL PROTECTED] wrote: Hi First of all, congrats with the new release, great work! I am behind a corporate firewall that infect downloading of jarfiles, so I like the old wicket quickstart :-) I have updated the old Wicket QuickStart zip file for use with 1.3.0. I have only set it up with Eclipse and with JDK 1.4, so the jar file for jmx is excluded in the classpath together with wicke-velocity. You can download it from my homepage, if you need it http://boller.dk/wicket-quickstart-1.3.0.zip Cheers and -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: consistent layout ( layout manager )
Hi, Try to take a look at this example: http://wicket.apache.org/examplemarkupinheritance.html Frank On Jan 7, 2008 4:05 AM, Danilo Barsotti [EMAIL PROTECTED] wrote: Hi all! I have a question about how to create a consistent layout with wicket. now I have a index class and all other classes extends it. code public class Index extends WebPage { private static final long serialVersionUID = 1L; protected String getName(){ return Title here; } /** * Constructor that is invoked when page is invoked without a session. * * @param parameters *Page parameters */ public Index(final PageParameters parameters) { add(new Label(title,new Model(getName(; add(new BookmarkablePageLink(page1, Page1.class)); add(new BookmarkablePageLink(page2, Page2.class)); add(new BookmarkablePageLink(login, Login.class)); add(new Label(footer,it is a footer)); } } public class Page1 extends Index{ private static final long serialVersionUID = 1L; public Page1(PageParameters parameters) { super(parameters); add(new Label(label1, This is in the subclass Page1)); } } /code HTML: code html xmlns:wicket=http://wicket.sourceforge.net/; head title wicket:id=title/title /head body div id=header br a href=# wicket:id=page1Page1/a a href=# wicket:id=page2Page2/a a href=# wicket:id=loginLogin/a brbr /div div id=body br wicket:child / br /div div id=footer brbr span wicket:id=footer/span /div /body /html /code my question is, this code is correct? other better method to make this? suggestion, tip ... thanks and sorry my english poor!
Re: [ANNOUNCE] Apache Wicket 1.3 released
We haven't renamed trunk to 1.3.1, so it is still labelled 1.3.0-SNAPSHOT in the maven repository. Frank On Jan 4, 2008 8:46 AM, Timo Rantalaiho [EMAIL PROTECTED] wrote: Hello, Are 1.3.1-SNAPSHOT builds available somewhere? I could only find the old 1.3.0-SNAPSHOTs here: http://wicketstuff.org/maven/repository/org/apache/wicket/ Congratulations on the release! Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket Session and threading
What about (i)frames with pages being loaded in every one of them at the same time? Frank On Jan 4, 2008 7:57 PM, Dan Kaplan [EMAIL PROTECTED] wrote: To me it seems like it would be an unusual situation for two threads to access the session at the same time. Under what circumstances does this happen? -Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 10:15 PM To: users@wicket.apache.org Subject: Re: Wicket Session and threading You're right, we should mention this in WIA. Would you mind leaving a comment on the author forum? http://www.manning-sandbox.com/forum.jspa?forumID=328 Cheers, Eelco On Jan 3, 2008 11:10 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: Am I right in concluding that I must make my wicket session thread-safe? That is, if I want to store an int value in the session, I should use a volatile or AtomicInteger? Yes. We try our best to make pages/ components as thread safe as possible, but making the session thread safe would impose a too large performance penalty. Is there anywhere a small piece on how to deal with threading within Wicket (i.e., what is/is not synchronized in a request/response roundtrip?). I did some quick searching in the mailing list archives and google, but could not find anything related to version 1.3. Pages are synced on pagemaps, which basically relates to browser windows. RequestCycles are separate instances which are not reused, so no sync needed there. Sessions are not synced so you need to sync manually. Though in practice this wouldn't give much trouble to start with. Applications are shared an not synced. Eelco Thanks for the answer. :-) Before really thinking about it I kind of implicitly assumed that session access was synced. It hasn't really gone wrong yet either, but that's probably because of the use of ThreadLocal which acts as a memory barrier (for session/application) and the fact that it's very hard to get two threads to interleave within one session unless you start having a fit on the mouse (or use lots of autoupdating ajaxy stuff). It could be (very) useful to have this info in the Wicket in Action book though. For example in listing 2.1 there is a Session object with a get/setUser, but it is completely unsynchronized; similarly, there is no synchronization at all on the Cheesr session. Again the visibility seems to be ensured by the fact that the session is set in a thread local, but the code somehow seems to suggest (to me anyway) that no synchronization is necessary... There are some comments on multithreadedness and threads (2.3; but in the context of detaching, not thread-safety, and 4.1.1 in the context of the Application object). However it also says (in 4.1.1) that all is safe if the Application only has read-only properties, however, in the CheesrApplication the list of cheeses is not final. This must mean that Wicket does ensure visibility (or else it's a bug ;-)), but that is not trivial and should probably be mentioned. Regards, Sebastiaan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: nesting repeaters? A child with id 'rows' already exists
add(new ListView(rows, field.getValues() ) { = listItem.add(new ListView(rows, field.getValues() ) { On Jan 3, 2008 7:44 PM, Ryan McKinley [EMAIL PROTECTED] wrote: Hello- I'm struggling with how to nest repeaters - a list within a list. I have a data structure that returns a List of Lists. My Panel.java code looks like: add(new ListView(fields, new FacetFieldsModel( rsp ) ) { @Override public void populateItem(final ListItem listItem) { final FacetField field = (FacetField)listItem.getModelObject(); listItem.add(new Label(name, new PropertyModel( field, name ) )); add(new ListView(rows, field.getValues() ) { @Override protected void populateItem(ListItem item) { Count cnt = (Count)item.getModelObject(); item.add( new Label( row, cnt.toString() ) ); } }); } }); the markup looks like: wicket:panel div wicket:id=fields h3span wicket:id=name //h3 span wicket:id=rows span wicket:id=row /br/ /span /div /wicket:panel This gives the error: java.lang.IllegalArgumentException: A child with id 'rows' already exists: [MarkupContainer [Component id = fields, page = wicket.solr.QueryPage, path = 0:facets:fields.FacetsPanel$1, isVisible = true, isVersioned = false]] I feel like I'm missing something basic. Thanks for any pointers! ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicketstuff issue...
It's because of a bug, but it has been fixed. Now we just have to wait until the examples are updated again. Frank On Jan 3, 2008 9:11 PM, William Hoover [EMAIL PROTECTED] wrote: Does anyone have any clue why all the links are dead in Internet Exploder for http://wicketstuff.org/wicket13/? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using SignInPanel throws FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies
No it's just been disabled per default, because it's not safe. I'll take a look at it. Frank On Dec 14, 2007 11:06 PM, Johan Compagner [EMAIL PROTECTED] wrote: I think we did support of passwords being stored as a cookie before, is that changed? On 12/14/07, Per Newgro [EMAIL PROTECTED] wrote: Hi *, I build an out of the box quickstart project with 1.3.0-rc2. Then i copied from wicket examples (template http://www.wicketstuff.org/wicket13/authentication/) to my own pages. So far everything seems to be correct. But if i start the application i get the bottom exception. Maybe persistent handling of PasswordTextField changed? Or did i miss something? Thanks Per https://issues.apache.org/jira/browse/WICKET-1225 ERROR - RequestCycle - FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies java.lang.UnsupportedOperationException: FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies at org.apache.wicket.markup.html.form.FormComponent.setPersistent( FormComponent.java:932) at org.apache.wicket.authentication.panel.SignInPanel.setPersistent( SignInPanel.java:195) at org.apache.wicket.authentication.panel.SignInPanel$SignInForm.init( SignInPanel.java:94) at org.apache.wicket.authentication.panel.SignInPanel.init( SignInPanel.java:143) at org.apache.wicket.authentication.panel.SignInPanel.init( SignInPanel.java:121) at org.apache.wicket.authentication.pages.SignInPage.init(SignInPage.java :49) at org.apache.wicket.authentication.pages.SignInPage.init(SignInPage.java :38) at de.coresd.accommodationoffice.user.MySignInPage.init(MySignInPage.java :23) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.wicket.session.DefaultPageFactory.newPage( DefaultPageFactory.java:58) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage (BookmarkablePageRequestTarget.java:262) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage (BookmarkablePageRequestTarget.java:283) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents (BookmarkablePageRequestTarget.java:210) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents( AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java :1094) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1248) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java :354) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java :194) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java :365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java :216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java :181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java :712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java :139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java :503) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete( HttpConnection.java:827) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.jetty.bio.SocketConnector$Connection.run( SocketConnector.java:226) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:442) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache Wicket 1.3.0-rc2 released!
This is the second release candidate for Apache Wicket we have prepared for your pleasure. The number of issues fixed are decreasing as we are approaching the final release. In this announcement: - Apache Wicket - This release - Migrating from 1.2 - Downloading the release - Validating the release - Reporting bugs - The distribution - Release Notes - Wicket - Version 1.3.0-rc2 Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc2 We thank you for your patience and support. The Wicket Team Apache Wicket Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. Our migration to a top level project is now completed and you can find our website and documentation here: http://wicket.apache.org This release This release is the second in a series of release candidates releases until we feel confident to finalize Wicket 1.3. This is called a release candidate because we strive for API freeze. This means only bug fixes will be done on the 1.3 release from now on. But one new thing has sneaked into this release and that is a new design of the examples. This is done in association with the Google Highly Open Participation which Wicket is participating. http://code.google.com/opensource/ghop/2007-8/ Migrating from 1.2 If you are coming from Wicket 1.2, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-13.html Downloading the release You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc2/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.3.0-rc2/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org Validating the release The release has been signed by Frank Bille, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.3.0-rc2/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity Reporting bugs In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET The distribution In the distribution you will find a README. The README contains instructions on how to build from source yourself and a list of all things that have been fixed, added and/or removed since the first beta release. Release Notes - Wicket - Version 1.3.0-rc2 Sub-task - WICKET-682 https://issues.apache.org/jira/browse/WICKET-682 - Update documentation reflecting the move (Wiki?) Bug - WICKET-609 https://issues.apache.org/jira/browse/WICKET-609 - Wicket should provide an easy method to generate absolute urls to bookmarkable pages - WICKET-745 https://issues.apache.org/jira/browse/WICKET-745 - AbstractAjaxTimerBehavior triggered more than expected after a new Ajax rendering - WICKET-1032 https://issues.apache.org/jira/browse/WICKET-1032 - MarkupNotFoundException when fragment is rerendered during AJAX call - WICKET-1066 https://issues.apache.org/jira/browse/WICKET-1066 - Wicket-Ajax header always false with BaseWicketTester - WICKET-1093 https://issues.apache.org/jira/browse/WICKET-1093 - BaseWicketTester doesn't call detach() for AJAX requests - WICKET-1129 https://issues.apache.org/jira/browse/WICKET-1129 - ThreadLocal leak in new RequestContext code prevents clean undeploy of Wicket application - WICKET-1131 https://issues.apache.org/jira/browse/WICKET-1131 - AjaxEditableLabel: defaultNullLabel() should really be a defaultNullorEmptyLabel() - WICKET-1135 https://issues.apache.org/jira/browse/WICKET-1135 - XHTML validation failure for DatePicker - WICKET-1139 https://issues.apache.org/jira/browse/WICKET-1139 - Wicket html files do not have xml prolog - WICKET-1148 https://issues.apache.org/jira/browse/WICKET-1148 - AbstractTree utilizes Collections.EMPTY_LIST for a node's children container which causes errors when adding children - WICKET-1151 https://issues.apache.org/jira/browse/WICKET-1151 - Time fields in DateTimeField not required also when
Re: [wicket-contrib-tinymce] Compile error from svn-project
You can follow what maven tells you :-) The problem is that the log4j version has been upgraded from 1.2.14 to 1.2.15 which has some new dependencies which are not in standard maven repo. I have asked the guy that committed it[1] about why he upgraded and if it would be possible to use the previous version instead. So what you could do yourself instead, is to change log4j version in the pom file. Regards, Frank [1]: http://markmail.org/message/x6vhmw7z5wa3c3cg On Dec 8, 2007 11:08 AM, Per Newgro [EMAIL PROTECTED] wrote: Hi *, i try to use the wicket-contrib-tinymce project from svn-server. I did a checkout. And a mvn clean compile. But in the end i got this. What can i do here? Cheers Per [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) com.sun.jdmk:jmxtools:jar:1.2.1 Try downloading the file manually from: http://java.sun.com/products/JavaManagement/download.html Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jdmk:jmxtools:jar:1.2.1 2) com.sun.jmx:jmxri:jar:1.2.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri \ -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) com.sun.jmx:jmxri:jar:1.2.1 3) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) javax.jms:jms:jar:1.1 -- 3 required artifacts are missing. for artifact: org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), codeogre.com (http://repo.codeogre.com/archiva/repository/public/), wicketstuff.org (http://wicketstuff.org/maven/repository) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 minute 22 seconds [INFO] Finished at: Sat Dec 08 11:01:15 GMT+01:00 2007 [INFO] Final Memory: 11M/82M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [wicket-contrib] TinyMCE Hackery
I have just added TinyMCE to bamboo[1], but it won't build because of some log4j dependency problems[2]. Do you have to use log4j 1.2.15 instead of 1.2.14? Frank [1]: http://wicketstuff.org/bamboo/browse/WSTINYMCE-TRUNK [2]: http://wicketstuff.org/bamboo/browse/WSTINYMCE-TRUNK-1 On Nov 29, 2007 12:55 AM, Michael Laccetti [EMAIL PROTECTED] wrote: Either way the CodeOgre one isn't going to go away, as it is where the Jazzy plugin will be fed from. --- Michael Laccetti (416)558-9718 S2G Limited http://www.s2g.ca/ --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Bille Sent: November 28, 2007 3:57 PM To: users@wicket.apache.org Subject: Re: [wicket-contrib] TinyMCE Hackery On Nov 28, 2007 5:24 PM, Michael Laccetti [EMAIL PROTECTED] wrote: Okay, I have made the modifications, committed, and pushed a new snapshot to the Maven repo. When bamboo comes up again I can ensure that the tinymce project is configured. Then it should post snapshots to the wicketstuff repo[1] Frank [1]: http://wicketstuff.org/maven - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [wicket-contrib] TinyMCE Hackery
Some comments to your push: - You should use wicket-1.3.0-SNAPSHOT instead of wicket-1.3.0-rc1. It's only when you make releases of tinymce, that you fix yourself on specific versions - Why have you updated servlet version to 2.4? Frank On Nov 28, 2007 8:21 AM, Michael Laccetti [EMAIL PROTECTED] wrote: Okay, I've committed my changes; they are r3303 if I remember correctly. I pushed it to a Maven repository that I run until I can figure out how to get them to the wicketstuff repo (if I can, that is). (I used the same repo to host the jazzy plugin dependency.) Mike -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: November 28, 2007 1:04 AM To: users@wicket.apache.org Subject: Re: [wicket-contrib] TinyMCE Hackery i dont think committing changes, as long as they are basic fixes, right away should be a problem, that is why it is in a public repo... -igor On Nov 27, 2007 9:09 PM, Michael Laccetti [EMAIL PROTECTED] wrote: I've done some work on the TinyMCE project to get it to compile, since it currently does not do so straight out of subversion. Two questions: is it okay for me to commit the changes, and would it be possible to push this to the wicketstuff Maven repo? (If it is not, I have a publically accessible repo that I can push it to, for others to use.) Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [wicket-contrib] TinyMCE Hackery
On Nov 28, 2007 4:26 PM, Michael Laccetti [EMAIL PROTECTED] wrote: Okay, I will switch from -rc1 to SNAPSHOT. Regarding servlet 2.4, I mistakenly thought that it was the version that Wicket was using. Apparently not; I will switch back to 2.3. Thanks :-) Frank
Re: [wicket-contrib] TinyMCE Hackery
On Nov 28, 2007 5:24 PM, Michael Laccetti [EMAIL PROTECTED] wrote: Okay, I have made the modifications, committed, and pushed a new snapshot to the Maven repo. When bamboo comes up again I can ensure that the tinymce project is configured. Then it should post snapshots to the wicketstuff repo[1] Frank [1]: http://wicketstuff.org/maven
Re: Issue with Internationalization of Non ascii characters
I have the same problem even though only 3 characters (Danish: æ, ø, å), but I use http://www.resourcebundleeditor.com for eclipse, which creates .properties files without me having to worry about non-ascii, linebreaks etc. Nice little tool. Frank On Nov 27, 2007 8:52 PM, abaijal [EMAIL PROTECTED] wrote: Thanks for the help. From the example I see that I need to convert the text into Unicode characters. Eelco Hillenius wrote: I am new to wicket framework and am trying to implement internationalization for Russian Characters. When displaying Russian characters on screen, Wicket rendering displays garbage values Check out http://wicketstuff.org/wicket13/forminput/. You can select Russian from the drop down and that looks fine to me. I think that should work for 1.2 as well, though one of the improvements of 1.3 is that you can use XML (UTF-8) encoded properties files (even if you're using Java 1.4). Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Issue-with-Internationalization-of-Non-ascii-characters-tf4883325.html#a13978245 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)
On Nov 22, 2007 1:39 PM, Francis De Brabandere [EMAIL PROTECTED] wrote: on my side crashing is just hanging without using 100% cpu, seems I have firefox 2.0.0.8 on ubuntu 7.10 What do you do to get that? I have the same config and I don't have problems (so far). Frank
Re: Deployment mode Javascript error
The easy solution is to disable javascript cleanup: INIT: getResourceSettings().setStripJavascriptCommentsAndWhitespace(false); I have been too lazy to actually try to fix the problem, I'm afraid. Frank On Nov 19, 2007 7:21 AM, John Patterson [EMAIL PROTECTED] wrote: Hello users, I am in the process of deploying a wicket site and found that the cool scriptalicious effect I am using does not work when I am in Deployment mode. In the Safari console it shows: SyntaxError: Parse error http://www.blahblah.com/resources/ org.wicketstuff.scriptaculous.ScriptaculousAjaxBehavior/prototype.js Line 3661 I guess this is due to some error in the compression? Thanks, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tinymce ajax submit
Hi, Do you have problems with it? I tried it over a year ago, and as far as I remember there was nothing to it. That was Wicket 1.2.3 and tinymce from back then. Frank On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote: Hi, doe somebody manage to make tinymce work with an ajax submit button regards Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket behind a front-end proxy
First of all, you don't need /app/* anylonger. just /*. I'm running behind proxy as well and it works well. Are you sure you haven't run into this problem: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-Whythisdoesn%2527talwayswork Frank On Nov 9, 2007 11:56 AM, Murat Yücel [EMAIL PROTECTED] wrote: Hi All I have looked at this article: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html and it seems like the problem should be gone in wicket 1.3 but it isnt. I still get 404 errors. There is a warning on the wiki page: Don't use setContextPath with Wicket 1.3. I am not setting the context path. Instead i am using filter-mapping. Is this the same thing? filter-mapping filter-namewicket/filter-name !-- The app is needed for ajax (this is a known limitation/bug in wicket) -- url-pattern/app/*/url-pattern /filter-mapping Do you have a workaround for this issue or am i doing something wrong? I am currently running 1.3-beta4. Kind regards /Murat Yücel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket behind a front-end proxy
Sounds weird. Can you show me your apache conf for the proxy? Frank On Nov 9, 2007 12:44 PM, Murat Yücel [EMAIL PROTECTED] wrote: Hi Frank I have changed the /app/* to /* but it doesnt change the urls. They are still wrong. For example i enter the following url: www.wicket.com The url is transformed to www.wicket.com/wicket/?wicket:bookmarkablePage=%3Acom.wicket.LoginPage If i remove the the wicket part from the url then i can see the login page. But if i click on a link then the wicket part is appended again. /Murat 2007/11/9, Frank Bille [EMAIL PROTECTED]: First of all, you don't need /app/* anylonger. just /*. I'm running behind proxy as well and it works well. Are you sure you haven't run into this problem: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-Whythisdoesn%2527talwayswork Frank On Nov 9, 2007 11:56 AM, Murat Yücel [EMAIL PROTECTED] wrote: Hi All I have looked at this article: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html and it seems like the problem should be gone in wicket 1.3 but it isnt. I still get 404 errors. There is a warning on the wiki page: Don't use setContextPath with Wicket 1.3. I am not setting the context path. Instead i am using filter-mapping. Is this the same thing? filter-mapping filter-namewicket/filter-name !-- The app is needed for ajax (this is a known limitation/bug in wicket) -- url-pattern/app/*/url-pattern /filter-mapping Do you have a workaround for this issue or am i doing something wrong? I am currently running 1.3-beta4. Kind regards /Murat Yücel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket behind a front-end proxy
Read this again: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-Whythisdoesn%2527talwayswork Frank On Nov 9, 2007 1:26 PM, Murat Yücel [EMAIL PROTECTED] wrote: Hi Frank I have substituted my projectname with wicket. Below is the conf for the proxy part. VirtualHost * ServerAdmin [EMAIL PROTECTED] ServerName www.wicket.com ServerAlias wicket.com ProxyRequests off ProxyPreserveHost On RewriteEngine On # Indexes + Directory Root. DirectoryIndex index.html DocumentRoot /var/wicket.com # Logfiles ErrorLog /var/log/apache2/wicket-error.log CustomLog /var/log/apache2/wicket-access.log combined ProxyPass / http://127.0.0.1:8080/wicket/ ProxyPassReverse / http://127.0.0.1:8080/wicket/ ProxyPreserveHost On /VirtualHost 2007/11/9, Frank Bille [EMAIL PROTECTED]: Sounds weird. Can you show me your apache conf for the proxy? Frank On Nov 9, 2007 12:44 PM, Murat Yücel [EMAIL PROTECTED] wrote: Hi Frank I have changed the /app/* to /* but it doesnt change the urls. They are still wrong. For example i enter the following url: www.wicket.com The url is transformed to www.wicket.com/wicket/?wicket:bookmarkablePage=%3Acom.wicket.LoginPage If i remove the the wicket part from the url then i can see the login page. But if i click on a link then the wicket part is appended again. /Murat 2007/11/9, Frank Bille [EMAIL PROTECTED]: First of all, you don't need /app/* anylonger. just /*. I'm running behind proxy as well and it works well. Are you sure you haven't run into this problem: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-Whythisdoesn%2527talwayswork Frank On Nov 9, 2007 11:56 AM, Murat Yücel [EMAIL PROTECTED] wrote: Hi All I have looked at this article: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html and it seems like the problem should be gone in wicket 1.3 but it isnt. I still get 404 errors. There is a warning on the wiki page: Don't use setContextPath with Wicket 1.3. I am not setting the context path. Instead i am using filter-mapping. Is this the same thing? filter-mapping filter-namewicket/filter-name !-- The app is needed for ajax (this is a known limitation/bug in wicket) -- url-pattern/app/*/url-pattern /filter-mapping Do you have a workaround for this issue or am i doing something wrong? I am currently running 1.3-beta4. Kind regards /Murat Yücel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with selecting default value with DropDownChoice
Provide a ChoiceRenderer to the DropDownChoice constructor. It's in the ID part of it. Frank On 11/5/07, James Perry [EMAIL PROTECTED] wrote: I have a problem with the DropDownChoice. More specifically, I have a Product class which is like: public class Product implements Serializable { private static final long serialVersionUID = 1L; private Manufacturer manufacturer; //other states //getters and setters } I have a form which allows to edit a product, which allows to change the manufacturer object with a DropDownChoice. However, an Xbox product for instance, it should display its Microsoft manufacturer object as selected but it selects 'Choose One' instead. Also, the setRequired for the DropDownChoice does not work as it allows users to select 'Choose One'. I notice it works with primitive types but not with my compositional objects. Here is my EditProductPage: package net.sourceforge.springcart.wicket.pages.admin; public class EditProductPage extends AdminPage { private static final long serialVersionUID = 1L; @SpringBean(name = adminService) private AdminService adminService; public EditProductPage() { this(new Product()); } public EditProductPage(Product product) { MenuBorder border = new MenuBorder(libBorder); border.add(new EditProductForm(productForm, product)); add(border); } private final class EditProductForm extends Form { public EditProductForm(String id, Product product) { super(id, new CompoundPropertyModel(product)); add(new RequiredTextField(name)); add(new RequiredTextArea(description)); add(new RequiredTextField(sellValue, BigDecimal.class)); add(new RequiredTextField(units, Long.class)); add(new CheckBox(onSell).setRequired(true)); add(new DropDownChoice(category, catalogService.getCategories ()) .setRequired(true)); add(new DropDownChoice(manufacturer, catalogService .getManufacturers()).setRequired(true)); } @Override protected void onSubmit() { Product product = (Product) getModelObject(); product.setEntryDate(new Timestamp(System.currentTimeMillis ())); adminService.updateProduct(product); setResponsePage(ViewProductsPage.class); } } } Any advice please? Cheers, James.
Re: Wicket namespace?
There is no schema for it if thats what you mean. But you can set the namespace to wicket:xmlns=http://wicket.apache.org; Frank On Nov 5, 2007 10:42 PM, Will Jackson [EMAIL PROTECTED] wrote: no one knows what the Wicket namespace is? Will Jackson [EMAIL PROTECTED] wrote: Is there a Wicket xhtml namespace that will work with Eclipse content assist? I searched the forums, but can't find anything. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Is Beta5 coming soon? Beta4 has caused these issues for us....
On 11/4/07, landry soules [EMAIL PROTECTED] wrote: (eclipse only retains the newer lines, erasing the olders) Preferences - Run/Debug - Console - Limit console output Frank
Re: Setting up Wicket with Tomcat
On 10/30/07, Alexander Landsnes Keül [EMAIL PROTECTED] wrote: ?xml version=1.0? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/TR/xmlschema-1/; xsi:schemaLocation= http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameAnsatt/display-name filter filter-nameWicketFilter/filter-name filter-classorg.apache.wicket.protocol.http.WicketFilter /filter-class init-param param-nameapplicationClassName/param-name param-value no.unique.ansatt.presentation.StartPage/param-value no.unique.ansatt.presentation.StartPage? Is this what you mean? Don't you mean something like: init-param param-nameapplicationClassName/param-name param-valueno.unique.ansatt.presentation.AnsattApplication /param-value /init-param I'm not entirely sure what you are asking about, but have Kent Tong has a free tutorial on setting up an environment with wicket, eclipse and tomcat: http://www.agileskills2.org/EWDW/index.html Frank
Re: Is Beta5 coming soon? Beta4 has caused these issues for us....
Well, I have time on sunday to build the release. What do the other devs think? Frank On 10/29/07, Chris Lintz [EMAIL PROTECTED] wrote: Any chance of getting a Beta5 out soon. As luck would have it, Beta4 to say the least has been frustrating for us. So far beta4 has caused these problems in our app (all stuff that worked in Beta3) 1) AJAXLink is broke when using the Crypted URL encoding strategy. 2) StringResourceModel change on toString() method (this is fine, we refactored and are now using getString() ) 3) UpdateFeedback gone - http://www.nabble.com/1.3.0-beta4%3A-updateFeedback%28%29-gone--tf4707707.html 4) Pages are stateful now because of - http://www.nabble.com/Stateless-page-creating-session-tf4604432.html#a13147396 Any chance of getting a Wicket beta5 out with at least the stateless page fix? We have a high traffic site so the thought of generating some where in the neighborhood of hundreds of thousands session IDs on disk for pages as simple as a WebMarkupcontainer and a Label is very scary thought. chris -- View this message in context: http://www.nabble.com/Is-Beta5-coming-soon---Beta4-has-caused-these-issues-for-us-tf4713647.html#a13473915 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicket-1.3.0-beta4 source?
What do you mean? src/jdk-1.4/wicket src/jdk-1.4/wicket-extensions src/jdk-1.5/wicket-examples etc. Frank On 10/27/07, SamImari [EMAIL PROTECTED] wrote: Hello, Where can I download the source for wicket 1.3.0-Beta4 I have download the files from http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/ But they do not include the wicket-sourcecode. Regards, SAM -- View this message in context: http://www.nabble.com/wicket-1.3.0-beta4-source--tf4703795.html#a13445136 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TagTester - Howto get the value?
Hi, You can use the TagTester#getMarkup(): Get markup for this tag. This includes every markup which is between the open tag and the close tag. If this doesn't work for you please add an RFE. Frank On 10/26/07, Per Newgro [EMAIL PROTECTED] wrote: Hi, should i add an RFE for this? Per -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TagTester - Howto get the value?
I have added a getValue to TagTester. See https://issues.apache.org/jira/browse/WICKET-1106 Frank On 10/27/07, Frank Bille [EMAIL PROTECTED] wrote: Hi, You can use the TagTester#getMarkup(): Get markup for this tag. This includes every markup which is between the open tag and the close tag. If this doesn't work for you please add an RFE. Frank On 10/26/07, Per Newgro [EMAIL PROTECTED] wrote: Hi, should i add an RFE for this? Per -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Get libs without installing Maven?
There is always the standard distribution, which contains binaries and sources. http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4 Frank On 10/25/07, Thomas Singer [EMAIL PROTECTED] wrote: I'm currently trying to update from 1.4beta2 to 1.4beta4 by changing the revision of our project's wicket-external (http://svn.apache.org/repos/asf/wicket/trunk/jdk-1.4/wicket/src/main/java ). Unfortunately it does not build any more because it seems to require a new library. Where can I download the currently required jar files? I don't want to install maven for such a trivial task, because we don't need it for other stuff. -- Thanks, Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dummy question, how to set wicket in Deloyment mode?
You can also set a system property wicket.configuration. Thats what I do: In my web.xml I have init-param param-nameconfiguration/param-name param-valuedeployment/param-value /init-param so it's there for live deploying, but in my JettyStarter I do: System.setProperty(wicket.configuration, development); So it's development when I develop. Frank On 10/23/07, Suad AlShamsi [EMAIL PROTECTED] wrote: You can either override getConfigurationType() in the Application class @Override public String getConfigurationType() { return Application.DEPLOYMENT; } or you can set in in the web.xml init-param param-nameconfiguration/param-name param-valuedeployment/param-value /init-param Regards, Suad raybristol wrote: dummy question, how to set wicket in Deloyment mode? There is a Application#getConfigurationType() but I expect something like Application#setConfigurationType() which does not exist so I thing I must miss something here... Many thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]