Re: [Wicket-user] comment about spring interation
On Tue, 2005-11-29 at 23:55 -0800, Igor Vaynberg wrote: maybe a static factory method in the page is the cleanest solution. public class MyPage extends WebPage { private MyPage(String param) { } public static MyPage(String param) { return new MyPage(param); } public static MyPageInjected(String param) { MyPage p=new MyPage(param); SpringInjector.inject(p); return p; } } in conjunction with setters/getters this can be used cleanly in both testcases and code. its a little more code, but it is very clean. i'm not sure if this solves the issue Christian brought up. That is, a case where the injected dependency is needed in a constructor: public class MyPage extends WebPage { private MyPage(String param) { contactDao.findAll(); } // static factories } In spring this kind of situation is typically solved using either constructor injection or InitializingBean callback. But both ways are difficult to implement in wicket since they would make wicket one step closer to become a managed framework. Or did I misundersood something? -- Joni Suominen [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] New Wicket-contrib-dojo release
If you wan't to contribute, feel free to do so. :) Erm... he doesn't have commit rights? :) I think it is an open RFE to upgrade this js files, right? Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] New Wicket-contrib-dojo release
yes, did not htink about that... please request a build and we will be able to update it. Marco Eelco Hillenius wrote: If you wan't to contribute, feel free to do so. :) Erm... he doesn't have commit rights? :) I think it is an open RFE to upgrade this js files, right? Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
RE: [Wicket-user] Trying to be clever with a ListView
As we say in Australia - you little ripper mate. listItem.setRenderOnly(true) did it. Thanks mate Kevin From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 November 2005 3:50 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Trying to be clever with a ListView Maybe i dont understandadd(new Label("label", "test").setRenderBodyOnly(true));span wicket:id="label"[label]/spanwill render as testinstead of span wicket:id="label"test/spanisnt that what you want? also dont forget to call it on listitems in listview.populate()-Igor On 11/29/05, Vinsen, Kevin [EMAIL PROTECTED] wrote: Nah removed the wicket:blah tags, but I need to remove the actual spans Kevin From: Igor Vaynberg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 30 November 2005 3:33 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Trying to be clever with a ListView if you call setRenderBodyOnly(true) on components, they will not render tags they are attached to. should fix your problem.-Igor DISCLAIMER:--- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. -- DISCLAIMER:--- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. --
RE: [Wicket-user] New Wicket-contrib-dojo release
I have it working Dojo Dropdown's (thanks to Igor for the magic listItem.setRenderBodyOnly(true)) I did a bit of an ugly cludge to save me having to go new PageLink(link, Blah) - I've create a MenuLink extends Link I can convert it to JDK1.4.2 easy enough. Who shoud I send the code to? We'd also need to restructure the dojo-contrib slightly to get the javascript to work Kevin -Original Message- From: Marco van de Haar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 November 2005 5:49 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] New Wicket-contrib-dojo release yes, did not htink about that... please request a build and we will be able to update it. Marco Eelco Hillenius wrote: If you wan't to contribute, feel free to do so. :) Erm... he doesn't have commit rights? :) I think it is an open RFE to upgrade this js files, right? Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user DISCLAIMER:--- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. -- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] New Wicket-contrib-dojo release
you can mail it either to me, [EMAIL PROTECTED], or to [EMAIL PROTECTED] I am sorry to say that we are currently up to our necks in fixing annoying bugs, wrestling with sourceforge, and writing our graduation report. I expect that we will not have time to add and especialy to restructure right now. but if you mail what has to be done, we can see when we can, or maybe some other wicket-stuff contributer could handle it? Sorry for the inconvenience, Marco Ruud Vinsen, Kevin wrote: I have it working Dojo Dropdown's (thanks to Igor for the magic listItem.setRenderBodyOnly(true)) I did a bit of an ugly cludge to save me having to go new PageLink(link, Blah) - I've create a MenuLink extends Link I can convert it to JDK1.4.2 easy enough. Who shoud I send the code to? We'd also need to restructure the dojo-contrib slightly to get the javascript to work Kevin -Original Message- From: Marco van de Haar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 November 2005 5:49 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] New Wicket-contrib-dojo release yes, did not htink about that... please request a build and we will be able to update it. Marco Eelco Hillenius wrote: If you wan't to contribute, feel free to do so. :) Erm... he doesn't have commit rights? :) I think it is an open RFE to upgrade this js files, right? Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user DISCLAIMER:--- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. -- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] contrib-dojo render problem
We've released a SNAPSHOT release of wicket-contrib-dojo, which is not much more then our 0.3 release with a few fixes: -maven building should work now for both contrib-dojo and contrib-dojo-examples -the examples WAR file should be deployable in a Jetty instance now -FXValidationAjaxHandler should work with all wicket FormComponents now but the reason we have released this is because we have a render problem with FXFeedbackIndicator. When I import the examples app in eclipse it has a dependency on wicket-contrib-dojo-0.3.jar (this should work). When I launch the app, and go to the 'Our Validation Examples' page. When I enter an in valid value in the first textfield (anything longer then 5 chars) and I submit the form, I should see our indicator next to the textfield, but instead I get the following error: wicket.WicketRuntimeException: The component(s) below failed to render: 1. [Component id = image, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:image.Image, isVisible = true, isVersioned = true] 2. [MarkupContainer [Component id = feedbacktooltip, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip.Tooltip, isVisible = true, isVersioned = true]] 3. [MarkupContainer [Component id = tooltipPanel, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:tooltipPanel.FXFeedbackTooltip, isVisible = true, isVersioned = true]] 4. [MarkupContainer [Component id = feedbackpanel, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:tooltipPanel:feedbackpanel.FXTooltipFeedbackPanel, isVisible = true, isVersioned = false]] 5. [MarkupContainer [Component id = feedbackul, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:tooltipPanel:feedbackpanel:feedbackul.FXTooltipFeedbackPanel$2, isVisible = true, isVersioned = false]] 6. [MarkupContainer [Component id = messages, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:tooltipPanel:feedbackpanel:feedbackul:messages.FXTooltipFeedbackPanel$MessageListView, isVisible = true, isVersioned = false]] 7. [MarkupContainer [Component id = 0, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:tooltipPanel:feedbackpanel:feedbackul:messages:0.ListItem, isVisible = true, isVersioned = false]] 8. [Component id = message, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:tooltipPanel:feedbackpanel:feedbackul:messages:0:message.Label, isVisible = true, isVersioned = false] 9. [MarkupContainer [Component id = iframe, page = wicket.contrib.dojo.examples.ValidationTestPage, path = 1:testform:indicator:feedbacktooltip:iframe.WebMarkupContainer, isVisible = true, isVersioned = true]] (This is our FXFeedbackIndicator, it contains the image) This does not happen when I make the examples project depend on the wicket-contrib-dojo project instead of the jar (although the jar is built from that project.). Then the page displays correctly. What are we doing wrong? you can download the files at : http://sourceforge.net/project/showfiles.php?group_id=134391package_id=164293 or checkout wicket-contrib-dojo and wicket-contrib-dojo-examples from cvs. Marco Ruud --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Adding Support for optgroup
I haven't had a chance to use it yet. I'm swamped with some other stuff I need to do. Sorry--AndrewOn 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote:any feedback on this yet? if not, i guess i will polish it with its current feature set and that will be that. -IgorOn 11/23/05, Andrew Berman [EMAIL PROTECTED] wrote: I should've known On 11/23/05, Igor Vaynberg [EMAIL PROTECTED] wrote: your wish is my command. now you just have to wait a few hours until anon cvs syncs.-IgorOn 11/23/05, Andrew Berman [EMAIL PROTECTED] wrote:I won't be able to give it a shot until it works with HEAD as I've made the switch already and am using 1.2 specific stuff. Once it is compatible with HEAD, I'll check it out. --AndrewOn 11/23/05, Igor Vaynberg [EMAIL PROTECTED] wrote: just checked in my first pass at this so you guys can check it out and give me feedback. i had to check it into wicket_1_1 branch because component reference doesnt work in head yet. i also put the new components into extensions because the core is getting too crowded imho. if people want me to move it into core we can discuss that separately. the components are in wicket.extensions.markup.html.form.select package. and the examples are in component reference on the bottom of the form section.these components give you pretty much total control of how the select/option/optgroup tags are rendered. there is a convinience SelectOptions class that will create a quick list of options like the current choice components do. this one uses IOptionRenderer instead of IChoiceRenderer since it uses the actual model object instead of a string id. see the examples. -IgorOn 11/22/05, Mark Derricutt [EMAIL PROTECTED] wrote: Something along those lines yeh.On 11/23/05, Igor Vaynberg [EMAIL PROTECTED] wrote: so you want to specify the optgroup tags in your model? something likeclass Category { String name; List choices }and provide ListCategory as the model? so that the name of categories become optgroup tags?
Re: [Wicket-user] Adding Support for optgroup
On 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote: any feedback on this yet? if not, i guess i will polish it with its current feature set and that will be that. Is it in HEAD now? I've already switched to 1.2 :( Cheers, -- Davide Savazzi --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Adding Support for optgroup
yes it is in head, and also in 1.1 branch.-IgorOn 11/30/05, Davide Savazzi [EMAIL PROTECTED] wrote:On 11/30/05, Igor Vaynberg [EMAIL PROTECTED] wrote: any feedback on this yet? if not, i guess i will polish it with its current feature set and that will be that.Is it in HEAD now? I've already switched to 1.2 :( Cheers,--Davide Savazzi---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://ads.osdn.com/?ad_idv37alloc_id865opclick___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] contrib-dojo render problem
Maybe it's in a cache somewhere locally, or you build it without issues maven clean first (which you should always do in order to have a clean build). To fix it: test with a SNAPSHOT first. If that works and you don't want to make a new release (/and/ you didn't upload the version anywhere yet, because otherwise you should make a new version), delete the jar from your local maven repo, issue maven clean jar:install on the project and go for it. Eelco (This is our FXFeedbackIndicator, it contains the image) This does not happen when I make the examples project depend on the wicket-contrib-dojo project instead of the jar (although the jar is built from that project.). Then the page displays correctly. What are we doing wrong? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] JavaOne 2006 - Wicket presentation?
If you were able to go to JavaOne, and was deciding which framework to use, and one of the presentations is about Wicket, what kind of information do you want to hear so you would give it a try? Or even better, what kind of info are you looking for in the program so you attend such a session? I'm in the process to submit a proposal to the JavaOne committee, and I could use this information to streamline the proposal... Deadline is today. Thanks, Martijn -- Living a wicket life... Martijn Dashorst - http://www.jroller.com/page/dashorst Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] JavaOne 2006 - Wicket presentation?
Just out of my head: - ease of development - basic CRUD app with Spring/Hibernate or EJB3 - how to test - AJAX support - in light of this comparison to Tapestry and JSF Hope you get more feedback, Christian On Wed, 30 Nov 2005 20:48:04 +0100, Martijn Dashorst [EMAIL PROTECTED] wrote: If you were able to go to JavaOne, and was deciding which framework to use, and one of the presentations is about Wicket, what kind of information do you want to hear so you would give it a try? Or even better, what kind of info are you looking for in the program so you attend such a session? I'm in the process to submit a proposal to the JavaOne committee, and I could use this information to streamline the proposal... Deadline is today. Thanks, Martijn -- Living a wicket life... Martijn Dashorst - http://www.jroller.com/page/dashorst Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] JavaOne 2006 - Wicket presentation?
I'd like to see a big picture overview of how it works and what's required from the development standpoint. And I'm actually talking about pictures and graphics. On 11/30/05, Martijn Dashorst [EMAIL PROTECTED] wrote: If you were able to go to JavaOne, and was deciding which framework to use, and one of the presentations is about Wicket, what kind of information do you want to hear so you would give it a try? Or even better, what kind of info are you looking for in the program so you attend such a session? I'm in the process to submit a proposal to the JavaOne committee, and I could use this information to streamline the proposal... Deadline is today. Thanks, Martijn -- Living a wicket life... Martijn Dashorst - http://www.jroller.com/page/dashorst Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865opclick ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] new user
I have some Java application development experience, but my web development experience is very small (mainly just a few simple servlets). At my new job I am tasked with translating an architecturally simple ASP.NET application to J2EE (the company wants to standardize on Java). Im working alone, and have a lot of freedom in the tools and frameworks I choose. To make my job as easy as possible, Im trying to make a wise trade-off between the time spent learning a new framework (I have no experience in any of them) versus the time spent coding. Im especially eager to minimize the time I spend wading through HTML code, as my experience there is also thin. Wicket sounds like a good approach said to be easier to learn and use than JSP/Struts or JSF; and I could cannibalize the html generated by the ASP.NET pages, insert Wicket id attributes, and then work mostly with what I know best POJOs. Do you think this is a good approach? The first thing I need to do is set up my development environment. Is there an installation guide for Wicket? From the FAQ I read that Java 1.5 SDK is not supported; I suppose I can use any IDE I please as long as I can select or install a Java 1.4.x SDK for development, right? Are there any restrictions on the version of Tomcat I can use? Should I install the latest stable version (Tomcat 5.5), or is there some reason I need an older version? Other than Tomcat and the Java SDK, are there any other tools that must be downloaded separately from the Wicket download?
Re: [Wicket-user] comment about spring interation
Thanks for the tip. I'll use this when my constructors get too long. Christian On Wed, 30 Nov 2005 09:47:42 +0200, Joni Suominen [EMAIL PROTECTED] wrote: Unfortunately the instrumentation does not help here. I'm using getters at constructors to overcome this issue. public class MyPanel extends Panel { @SpringBean private ContactDao contactDao; public MyPanel(String id) { super(id); ListContact contacts = getContactDao().findAll(); // add a TextField for each contact } protected ContactDao getContactDao() { return contactDao; } } In test class I test through a stub implementation which provides the dependency in getter: public class MyPanelStub extends MyPanel { @Override protected ContactDao getContactDao() { return new ContactDaoStub(); } } -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] new user
Hi Frank, I don't think there are any limitations regarding which version of Tomcat you can use. I'm currently using it with Java 5 and Tomcat 5.x and haven't had any problems. My IDE is IDEA, but you should be fine with anything. I started using Wicket after coming over from building a number of large applications with Struts. The learning curve was steep, but well worth it. I'm told that Wicket is much easier to learn if you have experience building Swing applications. The downside with Wicket is the lack of intro documentation, but you really need to dig through a few sample apps to get a feel for how things work. The biggest thing I had to get over was everything is in the Java class. I'm accustomed to having logic in the markup as well as the Java code - not so with Wicket. At first I thought this resulted in writing much more code than before, but it's really the same amount of code, or even less because you can viciously refactor your code, which is hard with JSPs. It's possible that you'll have some difficulty if this is your first large webapp. Not because of Wicket, but because you'll have to learn the servlet spec to figure out where to put things. But most of those questions can be asked and answered on the user list. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] new user
Hi Frank, I'm working alone, and have a lot of freedom in the tools and frameworks I choose. That's the best job :) Wicket sounds like a good approach – said to be easier to learn and use than JSP/Struts or JSF; and I could cannibalize the html generated by the ASP.NET pages, insert Wicket id attributes, and then work mostly with what I know best – POJOs. Do you think this is a good approach? Sure. Wicket is a good choice. My favorite obviously as a core developer :). You might want to check out Tapestry and JSF too. Of these JSF is the closest to ASP.NET, and Wicket will attract most to people that are code oriented and want to have their HTML templates really clean. The first thing I need to do is set up my development environment. Is there an installation guide for Wicket? From the FAQ I read that Java 1.5 SDK is not supported; I suppose I can use any IDE I please as long as I can select or install a Java 1.4.x SDK for development, right? WIcket supports Java 1.4 and up. Choose any IDE and any servlet container you want. A good place to start is with Wicket's quickstart, http://wicket.sourceforge.net/wicket-quickstart/index.html. That should you get you started, please let this list know when you run into trouble. Are there any restrictions on the version of Tomcat I can use? Should I install the latest stable version (Tomcat 5.5), or is there some reason I need an older version? Nope. You have to have JDK 1.4 or up, but that's about it. Other than Tomcat and the Java SDK, are there any other tools that must be downloaded separately from the Wicket download? The only runtime dependency you need is commons-logging (1.0.4). For compiling you need servlet-api 2.3 or up. They'll come with the quickstart project. Good luck, Eelco