TabbedPanel no IModel?
Hello, I need to use LoadableDetachableModel to retrieve list from the database when locale has been changed. I haven't found a costructor that took IModel as a parameter in the TabbedPanel component. How is it possible to reload the list without model? Thank you in advance
Re: TabbedPanel no IModel?
yes that component isnt nicely written, the tabs field should be a model (make a jira entry for this) but from the outside you can use: public final ListITab getTabs() { return tabs; } to add or remove tabs. That is the same list as you give the constructor So you could use that as your model object Just have your own kind of List impl and fill that up dynamically johan On Fri, Nov 27, 2009 at 10:54, Gatos ega...@gmail.com wrote: Hello, I need to use LoadableDetachableModel to retrieve list from the database when locale has been changed. I haven't found a costructor that took IModel as a parameter in the TabbedPanel component. How is it possible to reload the list without model? Thank you in advance
Re: Wicket tester test coverage
zedros wrote: I saw it, but we're using guice (when, it wouldn't be a show stopper in the end). Still, on the technical side, there's also this issue with selenium using mostly id, whereas wicket'ids change with each request... How do you solve this issue ? If the element is not in a loop, just specify the HTML ID in the template. If it is in a loop, use xpath. zedros wrote: on a broader picture, my main question was about the way you proceed, Do you test every page, including every validator or.. ? If doing so, for pages that quite often are then not touched much, i would fear the time needed for proper testing quite hard to justify. Am i wrong here ? I test my code based on risk. If it is the code that is frequently use, has a high impact if it breaks, or is likely to contain bugs, I'll test it more thoroughly. - -- 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-tp26505428p26541425.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
Wicket based open source projects
Hello, Is there any wicket based Open Source projects? Thank you
Re: Wicket based open source projects
http://lmgtfy.com/?q=wicket+based+open+source+projects Results in: http://cwiki.apache.org/WICKET/#Index-WhoisusingWicket On Fri, Nov 27, 2009 at 2:53 PM, Gatos ega...@gmail.com wrote: Hello, Is there any wicket based Open Source projects? Thank you -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
yes, I'm working in one, but this still in the beginning http://code.google.com/p/base2dev/ the idea is a base project, (like appfuse ) but with ddd and of course wicket Matias Berrueta On Fri, Nov 27, 2009 at 10:53 AM, Gatos ega...@gmail.com wrote: Hello, Is there any wicket based Open Source projects? Thank you
Re: Wicket based open source projects
Sure! I know at least Hippo CMS (http://www.onehippo.com/en/home) JTrac ( http://www.jtrac.info/) Regards, Pierre On Fri, Nov 27, 2009 at 2:53 PM, Gatos ega...@gmail.com wrote: Hello, Is there any wicket based Open Source projects? Thank you -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - 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
Localize a string using custom locale
Hello, For example I need to localize a string to defferent languages. How is it possible to localize using a custom locale? I found that a method in Localizer class, but it's deprecated: public String getString(final String key, final Component component, final IModel model, final Locale locale, final String style, final String defaultValue) Thank you.
Re: Localize a string using custom locale
Just override getLocale in your component and use one of non-deprecated Localizer methods. 2009/11/27 Gatos ega...@gmail.com Hello, For example I need to localize a string to defferent languages. How is it possible to localize using a custom locale? I found that a method in Localizer class, but it's deprecated: public String getString(final String key, final Component component, final IModel model, final Locale locale, final String style, final String defaultValue) Thank you.
Re: WicketSessionFilter and several domains
Bas, Thanks. I havent checked this behavior with other browsers. I will. What do you think is the best solution or approach to this problem? Fernando On Fri, Nov 27, 2009 at 7:36 AM, bgooren b...@iswd.nl wrote: Given your detailed explanation, I think the problem is clear: your browser (and thus the flash client as well) is protected so it can only use cookies _for the same domain_. So if you load a flash movie from .com.ar and have it connect to a .com, it will not use the cookie(s) it got from the .com.ar; So what you are seeing is expected behavior. Bas Fernando Wermus-2 wrote: Bas, I will try to explain what it is going on with this scenario (anyway I think you understood). 1. an user logs in the site using .com.ar 2. the user gets a flex component in the site's page. The flex component is compiled to point to .com services. 3. the flex component asks a specific service to the back-end which consults if this user has a wicket session, it fails. The user has never change the tab which is using. He has a cookie because he is accessing to the site using the same tab. Thus, it shouldnt have been any problem. On the another hand, I have set up the server with two dns manager, one for each domain. --- | a page (from .com.ar) | | | | -- | || a flex component | | || (connects .com) | | --- MessageBrokerServlet, flex component back end, which needs wicketSessionFilter to verify user authentication. WicketSessionServletFilter which injects the session into MessageBrokerServlet. WicketFilter. flex client --- MessageBrokerServlet through .com the page WicketFilter through .com.ar I know the cookie should be the same because they are in the same tab, but it is also truth that they connect using differents domains. The message log4j sends to me it is clear. It couldnt reach the session. Thanks anyway. -- View this message in context: http://old.nabble.com/WicketSessionFilter-and-several-domains-tp26502429p26539906.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 -- Fernando Wermus. www.linkedin.com/in/fernandowermus
Re: Wicket based open source projects
It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - 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: Can I Suppress Type Conversion Feedback Messages?
Igor - Thanks for the speedy responses. As I understand it, convertInput()'s main mission is to populate the convertedInput instance variable with the converted value, and overriding it as you suggest would be trivial. Just to be sure though, you don't foresee any change in Wicket internals that would make this solution obsolete, inadequate, or otherwise incorrect? Thanks, Keith On Nov 27, 2009, at 1:19 AM, Igor Vaynberg wrote: override convertinput() on that textfield and do not throw a conversion exception -igor On Thu, Nov 26, 2009 at 6:26 PM, Keith Bennett keithrbenn...@gmail.com wrote: Hi all... We have a form that has a table, and the table has a column that is populated with TextFieldInteger's. When there are nonnumeric characters in several of these fields, we get an error message in the feedback panel for each offending field. We'd rather combine them into a single message saying something like n Solicitation Number fields contained nonnumeric characters. I know how to create the combined message, but how can I suppress the individual ones? Thanks, Keith --- Keith R. Bennett Senior Software Consultant Linked In: http://www.linkedin.com/in/keithrbennett Blogs: http://krbtech.wordpress.com, http://keithrbennett.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
+1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - 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: Wicket based open source projects
Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - 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 -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: WicketSessionFilter and several domains
There are serveral options; The easiest is probably to append the sessionId to the URL you are accessing from the flash file; If that is not an option, host both the flash and the website on the same domain. Cross-domain issues are a hassle ;-) What's your reason for working with two domain names anyway? Bas Fernando Wermus-2 wrote: Bas, Thanks. I havent checked this behavior with other browsers. I will. What do you think is the best solution or approach to this problem? Fernando -- View this message in context: http://old.nabble.com/WicketSessionFilter-and-several-domains-tp26502429p26543760.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
Re: Wicket based open source projects
My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.comwrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - 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 -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.comwrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 based open source projects
What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.comwrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RadioGroup, Radio and AjaxFormComponentUpdatingBehavior
I try to add a AjaxFormComponentUpdatingBehavior to a RadioGroup. The RadioGroup contains some Radio-Components. Now, when I click onto any Radio, nothing happens. The RadioGroup AjaxFormComponentUpdatingBehavior does not see the click onto a Radio. But I can't add a AjaxFormComponentUpdatingBehavior to the Radio-Components inside of the RadioGroup. Radio-Components are no FormComponents. Any Idea? Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
I guess JTrac should do it, it's not that big project like the others. 2009-11-27 16:34 keltezéssel, Juri Prokofiev írta: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.comwrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 based open source projects
+1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.comwrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos
Re: Adding a User Object to the Component Class
Igor Martijn - Thanks for all the information. I didn't know about the existence of metadata in the various classes; that's what I was looking for. I have a question about the metadata implementation. The javadoc indicates that the special MetaDataKey approach (rather than using a plain Map) is necessary because object identity will not work due to serializations and deserializations. However, although Object's equals() tests for identity, other classes override it for tests of logical equality. So why isn't it possible to use a regular Map and rely on the programmer to provide an appropriate equals() for custom classes? Thanks, Keith On Nov 27, 2009, at 2:55 AM, Igor Vaynberg wrote: datatable.setmetadata(mykey, myobject); .. somewhere in a component under datatable public mytype findreference() { datatable table=findparent(datatable.class); return table.getmetadata(mykey); } -igor On Thu, Nov 26, 2009 at 11:02 PM, Keith Bennett keithrbenn...@gmail.com wrote: Igor - Thanks for responding. The User solution would work where all components would share the same reference, but I need each table would have its own reference. Also, I was thinking it would be nice for each component to have its own Object. I realize I could have been clearer about that. Thanks, Keith On Nov 27, 2009, at 1:16 AM, Igor Vaynberg wrote: create your own subclass of websession that holds the user and then anywhere within a wicket request you can get to it via: ((MySession)Session.get()).getUser() -igor On Thu, Nov 26, 2009 at 6:20 PM, Keith Bennett keithrbenn...@gmail.com wrote: All - I'm coding a Wicket table and would like all the components in the table to have access to a specific reference. Another framework I worked with a very long time ago (Vermont Views, I believe) addressed this by providing a user pointer in the class that could be used for any purpose the programmer wanted. It was a void * in C; in Java it would be an Object reference. What do you think about adding this to Wicket's Component class, and maybe even others, like Page, Form, etc.? Thanks, Keith --- Keith R. Bennett Senior Software Consultant Linked In: http://www.linkedin.com/in/keithrbennett Blogs: http://krbtech.wordpress.com, http://keithrbennett.wordpress.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: Wicket based open source projects
https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos
Re: Localize a string using custom locale
http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html Matias Berrueta On Fri, Nov 27, 2009 at 11:59 AM, Marat Radchenko slonopotamusor...@gmail.com wrote: Just override getLocale in your component and use one of non-deprecated Localizer methods. 2009/11/27 Gatos ega...@gmail.com Hello, For example I need to localize a string to defferent languages. How is it possible to localize using a custom locale? I found that a method in Localizer class, but it's deprecated: public String getString(final String key, final Component component, final IModel model, final Locale locale, final String style, final String defaultValue) Thank you.
Re: Wicket based open source projects
IMHO Wicket-phonebook is a very good code reading. But it's done. Next! :-) On Fri, Nov 27, 2009 at 4:51 PM, Matias Berrueta matiasberru...@gmail.comwrote: https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
RE: RadioGroup, Radio and AjaxFormComponentUpdatingBehavior
I should have asked google first. AjaxFormChoiceComponentUpdatingBehavior does ist! Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
Phonebook is a good example. It's not a product or a public site, it's an open source site. Matias Berrueta, reinventing the wheel is really a good way to understand how does it work, but it's not guaranteed that your architecture is better than any other. I wish to see how to combine OSGi + Hibernate + Wicket, I haven't managed :-) On Fri, Nov 27, 2009 at 5:51 PM, Matias Berrueta matiasberru...@gmail.comwrote: https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos
Re: Wicket based open source projects
sorry, i don't say that must reinventing any wheel (sorry if my English is not good) I think that the best way , is take a book, (like domain driven design ) and tutorials, and start you project. If you take another open source project, you are accepting that this is a good architecture, Of course, you can take any , but this don't work for me. is only my opinion Matias Berrueta On Fri, Nov 27, 2009 at 1:04 PM, Gatos ega...@gmail.com wrote: Phonebook is a good example. It's not a product or a public site, it's an open source site. Matias Berrueta, reinventing the wheel is really a good way to understand how does it work, but it's not guaranteed that your architecture is better than any other. I wish to see how to combine OSGi + Hibernate + Wicket, I haven't managed :-) On Fri, Nov 27, 2009 at 5:51 PM, Matias Berrueta matiasberru...@gmail.comwrote: https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos
Re: Wicket based open source projects
Maybe this will be of some help then http://code.google.com/p/antilia/ http://code.google.com/p/antilia/There is a small demo application you can try. http://code.google.com/p/antilia/wiki/GettingStarted Best, Ernesto On Fri, Nov 27, 2009 at 5:04 PM, Gatos ega...@gmail.com wrote: Phonebook is a good example. It's not a product or a public site, it's an open source site. Matias Berrueta, reinventing the wheel is really a good way to understand how does it work, but it's not guaranteed that your architecture is better than any other. I wish to see how to combine OSGi + Hibernate + Wicket, I haven't managed :-) On Fri, Nov 27, 2009 at 5:51 PM, Matias Berrueta matiasberru...@gmail.comwrote: https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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 -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos
Portlet RequestCycle logRuntimeException
I'm using wicket 1.4.1 for developing portlets on liferay 5.2.5 jboss 4.2.3. In my portlet on a page I have three DataView-es each with its own page navigation. I overrided PagingNavigation, PagingNavigator, PagingNavigationLink and PagingNavigationIncrementLink to be able to give paging navigator custom looks and some extra functionalities. I never had any exceptions or errors happening during testing. But when big number of requests is sent to portlet by automatic load tester, sometimes in jboss server.log apears strange exception. Does anybody have any idea what could cause this? I see that org.apache.wicket.protocol.http.request.InvalidUrlException is thrown, but I can not reproduce the error no matter what I changed in URL by hand in browser. Whole stack trace is in the attachment. If some parts of source code is neede I can send it. 2009-11-27 04:08:21,485 ERROR [STDERR] Nov 27, 2009 4:08:21 AM org.apache.wicket.RequestCycle logRuntimeException SEVERE: org.apache.wicket.WicketRuntimeException: component spotNavigator:navigation:2:pageLink not found on page hr.vipnet.ss.SpotSearchPage2[id = 1], listener interface = [RequestListenerInterface name=ILinkListener, method=public abst ract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: component spotNavigator:navigation:2:pageLink not found on page hr.vipnet.ss.SpotSearchPage2[id = 1], listener interface = [RequestLis tenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) 2009-11-27 04:08:21,485 ERROR [STDERR] Nov 27, 2009 4:08:21 AM org.apache.wicket.RequestCycle logRuntimeException SEVERE: org.apache.wicket.WicketRuntimeException: component spotNavigator:navigation:2:pageLink not found on page hr.vipnet.ss.SpotSearchPage2[id = 1], listener interface = [RequestListenerInterface name=ILinkListener, method=public abst ract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: component spotNavigator:navigation:2:pageLink not found on page hr.vipnet.ss.SpotSearchPage2[id = 1], listener interface = [RequestLis tenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:329) at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:115) at org.apache.wicket.protocol.http.portlet.WicketPortlet.processRequest(WicketPortlet.java:591) at org.apache.wicket.protocol.http.portlet.WicketPortlet.processAction(WicketPortlet.java:521) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:81) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:57) at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at
Re: Portlet RequestCycle logRuntimeException
Hi! We get something similar often on our production site: http://osdir.com/ml/users-wicket.apache.org/2009-11/msg00825.html I am not sure, but maybe more often when bots (googlebot,msnbot) visit our site. It might have something to do with state? I am curious if anybody finds out what's going on. ** Martin 2009/11/27 Goran Novak gnovak@gmail.com: I'm using wicket 1.4.1 for developing portlets on liferay 5.2.5 jboss 4.2.3. In my portlet on a page I have three DataView-es each with its own page navigation. I overrided PagingNavigation, PagingNavigator, PagingNavigationLink and PagingNavigationIncrementLink to be able to give paging navigator custom looks and some extra functionalities. I never had any exceptions or errors happening during testing. But when big number of requests is sent to portlet by automatic load tester, sometimes in jboss server.log apears strange exception. Does anybody have any idea what could cause this? I see that org.apache.wicket.protocol.http.request.InvalidUrlException is thrown, but I can not reproduce the error no matter what I changed in URL by hand in browser. Whole stack trace is in the attachment. If some parts of source code is neede I can send it. 2009-11-27 04:08:21,485 ERROR [STDERR] Nov 27, 2009 4:08:21 AM org.apache.wicket.RequestCycle logRuntimeException SEVERE: org.apache.wicket.WicketRuntimeException: component spotNavigator:navigation:2:pageLink not found on page hr.vipnet.ss.SpotSearchPage2[id = 1], listener interface = [RequestListenerInterface name=ILinkListener, method=public abst ract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: component spotNavigator:navigation:2:pageLink not found on page hr.vipnet.ss.SpotSearchPage2[id = 1], listener interface = [RequestLis tenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) - 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: WicketSessionFilter and several domains
Bas, The site is regional. It is for LATAM. I will try to append the session id to the flash post. thanks On Fri, Nov 27, 2009 at 1:17 PM, bgooren b...@iswd.nl wrote: There are serveral options; The easiest is probably to append the sessionId to the URL you are accessing from the flash file; If that is not an option, host both the flash and the website on the same domain. Cross-domain issues are a hassle ;-) What's your reason for working with two domain names anyway? Bas Fernando Wermus-2 wrote: Bas, Thanks. I havent checked this behavior with other browsers. I will. What do you think is the best solution or approach to this problem? Fernando -- View this message in context: http://old.nabble.com/WicketSessionFilter-and-several-domains-tp26502429p26543760.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 -- Fernando Wermus. www.linkedin.com/in/fernandowermus
Getting an Application Property Without a Component
I'd like to be able to access a property in my application properties file (e.g. MyApplication.properties) during the construction of a table column (implementation of IColumn). IColumn is not a Component, so I don't have a get() method for this. Since I can get an instance of the application ((MyApplication) MyApplication.get()), I was hoping to get a property that way. I can't though; so far the only way I've been able to think of was to create a dummy component for the sole purpose of calling its get() method on the property key. Is there a better way? Thanks, Keith - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Getting an Application Property Without a Component
for example have a look at the StringResourceModel implementation. (getLocalizer) Application.get().getResourceSettings().getLocalizer().getString(..) cheers gab Keith Bennett wrote: I'd like to be able to access a property in my application properties file (e.g. MyApplication.properties) during the construction of a table column (implementation of IColumn). IColumn is not a Component, so I don't have a get() method for this. Since I can get an instance of the application ((MyApplication) MyApplication.get()), I was hoping to get a property that way. I can't though; so far the only way I've been able to think of was to create a dummy component for the sole purpose of calling its get() method on the property key. Is there a better way? Thanks, Keith - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org !DSPAM:4b108c1b241219629497355! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket based open source projects
We wrote a simple pastebin (http://mysticpaste.com) that showed putting a lot of the Wicket pieces together along with several blog articles ... and we even showed an upgrade from 1.3 - 1.4 (admittedly small code base so very easy to do) ... here's the article start: http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket/ the articles are brief, and the code should be fairly easy to read. it's a *smallish* app for sure. On Nov 27, 2009, at 7:23 AM, Gatos wrote: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.comwrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - 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 -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.
Logout on Internet Explorer (IE) causes 404
Internet Explorer and Android browser both report a 404 on execution of my logout link: Link logoutLink = new Link( logoutLink ) { @Override public void onClick() { getsession().invalidate(); getRequestCycle().setRedirect( true ); setResponsePage( HomePage.class ); } }; Using wicket 1.4.3 Anyone know what happened with this? I'm experiencing this problem where we use the root context (ie: production): http://issues.apache.org/jira/browse/WICKET-1449 --pete