Re: [osgi] package org.apache.wicket.request exported either from core and request packages
Op 27 apr 2011, om 09:43 heeft Daniele Dellafiore het volgende geschreven: This is also my main point to conversation. We're talking about being somewhere really close to a nice out of the box OSGi support. Why not take a little effort to make it complete? Also, having packages that span through different jars is not really good to me, OSGi or not. Anyway, Daan, I'm really interested in the classloading problem you had. Actually I did succeed in making a wicket-spring webapp start and work 100%. But after the wicket package is reinstalled or just refreshed in the container, @SpringBean injection stop working with: My colleague created a JIRA ticket with an elaborate description of the problem. There's also a patch included. https://issues.apache.org/jira/browse/WICKET-3737 Regards, Daan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [osgi] package org.apache.wicket.request exported either from core and request packages
Op 26 apr 2011, om 16:41 heeft Martin Grigorov het volgende geschreven: [..] Wicket bundles are some sort of raw jars+metadata that can be assemled in a custom way to become a usable OSGI bundle. Whatever you consider the uber-jar solution to go good or not, this is a flaw. Wicket is not OSGi complaint and it has never been built with OSGi in mind. You and Eike are the only users of OSGi that I know by name. If you don't know them, that doesn't mean they don't exist :-) We're also using OSGI with Wicket. We've made some changes to fix class loading issues and we use all the Wicket jars separately, with a generated manifest that explicitly imports and exports the right packages. We still have to get around to clean up our changes and try to get them committed. One of my 'OSGI expert' colleagues wrote the stuff. I agree that you have to use -util -request and -core to make wicket work, but so, if they are so coupled, why to make different bundles at all? Alexandros already asked for this.You say modularization helps wicket developer.I would agree but what is the difference between the .request and .util package in -request, -util and in -core? As Martin pointed out, there are no more implementation of wicket, to date. So the -core is not a specific implementation of -request and -util. Maybe just more concret classes? Again I think that the package that span across different modules is a flawed design. For sure it is not OSGi-compliant. I do not want to bother more, anyway. I'll go for the uber-jar with wicket 1.5. I'll open an issue to fix this flaw so maybe wicket 1.6 will work out of the box in OSGi. It would be a nice step forward to not have packages split across different Wicket jars. Some OSGI containers trip over this. See my concerns related to Portlets in my previous mail. If there are just a few OSGi users out there and none of the core developers uses OSGi then the support for OSGi can and will break at any time in the future. Not doing anything now because it can break in the future is not a really good argument..? Anything can break, that's why there are unit tests, release candidates, etcetera. With some small design improvements (no split packages, 'better' jar(s)) and a better manifest the 'Wicket OSGI support' will surpass many other frameworks or libraries. BTW: to all the Wicket people: keep up the good work! Regards, Daan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [ANNOUNCE] Wicket 1.4.15 released
Hi Jeremy, Nice to see more Wicket goodness! One thing I noticed: the release tag is not (yet?) created in SVN. Regards, Daan van Etten Op 24 dec 2010, om 16:14 heeft Jeremy Thomerson het volgende geschreven: The Wicket development team is proud to announce that we have released Wicket 1.4.15. This is a bugfix and minor improvement release in the 1.4.x (stable) branch. To download: http://www.apache.org/dyn/closer.cgi/wicket/1.4.15 Release Tag: http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.15/ Changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561styleName=Htmlversion=12315900 To use with Maven (the recommended way to use Wicket): dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4.15/version /dependency -- Jeremy Thomerson http://wickettraining.com Need a CMS for Wicket? Use Brix! http://brixcms.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Form tag in modal.js
Hi Frank, You can use nested forms, so you can put a form inside your ModalWindow. The form tag should not make a difference, or are you experiencing other problems? Regards, Daan Op 4 nov 2010, om 12:00 heeft Frank Klein Koerkamp het volgende geschreven: Hi Wicketeers, does anyone know why a 'form' tag is created when opening a ModalWindow? This is done in modal.js in the Wicket.Window.getMarkup function. From my perspective this also can be a div and then we can use forms inside a ModalWindow. Now that's also possible but you need an form around your modalwindow as well for supporting innerforms. Kind regards, -- Frank Klein Koerkamp - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Possible to drag tables using WicketDND?
Johan and Ernesto: Thanks for the info! Regards, Daan van Etten Op 10 sep 2010, om 12:23 heeft Johan Haleby het volgende geschreven: I've tried numerous different drag and drop components for Wicket in the past (it was a while ago so I don't remember all of them). Each had different issues that wouldn't let me do what I wanted. Some had browsers issues and some had problems that couldn't drop items to the drop container when it was empty. We also needed to support different types of drag and drop. In some cases we wanted to copy the object that was dropped and sometimes move it. I also remembered that some of the other components didn't support dnd between multiple containers. I also had problems that some didn't keep an index of where in the drop container the item was dropped. And so on. So I was really happy when I found the wicket dnd component. It just works and it's simple to use! /Johan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-to-drag-tables-using-WicketDND-tp2532928p2534197.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Possible to drag tables using WicketDND?
Which ones did you use? What are the drawbacks of the other drag and drop components? Regards, Daan Op 10 sep 2010, om 08:24 heeft Johan Haleby het volgende geschreven: It works!! Thanks a lot! WicketDND is by far the best drag and drop component I've used for Wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-to-drag-tables-using-WicketDND-tp2532928p2533926.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket + Freemarker
No built-in support, as you can just use HTML. I have not seen any external support, but someone else might have built it. Regards, Daan van Etten Op 15 dec 2009, om 13:41 heeft sudhir543-...@yahoo.com het volgende geschreven: Any one !! Is there any built in (or any) support for freemarker ? Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Personally I'm always ready to learn, although I do not always like being taught From: sudhir543-...@yahoo.com sudhir543-...@yahoo.com To: users@wicket.apache.org Sent: Tue, 15 December, 2009 5:14:52 PM Subject: Wicket + Freemarker Can any one point me to some article, resource which explains how to integrate Freemarker. Does wicket offer freemarker integration out of box ! Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Personally I'm always ready to learn, although I do not always like being taught The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: enclosure changes in 1.4.4
I love how simple Wicket's markup is. Please keep it clean :-) Let's keep logic in Java and markup in HTML... no mixing. Regards, Daan van Etten Op 13 dec 2009, om 18:00 heeft Martin Makundi het volgende geschreven: What about RFE for wicket:enclosure depends-on=arbitrary-relative-component-path stuff /wicket:enclosure ?? ** Martin 2009/12/13 Anton Veretennikov anton.veretenni...@gmail.com: Consistency is one of wicket's strengths. My tiny vote for 1.4.4 -- Tony On Sun, Dec 13, 2009 at 3:35 PM, Girts Ziemelis girts.zieme...@gmail.com wrote: I also liked the behaviour - it made the code shorter, as I did not have to mirror the component tree in both then and else branches. I guess it is not a big deal, except for the testing headaches - this breaks the code at runtime :( I now, i know - I should have test cases covering all branches in the form :( On 12/13/2009 08:14 AM, Douglas Ferguson wrote: I did find the behavior handy, but it is easy to work around. D/ On Dec 12, 2009, at 11:12 PM, Igor Vaynberg wrote: i think you guys misunderstand. i believe what we are talking about here is the requirement for presence of components *other* then the component specified by enclosure's child attribute. essentially if i do this: add(new webmarkupcontainer(container).setvisible(false)); and have this in my markup: div wicket:id=containerdiv wicket:id=foo//div wicket will not throw an error even though i never added the foo component to my component hierarchy because as soon as it determins that the container div is not visible it will skip over until the closing tag. the enclosures, however, as of 1.4.4 *will* throw an error for *any* missing child declared inside enclosure's markup *even though* the enclosure has been determined as hidden. hope this clears it up somewhat -igor - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to write markup if type of component is not known yet...
You have some options: Write one abstract panel with the complex markup and extend the read-only and editable panels from that class (wicket:child and wicket:extend). Or, create a panel with the complex markup and create two separate panels to edit and read. Switch those panels from the ComplexMarkupPanel, depending on which one you want to see. Regards, Daan van Etten On Wed, 2009-12-02 at 10:06 +0100, Pieter Degraeuwe wrote: I want to avoid this, since I wanted to reuse the (complex) markup... Is there no way around this? On Wed, Dec 2, 2009 at 10:02 AM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote: Keep it simple and write 2 panels. -Ursprüngliche Nachricht- Von: Pieter Degraeuwe [mailto:pieter.degrae...@systemworks.be] Gesendet: Mittwoch, 2. Dezember 2009 09:55 An: users@wicket.apache.org Betreff: How to write markup if type of component is not known yet... Hi all, I want to write a panel which kan render in 2 modes: editable and read-only. In read-only mode all my components are just labels. In edit mode, are these labels replaced by input fields (e.g. Textfields, DropDowns, etc) The problem is now that I only want to write one markup (since all components are ordered in a quite complex hierarchy) Wicket complains now that tag type must be input instead of span... Is there any way around this. (Or am I doing bad practices...) regards, Pieter -- Pieter Degraeuwe Systemworks bvba Belgiëlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: IDataProvider
Hi, Sidenote: I suggest you look at the LoadableDetachableModel, see: http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/model/LoadableDetachableModel.html Regards, Daan van Etten On Wed, 2009-12-02 at 16:20 +0800, Lester Chua wrote: Hi, I am changing my tables from RefreshingView to DataView. In the IDataProvider interface, Is this a correct implementation for the model() function? public IModelMyRecord model(MyRecord inmodel) { return new ModelMyRecord(inmodel); } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to write markup if type of component is not known yet...
Ah, I misread your original question. Maybe you can use Wicket Fragments for each type of input. http://wicket.apache.org/examplefragments.html Regards, Daan van Etten On Wed, 2009-12-02 at 10:19 +0100, Pieter Degraeuwe wrote: I'll go for the 'each detail' has a panel, and create these detail Panels via a factory. Thanks all of you. On Wed, Dec 2, 2009 at 10:12 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Reuse the complex markup and use different detail panels for each detail? Maybe via some factory? Ernesto On Wed, Dec 2, 2009 at 10:06 AM, Pieter Degraeuwe pieter.degrae...@systemworks.be wrote: I want to avoid this, since I wanted to reuse the (complex) markup... Is there no way around this? On Wed, Dec 2, 2009 at 10:02 AM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote: Keep it simple and write 2 panels. -Ursprüngliche Nachricht- Von: Pieter Degraeuwe [mailto:pieter.degrae...@systemworks.be] Gesendet: Mittwoch, 2. Dezember 2009 09:55 An: users@wicket.apache.org Betreff: How to write markup if type of component is not known yet... Hi all, I want to write a panel which kan render in 2 modes: editable and read-only. In read-only mode all my components are just labels. In edit mode, are these labels replaced by input fields (e.g. Textfields, DropDowns, etc) The problem is now that I only want to write one markup (since all components are ordered in a quite complex hierarchy) Wicket complains now that tag type must be input instead of span... Is there any way around this. (Or am I doing bad practices...) regards, Pieter -- Pieter Degraeuwe Systemworks bvba Belgiëlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pieter Degraeuwe Systemworks bvba Belgiëlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: London Wicket Event at Foyles Bookshop, November 21st, 2009
The London Wicket Event was great! Here you can find pictures and summaries of all presentations: http://stuq.nl/weblog/2009-11-27/london-wicket-meetup-wicket-1-5-wiquery-brix-and-more Overview: • Cemal Bayramoglu: Introduction • Jeremy Thomerson (USA): Custom JavaScript Integrations with Wicket + Auto Resolvers • Lionel Armanet (FR): Announcing WiQuery 1.0: Introduction Demo • Matej Knopp (SK): BRIX CMS + Wicket 1.5 Developments QA • Sven Meier (DE): Trees, DragDrop and more: • Martijn Dashorst (NL): Writing Books vs Making Babies • Wicket QA Regards, Daan van Etten Op 3 nov 2009, om 00:11 heeft jWeekend het volgende geschreven: We will hold our next London Wicket Event on Saturday, 21st November, from 14:45. This time we have hired The Gallery at the iconic Foyles Bookshop in central London. We again welcome guests and speakers from several countries, including at least 3 core committers, Matej, Jeremy and of course, Alastair, as well as the founders of WiQuery (Wicket-jQuery integration), Lionel Armanet and his team. Join us for some very interesting, high quality presentations and to chat with fellow Wicket users and developers at all levels. We're expecting this to be another popular event and since places are limited book and confirm early if you can make it. Details and registration are at the usual place [1]. There is a cool little Jazz cafe at Foyles too, where there'll be a live act (Femi Temowo) at 13:00 if you enjoy some Jazz guitar relaxation before your intellectual stimulation. They offer a decent range of food and drink there too. The event schedule looks like: Cemal Bayramoglu: Introduction Jeremy Thomerson (USA): Custom JavaScript Integrations with Wicket + Auto Resolvers Lionel Armanet (FR): Announcing WiQuery 1.0: Introduction Demo Matej Knopp (SK): BRIX CMS + Wicket 1.5 Developments QA Alastair Maw (UK): The Al Talk Our Regular General Wicket QA with Al and Cemal We expect to formally finish by around 19:00. I would expect the usual suspects will be heading somewhere in the neighbourhood for refreshments straight after the event, and of course you are more than welcome to join us. Regards - Cemal jWeekend http://jWeekend.com Training, Consulting, Development [1] http://jweekend.com/dev/LWUGReg/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Communication Layer Security
Hi Jérôme, Check this: http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html Regards, Daan van Etten Op 28 nov 2009, om 19:21 heeft UseTheFork het volgende geschreven: Ok, but HOW is this integrated with Wicket? What needs to be done? How does it work with Wicket? How is this integrated? Thanks !!! JVerstry igor.vaynberg wrote: ssl -igor -- View this message in context: http://old.nabble.com/Communication-Layer-Security-tp2674p26555607.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tester test coverage
Hi, What you can do is scan all Page classes (or Panel classes, etc) on the class-path and check if there are tests for them. Put this code in a unit test. Fail the test if you find a class without accompanying test. You can use this example to get started with the class path scanning: http://stuq.nl/weblog/2009-11-01/automatically-test-your-wicket-panel-html-markup Regards, Daan van Etten On Wed, 2009-11-25 at 09:23 +0100, Pierre Goupil wrote: I use it, and what I'm looking for is a mean to ensure my test coverage. On Wed, Nov 25, 2009 at 6:13 AM, Kent Tong k...@cpttm.org.mo wrote: Pierre Goupil wrote: So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). What you need is TDD. Once you adopt TDD, you will have every page tested. - -- Kent Tong Better way to unit test Wicket pages ( http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/Wicket-tester-test-coverage-tp26505428p26507647.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tester test coverage
In my other post I gave a link to a full-fledged example which scans for Panel classes with the default constructor and instantiates them. http://stuq.nl/weblog/2009-11-01/automatically-test-your-wicket-panel-html-markup This has almost no value (in my opinion) for reporting unit testing coverage. It only checks for exceptions and if the code matches the markup at instantiation. An exception could easily be thrown when replacing panels, clicking on a link or submitting a form. This is not tested. Regards, Daan van Etten On Wed, 2009-11-25 at 10:06 +0100, Martijn Dashorst wrote: Spring has a classpath scanner which you can copy and adapt to scan for pages and then try to instantiate them. The problem is often that pages don't have a default constructor, which is a problem if you want to instantiate them automagically. Martijn On Wed, Nov 25, 2009 at 12:57 AM, Pierre Goupil goupilpie...@gmail.com wrote: Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket tester test coverage
Item 2 (fail if a page has not been tested) is not in my solution, but I'm glad I could help :-) Regards, Daan van Etten On Wed, 2009-11-25 at 10:32 +0100, Pierre Goupil wrote: Yeah, test coverage is a big word here. But as I said I was not looking for a way to generate a report, just a mean to have my test suit fail if 1) a page throws an exception at instantiation 2) a page has not been so tested. That's exactly what you did and I'm not surprised not to be the first one to wonder how to achieve this. Of course this test is pretty basic, but as it's totally automated, that's no big deal. You just have to know what is does and what its limits are. Reading your blog, I see that I made the same assumptions than you regarding that matter and that the need was the very same. On Wed, Nov 25, 2009 at 10:24 AM, Daan van Etten d...@stuq.nl wrote: In my other post I gave a link to a full-fledged example which scans for Panel classes with the default constructor and instantiates them. http://stuq.nl/weblog/2009-11-01/automatically-test-your-wicket-panel-html-markup This has almost no value (in my opinion) for reporting unit testing coverage. It only checks for exceptions and if the code matches the markup at instantiation. An exception could easily be thrown when replacing panels, clicking on a link or submitting a form. This is not tested. Regards, Daan van Etten On Wed, 2009-11-25 at 10:06 +0100, Martijn Dashorst wrote: Spring has a classpath scanner which you can copy and adapt to scan for pages and then try to instantiate them. The problem is often that pages don't have a default constructor, which is a problem if you want to instantiate them automagically. Martijn On Wed, Nov 25, 2009 at 12:57 AM, Pierre Goupil goupilpie...@gmail.com wrote: Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to determine which validator failed in a CompoundValidator?
Hi, I think you have to be sure that you do not send an unencrypted password across the wire... That said, I think you can post back the value to the server and update the PasswordStrengthMeter with that. Or you could use Javascript to make it all client-side. It all depends on implementation if you could reuse classes from my blog post. I think you can use standard Ajax behaviors to update the PasswordStrengthMeter. After that, you could use standard form validation to validate the strength of the password. With my code, you can display an error next to the password field and highlight it. - Daan Op 22 apr 2009, om 17:52 heeft Tauren Mills het volgende geschreven: Daan, Yes, this definitely looks like the direction I should go for most of my form components. Thanks for sharing it! However, I also need to make a PasswordStrengthMeter, which will show different values (and css styling) based on the strength of a password entered into a password field. Something like one of these: http://ui-patterns.com/pattern/PasswordStrengthMeter http://ui-patterns.com/userset/39/image/1104#focus Before I embark on building it, do you have any suggestions on easy ways to use your solution to do this? Thanks! Tauren On Tue, Apr 21, 2009 at 10:18 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah looks like the way Tauren should go.. Did'nt know that was what he was looking fore.. 2009/4/22 Daan van Etten d...@stuq.nl: Hi Tauren, A while ago I wrote this article, which may give you some hints on how to achieve this: http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket Regards, Daan Op 21 apr 2009, om 17:36 heeft Tauren Mills het volgende geschreven: Thanks Nino, Actually, I want just one error message right next to the username field that is specific to the username. I also want to highlight via css the username field. A messagepanel would list errors in other fields as well, wouldn't it? Tauren On Apr 21, 2009 5:06 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hmm, it happens automatically, a validator can register errors.. Like this: form.add(new TextFieldString(email,new PropertyModelString(form.getModel(),email)).add( EmailAddressValidator.getInstance()).add(new IValidator() { public void validate(IValidatable validatable) { String string = (String) validatable.getValue(); if (userRepository.areEmailThere(string)) { validatable.error(new ValidationError().addMessageKey( error.unique).setVariable(email, validatable.getValue())); } } })); form.add(new CheckBox(agree, new ModelBoolean(false)) .add(new IValidatorBoolean() { public void validate(IValidatableBoolean validatable) { Boolean agree = validatable.getValue(); if (!agree) { validatable.error(new ValidationError() .addMessageKey(error.mustagree)); } } })); And then just in your ajax add the error message panel to the response.. Works just fine... Or is it something more you want? 2009/4/21 Tauren Mills tau...@tauren.com: On a site registration form, I have three validators on the username field. One tests to make s... - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to determine which validator failed in a CompoundValidator?
Hi Tauren, A while ago I wrote this article, which may give you some hints on how to achieve this: http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket Regards, Daan Op 21 apr 2009, om 17:36 heeft Tauren Mills het volgende geschreven: Thanks Nino, Actually, I want just one error message right next to the username field that is specific to the username. I also want to highlight via css the username field. A messagepanel would list errors in other fields as well, wouldn't it? Tauren On Apr 21, 2009 5:06 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hmm, it happens automatically, a validator can register errors.. Like this: form.add(new TextFieldString(email,new PropertyModelString(form.getModel(),email)).add( EmailAddressValidator.getInstance()).add(new IValidator() { public void validate(IValidatable validatable) { String string = (String) validatable.getValue(); if (userRepository.areEmailThere(string)) { validatable.error(new ValidationError().addMessageKey( error.unique).setVariable(email, validatable.getValue())); } } })); form.add(new CheckBox(agree, new ModelBoolean(false)) .add(new IValidatorBoolean() { public void validate(IValidatableBoolean validatable) { Boolean agree = validatable.getValue(); if (!agree) { validatable.error(new ValidationError() .addMessageKey(error.mustagree)); } } })); And then just in your ajax add the error message panel to the response.. Works just fine... Or is it something more you want? 2009/4/21 Tauren Mills tau...@tauren.com: On a site registration form, I have three validators on the username field. One tests to make s... - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Runtime error with TabbedPanel and AbstractTab (I know it's my mistake somewhere)
Hi, Maven should handle your dependencies. Have you added the wicket extensions dependency to your pom.xml? Add this to the 'dependencies' tag of your pom.xml. The Wicket dependency should already be there. dependency groupIdorg.apache.wicket/groupId artifactIdwicket-extensions/artifactId version1.3.5/version /dependency Change the 'version' according to which version of Wicket you use. Eclipse should add Wicket extensions to your classpath when you have this dependency. (maybe with a mvn clean eclipse command) Regards, Daan van Etten Op 8 apr 2009, om 12:49 heeft Branden Tanga het volgende geschreven: Ok, I've been racking my brain for the past few days, and I still cannot solve this. I've even added wicket-extensions.jar to my .m2/repository and rebuilt my eclipse project with the mvn clean and mvn eclipse commands given in the wicket quickstart. When I open up my eclipse project, under m2_repo I can find my wicket-extensions.jar I still get a noclassdeffound runtime error for AbstractTab. It seems as if the classpath that eclipse uses for compiling has nothing to do with the classpath that wicket uses at runtime. How can I print my classpath from within wicket? (note: I've already added the directory that contains wicket- extensions.jar to my classpath variable in my .bash_profile, still the same runtime error). Thanks, Branden Tanga Programmer / EHR Systems Engineer On Mon, Apr 6, 2009 at 1:24 AM, mailingl...@jorgenpersson.se mailingl...@jorgenpersson.se wrote: Hi. Seems like you're missing a jar file. The java.lang.NoClassDefFoundError means just what it sais. The class can not be found in the classpath. It has nothing to do whether the class is abstract or not. /Jörgen Branden Tanga skrev: Hello all, I'm trying to follow the examples given on wicketstuff.org for TabbedPanel here: http://tinyurl.com/cpzkas My code compiles fine, but when I run it I get a noclassdeffound error for AbstractTab. Here's my snippet of code: import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.extensions.ajax.markup.html.tabs.*; import org.apache.wicket.extensions.markup.html.tabs.*; import org.apache.wicket.markup.html.panel.*; import org.apache.wicket.model.*; import java.util.*; public class MainMenu extends WebPage{ /*Constructor*/ public MainMenu() { ListITab tabs = new ArrayListITab(); tabs.add(new AbstractTab(new Model(first tab)) { @Override public Panel getPanel(String panelID) { return new MyPanel(panelID); } }); } // end constructor and here's the corresponding runtime error: WicketMessage: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = loginForm]] threw an exception Root cause: java.lang.NoClassDefFoundError: org/apache/wicket/extensions/markup/html/tabs/AbstractTab at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java: 675) This makes sense, as you can't directly instantiate an abstract class right? You have to extend it and then implement the subclass. But I am following the code example as closely as I can, and I still do not understand what I am doing wrong. Thanks, Branden Tanga Programmer / EHR Systems Engineer - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
Some other suggestions: Why go with the Wicket FX if you can have Wicket FX 2.0. Ready for Web 2.0! Or... the Wacky Wicket, for inclusion in the Ubuntu Linux distro. Or... Wicket Enterprise Release 4, the version that lags a few years in features but is 'supported' Or... Wicky the Wicking Or... Wicket4j Or... YAWF! (Yet Another Web Framework) Or... WTF! (Wicket The Framework) In comparison, the original Wicket name seems a bit bland. Please consider my suggestions. Regards, Daan Op 1 apr 2009, om 09:39 heeft Mikhail Fursov het volgende geschreven: BTW JWicket FX might be better. You won't confuse it with Wicket.NET at least! On Wed, Apr 1, 2009 at 2:32 PM, Mikhail Fursov mike.fur...@gmail.comwrote: Today is the first day of the month :) On Wed, Apr 1, 2009 at 2:31 PM, Christian Helmbold christian.helmb...@yahoo.de wrote: I still liked the other name suggestion jdave-wicket-webdriver-wicket-fx Is it a joke? What's wrong with wicket? I find both name suggestions ugly. Christian - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Mikhail Fursov -- Mikhail Fursov - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: clean way to add visibility constraints
You could write a method that sets the visibility on the relevant components. The Form components have to be visible to that method though (or you have to use a visitor). Regards, Daan Op 1 apr 2009, om 08:32 heeft Boydens Joeri (OZ) het volgende geschreven: Hi, I have this page where I have different components that need to be show or hidden, depending on the value of some model fields. I implemented this by overriding the isVisible method of the components. Now I was wondering if there is a less verbose way of handling this? (I can't group the components because it's not possible in the html markup). item.add(new TextField(value) { public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() 0; } }); item.add(new Label(article.numberOfArticlesLabel, Geen beschikbaar) { public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() = 0; } }); item.add(new Label(article.description)); item.add(new WebMarkupContainer(participantInfo) { public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() 0; } } .add(new Label(article.numberOfRequiredParticipants)) .add(new Label(article.maximumNumberOfParticipants))); item.add(new Link(contactLink){ @Override public void onClick(){ //TODO : go to correct page } @Override public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() = 0; } }); - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
FX sounds just way cool. WicketFX. Where function meets form. Web development in style. Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: What technologies you use? - WicketFX, Spri.. Wow! You are so cool! Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the FX suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim tim.a...@promedica.org wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as FX? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
To make it a bit less painful: Look at the date. :-) Daan Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: ~0/1 I don't care... but I can't say that I think FX makes it cool... Sounds more like a bad 90's TV show to me :) As long as it work, I don't care what its called... um... maybe I should qualify that... I don't care what its called as long as I won't be embarrassed when talking to my clients about it :) - brill On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: FX sounds just way cool. WicketFX. Where function meets form. Web development in style. Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: What technologies you use? - WicketFX, Spri.. Wow! You are so cool! Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the FX suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim tim.a...@promedica.org wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as FX? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Form Validations
Hi Ashish, Do you use AJAX? Have you added the components to the AjaxRequestTarget with target.addComponent() ? If you do use AJAX, you have to override both onError and onSubmit on the AjaxButton you use for submit. In both these methods you have to add the relevant components to the AjaxRequestTarget, or else they won't get updated. Something like: form.add(new AjaxButton(saveButton){ protected void onSubmit(AjaxRequestTarget target, Form form) { target.addComponent(sexFeedbackLabel); target.addComponent(cityLabel); // If you change other components, add them to the target as well. } @Override protected void onError(AjaxRequestTarget target, Form form) { target.addComponent(sexFeedbackLabel); target.addComponent(cityLabel); } }); It is possible that I guessed completely wrong about your problem :-) If you like, I can update the demo project with a working AJAX sample. By the way, the blog post and demo project is all based on Wicket 1.3.4, so it is possible that this will not work for previous versions. Regards, Daan Op 31 mrt 2009, om 08:46 heeft Ashis het volgende geschreven: I am using Wicket-1.3.0 Version. Following are the code Snippet //Code Snippet for RadioChoice// RadioGroup sexField = new RadioGroup(sex, new Model()); sexField.add(new Radio(male, new Model(Male))); sexField.add(new Radio(female, new Model(Female))); sexField.setOutputMarkupId(true); sexField.setRequired(true); add(sexField); final FeedbackLabel sexFeedbackLabel = new FeedbackLabel(sexFeedback, sexField); sexFeedbackLabel.setOutputMarkupId(true); add(sexFeedbackLabel); //Code Snippet for AutoCompleteTextField// AutoCompleteTextField cityField = new AutoCompleteTextField(city, new Model()) { @Override protected Iterator getChoices(String input) { if (Strings.isEmpty(input)) { return Collections.EMPTY_LIST.iterator(); } List choices = new ArrayList(); List name = reader.loadFile(cities.txt);// cities.txt contains cities name... Iterator itr = name.iterator(); while (itr.hasNext()) { String nameIs = (String) itr.next(); if (nameIs.toUpperCase().startsWith(input.toUpperCase())) { choices.add(nameIs); if (choices.size() == 10) { break; } } } return choices.iterator(); } }; cityField.setOutputMarkupId(true); cityField.setRequired(true); cityField.add(new StringValidator.MaximumLengthValidator(25)); final FeedbackLabel cityLabel = new FeedbackLabel(cityFeedback, cityField); cityLabel.setOutputMarkupId(true); add(cityLabel); cityField.add(new ComponentVisualErrorBehavior(onblur, cityLabel)); add(cityField); Label citLabel = new Label(city.label, City); add(citLabel); Thank you -- View this message in context: http://www.nabble.com/Form-Validations-tp22777684p22799307.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Meetup Tonight in Amsterdam!
What's the surprise?! I'm very curious now, can't wait! See you all tonight... Regards, Daan van Etten Op 24 mrt 2009, om 10:22 heeft Martijn Dashorst het volgende geschreven: The Apache Wicket Meetup in Amsterdam tonight (24 March) has grown considerably: over 70 people have already registered! Our program is still growing and just this morning we got an additional presentation! The Meetup is free thanks to our generous sponsors: - Hippo (http://onehippo.com) - Func (http://func.nl) - Topicus (http://topicus.nl) You can still join us between 19:00 and 22:00 in the Moevenpick hotel in Amsterdam. Register for free here: https://spreadsheets.google.com/viewform?formkey=cDFlMTdSV3dKT1lkYUlVa2lWUFdkQXc6MA Route to the venue: http://maps.google.com/maps?client=safarirls=en-usoe=UTF-8um=1ie=UTF-8cid=0,0,16474381925794425644fb=1split=1dq=moevenpick+hotel+amsterdam+piet+heinkadedaddr=Piet+Heinkade+11,+1019+BR+Amsterdam,+Netherlandsgeocode=10995011565374881002,52.378048,4.914107ei=e5fISb-PIsS4-Qb1_tGZAwsa=Xoi=local_resultresnum=1ct=directions-to Program: - Introduction to Wicket - Wicket Scala - Surprise - Wicket JDave - Automated integration testing for Wicket apps - Wicket DB4O - Getting your app production ready and in production Of course there is room for questions to the core team (Timo, Johan and Martijn are present), getting your book signed or just have a beer. See you tonight! -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo
[X] Yes, change the DropDownChoice constructor to take the choices list as IModelListT or ListT without the wildcard Regards, Daan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: capture ModalWindow data in Parent page
Sure! You can for example use an abstract method to post the data back to the parent. A complete example is here: http://stuq.nl/weblog/2008-06-05/wicket-how-to-write-a-reusable-modal-window-popup - Daan Op 2 feb 2009, om 16:53 heeft wicketworker het volgende geschreven: Hi, Could someone please guide me with the below situatuation. I have a parent page in which i have a hyper link, when i click that i am opening a Modalwindow in a new page. Is there an example to capture some form data from that modal window, and upon closing that modal window update the parent page with the captured data. Could some one please tell me if there is any such example? Thanks in Advance. -- View this message in context: http://www.nabble.com/capture-ModalWindow-data-in-Parent-page-tp21792124p21792124.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: ModalWindow gotcha!
Op 1 feb 2009, om 21:51 heeft Timo Rantalaiho het volgende geschreven: On Sun, 18 Jan 2009, Phillip Rhodes wrote: Declaring the ModalWindow from a panel did not work. The ModalWindow would appear, but the ModalWindow contents (a panel) would be rendered within the parent panel after the ModalWindow was closed. If I declare the ModalWindow in a page, everything was fine. I can still invoke the ModalWindow from a panel, all is good. For now, I am going to declare all my ModalWindows at the page level,and pass these as constructor arguments to my panels. This sounds very strange, I think that your problem must have been elsewhere. Please send a quickstart reproducing the problem if you're interested in finding out more. Adding a ModalWindow in a panel should be OK. I can confirm this... we use ModalWindows all over the place. - Daan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: London Wicket Event - 4th February @ Google
Hi, My code samples and presentation will be available online, on my own site and probably also on the London Wicket User group site. Not only real world apps, but also hello world apps... Regards, Daan Op 27 jan 2009, om 11:39 heeft francisco treacy het volgende geschreven: hi cemal, i am actually very interested in wicket and scala real world apps. unfortunately i can't make it to london, but i would like to ask you if the presentation slides will be available for download after the event. or should i ask daan, jan, al, ... ? thanks francisco On Mon, Jan 26, 2009 at 11:40 AM, jWeekend jweekend_for...@cabouge.com wrote: We already have some 35 registered guests (29 confirmed) for our next London Wicket Event on the evening of February 4th, at Google (close to Victoria station). We have space for 15 more so if you are interested in coming http://jweekend.com/dev/LWUGReg/ register soon and remember to confirm your place. Regards - Cemal http://www.jWeekend.co.uk jWeekend jWeekend wrote: Our next London Wicket Event will be on the evening of Wednesday, February 4th, at Google. This time we have presentations lined-up from three experienced Java/Wicket developers who have been experimenting with Scala and Wicket, just for fun, and, in some cases, on commercial development projects (yes, there are already Wicket applications built using Scala out there). Al's presentation is called Abstraction - you know what to expect! Al and I will also run a more concrete, general Wicket QA to wrap things up as usual. We'll be getting in some hot Pizza for around 18:15 and then: * http://www.jWeekend.com Cemal Bayramoglu : Welcome/ Introduction * http://www.stuq.nl Daan van Etten : Basic Introduction to Scala With Wicket * Dean Phersson-Chapman: Experiences Converting an Existing Wicket Application To Scala * http://www.footprint.de Jan Kriesten : Real World Scala and Wicket * http://herebebeasties.com/ Al Maw : ABSTRACTION! * Al Maw Cemal Bayramoglu: General Wicket QA If you're not in a rush to get away join us for the customary visit to a local pub straight after the QA. We're lucky to attract a very good crowd and they say really nice things about our events, so if you've never been, you'd most likely enjoy the experience. Full details and registration are at http://www.jweekend.co.uk/dev/LWUGReg/ at the usual place . Register early and don't forget to confirm (or cancel) your registration using the link in the automated email. We'd like to thank Google for generously continuing to host our events. Regards - Cemal http://www.jWeekend.co.uk jWeekend -- View this message in context: http://www.nabble.com/London-Wicket-Event---4th-February-%40-Google-tp21428590p21663404.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Add a feedBackPanel in form
Hi, This is possible, I recently wrote an article about it. It does not add a FeedbackPanel for every form component, but instead you can use the (custom) FeedbackLabel See http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket Regards, Daan Op 9 dec 2008, om 10:35 heeft miata het volgende geschreven: Hi, I have a problem with a form, I want to add a feedBackPanel for each fields added in my form. Is it possible??? In the normal case the feedback message appear in the same panel for all fields, for my new form I want a separate feedback which appear near to input fields... Thanks -- View this message in context: http://www.nabble.com/Add-a-feedBackPanel-in-form-tp20911421p20911421.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: LoadableDetachableModel in Listview
Hi James, How does this work with a Hibernate-managed object? Did you test it with Hibernate? Op 8 dec 2008, om 19:45 heeft James Carman het volgende geschreven: Sorry for the delay. A shadow model basically grabs the actual model's value in the beginning and caches it. You actually edit the shadowed model. Then, when you're done with all of your edits you call commit on all of your shadow models to write back into the originals. So, I don't think you'll get a LazyInitializationException. I guess it depends on what you're shadowing. I've got an implementation I call ProxyModelManager in Wicketopia and I hope to rename it to ShadowModelManager. I like shadow much better. On Mon, Dec 8, 2008 at 8:29 AM, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi James, thanks for your help. I think shadow models could work, when I only access non-lazy fields. Otherwise I would get a LazyInitializationException. Or what do you exactly mean by shadow models? - Benjamin On Mon, Dec 8, 2008 at 1:32 PM, James Carman [EMAIL PROTECTED] wrote: Would shadow models help? On Mon, Dec 8, 2008 at 7:06 AM, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi everybody, I have a little Problem with LDMs: I have a page with a ListView and for each item in the ListView the user can open a modalWindow to edit the item. My Problem is, that I don't want to persist the item to the DB from the modalWindow. Only after the User confirms the changes in the page with the ListView, all these changes for all items from the ListView should be persisted. Or the User presses abort and nothing is persisted. When I use LDMs changes that are made in the modalWindow are never shown in the ListView, because the models are detached. I could use normal Models or the actual Objects for this, but then I might run into lazy-initialization-problems. Has anybody a solution for this problem, or is this simply not possible in this way? Thanks in advance, Benjamin --- My Code looks like this: ListViewAccount accountListView = new ListViewAccount(accountList, accountList) { @Override protected void populateItem(ListItemAccount item) { DetachableEntityModelAccount account = new DetachableEntityModelAccount(item.getModelObject()); item.add(new Label(accountName, new PropertyModelString(account, name))); item.add(new Label(accountNumber, new PropertyModelString(account, number))); item.add(new AjaxLinkAccount(edit, account) { @Override public void onClick(AjaxRequestTarget target) { modalWindow.showPage(target, new AccountEditPage(modalWindow, this.getModel())); } }); } }; cont.add(accountListView); AjaxLink save = new AjaxLink(saveAccounts) { @Override public void onClick(AjaxRequestTarget target) { User user = userModel.getObject(); user.getAccounts().clear(); user.getAccounts().addAll(accountList); ServiceLocator.instance().getUserService().saveUser(user); } }; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ajax validating individual form fields
Hi fatefree, On 22 okt 2008, at 03:53, fatefree wrote: Thank you very much, I didn't realize that the AjaxFormComponentUpdatingBehavior submitted individual components, I guess i got it confused with AjaxFormValidatingBehavior. I think the only issue is when a form level validator needs to be used, for instance to compare that two fields are equal. Am I correct in assuming theres no way to attach a form component validator to a field and have it compare against the value of another component? If so I'm not sure if it would be possible to fire a form level validator on the onblur of the second component without submitting the entire form. I think you are correct. Maybe it is an option to write a custom validator that compares the two fields, and attach that to the second field. The error can then be shown at the second field. Another issue I thought of is if you use a password text field you wouldn't be able to use AjaxFormComponentUpdatingBehavior because even if the input is valid it would erase immediately. Maybe there is a clever way to override the isPasswordReset so that it only is true when the form is submit through a button and not that behavior? I have no idea, but am curious to see your solution :-). Regards, Daan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ajax validating individual form fields
Hi fatefree, Check this blog post: http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket I think this achieves what you want. Regards, Daan On 21 okt 2008, at 15:28, fatefree wrote: I have been trying to fulfill a requirement of a form, where each field is validated one at a time after losing focus, and the entire form is validated when a user clicks submit. I can see that there are pieces of what I want to do thats possible, but I haven't been able to put them all together. What I have tried is using the AjaxFormValidatingBehavior.addToAllFormComponents(form, onblur), but as you probably know this causes the entire form to be validated on the onblur which is both confusing to a user who hasnt been able to put all values in, and also seems to be excessive load as id rather the rest of the form be ignored. Then I looked into nested forms with the hope that I could add the same behavior to a nested form, and then a user could submit a parent form which would submit its child forms. While i thought this could be a solution, it seems that when an inner form is submitted through the onblur behavior above, the parent form is submitted and validated as well so I have the same problem as I do in the first case. Keep in mind I have no button to submit an individual field (so i cant call setdefaultformprocessing). So finally I thought about making every field its own form without being nested, in which case I know the validating behavior will work for every form individually. The only problem (besides having a form for every input, but thats manageable) is that I don't know how to use a button outside of these forms, and force it to submit every form and proceed only if they are all valid. I tried using an AjaxLink and calling process on every form i have a reference to, but that seems to return true every time without any validation. Has anyone had a similar requirement or accomplished what I am trying to do? I would be very appreciative of any example or ideas or direction i should look into to accomplish this. Thanks in advance -- View this message in context: http://www.nabble.com/Ajax-validating-individual-form-fields-tp20090299p20090299.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: Development Platform
Do not hesitate, Mac is great! I use it all the time. They waited a bit too long with bringing Java 6 to Mac, but besides that, it all works great. We also use Mac OS X Server with Tomcat to deploy our software. By the way, you know you have to change your nickname? Something like 'greekmacosx' or 'greekapple' would be fine. Regards, Daan On 16 okt 2008, at 10:52, greeklinux wrote: Hello wicket users, I have to bye a new notebook and I am thinking about the new Apple MacBook Pro. I am using Ubuntu for my development, Java/Wicket with maven, Eclipse/Idea, Tomcat. Are here any Mac OS X users and developers with pros and cons? I want to know if Mac OS X will be a good dev platform, because I am new to it. Hear about your experiences, would be great! -- View this message in context: http://www.nabble.com/Development-Platform-tp20009661p20009661.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: Small question about URL rewriting
Now thats *really* friendly :-) On 15 okt 2008, at 13:11, James Carman wrote: Right, I guess that's what I meant by friendly too. Friendly to search engines, not just our eyes. On Wed, Oct 15, 2008 at 7:08 AM, Daan van Etten [EMAIL PROTECTED] wrote: Keeping keywords in URLs also improves search engine rankings. Regards, Daan On 15 okt 2008, at 13:01, James Carman wrote: When Amazon.com does something like this, they still use an id on the URL. Check out these two URLs (which are equivalent and happen to be for a book I was suggesting to someone): http://www.amazon.com/Pragmatic-Version-Control-Using-Subversion/dp/0974514063 http://www.amazon.com/dp/0974514063 They just add in the text to make it more friendly I guess. On Wed, Oct 15, 2008 at 6:09 AM, Daan van Etten [EMAIL PROTECTED] wrote: Hi Hbiloo, I don't know of an existing working solution. A while ago some people where working on this, according to the mailing list: http://mail-archives.apache.org/mod_mbox/wicket-dev/200802.mbox/[EMAIL PROTECTED] You can prefix the article title with the date (as I did on my blog), so you have less chance on name clashes. Regards, Daan On 15 okt 2008, at 11:58, Azzeddine Daddah wrote: Hi Daan, Thanks for your quick response :). It's a really interesting article to read. I don't really want to set the ID's of my product in the URL. I was thinking to do something like this :) : http://stuq.nl/weblog/articles/create-restful-urls-with-wickethttp://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket in stead of http://stuq.nl/weblog/articles/12345http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket The problem is that you cannot be sure that the article title is unique. Kind regards, Hbiloo http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket On Wed, Oct 15, 2008 at 11:31 AM, Daan van Etten [EMAIL PROTECTED] wrote: Hi Hbiloo, Check out the various UrlCodingStrategies. See http://cwiki.apache.org/WICKET/url-coding-strategies.html I wrote something about RESTful urls here: http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket Regards, Daan On 15 okt 2008, at 11:19, Azzeddine Daddah wrote: Hi, I wanna just know if there is a way to rewrite URLs. For example to do something like this: From: http://mydomain.com/product/productNumber/12345 To: http://mydomain.com/product/this-is-my-product Regards, Hbiloo - 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] - 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: Small question about URL rewriting
Hi Hbiloo, Check out the various UrlCodingStrategies. See http://cwiki.apache.org/WICKET/url-coding-strategies.html I wrote something about RESTful urls here: http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket Regards, Daan On 15 okt 2008, at 11:19, Azzeddine Daddah wrote: Hi, I wanna just know if there is a way to rewrite URLs. For example to do something like this: From: http://mydomain.com/product/productNumber/12345 To: http://mydomain.com/product/this-is-my-product Regards, Hbiloo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Small question about URL rewriting
Hi Hbiloo, I don't know of an existing working solution. A while ago some people where working on this, according to the mailing list: http://mail-archives.apache.org/mod_mbox/wicket-dev/200802.mbox/[EMAIL PROTECTED] You can prefix the article title with the date (as I did on my blog), so you have less chance on name clashes. Regards, Daan On 15 okt 2008, at 11:58, Azzeddine Daddah wrote: Hi Daan, Thanks for your quick response :). It's a really interesting article to read. I don't really want to set the ID's of my product in the URL. I was thinking to do something like this :) : http://stuq.nl/weblog/articles/create-restful-urls-with-wickethttp://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket in stead of http://stuq.nl/weblog/articles/12345http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket The problem is that you cannot be sure that the article title is unique. Kind regards, Hbiloo http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket On Wed, Oct 15, 2008 at 11:31 AM, Daan van Etten [EMAIL PROTECTED] wrote: Hi Hbiloo, Check out the various UrlCodingStrategies. See http://cwiki.apache.org/WICKET/url-coding-strategies.html I wrote something about RESTful urls here: http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket Regards, Daan On 15 okt 2008, at 11:19, Azzeddine Daddah wrote: Hi, I wanna just know if there is a way to rewrite URLs. For example to do something like this: From: http://mydomain.com/product/productNumber/12345 To: http://mydomain.com/product/this-is-my-product Regards, Hbiloo - 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: Small question about URL rewriting
Keeping keywords in URLs also improves search engine rankings. Regards, Daan On 15 okt 2008, at 13:01, James Carman wrote: When Amazon.com does something like this, they still use an id on the URL. Check out these two URLs (which are equivalent and happen to be for a book I was suggesting to someone): http://www.amazon.com/Pragmatic-Version-Control-Using-Subversion/dp/0974514063 http://www.amazon.com/dp/0974514063 They just add in the text to make it more friendly I guess. On Wed, Oct 15, 2008 at 6:09 AM, Daan van Etten [EMAIL PROTECTED] wrote: Hi Hbiloo, I don't know of an existing working solution. A while ago some people where working on this, according to the mailing list: http://mail-archives.apache.org/mod_mbox/wicket-dev/200802.mbox/[EMAIL PROTECTED] You can prefix the article title with the date (as I did on my blog), so you have less chance on name clashes. Regards, Daan On 15 okt 2008, at 11:58, Azzeddine Daddah wrote: Hi Daan, Thanks for your quick response :). It's a really interesting article to read. I don't really want to set the ID's of my product in the URL. I was thinking to do something like this :) : http://stuq.nl/weblog/articles/create-restful-urls-with-wickethttp://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket in stead of http://stuq.nl/weblog/articles/12345http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket The problem is that you cannot be sure that the article title is unique. Kind regards, Hbiloo http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket On Wed, Oct 15, 2008 at 11:31 AM, Daan van Etten [EMAIL PROTECTED] wrote: Hi Hbiloo, Check out the various UrlCodingStrategies. See http://cwiki.apache.org/WICKET/url-coding-strategies.html I wrote something about RESTful urls here: http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket Regards, Daan On 15 okt 2008, at 11:19, Azzeddine Daddah wrote: Hi, I wanna just know if there is a way to rewrite URLs. For example to do something like this: From: http://mydomain.com/product/productNumber/12345 To: http://mydomain.com/product/this-is-my-product Regards, Hbiloo - 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: [OT] Process modelling (with Wicket front-end)
Hi Kaspar, We use jBPM for our processes. We don't manage the processes from Wicket, as there is a nice plugin Eclipse for it. jBPM uses Java and Hibernate, so you can create any GUI you like in Wicket and show underlying jBPM stuff (like tasks, processes, etcetera) Regards, Daan On 9 okt 2008, at 18:03, Kaspar Fischer wrote: Can anybody recommend a good process modelling tool that integrates with Wicket? We would like to use such a tool for many activities in our organziation: - We show processes to our end-users as part of our knowledge information centre website. So we need to present processes, interactively, if possible. The website (including the CMS front-end) runs on Wicket and ideally, we would like to edit the processes in a Wicket GUI, too. - We are starting to provide e-learning solutions and there, too, it might be helpful to structure a course with a process modeller. - We use processes internally for certain documents (in Alfresco CMS). I have slightly touched jBPM as it is used in Alfresco CMS, and I have watched the presentation http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm given at http://www.jboss.com/products/jbpm. Also, I have read a little about YAWL and heard of BPDM but as I lack experience with these tools/ models, I wonder: What state-of-the-art tools (in Java) are out there, and has anybody managed to get integration with Wicket? Thanks, Kaspar - 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: Non-modal ModalWindow ?
Yes, it's called a DIV. Regards, Daan On 6 okt 2008, at 21:08, Cédric Thiébault wrote: Is there an equivalent of the ModalWindow but non-modal, ie without a mask that prevent user from interacting the rest of page ? Thanks! Cedric - 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: Non-modal ModalWindow ?
You could check the ModalWindow in wicket-extensions. It contains a file called modal.js. In that file you can find the following function: /** * Creates the mask accordingly to the settings. */ createMask: function() { if (this.settings.mask == transparent) this.mask = new Wicket.Window.Mask(true); else if (this.settings.mask == semi-transparent) this.mask = new Wicket.Window.Mask(false); if (typeof(this.mask) != undefined) { this.mask.show(); } }, You could change this function and the ModalWindow.MaskType so you can set a 'disabled' mask. After that, you can create a JIRA issue with your code, so more people can profit from it :-) Regards, Daan On 6 okt 2008, at 22:04, Cédric Thiébault wrote: A ModalWindows is not just a DIV with a mask... I need all the ModalWindow logic (show/hide, drag, resize, etc.) but not the mask. Cedric On Mon, Oct 6, 2008 at 3:30 PM, Daan van Etten [EMAIL PROTECTED] wrote: Yes, it's called a DIV. Regards, Daan On 6 okt 2008, at 21:08, Cédric Thiébault wrote: Is there an equivalent of the ModalWindow but non-modal, ie without a mask that prevent user from interacting the rest of page ? Thanks! Cedric - 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: [ANNOUNCE] WUG DK 15 october
I'd love to be there, but it's a +700 km drive.. BTW: was surprised to see my interpretation of the Wicket logo on top of the page :-). Regards, Daan On 25 sep 2008, at 21:06, Nino Saturnino Martinez Vazquez Wael wrote: Hi Remember WUG DK 15 october. We've simplified the process of signing up so go here and sign up : http://wugdk.eventbrite.com/ Eventbrite is a free service if your arrangement is free... So maybe something for the other WUGs aswell? -- -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: Strange behavior withe Modal Window
Hi, You can try using abstract methods. I have made an example with demo project here: http://stuq.nl/weblog/2008-06-05/wicket-how-to-write-a-reusable-modal-window-popup Regards, Daan On 22 sep 2008, at 10:41, Eyal Golan wrote: I thought taking out all state from the modal window to the page it is holding. It is very strange: When the user presses OK in a form that in the page, i construct a new instance (of WebPage). When the close callback is initiated, the instance that was created is null. Any thoughts? I am on this for a few days already ... -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with DropDownChoice on 1.4M3
On 17 sep 2008, at 14:55, Anders Peterson wrote: My DropDownChoice always displays as if nothing is selected. Using it works fine, but every time the page is (re)loaded the selection is reset. wantOnSelectionChangedNotifications return true. I have an older version of my app deployed (using an older version of Wicket) that works as expected. Is this a known problem or could I be doing something wrong? You could be doing something wrong. Do you set the model of the DropDownChoice? Show us some code. Regards, Daan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SOLVED Re: Problem with DropDownChoice on 1.4M3
Great you figured it out! Some problems have simple solutions... Regards, Daan On 17 sep 2008, at 16:07, Anders Peterson wrote: Isn't it always like this; as soon as you ask someone you start thinking about the problem differently. Or should I say you start thinking straight. The problem was, of course, with the equals- method of the listed objects (two instances of that class would never be equal). Thanks for being there! /Anders Anders Peterson wrote: This is the code that creates the DropDownChoice: myForm.add(new DropDownChoiceBLView(views, this.getPortfolio().getViews(), new ChoiceRendererBLView(toDisplayString)) { @Override protected void onSelectionChanged(BLView newSelection) { super.onSelectionChanged(newSelection); ...; } @Override protected boolean wantOnSelectionChangedNotifications() { return true; } }); Nothing strange... /Anders Daan van Etten wrote: On 17 sep 2008, at 14:55, Anders Peterson wrote: My DropDownChoice always displays as if nothing is selected. Using it works fine, but every time the page is (re)loaded the selection is reset. wantOnSelectionChangedNotifications return true. I have an older version of my app deployed (using an older version of Wicket) that works as expected. Is this a known problem or could I be doing something wrong? You could be doing something wrong. Do you set the model of the DropDownChoice? Show us some code. Regards, Daan - 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: Add a * (star) to a mandatory field
Or you can check my solution here: http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket Example form: http://stuq.nl/media/image/form-usability-tutorial-invalid.png (You can easily change the look and feel, this is just an example) Regards, Daan On 16 sep 2008, at 16:54, Ryan Gravener wrote: There is always shinyforms. http://code.google.com/p/elephas/source/browse/#svn/trunk/src/main/ java/org/elephas/webapp/frontend/component/common/form On Tue, Sep 16, 2008 at 10:43 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: we use componentborder to do this, works like a charm. still it is interesting that the * is output before, are you sure its not your css, can you check the generated source? -igor On Tue, Sep 16, 2008 at 6:23 AM, James Perry [EMAIL PROTECTED] wrote: I too recently had a use case where the customer wanted a '*' to represent a mandatory field. IMO, using a border is more subtle and tidier then your approach. On Tue, Sep 16, 2008 at 12:40 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I created this behavior for adding a star BEFORE the component is rendered: public final class MandatoryBehavior extends AbstractBehavior { private static final long serialVersionUID = 5368825601887534185L; @Override public void beforeRender(Component component) { component.getResponse().write(* ); } } 1. For some reason, the star is added AFTER the label. For example: Configuration: * instead of * Configuration 2. I am adding this to labels that displays mandatory fields such as DropDown and TextField. Is there a nicer way? -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary - 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] -- Ryan Gravener http://twitter.com/ryangravener - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket merchandise?
Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) I have this as Photoshop file (300dpi 10x10). It's a vector (path) logo, so it is resizable to any size. Suggestions are welcome. Daan On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote: Okay I've had some fun with Gimp, and it's pretty clear that im not a graphical artist.. Anyone up for creating some Wicket Logos? The sizes are : 10x10 3.33 x 3.33 Anyone up for thongs and boxer shorts haha! Sizes are : 2.75 x 2.75 1x1 4 x 6 For bib's (they need to learn wicket young, you know) 5 x 7 Lets take the details of the thread(like quality, format...) Nino Saturnino Martinez Vazquez Wael wrote: So i'll try to get some things done, since there are many that wants this.. Are there any Wicket found or something if theres any profits on this? I'll see how far I can get without an real graphical artist:) Nino Saturnino Martinez Vazquez Wael wrote: Hi We talked about this a loong time ago. But theres a service CafePress.com (could have been there then aswell )which fairly easy lets you produce wicket merchandise.. So do the community want mugs caps and t-shirts? And what does the devs say? -- -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: Wicket merchandise?
Thanks for the inspiration... black looks really nice! Imagine a black t-shirt or a black mug with this: http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan van Etten On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote: Ok my graphics skills are so pants it's embarrassing , especially considering Daan's offering, but I was thinking something along these lines http://www.zymari.gr/wicket.png All laughter welcome :-P Daan van Etten wrote: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) I have this as Photoshop file (300dpi 10x10). It's a vector (path) logo, so it is resizable to any size. Suggestions are welcome. Daan On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote: Okay I've had some fun with Gimp, and it's pretty clear that im not a graphical artist.. Anyone up for creating some Wicket Logos? The sizes are : 10x10 3.33 x 3.33 Anyone up for thongs and boxer shorts haha! Sizes are : 2.75 x 2.75 1x1 4 x 6 For bib's (they need to learn wicket young, you know) 5 x 7 Lets take the details of the thread(like quality, format...) Nino Saturnino Martinez Vazquez Wael wrote: So i'll try to get some things done, since there are many that wants this.. Are there any Wicket found or something if theres any profits on this? I'll see how far I can get without an real graphical artist:) Nino Saturnino Martinez Vazquez Wael wrote: Hi We talked about this a loong time ago. But theres a service CafePress.com (could have been there then aswell )which fairly easy lets you produce wicket merchandise.. So do the community want mugs caps and t-shirts? And what does the devs say? -- -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] - 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 merchandise?
On 21 aug 2008, at 14:15, Uwe Schäfer wrote: Daan van Etten schrieb: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) good one. just a nicer font, and that´s it ;) Do you know what the official font is? Regards, Daan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket merchandise?
Thanks for the tip! They should look better now: http://stuq.nl/media/image/apache-wicket-tshirt.png http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan On 21 aug 2008, at 14:46, Matej Knopp wrote: The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the inspiration... black looks really nice! Imagine a black t-shirt or a black mug with this: http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan van Etten On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote: Ok my graphics skills are so pants it's embarrassing , especially considering Daan's offering, but I was thinking something along these lines http://www.zymari.gr/wicket.png All laughter welcome :-P Daan van Etten wrote: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) I have this as Photoshop file (300dpi 10x10). It's a vector (path) logo, so it is resizable to any size. Suggestions are welcome. Daan On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote: Okay I've had some fun with Gimp, and it's pretty clear that im not a graphical artist.. Anyone up for creating some Wicket Logos? The sizes are : 10x10 3.33 x 3.33 Anyone up for thongs and boxer shorts haha! Sizes are : 2.75 x 2.75 1x1 4 x 6 For bib's (they need to learn wicket young, you know) 5 x 7 Lets take the details of the thread(like quality, format...) Nino Saturnino Martinez Vazquez Wael wrote: So i'll try to get some things done, since there are many that wants this.. Are there any Wicket found or something if theres any profits on this? I'll see how far I can get without an real graphical artist:) Nino Saturnino Martinez Vazquez Wael wrote: Hi We talked about this a loong time ago. But theres a service CafePress.com (could have been there then aswell )which fairly easy lets you produce wicket merchandise.. So do the community want mugs caps and t-shirts? And what does the devs say? -- -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] - 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: Wicket merchandise?
Here is version 2 :-) http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png On 21 aug 2008, at 15:07, Matej Knopp wrote: I could imagine wearing that on a tshirt :) One more small thing, on the dark one I'd prefer WICKET being brighter than APACHE :) -Matej On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the tip! They should look better now: http://stuq.nl/media/image/apache-wicket-tshirt.png http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan On 21 aug 2008, at 14:46, Matej Knopp wrote: The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the inspiration... black looks really nice! Imagine a black t-shirt or a black mug with this: http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan van Etten On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote: Ok my graphics skills are so pants it's embarrassing , especially considering Daan's offering, but I was thinking something along these lines http://www.zymari.gr/wicket.png All laughter welcome :-P Daan van Etten wrote: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) I have this as Photoshop file (300dpi 10x10). It's a vector (path) logo, so it is resizable to any size. Suggestions are welcome. Daan On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote: Okay I've had some fun with Gimp, and it's pretty clear that im not a graphical artist.. Anyone up for creating some Wicket Logos? The sizes are : 10x10 3.33 x 3.33 Anyone up for thongs and boxer shorts haha! Sizes are : 2.75 x 2.75 1x1 4 x 6 For bib's (they need to learn wicket young, you know) 5 x 7 Lets take the details of the thread(like quality, format...) Nino Saturnino Martinez Vazquez Wael wrote: So i'll try to get some things done, since there are many that wants this.. Are there any Wicket found or something if theres any profits on this? I'll see how far I can get without an real graphical artist:) Nino Saturnino Martinez Vazquez Wael wrote: Hi We talked about this a loong time ago. But theres a service CafePress.com (could have been there then aswell )which fairly easy lets you produce wicket merchandise.. So do the community want mugs caps and t-shirts? And what does the devs say? -- -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] - 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] - 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 merchandise?
Here are some high-res versions: http://stuq.nl/media/image/apache-wicket-tshirt-3,33x3,33-300dpi-transparant.png http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant.png http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-white.png Please try the 10x10 version first for the polo, because the aspect ratio is the same, but the resolution is much better. Regards, Daan On 21 aug 2008, at 15:32, Nino Saturnino Martinez Vazquez Wael wrote: and could you rescale to 3.33 x 3.33 . I can put up a black polo then:) Daan van Etten wrote: Thanks for the tip! They should look better now: http://stuq.nl/media/image/apache-wicket-tshirt.png http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan On 21 aug 2008, at 14:46, Matej Knopp wrote: The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the inspiration... black looks really nice! Imagine a black t-shirt or a black mug with this: http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan van Etten On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote: Ok my graphics skills are so pants it's embarrassing , especially considering Daan's offering, but I was thinking something along these lines http://www.zymari.gr/wicket.png All laughter welcome :-P Daan van Etten wrote: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) I have this as Photoshop file (300dpi 10x10). It's a vector (path) logo, so it is resizable to any size. Suggestions are welcome. Daan On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote: Okay I've had some fun with Gimp, and it's pretty clear that im not a graphical artist.. Anyone up for creating some Wicket Logos? The sizes are : 10x10 3.33 x 3.33 Anyone up for thongs and boxer shorts haha! Sizes are : 2.75 x 2.75 1x1 4 x 6 For bib's (they need to learn wicket young, you know) 5 x 7 Lets take the details of the thread(like quality, format...) Nino Saturnino Martinez Vazquez Wael wrote: So i'll try to get some things done, since there are many that wants this.. Are there any Wicket found or something if theres any profits on this? I'll see how far I can get without an real graphical artist:) Nino Saturnino Martinez Vazquez Wael wrote: Hi We talked about this a loong time ago. But theres a service CafePress.com (could have been there then aswell )which fairly easy lets you produce wicket merchandise.. So do the community want mugs caps and t-shirts? And what does the devs say? -- -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] - 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] -- -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 merchandise?
http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant-orangewicket.png There you go.. imagine the black background yourself (it's transparent now for CafePress). Regards, Daan On 21 aug 2008, at 15:39, Yiannis Mavroukakis wrote: Nice :-) can we have a version with the official orange as the font colour for Wicket ? Daan van Etten wrote: Here is version 2 :-) http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png On 21 aug 2008, at 15:07, Matej Knopp wrote: I could imagine wearing that on a tshirt :) One more small thing, on the dark one I'd prefer WICKET being brighter than APACHE :) -Matej On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the tip! They should look better now: http://stuq.nl/media/image/apache-wicket-tshirt.png http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan On 21 aug 2008, at 14:46, Matej Knopp wrote: The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the inspiration... black looks really nice! Imagine a black t-shirt or a black mug with this: http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan van Etten On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote: Ok my graphics skills are so pants it's embarrassing , especially considering Daan's offering, but I was thinking something along these lines http://www.zymari.gr/wicket.png All laughter welcome :-P Daan van Etten wrote: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) I have this as Photoshop file (300dpi 10x10). It's a vector (path) logo, so it is resizable to any size. Suggestions are welcome. Daan On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote: Okay I've had some fun with Gimp, and it's pretty clear that im not a graphical artist.. Anyone up for creating some Wicket Logos? The sizes are : 10x10 3.33 x 3.33 Anyone up for thongs and boxer shorts haha! Sizes are : 2.75 x 2.75 1x1 4 x 6 For bib's (they need to learn wicket young, you know) 5 x 7 Lets take the details of the thread(like quality, format...) Nino Saturnino Martinez Vazquez Wael wrote: So i'll try to get some things done, since there are many that wants this.. Are there any Wicket found or something if theres any profits on this? I'll see how far I can get without an real graphical artist:) Nino Saturnino Martinez Vazquez Wael wrote: Hi We talked about this a loong time ago. But theres a service CafePress.com (could have been there then aswell )which fairly easy lets you produce wicket merchandise.. So do the community want mugs caps and t-shirts? And what does the devs say? -- -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] - 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] - 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: Wicket merchandise?
I really don't want to get into a 'design by committee' thing. BTW: I've no idea about trademark or copyright issues. I like to see a simple way for people to support Wicket or Apache, financially or by promoting it. Some merchandize may help with both, at least a bit with the marketing (and sell the merchandize with no profit). If you can use my designs with that, go ahead. If you want them modified or have better design idea's: go ahead. Regards, Daan On 21 aug 2008, at 17:40, Yiannis Mavroukakis wrote: How about a rectangular box around Apache grey background with Apache in black and Wicket in orange font (as is now) next to it? Peter Thomas wrote: +1 on the t-shirt and the general design as it is now. But agree with James, I prefer Apache and Wicket to be both the same color. On Thu, Aug 21, 2008 at 8:30 PM, James Carman [EMAIL PROTECTED] wrote: Oh, sorry. My mom always told me to say something nice before you say something critical. Better late than never! :) I really like the logo an the general idea of the design. I'll buy a t-shirt (and polo) when they're available for sure. If I have to, I'll print out the log and tape it to my coffee mug while walking around the office, too. :) On Thu, Aug 21, 2008 at 10:58 AM, James Carman [EMAIL PROTECTED] wrote: I don't know about de-emphasizing Apache in the name. Apache Wicket is the name of the framework. It's Apache's brand and trademark. I would run these designs by the powers that be (whoever that is). If you don't want all one color for the name, why not try using a border of some sort (perhaps wicket orange)? - 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: help with css and image background
I've read this more than once, and could not understand it. Please try again to explain what you mean. This looks like Babelfish gibberish. Regards, Daan On 8 aug 2008, at 22:21, oriana wrote: I need urgent one since help I have the page of begin and it don't want me to catch the styles of the leaf of styles. I besides that want to put an image of background in a table that on her the texts of autentication come and it neither leaves me. That does it be making wrong?? I am completely new in this and I don't have idea that sew me pass. If somebody could help me very grateful for that reason.:confused: -- View this message in context: http://www.nabble.com/help-with-css-and-image-background-tp18898445p18898445.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: Running a huge wicket site(1m + users)
On 16 jul 2008, at 04:49, Ryan Sonnek wrote: On Tue, Jul 15, 2008 at 8:54 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: We are having the potential fun of running a site with around 1 million users, and a lot more over time. What could be great optimizing points? We have looked at these things * Detachable models (not sure if it makes anything run faster, just that it keeps the memory footprint down making more users possible on each server) * Web Cache(Oscache, Ehcache or Apache http) * Internal cache(Eh distributed cache) * Clustering(simple web server clustering with apache http/loadbalancer/tomcat) o Would Jetty be better? Are there something we have forgotten? Have other point to pick out? Should we investigate terracotta also(seems they integration are working now)? Cache, Cache, Cache. if you're running any high volume/traffic sites, you absolutely need to leverage caching to get any amount of scalability. This goes for ANY web framework and not just wicket. readup on some of the published whitepapers for high traffic sites (flickr is a great case study) to see how they do it. Try to have the server-side as stateless as possible. If the state is at the client, any server can handle the requests without exchanging state. See http://cwiki.apache.org/WICKET/stateless-pages.html for a short intro. It will change the way you write your project, but keeping state server-side can be disastrous for real performance. Regards, Daan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running a huge wicket site(1m + users)
On 16 jul 2008, at 09:54, Nino Saturnino Martinez Vazquez Wael wrote: Daan van Etten wrote: On 16 jul 2008, at 04:49, Ryan Sonnek wrote: On Tue, Jul 15, 2008 at 8:54 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: We are having the potential fun of running a site with around 1 million users, and a lot more over time. What could be great optimizing points? [..] Cache, Cache, Cache. if you're running any high volume/traffic sites, you absolutely need to leverage caching to get any amount of scalability. This goes for ANY web framework and not just wicket. readup on some of the published whitepapers for high traffic sites (flickr is a great case study) to see how they do it. Try to have the server-side as stateless as possible. If the state is at the client, any server can handle the requests without exchanging state. See http://cwiki.apache.org/WICKET/stateless-pages.html for a short intro. It will change the way you write your project, but keeping state server-side can be disastrous for real performance. Yeah I know, problem are that our application are ajax heavy, and stateless and ajax does not cope well I've heard.. Maybe not within Wicket, I know too little of Wicket to draw a valid conclusion on that. But it is definitely possible. Look for example at the SproutCore development model. They create their application in Javascript and do requests to the backend to get records, save records, etc. Their application runs in the browser, making the server more like a stateless backend (from what I understood of SproutCore). I know it's possible (and done before) to build a Javascript application (or even desktop) that way. Regards, Daan van Etten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running a huge wicket site(1m + users)
Hi Martijn, On 16 jul 2008, at 10:19, Martijn Dashorst wrote: It is exactly the opposite: keeping state serverside increases performance. It makes it more expensive to scale out, but that is about it. Can you elaborate a bit on your first statement? You need a lot of data-juggling for many clients, so I'd love to learn why it gives higher performance at the server. In my opinion it depends on your use case, but in high-load environments I'd suggest to keep the state at the client. Sessions stored server-side not only make it more expensive to scale out, but you're going to hit the performance ceiling much sooner than with sessions at the client. Regards, Daan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running a huge wicket site(1m + users)
On 16 jul 2008, at 11:34, Martijn Dashorst wrote: On Wed, Jul 16, 2008 at 10:33 AM, Daan van Etten [EMAIL PROTECTED] wrote: Can you elaborate a bit on your first statement? You need a lot of data-juggling for many clients, so I'd love to learn why it gives higher performance at the server. What is this data juggling you talk of? If you use sticky sessions (which is really necessary for any serious web application IMO) there should not be any data juggling. But if you need failover, you need a buddy system, because session sharing across multiple clusters is not that desirable or fast. You eliminate the necessary data-juggling by using an inferior way of failover. Because you need more memory and more processing power and LAN traffic to keep the state synchronized, you simply need more iron to serve your web application. So, you need to scale out to larger clusters earlier. It's cheaper and faster to keep the state at the client. In my opinion it depends on your use case, but in high-load environments I'd suggest to keep the state at the client. As long as you have 1 page that uses the server as an RPC service, this works. WHen you have to transfer state between different pages you'd rather keep the state on the server. Imagine posting 1MB of client side state to the server, and then sending it back (happened with a .net app). So don't use multiple pages. Make your applications without complete page refreshes. Replace parts of your functionality, like panel replacing in Wicket. When you've fetched that panel once, cache it at the client (if done right, browsers do this for you automatically). The server thus only gives data or (static) JS/HTML. Transfer client- fetched data in a format like JSON, which is easily compressed and can be fetched stateless. The server just 'dumbly' returns data, much like a session-less DB-server. It's even possible to aggressively cache these responses in the browser, on downstream servers and/or on the server. This is exactly what GMail does, after your initial session. It seems to work for them... :-) GMail is one of the snappiest web apps out there. Google does complete page refreshes, but probably only because it is 90% search result data. Full page refreshes can also be cached, but only if they're stateless. Sessions stored server-side not only make it more expensive to scale out, but you're going to hit the performance ceiling much sooner than with sessions at the client. What performance ceiling are you talking about? There is no performance penalty for storing state on the server, as long as you don't have to synchronize it with other servers. Otherwise it is just using memory, and functions as a good cache. To minimize clustering overhead most folks choose sticky sessions with a buddy system for failover. As long as you don't have many visitors, you never will hit the performance ceiling. As soon as you need more than one server, you have to solve the session problem by limiting the synchronization of state or other workarounds. With a buddy system, you only have limited failover. It doesn't work with two independent data centers, unless you continuously want to push session state around. Really, with 1 million users, and (guessing) 10.000-20.000 concurrent visitors, you really don't want to store all that session state. It will slow things down. An interesting link: http://davidvancouvering.blogspot.com/2007/09/session-state-is-evil.html Regards, Daan van Etten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]