Re: Need Wicket Book
I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Re: Need Wicket Book
Wicket in action! A must have! On Tue, Aug 18, 2009 at 9:26 AM, Jeroen Steenbeeke j.steenbeeke.ml@ gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Re: Need Wicket Book
I'll second that. Like so many things, documentation is something that you get what you pay for. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Aug 18, 2009 at 1:26 AM, Jeroen Steenbeekej.steenbeeke...@gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Book
Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time maintaining the framework. Best, Ernesto On Tue, Aug 18, 2009 at 8:26 AM, Jeroen Steenbeeke j.steenbeeke.ml@ gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Re: Need Wicket Book
Yes Wicket In Action is a great book, but there is an another book: Pro Wicket from Karthik Gurumurthy, which could be also helpful. Peter 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jasonsaharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Book
I have both Pro Wicket and Wicket in Action. They are all great! 2009/8/18 Major Péter majorpe...@sch.bme.hu Yes Wicket In Action is a great book, but there is an another book: Pro Wicket from Karthik Gurumurthy, which could be also helpful. Peter 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jasonsaharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Re: Need Wicket Book
10 bucks for a month? What country do you come from? Just curious :D cvl Ernesto Reinaldo Barreiro wrote: Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time maintaining the framework. Best, Ernesto On Tue, Aug 18, 2009 at 8:26 AM, Jeroen Steenbeeke j.steenbeeke.ml@ gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Need Wicket Book
I liked the book Enjoy Web Development with Wicket by Kent Ka Iok Tong. You can find it at http://www.agileskills2.org, the download edition is also quite affordable at 19.95 US-$. This book and Wicket in Action kind of complement one another quite well, imho. The edition I bought of Pro Wicket was based on wicket 1.2 (I have no clue if there is a newer edition) which could mean some obstacles to deal with if you're new to the subject. Hope this helps, Jens -Original Message- From: Haulyn R. Jason [mailto:saharab...@gmail.com] Sent: Tuesday, August 18, 2009 8:56 AM To: users@wicket.apache.org Subject: Re: Need Wicket Book I have both Pro Wicket and Wicket in Action. They are all great! 2009/8/18 Major Péter majorpe...@sch.bme.hu Yes Wicket In Action is a great book, but there is an another book: Pro Wicket from Karthik Gurumurthy, which could be also helpful. Peter 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jasonsaharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason Jens Greven Team EDV Telefon: 0251-70017-339 Telefax: 0251-70017-203 E-Mail: jgre...@pma.de [pma: ] Finanz-Service GmbH Ein Unternehmen von Pramerica Financial Münsterstr. 111 48155 Münster http://www.pma.de Geschäftsführung: Jörg Matheis, Lambert Stegemann Handelsregister: Amtsgericht Münster HRB 4256Diese Information ist ausschließlich für die adressierte Person oder Organisation bestimmt und könnte vertrauliches Material enthalten. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu setzen und das Material von Ihrem Computer zu löschen. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Wir weisen darauf hin, dass E-Mail-Nachrichten mit und ohne Zutun von Dritten verloren gehen, verändert oder verfälscht werden können. Herkömmliche E-Mails sind nicht gegen den Zugriff von Dritten geschützt und deshalb ist auch die Vertraulichkeit unter Umständen nicht gewahrt. Wir haften deshalb nicht für die Unversehrtheit von E-Mails nachdem sie unseren Herrschaftsbereich verlassen haben und können Ihnen hieraus entstehende Schäden nicht ersetzen. Sollten trotz der von uns verwendeten Virus-Schutz-Programme durch die Zusendung von E-Mails ein Virus in Ihre Systeme gelangen, haften wir nicht für eventuell hieraus entstehende Schäden. Dieser Haftungsausschluss gilt nur soweit gesetzlich zulässig. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)
Happy to help, please see further answers below. 2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com: I have several suggestions. The order of the web filters are important. You could also try with with the wicket spring managed apps, im not sure how that applies. Will check. I didn't know about filter order... Will also check it. Thanks! And are you sure that your filter ( /hibernate/*), get's hit? What's your wicket filter url, the same or? No, It's different. Can I set it to just /*? Should I do it that way? Well it depends, if the hibernate filter should be activated at the same url's as wicket. I've never had a case where my wicket filter and osiw did not match. You might have performance increases if they differ, for example if you know that you willl never use hibernate on /myapp/ but always put in /myapp/pages/dynamic/* for pages that use db lookup.. Thank you very much for your answers... 2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com: Ok. Maybe I don't understand... Let me show the situation. I have Spring + portlet + hibernate config with transactions working with the current configuration: I have my DAO objects under package com.level2crm.hibernate.enterprise.dao.contact And model under com.level2crm.model I configured one advice: tx:advice id=txAdvice transaction-manager=txManager !-- the transactional semantics... -- tx:attributes !-- all methods starting with 'get' are read-only -- tx:method name=get* propagation=REQUIRED read-only=true / !-- other methods use the default transaction settings (see below) -- tx:method name=* propagation=REQUIRED / !-- propagation=SUPPORTS -- /tx:attributes /tx:advice And several pointcuts: aop:config aop:pointcut id=allModelOperation expression=execution(* com.level2crm.model..*+.*(..))/ aop:advisor advice-ref=txAdvice pointcut-ref=allModelOperation/ /aop:config aop:config aop:pointcut id=allDAO expression=execution(* com.level2crm.hibernate.enterprise.dao..*+.*(..))/ aop:advisor advice-ref=txAdvice pointcut-ref=allDAO/ /aop:config aop:config aop:pointcut id=TRG expression=execution(* com.trg.dao.hibernate.*+.*(..))/ aop:advisor advice-ref=txAdvice pointcut-ref=TRG/ /aop:config !-- This one does not work -- aop:config aop:pointcut id=portlets expression=execution(* com.level2crm.portals.crm.wicket.customerlist.pages..*+.*(..))/ aop:advisor advice-ref=txAdvice pointcut-ref=portlets/ /aop:config I tried to configure the open session in view (web.xml): listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listener !-- Enable the filters for Hibernate -- filter filter-nameopensessioninview/filter-name filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class /filter filter-mapping filter-nameopensessioninview/filter-name url-pattern/hibernate/*/url-pattern /filter-mapping !-- END hibernate filters -- But I found that this does not work. Because: public class ViewModePage extends org.apache.wicket.markup.html.WebPage { ... �...@springbean(name = userDAOBean) private UserDAO userDAO; IModel loadableUserModel = new LoadableDetachableModel() { �...@override protected Object load(){ User selectedUser = null; String value = ((PortletRequestContext)RequestContext.get()).getPortletRequest().getParameter(crmportal:userId); if(value!=null) { UuidUserType uuid = UuidUserType.fromString(value); //Works!! userDAO.testSessoion(uuid);//Works!! selectedUser = userDAO.find(uuid);//Works!! if(!userDAO.isAttached(selectedUser)) //Works!! But is not attached!!! { userDAO.save(selectedUser); //Attach it //Works!! It saves/updates the object but it's still not attached } SetContactBasicDetail setDetails = selectedUser.getContactBasicDetails(); //Works!! It gets the set setDetails.isEmpty(); // FAIL FAIL Cannot load lazy return setDetails.toArray();
How can i load my css
Hi *, i would like to add a css-class to my div to display a background image. So i've added this to css my.css div.myimg { background: url(navi_items.gif) no-repeat; width: 12px; height: 10px; cursor: pointer; } The navi_items.gif is located in - webapp - WEB-INF - webresources - my.css - navi_items.gif If i add this to my HomePage.html link rel=stylesheet href=webresources/my.css type=text/css media=all / everything works fine. But with the following code in my HomePage i get the error message below HomePage.java public HomePage() { // add .. for every package level of Application to come to application root add(HeaderContributor.forCss(new CompressedResourceReference(../../../webresources/my.css))); } error-message ERROR - SharedResources- ERROR - SharedResources- Your path looks like: ../../../webresources/my.css ERROR - SharedResources- For security reasons moving up '../' is disabled by default. Please see ERROR - SharedResources- IResourceSettings.getParentFolderPlaceholder() and PackageResourceGuard for more details ERROR - SharedResources- WARN - PackageResource- Unable to find package resource [path = webresources/my.css, style = null, locale = null] Setting the parentFolderPlaceholder to $up$ and use $up$/$up$/$up$/webresources/my.css solved the error message display but the css is still not loaded. This was formerly working (wicket1.3.6). With wicket-1992 and wicket1.3.7 it was disabled. But how can i load my css now? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How can i load my css
Hi, I didn't use this style, but I leave my css in resources folder, and use the following code here:add(CSSPackageResource.getHeaderContribution(AbstractWebPage.class, resources/base.css)); everything works well. On Tue, Aug 18, 2009 at 3:58 PM, Per Newgro per.new...@gmx.ch wrote: Hi *, i would like to add a css-class to my div to display a background image. So i've added this to css my.css div.myimg { background: url(navi_items.gif) no-repeat; width: 12px; height: 10px; cursor: pointer; } The navi_items.gif is located in - webapp - WEB-INF - webresources - my.css - navi_items.gif If i add this to my HomePage.html link rel=stylesheet href=webresources/my.css type=text/css media=all / everything works fine. But with the following code in my HomePage i get the error message below HomePage.java public HomePage() { // add .. for every package level of Application to come to application root add(HeaderContributor.forCss(new CompressedResourceReference(../../../webresources/my.css))); } error-message ERROR - SharedResources- ERROR - SharedResources- Your path looks like: ../../../webresources/my.css ERROR - SharedResources- For security reasons moving up '../' is disabled by default. Please see ERROR - SharedResources- IResourceSettings.getParentFolderPlaceholder() and PackageResourceGuard for more details ERROR - SharedResources- WARN - PackageResource- Unable to find package resource [path = webresources/my.css, style = null, locale = null] Setting the parentFolderPlaceholder to $up$ and use $up$/$up$/$up$/webresources/my.css solved the error message display but the css is still not loaded. This was formerly working (wicket1.3.6). With wicket-1992 and wicket1.3.7 it was disabled. But how can i load my css now? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Re: Announcing: Scala-Wicket Extensions Project
Hi Antony, is there a website for the project with some documentation? You mention the specification files, but those aren't included in the SNAPSHOT release. So all I have are some not-so-useful SDocs, your hints here and a link to http://technically.us/code/x/the-escape-hatch, which doesn't help either. Also, when looking at the source files I see a lot of ⇒ icons, which my Eclipse just displays as a little rectangle. That makes it somewhat difficult to use those - could you stick with an ASCII charset? Jörn On Fri, Aug 14, 2009 at 6:53 PM, Antony Stubbsantony.stu...@gmail.com wrote: Hello People, Today, I am proud to announce that I have now uploaded the first version of the new Scala-Wicket Extensions. The project aims to be a central point for Scala related extensions to the Wicket framework. At the moment, the project consists of an Archetype, Sample application and Core libraries. The core libraries at this point consist of some useful implicit conversation functions (Scala - Java list conversion, Closure - Fodel conversion, etc... ScalaWicket.scala) a collection of simple extensions to existing components and the Fodel class. The Fodel class allows us to use closures and pass by name parameters in Scala to avoid some explicit construction of Models. For example: new SLabel(name, person.name ) This actually constructs a Model which just like a Property Model looks up and re-evaluates the name property of the Person during each render time (i.e. this is a dynamic model, not a static model as it may appear to be, or would be if it were Java). Also: new SPropertyListView[String](presentations, list, _.add(new SLabel(name, asdp name))) There are a whole lot of examples in the Specification files, as the whole library as it stands is covered by Specs unit tests. It also includes SBT (simple build tool) code AND Maven build code (take your pick). I invite all those who are currently using Scala with Wicket to submit there odds and ends that make life easy for them - I'm sure there's a whole bunch of stuff out there! Special thanks to Stuq.nl P.s. it seems wicketstuff team city is stuck, so the SNAPSHOT won't be on the Wicket Stuff repo atm, but I'll try and get that sorted out asap. Maven signature: dependency groupIdorg.wicketstuff.scala/groupId artifactIdwicket-scala/artifactId version1.4-SNAPSHOT/version /dependency Cheers, Antony Stubbs, sharca.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How can i load my css
Haulyn R. Jason schrieb: Hi, I didn't use this style, but I leave my css in resources folder, and use the following code here:add(CSSPackageResource.getHeaderContribution(AbstractWebPage.class, resources/base.css)); everything works well. Thanks for reply Haulyn, i can't find a CssPackageResource in 1.3.7 If i use the class scope i have to put my css-file beside my HomePage class. I would like to avoid this. I would like to use a big Application folder for all css, img and so on. I hope there is a solution. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Book
Thank You Friends for your ideas ThanksRegards, Gerald Anto Fernando On Tue, Aug 18, 2009 at 1:16 PM, Greven, Jens jgre...@pma.de wrote: I liked the book Enjoy Web Development with Wicket by Kent Ka Iok Tong. You can find it at http://www.agileskills2.org, the download edition is also quite affordable at 19.95 US-$. This book and Wicket in Action kind of complement one another quite well, imho. The edition I bought of Pro Wicket was based on wicket 1.2 (I have no clue if there is a newer edition) which could mean some obstacles to deal with if you're new to the subject. Hope this helps, Jens -Original Message- From: Haulyn R. Jason [mailto:saharab...@gmail.com] Sent: Tuesday, August 18, 2009 8:56 AM To: users@wicket.apache.org Subject: Re: Need Wicket Book I have both Pro Wicket and Wicket in Action. They are all great! 2009/8/18 Major Péter majorpe...@sch.bme.hu Yes Wicket In Action is a great book, but there is an another book: Pro Wicket from Karthik Gurumurthy, which could be also helpful. Peter 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jasonsaharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason Jens Greven Team EDV Telefon: 0251-70017-339 Telefax: 0251-70017-203 E-Mail: jgre...@pma.de [pma: ] Finanz-Service GmbH Ein Unternehmen von Pramerica Financial Münsterstr. 111 48155 Münster http://www.pma.de Geschäftsführung: Jörg Matheis, Lambert Stegemann Handelsregister: Amtsgericht Münster HRB 4256Diese Information ist ausschließlich für die adressierte Person oder Organisation bestimmt und könnte vertrauliches Material enthalten. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu setzen und das Material von Ihrem Computer zu löschen. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Wir weisen darauf hin, dass E-Mail-Nachrichten mit und ohne Zutun von Dritten verloren gehen, verändert oder verfälscht werden können. Herkömmliche E-Mails sind nicht gegen den Zugriff von Dritten geschützt und deshalb ist auch die Vertraulichkeit unter Umständen nicht gewahrt. Wir haften deshalb nicht für die Unversehrtheit von E-Mails nachdem sie unseren Herrschaftsbereich verlassen haben und können Ihnen hieraus entstehende Schäden nicht ersetzen. Sollten trotz der von uns verwendeten Virus-Schutz-Programme durch die Zusendung von E-Mails ein Virus in Ihre Systeme gelangen, haften wir nicht für eventuell hieraus entstehende Schäden. Dieser Haftungsausschluss gilt nur soweit gesetzlich zulässig. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Thanksregards, Gerald A
Re: How can i load my css
But i'm realy instressted in solving this with 1.3.7. Is there no other way then jumping to 1.4? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How can i load my css
I guess, you could do something like this: add(HeaderContributor.forCss(new CompressedResourceReference(((WebRequest) getRequest()).getHttpServletRequest().getContextPath() + /webresources/my.css))); but this isn't a nice way to do it... Upgrading to a newer version has always benefits. ;) Regards, Peter //maybe you could also use an own HeaderContributor, or the wicket:head tags to solve your problem somehow. 2009-08-18 11:46 keltezéssel, Per Newgro írta: But i'm realy instressted in solving this with 1.3.7. Is there no other way then jumping to 1.4? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How can i load my css
Major Péter schrieb: I guess, you could do something like this: add(HeaderContributor.forCss(new CompressedResourceReference(((WebRequest) getRequest()).getHttpServletRequest().getContextPath() + /webresources/my.css))); but this isn't a nice way to do it... That was my thought to. But it seems to be recommened to work with the ResourceGuard. The simples way seems to reopen the old possibilities by adding the $up$ property. But it's not working as i did it. Is there an example on that? Upgrading to a newer version has always benefits. ;) And many effort (generics :O) Regards, Thanks Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Does ExternalLink URL encode?
Just a simple question, I couldn't find any hint on this in the mailing list and the wiki. Is ExternalLink doing some URL encoding with the href param or will I have to do it on my own? Something like: new ExternalLink( id, http://www.mysite.com/page.jsp?title=; + URLEncoder.encode(This is a title, UTF-8) ); Thanks, Roman - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Does ExternalLink URL encode?
Use the Source, Luke! have a look at ExternalLink#onComponentTag On Tue, Aug 18, 2009 at 12:38 PM, Roman Uhlig Maxity.deroman.uh...@maxity.de wrote: Just a simple question, I couldn't find any hint on this in the mailing list and the wiki. Is ExternalLink doing some URL encoding with the href param or will I have to do it on my own? Something like: new ExternalLink( id, http://www.mysite.com/page.jsp?title=; + URLEncoder.encode(This is a title, UTF-8) ); Thanks, Roman - 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: Does ExternalLink URL encode?
Roman Uhlig Maxity.de wrote: Just a simple question, I couldn't find any hint on this in the mailing list and the wiki. Is ExternalLink doing some URL encoding with the href param or will I have to do it on my own? Something like: new ExternalLink( id, http://www.mysite.com/page.jsp?title=; + URLEncoder.encode(This is a title, UTF-8) ); It was the same question a couple of months ago. For some reason there was no this problem with Wicket 1.3.5. But after migration to 1.4 I have to encode URL parameters manually: parameters.put( toFind, URLEncoder.encode( searchLine, UTF-8 ) ); .. String lineToSearch = parameters.getString( toFind ); try { lineToSearch = URLDecoder.decode( lineToSearch, UTF-8 ); } catch( UnsupportedEncodingException e ) { e.printStackTrace(); } May be I lost something, but I couldn't pass national text without manual decode/encode as it was with 1.3.5 -- View this message in context: http://www.nabble.com/Does-ExternalLink-URL-encode--tp25022300p25024143.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: javascript effects before an ajax call
Here's the more readable version - corrected with help form Richard at JWeekend... This is the easiest way to do the animation either side of the Wicket replace function that I know of... If someone would like to wrap this up into a nice behaviour for the Scriptaculous wicketstuff library be my guest :) I probably will eventually if we get back to the project that uses it. script type=text/javascript!-- var oldF = Wicket.replaceOuterHtml Wicket.replaceOuterHtml=function(element, text) { var parent = $(element.id).parentNode; // the disappear animation $(element.id).fade({ duration: 0.4, afterFinish: function(effect) { // call replace function oldF(element, text) // render the appear animtion on the replaced element $(element.id).appear({ duration: 0.4}); }}); } --/script Cheers, Antony Stubbs, sharca.com On 29/07/2009, at 4:54 AM, Antony Stubbs wrote: I have a workaround and it goes a little something like this: script type=text/ javascriptWicket.replaceOuterHtml=function(element, text) { new $(element.id).fade({ duration: 0.4, afterFinish: function(effect) { if (Wicket.Browser.isIE()) { Wicket.replaceOuterHtmlIE(element, text); } else if (Wicket.Browser.isSafari() || Wicket.Browser.isOpera()) { Wicket.replaceOuterHtmlSafari(element, text); } else /* GECKO */ { // create range and fragment var range = element.ownerDocument.createRange(); range.selectNode(element); var fragment = range.createContextualFragment(text); element.parentNode.replaceChild(fragment, element); } $(element.id).appear({ duration: 0.4}); }}); } /script Putting that at the top of the html overrides the wicket function, adds in a javascript effect, then using the onFinish hook, runs the original Wicket code, the precedes with another effect. This makes the effects run immediately after the ajax call has completed... This adds a fade transition every time wicket replaces a dom element. A better version would allow you to do it with some hooks, passing in your transition functions. 2009/7/28 Antony Stubbs antony.stu...@gmail.com (sorry, sent to wrong list before) Is it possible to override certain methods in wicketajax.js ? In order to modify the behaviour of one of the methods. but i'd prefer not to run a patched wicket, or have to run on a copy of the whole wicketajax.js file - but i will if i have to :/ what i want to do is add pre and post hooks processComponent#Wicket.replaceOuterHtml function - as this will solve what I want to do - i.e. run an animation on the element to be replaced, after the ajax call completes, but before the element is replaced. p.s. martijn, is there any info available on the plan for the new ajax system? I just found - there is a post animation hook in Scriptaculous, which I have working to run the ajax request in, however this doesn't quite get there, as there's is of course the delay between when the animation finishes, and when the ajax request actually completes - which is too long. Update: I've tried overriding the js functions like this: script type=text/javascript function newProcessComponent: function(steps, node) { alert('replaced!'); } Wicket.Ajax.Call.prototype.processComponent = newProcessComponent /script script type=text/javascriptWicket.replaceOuterHtml=function() {alert('replaceOuterHtml');}/script script type=text/ javascriptWicket.Ajax.Call.prototype.processComponent: function(steps, node) {{alert('processComponent');}/script but only the replaceOuterHtml functions works, i think because the there's a difference because processComponent is a member of an object... I need to replace processComponent so that I can have access to the Cheers, Antony Stubbs, sharca.com On 27/07/2009, at 9:31 PM, Martijn Dashorst wrote: Not 100% sure if it's already done, but I've bugged Matej with this request for 1.5's new Ajax implementation. Martijn On Mon, Jul 27, 2009 at 9:40 AM, Antony Stubbsantony.stu...@gmail.com wrote: Was this ever implemented / solved?: Nov 21, 2006; 07:09am Re: Using Javascript Effects Before An Ajax Call This is possible to do with wicket, however it would require minor enhancement of the ajax processing code. We already have infrastructure for asynchronously postponing processing steps. However, I can't do that right now. Maybe in a week or so. So if anyone really needs to pause between executing
Shall we have(embed) a swf in wicket component(Panel or in wicket page).
Hello Friends, Shall we have(embed) a swf in wicket component(Panel or in wicket page). I have swf that shows chart for dynamic data. i want to show my .swf file into wicket page or wicket panel if possible please give me modal code. I need urgent reply -- Thanksregards, Gerald A
Ajax form submits in a Wicket portlet on Liferay
Hello I am trying to use Wicket portlets in Liferay (v 5.2.3). The results are promising, however I have stumbled upon the following problem. Could someone help me or comment on it, please? My problem: I have a form with AjaxButton to submit it. The form consists of nothing else but a TextField and a Label. When the AjaxButton is clicked the form is submitted and refreshed and the entered text is simply echoed in the Label. The problem occurs when I submit the form more than once. While the first submit always echoes the entered text correctly, subsequent submits always echo the text entered the first time. Having debugged the portlet, I found that the callback URL generated for the buttons onclick handler contains some parameters, which takesthe form of portlet_namespaceparameter. Specifically the callback url contains also raw _wexample_WAR_wexampleportlet_requiredBorder:myText=qqq /raw , where raw_wexample_WAR_wexampleportlet_/raw is the portlet namespace and rawrequiredBorder:myText/raw is the TextField in the form. However, upon submitting the form, the AJAX request also POST's a rawrequiredBorder:myText/raw as post data separately. I noticed that the parameter in the callback URL always takes the value from the first submit and it always overrides the POST parameter. (It happens when Liferay constructs NamespaceServletRequest.) Has anyone else encountered the same problem? Is there a workaround or may I be doing something wrong? The problem only happens when using this portlet in Liferay 5.2.3 (also tried the 5.2.x branch) with its internal portlet container. If I configure Liferay to use the sun portlet container then this issue is not present. Thanks for any help in advance. Richie. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing: Scala-Wicket Extensions Project
Not sure how I missed this response Sorry! No there isn't, there's only the source code, the sample app, the archetype and the specification tests. But creating the Wicketstuff page is in the list of things to do, but it's not that close to the front of the queue unfort. If someone else wants to take a crack by my guess! Or even get me started with a template and I can fill in some details... The spec files are in the test-jars, but I guess wicketstuff projects aren't configured to deploy their test jars. Best thing to do is download the source, and have a look at the sample app. You should also be able to use the archetype by using a variation of (taken from the README for the archetype): To use or test the archetype, run install, then either just run archetype:generate and select it from the list, or run a variant of: mvn archetype:generate -DarchetypeGroupId=org.wicketstuff.scala -DarchetypeArtifactId=wicket-scala-archetype -DgroupId=com.sharca -DartifactId=scalawicket-archetypetest -DarchetypeVersion=1.4-SNAPSHOT note, if you have the wicketsuff repo in your settings.xml, you probably won't have to install the archetype yourself. The link to Nathan's page was only to give credit for the Fodel where credit was due - not as a source of documentation. Sorry for the confusion. Yes, the ⇒ is actually what the = is supposed to be in Scala, and is a UTF8 character, which I'm sure would be supported by all modern editors. I'm surprised you can't see it properly. What OS and version of Eclipse are you viewing them with? I am toying around with ⇒ atm and haven't really reached a decision on which I prefer. But if it causes trouble for people, and it's an open library, then causing _less_ trouble for people is preferable :) Cheers, Antony. stubbisms.wordpress.com illegalargument.com sharca.com Jörn Zaefferer-2 wrote: Hi Antony, is there a website for the project with some documentation? You mention the specification files, but those aren't included in the SNAPSHOT release. So all I have are some not-so-useful SDocs, your hints here and a link to http://technically.us/code/x/the-escape-hatch, which doesn't help either. Also, when looking at the source files I see a lot of ⇒ icons, which my Eclipse just displays as a little rectangle. That makes it somewhat difficult to use those - could you stick with an ASCII charset? Jörn On Fri, Aug 14, 2009 at 6:53 PM, Antony Stubbsantony.stu...@gmail.com wrote: Hello People, Today, I am proud to announce that I have now uploaded the first version of the new Scala-Wicket Extensions. The project aims to be a central point for Scala related extensions to the Wicket framework. At the moment, the project consists of an Archetype, Sample application and Core libraries. The core libraries at this point consist of some useful implicit conversation functions (Scala - Java list conversion, Closure - Fodel conversion, etc... ScalaWicket.scala) a collection of simple extensions to existing components and the Fodel class. The Fodel class allows us to use closures and pass by name parameters in Scala to avoid some explicit construction of Models. For example: new SLabel(name, person.name ) This actually constructs a Model which just like a Property Model looks up and re-evaluates the name property of the Person during each render time (i.e. this is a dynamic model, not a static model as it may appear to be, or would be if it were Java). Also: new SPropertyListView[String](presentations, list, _.add(new SLabel(name, asdp name))) There are a whole lot of examples in the Specification files, as the whole library as it stands is covered by Specs unit tests. It also includes SBT (simple build tool) code AND Maven build code (take your pick). I invite all those who are currently using Scala with Wicket to submit there odds and ends that make life easy for them - I'm sure there's a whole bunch of stuff out there! Special thanks to Stuq.nl P.s. it seems wicketstuff team city is stuck, so the SNAPSHOT won't be on the Wicket Stuff repo atm, but I'll try and get that sorted out asap. Maven signature: dependency groupIdorg.wicketstuff.scala/groupId artifactIdwicket-scala/artifactId version1.4-SNAPSHOT/version /dependency Cheers, Antony Stubbs, sharca.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - ___ http://stubbisms.wordpress.com http://stubbisms.wordpress.com -- View this message in context: http://www.nabble.com/Announcing%3A-Scala-Wicket-Extensions-Project-tp24975011p25025121.html Sent from the Wicket - User mailing list archive at Nabble.com.
Re: Announcing: Scala-Wicket Extensions Project
My pleasure :) I hope some people enjoying using the useful stuff in there and I hope we get some useful contributions to add to the collection.. I'm sure it will evolve over time as I use it more in our company as well. hmm, faster to write yes, but i don't think faster performing. Definitely more refactor safe with the Fodel that's for sure! And it'll be even better once the IDE support gets there... Yes, everyone's really waiting for the IDE support. 2.8 should be out in September/October which promises a new eclipse plugin with far superior functionality, stability and reliability. P.s., to quickly try out the Wicket Extensions, either add the wicketstuff repo to your settings.xml, or install the archetype from source, and run: mvn archetype:generate -DarchetypeGroupId=org.wicketstuff.scala -DarchetypeArtifactId=wicket-scala-archetype -DgroupId=com.sharca -DartifactId=scalawicket-archetypetest -DarchetypeVersion=1.4-SNAPSHOT Check out the sample app and spec tests for other possible uses. Cheers, Antony. stubbisms.wordpress.com illegalargument.com sharca.com Martin Sachs wrote: Thanks for that variant of programming wicket-application! I like scala and its concepts, very much. Using scala with wicket would properbly make wicketapplications a little faster, more refactor-safe and better maintainable. Do you have good IDE for scala ? If the IDE (e.g. Plugin for eclipse) is as well as java-IDE, scala would be the better java. But without IDE, many enterprises wont use scala. Martin Antony Stubbs schrieb: Hello People, Today, I am proud to announce that I have now uploaded the first version of the new Scala-Wicket Extensions. The project aims to be a central point for Scala related extensions to the Wicket framework. At the moment, the project consists of an Archetype, Sample application and Core libraries. The core libraries at this point consist of some useful implicit conversation functions (Scala - Java list conversion, Closure - Fodel conversion, etc... ScalaWicket.scala) a collection of simple extensions to existing components and the Fodel class. The Fodel class allows us to use closures and pass by name parameters in Scala to avoid some explicit construction of Models. For example: new SLabel(name, person.name ) This actually constructs a Model which just like a Property Model looks up and re-evaluates the name property of the Person during each render time (i.e. this is a dynamic model, not a static model as it may appear to be, or would be if it were Java). Also: new SPropertyListView[String](presentations, list, _.add(new SLabel(name, asdp name))) There are a whole lot of examples in the Specification files, as the whole library as it stands is covered by Specs unit tests. It also includes SBT (simple build tool) code AND Maven build code (take your pick). I invite all those who are currently using Scala with Wicket to submit there odds and ends that make life easy for them - I'm sure there's a whole bunch of stuff out there! Special thanks to Stuq.nl P.s. it seems wicketstuff team city is stuck, so the SNAPSHOT won't be on the Wicket Stuff repo atm, but I'll try and get that sorted out asap. Maven signature: dependency groupIdorg.wicketstuff.scala/groupId artifactIdwicket-scala/artifactId version1.4-SNAPSHOT/version /dependency Cheers, Antony Stubbs, sharca.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - ___ http://stubbisms.wordpress.com http://stubbisms.wordpress.com -- View this message in context: http://www.nabble.com/Announcing%3A-Scala-Wicket-Extensions-Project-tp24975011p25025206.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 Job offer
All the things are interesting, but can you share some experience about inject component or model with guice? I am trying Salve solution. On Fri, Aug 14, 2009 at 6:02 PM, Wayne Pope waynemailingli...@googlemail.com wrote: Hello all, We are looking for a long term wicket developer to join our very small company here in Monaco/Nice area. Salary is in the range of 2500 to 4500 a month Euro depending on experience. Starting with a 6 month contract moving to a full time position afterwards. English speaking working environment You'll be working on an online B2B application. Technologies used: Wicket 1.4 Java 6 Guice Maven Warp Hibernate Mysql Lucene search Open office headless Commons Ant Tomcat Linux and Solaris Hosted in the cloud. JQuery XHTML/css Please contact me DIRECTLY if you are interested - NOT THE MAILING LIST! This position is NOT available as a remote/work from home position. many thanks Wayne - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Dynamic nodes in Tree
Hello, I have a wizard that in the last step I show a tree with the selections made in the previous steps. The wizard uses static steps so actually the last step is built in advance. The problem is that the tree is not updated. For debugging purposes I have in the last step tables that show the same selections. The tables are updated (the DataProvider calls the iterator). I use DetachableModel for the tables. So in short, How can I updated the model of the tree. Below is the code of creating the tree that is made in the constructor: private TreeModel createTreeModel() { final Profile profile = (Profile) getModelObject(); final DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode(); final ConfigurationsNode configurationsNode = new ConfigurationsNode(profile, getString(extract.rdb.profile.view.section.configurations)); configurationsNode.addToParentNode(profile, rootNode); final CampaignsNode campaignsNode = new CampaignsNode(profile, getString(extract.rdb.profile.view.section.campaigns)); campaignsNode.addToParentNode(profile, rootNode); final UniverseNode universesNode = new UniverseNode(profile, getString(extract.rdb.profile.view.section.universes)); universesNode.addToParentNode(profile, rootNode); final BprsNode bprsNode = new BprsNode(profile, getString(extract.rdb.profile.view.section.bprs)); bprsNode.addToParentNode(profile, rootNode); final AuditCardsNode auditCardsNode = new AuditCardsNode(profile, getString(extract.rdb.profile.view.section.audits)); auditCardsNode.addToParentNode(profile, rootNode); final AllTicketsNode allTicketsNode = new AllTicketsNode( getString(extract.rdb.profile.view.section.allTickets)); allTicketsNode.addToParentNode(profile, rootNode); final TreeModel treeModel = new DefaultTreeModel(rootNode); return treeModel; } Here's one of the nodes: public final class ConfigurationsNode extends AbstractProfileDataNode { private static final long serialVersionUID = 3306972776261689364L; public ConfigurationsNode(final Profile profile, String title) { super(title); final ListConfiguration configurations = profile.getConfigurations(); for (final Configuration configuration : configurations) { final DefaultMutableTreeNode configurationNode = new DefaultMutableTreeNode() { private static final long serialVersionUID = 1L; @Override public Object getUserObject() { return configuration.getConfigurationName(); } }; add(configurationNode); } } @Override protected boolean isVisible(Profile profile) { return CollectionUtils.isNotEmpty(profile.getConfigurations()); } } @SuppressWarnings(serial) abstract class AbstractProfileDataNode extends DefaultMutableTreeNode { private final String title; AbstractProfileDataNode(String title) { this.title = title; } @Override public final Object getUserObject() { return title; } public final void addToParentNode(Profile profile, final DefaultMutableTreeNode parentNode) { if (isVisible(profile)) { parentNode.add(this); } } protected abstract boolean isVisible(Profile profile); } Thanks, Eyal Golan egola...@gmail.com 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
Re: Dynamic nodes in Tree
OK. Found the solution: private IModel createTreeModel() { final IModel model = new AbstractReadOnlyModel() { private static final long serialVersionUID = 1L; @Override public Object getObject() { final Profile profile = (Profile) getModelObject(); final DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode(); final ConfigurationsNode configurationsNode = new ConfigurationsNode(profile, getString(extract.rdb.profile.view.section.configurations)); configurationsNode.addToParentNode(profile, rootNode); final CampaignsNode campaignsNode = new CampaignsNode(profile, getString(extract.rdb.profile.view.section.campaigns)); campaignsNode.addToParentNode(profile, rootNode); final UniverseNode universesNode = new UniverseNode(profile, getString(extract.rdb.profile.view.section.universes)); universesNode.addToParentNode(profile, rootNode); final BprsNode bprsNode = new BprsNode(profile, getString(extract.rdb.profile.view.section.bprs)); bprsNode.addToParentNode(profile, rootNode); final AuditCardsNode auditCardsNode = new AuditCardsNode(profile, getString(extract.rdb.profile.view.section.audits)); auditCardsNode.addToParentNode(profile, rootNode); final AllTicketsNode allTicketsNode = new AllTicketsNode( getString(extract.rdb.profile.view.section.allTickets)); allTicketsNode.addToParentNode(profile, rootNode); final TreeModel treeModel = new DefaultTreeModel(rootNode); return treeModel; } }; return model; } I knew it's something with dynamic model !! Eyal Golan egola...@gmail.com 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 On Tue, Aug 18, 2009 at 4:55 PM, Eyal Golan egola...@gmail.com wrote: Hello, I have a wizard that in the last step I show a tree with the selections made in the previous steps. The wizard uses static steps so actually the last step is built in advance. The problem is that the tree is not updated. For debugging purposes I have in the last step tables that show the same selections. The tables are updated (the DataProvider calls the iterator). I use DetachableModel for the tables. So in short, How can I updated the model of the tree. Below is the code of creating the tree that is made in the constructor: private TreeModel createTreeModel() { final Profile profile = (Profile) getModelObject(); final DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode(); final ConfigurationsNode configurationsNode = new ConfigurationsNode(profile, getString(extract.rdb.profile.view.section.configurations)); configurationsNode.addToParentNode(profile, rootNode); final CampaignsNode campaignsNode = new CampaignsNode(profile, getString(extract.rdb.profile.view.section.campaigns)); campaignsNode.addToParentNode(profile, rootNode); final UniverseNode universesNode = new UniverseNode(profile, getString(extract.rdb.profile.view.section.universes)); universesNode.addToParentNode(profile, rootNode); final BprsNode bprsNode = new BprsNode(profile, getString(extract.rdb.profile.view.section.bprs)); bprsNode.addToParentNode(profile, rootNode); final AuditCardsNode auditCardsNode = new AuditCardsNode(profile, getString(extract.rdb.profile.view.section.audits)); auditCardsNode.addToParentNode(profile, rootNode); final AllTicketsNode allTicketsNode = new AllTicketsNode( getString(extract.rdb.profile.view.section.allTickets)); allTicketsNode.addToParentNode(profile, rootNode); final TreeModel treeModel = new DefaultTreeModel(rootNode); return treeModel; } Here's one of the nodes: public final class ConfigurationsNode extends AbstractProfileDataNode { private static final long serialVersionUID = 3306972776261689364L; public ConfigurationsNode(final Profile profile, String title) { super(title); final ListConfiguration configurations = profile.getConfigurations(); for (final Configuration configuration : configurations) { final DefaultMutableTreeNode configurationNode = new DefaultMutableTreeNode() { private static final long serialVersionUID = 1L; @Override public Object getUserObject() { return configuration.getConfigurationName(); } }; add(configurationNode); } } @Override protected boolean isVisible(Profile profile) {
Re: Wicket Job offer
Hi Wayne, What time frame are you looking at for start time? Cheers, Antony Stubbs, sharca.com On 14/08/2009, at 12:02 PM, Wayne Pope wrote: Hello all, We are looking for a long term wicket developer to join our very small company here in Monaco/Nice area. Salary is in the range of 2500 to 4500 a month Euro depending on experience. Starting with a 6 month contract moving to a full time position afterwards. English speaking working environment You'll be working on an online B2B application. Technologies used: Wicket 1.4 Java 6 Guice Maven Warp Hibernate Mysql Lucene search Open office headless Commons Ant Tomcat Linux and Solaris Hosted in the cloud. JQuery XHTML/css Please contact me DIRECTLY if you are interested - NOT THE MAILING LIST! This position is NOT available as a remote/work from home position. many thanks Wayne - 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
Time Component for wicket.
Hi guys, I'm looking for a time component for wicket. I know that DateTimePicker but it isn't usefull for my purposes. Maybe, it can be, but I need something in which I can set both hour and minute by arrows (like up/down). Does anybody knows any component like that? Thx, Raphael Monroe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Time Component for wicket.
Time picker.. I've seen some, though not very attractive... http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.timepicker.TimePickerShower And then I have seen 'roller' style time picker..can't remember where that was. ** Martin 2009/8/18 Raphael Monroe - Leucotron (DES) rmon...@leucotron.com.br: Hi guys, I'm looking for a time component for wicket. I know that DateTimePicker but it isn't usefull for my purposes. Maybe, it can be, but I need something in which I can set both hour and minute by arrows (like up/down). Does anybody knows any component like that? Thx, Raphael Monroe - 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: Time Component for wicket.
Look at DateTimeField of YUI. Also, in the book WIA there's an example for that. The components are not with the arrows, but do have the hour, minutes fileds Eyal Golan egola...@gmail.com 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 On Tue, Aug 18, 2009 at 5:27 PM, Raphael Monroe - Leucotron (DES) rmon...@leucotron.com.br wrote: Hi guys, I'm looking for a time component for wicket. I know that DateTimePicker but it isn't usefull for my purposes. Maybe, it can be, but I need something in which I can set both hour and minute by arrows (like up/down). Does anybody knows any component like that? Thx, Raphael Monroe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Dynamic nodes in Tree
Still have a problem. When I use the IModel instead of the TreeModel, in the constructor, the nodes are not responding to the clicks. Any ideas? Eyal Golan egola...@gmail.com 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 On Tue, Aug 18, 2009 at 4:55 PM, Eyal Golan egola...@gmail.com wrote: Hello, I have a wizard that in the last step I show a tree with the selections made in the previous steps. The wizard uses static steps so actually the last step is built in advance. The problem is that the tree is not updated. For debugging purposes I have in the last step tables that show the same selections. The tables are updated (the DataProvider calls the iterator). I use DetachableModel for the tables. So in short, How can I updated the model of the tree. Below is the code of creating the tree that is made in the constructor: private TreeModel createTreeModel() { final Profile profile = (Profile) getModelObject(); final DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode(); final ConfigurationsNode configurationsNode = new ConfigurationsNode(profile, getString(extract.rdb.profile.view.section.configurations)); configurationsNode.addToParentNode(profile, rootNode); final CampaignsNode campaignsNode = new CampaignsNode(profile, getString(extract.rdb.profile.view.section.campaigns)); campaignsNode.addToParentNode(profile, rootNode); final UniverseNode universesNode = new UniverseNode(profile, getString(extract.rdb.profile.view.section.universes)); universesNode.addToParentNode(profile, rootNode); final BprsNode bprsNode = new BprsNode(profile, getString(extract.rdb.profile.view.section.bprs)); bprsNode.addToParentNode(profile, rootNode); final AuditCardsNode auditCardsNode = new AuditCardsNode(profile, getString(extract.rdb.profile.view.section.audits)); auditCardsNode.addToParentNode(profile, rootNode); final AllTicketsNode allTicketsNode = new AllTicketsNode( getString(extract.rdb.profile.view.section.allTickets)); allTicketsNode.addToParentNode(profile, rootNode); final TreeModel treeModel = new DefaultTreeModel(rootNode); return treeModel; } Here's one of the nodes: public final class ConfigurationsNode extends AbstractProfileDataNode { private static final long serialVersionUID = 3306972776261689364L; public ConfigurationsNode(final Profile profile, String title) { super(title); final ListConfiguration configurations = profile.getConfigurations(); for (final Configuration configuration : configurations) { final DefaultMutableTreeNode configurationNode = new DefaultMutableTreeNode() { private static final long serialVersionUID = 1L; @Override public Object getUserObject() { return configuration.getConfigurationName(); } }; add(configurationNode); } } @Override protected boolean isVisible(Profile profile) { return CollectionUtils.isNotEmpty(profile.getConfigurations()); } } @SuppressWarnings(serial) abstract class AbstractProfileDataNode extends DefaultMutableTreeNode { private final String title; AbstractProfileDataNode(String title) { this.title = title; } @Override public final Object getUserObject() { return title; } public final void addToParentNode(Profile profile, final DefaultMutableTreeNode parentNode) { if (isVisible(profile)) { parentNode.add(this); } } protected abstract boolean isVisible(Profile profile); } Thanks, Eyal Golan egola...@gmail.com 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
Re: Need Wicket Book
I'm from Cuba. I do not live there now but still have friends and family living there... On Tue, Aug 18, 2009 at 9:13 AM, Vytautas C(ivilis vytautas.civi...@gmail.com wrote: 10 bucks for a month? What country do you come from? Just curious :D cvl Ernesto Reinaldo Barreiro wrote: Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time maintaining the framework. Best, Ernesto On Tue, Aug 18, 2009 at 8:26 AM, Jeroen Steenbeeke j.steenbeeke.ml@ gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Book
Well, if you're ever looking for work, just let me know. I can pay you 10x that much! :) On Tue, Aug 18, 2009 at 2:45 AM, Ernesto Reinaldo Barreiroreier...@gmail.com wrote: Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time maintaining the framework. Best, Ernesto On Tue, Aug 18, 2009 at 8:26 AM, Jeroen Steenbeeke j.steenbeeke.ml@ gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to use Guice to inject Service to LoadableDetachableModel
it depends on how you initialize guice. if you are using a servlet context listener then that creates the injector and sticks it into servlet context where you can get it. if you are creating the injector yourself then you have a reference to it. -igor On Tue, Aug 18, 2009 at 7:12 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi, all: I try to use Injector injector = getMetaData(GuiceInjectorHolder.INJECTOR_KEY).getInjector(); DependencyLibrary.addLocator(new GuiceBeanLocator(injector)); in the init() of Application, and use @Dependence instead of @Inject, but I got NullPointException. On Tue, Aug 18, 2009 at 9:30 PM, Haulyn R. Jason saharab...@gmail.comwrote: Hi, all: The process of compiling salve is passed, and I tried to setup it and testing. But, how can I get guice injector from wicket? I use the code below in my wicket Application's init function, DependencyLibrary.addLocator(new GuiceBeanLocator(injector)); but how can I get the guice injector? thanks! On Tue, Aug 18, 2009 at 5:31 PM, Haulyn R. Jason saharab...@gmail.comwrote: Hi, Igor, Thanks for your reply, I tried salve but when I compile it, there are some testing failures. Can you help me to find a binary download link? Or any other solutions are also great! I need to make salve run with wicket and guice. Thanks. On Tue, Aug 18, 2009 at 1:34 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: the easiest thing is to inject your component and pass the reference into your model. outside that there is salve.googlecode.com that lets you inject any object. InjectorHolder.getInjector() doesnt work with guice because it is possible to have more then one injector - one per module. -igor On Mon, Aug 17, 2009 at 8:26 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi, all: I have a class which is likes below: public class DetachableMemberModel extends LoadableDetachableModelMember { private final long id; public DetachableMemberModel(Member m) { this(m.getId()); } public DetachableMemberModel(long id) { if (id == 0) { throw new IllegalArgumentException(); } this.id = id; } �...@override public int hashCode() { return Long.valueOf(id).hashCode(); } �...@override public boolean equals(final Object obj) { if (obj == this) { return true; } else if (obj == null) { return false; } else if (obj instanceof DetachableMemberModel) { DetachableMemberModel other = (DetachableMemberModel) obj; return other.id == id; } return false; } �...@override protected Member load() { // I do not know how to inject this service to Object DetachableMemberModel return memberService.query(id); } } please see the last method of this class, I do not know how to inject memberService to this class. If I use @Inject private MemberService memberService, I have to inject this class to the WebPage, but I can not bind DetachableMemberModel to any interface. So, I do not know to to implement this, can anybody help me? Thanks very much. -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Book
Well, maybe you can hire some friends of mine living over there... Right now I do live and work in Spain where the minimal wage is a bit higher;-) Best, Ernesto On Tue, Aug 18, 2009 at 5:39 PM, James Carman jcar...@carmanconsulting.comwrote: Well, if you're ever looking for work, just let me know. I can pay you 10x that much! :) On Tue, Aug 18, 2009 at 2:45 AM, Ernesto Reinaldo Barreiroreier...@gmail.com wrote: Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time maintaining the framework. Best, Ernesto On Tue, Aug 18, 2009 at 8:26 AM, Jeroen Steenbeeke j.steenbeeke.ml@ gmail.com wrote: I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just saying this because Martijn is a co-worker, it really is an excellent book. - Jeroen 2009/8/18 Haulyn R. Jason saharab...@gmail.com you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando gerald.anto.ferna...@gmail.com wrote: Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanksregards, Gerald A -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: is there a way to inject service to wicket sortable models?
a) use 1.1 jars - link to their maven repo is on the front page under news b) salve is a bytecode instrumentor - that means you have to instrument your classes. there are various ways to do it: eclipse/idea plugin, maven plugin, jvm agent. how to set all this up is on the salve wiki. c) salve has its own mailing list - if your questions are salve related please use that instead of polluting this list. -igor On Tue, Aug 18, 2009 at 8:09 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi, all I sent an email about how to inject service object to wicket sortable models, and got some suggestions. then I tried these below: 1.make sure that guice works well with wicket. I can inject service to Pages by set method with @Inject. 2.I know I can not inject to models, so I add the following jars (salve) to the classpath: salve-contract-2.0-SNAPSHOT.jar salve-depend-2.0-SNAPSHOT.jar salve-depend-guice-2.0-SNAPSHOT.jar salve-inst-2.0-SNAPSHOT.jar 3.I use the following code to tell wicket about the guice module �...@override public void addComponentInstantiationListener() { addComponentInstantiationListener(new GuiceComponentInjector(this, new WebsiteModule())); } 4.I use the folling code to get Guice Injector Injector injector = getMetaData(GuiceInjectorHolder.INJECTOR_KEY).getInjector(); (with debug info, I get injector, and I believe it is not null) 5.init Salve with following code: DependencyLibrary.addLocator(new GuiceBeanLocator(injector)); ok, I use @Dependency instead of @Inject as: @Dependency private ServiceProvider provider; but with debug info, provider always be null and I got nullpointException. Can anybody help me to find what steps I forget? Thanks! -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing: Scala-Wicket Extensions Project
On 18/08/2009, at 9:30 PM, Jörn Zaefferer wrote: I'll take a look at the archetype. Still, a simple page with some example code would help a lot - Maven archetypes can be quite annoying when the repository isn't directly available. I completely agree, but I don't have time atm to do it. And the samples are available in SVN. Like I said, you are more than welcome to create a new template page in the wiki, and I will happily fill in some detail. If you don't know how to download the code, make sure you have a svn client installed, go to your prompt and type a variant of: svn checkout https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/wicketstuff-core/scala-extensions-parent wick-scala-extensions Then look in the sample directory for the sample project. Also I don't know where to get the test-jars. The test code is all under the src/test dirs of the various projects. The bulk of the test code is in the core project - wicketstuff-core/ scala-extensions-parent/wicket-scala/src/test About that arrow character: Eclipse 3.4.x on Windows XP. Default workspace characterset is set to UTF-8 and usually that works just fine. It probably was only the class file viewer (with attached source) that had troubles displaying the character. Ok, well try looking in the normal text view. But worse, I still don't know how to type that character, which makes it extremely impractical. Ok - to clarify, Scala doesn't mind which notation you use for ⇒. You are free to use = if you wish -they are synonymous. Also note that you don't have to use ⇒ to interact with the WicketScala library code either. Hope that's clarified things! Cheers, Antony. Jörn On Tue, Aug 18, 2009 at 3:40 PM, Antony Stubbsantony.stu...@gmail.com wrote: Not sure how I missed this response Sorry! No there isn't, there's only the source code, the sample app, the archetype and the specification tests. But creating the Wicketstuff page is in the list of things to do, but it's not that close to the front of the queue unfort. If someone else wants to take a crack by my guess! Or even get me started with a template and I can fill in some details... The spec files are in the test-jars, but I guess wicketstuff projects aren't configured to deploy their test jars. Best thing to do is download the source, and have a look at the sample app. You should also be able to use the archetype by using a variation of (taken from the README for the archetype): To use or test the archetype, run install, then either just run archetype:generate and select it from the list, or run a variant of: mvn archetype:generate -DarchetypeGroupId=org.wicketstuff.scala -DarchetypeArtifactId=wicket-scala-archetype -DgroupId=com.sharca -DartifactId=scalawicket-archetypetest -DarchetypeVersion=1.4- SNAPSHOT note, if you have the wicketsuff repo in your settings.xml, you probably won't have to install the archetype yourself. The link to Nathan's page was only to give credit for the Fodel where credit was due - not as a source of documentation. Sorry for the confusion. Yes, the ⇒ is actually what the = is supposed to be in Scala, and is a UTF8 character, which I'm sure would be supported by all modern editors. I'm surprised you can't see it properly. What OS and version of Eclipse are you viewing them with? I am toying around with ⇒ atm and haven't really reached a decision on which I prefer. But if it causes trouble for people, and it's an open library, then causing _less_ trouble for people is preferable :) Cheers, Antony. stubbisms.wordpress.com illegalargument.com sharca.com Jörn Zaefferer-2 wrote: Hi Antony, is there a website for the project with some documentation? You mention the specification files, but those aren't included in the SNAPSHOT release. So all I have are some not-so-useful SDocs, your hints here and a link to http://technically.us/code/x/the-escape-hatch, which doesn't help either. Also, when looking at the source files I see a lot of ⇒ icons, which my Eclipse just displays as a little rectangle. That makes it somewhat difficult to use those - could you stick with an ASCII charset? Jörn On Fri, Aug 14, 2009 at 6:53 PM, Antony Stubbsantony.stu...@gmail.com wrote: Hello People, Today, I am proud to announce that I have now uploaded the first version of the new Scala-Wicket Extensions. The project aims to be a central point for Scala related extensions to the Wicket framework. At the moment, the project consists of an Archetype, Sample application and Core libraries. The core libraries at this point consist of some useful implicit conversation functions (Scala - Java list conversion, Closure - Fodel conversion, etc... ScalaWicket.scala) a collection of simple extensions to existing components and the Fodel class. The Fodel class allows us to use closures and pass by name parameters in Scala to avoid some explicit construction of
Re: Need Wicket Book
2009/8/18 Michael Mosmann mich...@mosmann.de Am Dienstag, den 18.08.2009, 15:32 -0300 schrieb Marcel Bonnet: Wicket in Action is really good, but it doesn't go too depper. If you have some questions, just ask. I would say: visit my blog, but's only in german... (http://www.wicket-praxis.de/blog/) I also wrote a book about wicket (http://www.hanser.de/buch.asp?isbn=3-446-41909-8area=Computer (but only in german language)) .. so back to my first point: If you have some questions about wicket, which go deeper, then feel free to ask. I don't know germany yet, but thanks anyway! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Book
2009/8/18 Ernesto Reinaldo Barreiro reier...@gmail.com: Or try to the questions yourself! Wicket is OpenSource and the source is the best documentation you can ask for;-) You're right, that's why I started to acess the SVN and read the code. What I wanted was clarify that the book is good, but don't go to deeper (because when we start, like the guy that asked for help, we believe the book is a complete salvation!). So, the SVN is a second recommendation (http://svn.apache.org/repos/asf/wicket/trunk). Ernesto On Tue, Aug 18, 2009 at 8:56 PM, Michael Mosmann mich...@mosmann.de wrote: Am Dienstag, den 18.08.2009, 15:32 -0300 schrieb Marcel Bonnet: Wicket in Action is really good, but it doesn't go too depper. If you have some questions, just ask. I would say: visit my blog, but's only in german... (http://www.wicket-praxis.de/blog/) I also wrote a book about wicket (http://www.hanser.de/buch.asp?isbn=3-446-41909-8area=Computer (but only in german language)) .. so back to my first point: If you have some questions about wicket, which go deeper, then feel free to ask. michael mosmann - 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: Need Wicket Book
Live Examples + Book + Blog + Source = wicket learning. the book in only one variable there... On Tue, Aug 18, 2009 at 10:35 PM, Marcel Bonnetmarcelbon...@gmail.com wrote: 2009/8/18 Ernesto Reinaldo Barreiro reier...@gmail.com: Or try to the questions yourself! Wicket is OpenSource and the source is the best documentation you can ask for;-) You're right, that's why I started to acess the SVN and read the code. What I wanted was clarify that the book is good, but don't go to deeper (because when we start, like the guy that asked for help, we believe the book is a complete salvation!). So, the SVN is a second recommendation (http://svn.apache.org/repos/asf/wicket/trunk). Ernesto On Tue, Aug 18, 2009 at 8:56 PM, Michael Mosmann mich...@mosmann.de wrote: Am Dienstag, den 18.08.2009, 15:32 -0300 schrieb Marcel Bonnet: Wicket in Action is really good, but it doesn't go too depper. If you have some questions, just ask. I would say: visit my blog, but's only in german... (http://www.wicket-praxis.de/blog/) I also wrote a book about wicket (http://www.hanser.de/buch.asp?isbn=3-446-41909-8area=Computer (but only in german language)) .. so back to my first point: If you have some questions about wicket, which go deeper, then feel free to ask. michael mosmann - 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
OT: Wicket + Blazeds debugger doesnt stop in breakpoints
Hello all, I am using jetty to launch my app, which is developed with wicket + blazeds. Some days ago I found that the breakpoints I mark in blazeds services are useless. I mean the debugger doesn't stop in them. Do you have any idea what could it be? I am trying to install wtp just for testing blazeds services with jetty. I am not happy at all with this aproach. I would like to run/debug with jetty in only one way. Thanks in advance. -- Fernando Wermus. www.linkedin.com/in/fernandowermus
Re: is there a way to inject service to wicket sortable models?
it is possible if you can get a hold of a ConfigurableInjector instance which is usually obtained via InjectorHolder.getInjector(). once you do you can call injector.inject(this) in the constructor of the class and it will be injected. -igor On Tue, Aug 18, 2009 at 6:35 PM, Haulyn R. Jasonsaharab...@gmail.com wrote: Thanks Igor, If it is possible to inject service to models in wicket, I will go to salve mailing list for help. Thank you. On Wed, Aug 19, 2009 at 12:00 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: a) use 1.1 jars - link to their maven repo is on the front page under news b) salve is a bytecode instrumentor - that means you have to instrument your classes. there are various ways to do it: eclipse/idea plugin, maven plugin, jvm agent. how to set all this up is on the salve wiki. c) salve has its own mailing list - if your questions are salve related please use that instead of polluting this list. -igor On Tue, Aug 18, 2009 at 8:09 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi, all I sent an email about how to inject service object to wicket sortable models, and got some suggestions. then I tried these below: 1.make sure that guice works well with wicket. I can inject service to Pages by set method with @Inject. 2.I know I can not inject to models, so I add the following jars (salve) to the classpath: salve-contract-2.0-SNAPSHOT.jar salve-depend-2.0-SNAPSHOT.jar salve-depend-guice-2.0-SNAPSHOT.jar salve-inst-2.0-SNAPSHOT.jar 3.I use the following code to tell wicket about the guice module �...@override public void addComponentInstantiationListener() { addComponentInstantiationListener(new GuiceComponentInjector(this, new WebsiteModule())); } 4.I use the folling code to get Guice Injector Injector injector = getMetaData(GuiceInjectorHolder.INJECTOR_KEY).getInjector(); (with debug info, I get injector, and I believe it is not null) 5.init Salve with following code: DependencyLibrary.addLocator(new GuiceBeanLocator(injector)); ok, I use @Dependency instead of @Inject as: @Dependency private ServiceProvider provider; but with debug info, provider always be null and I got nullpointException. Can anybody help me to find what steps I forget? Thanks! -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Date/Time Validation in Forms
I have a form model defined as: -- cut here -- public class RunlogFormModel implements Serializable { private String month; private String day; private String year; private String distance; private String hour; private String minute; private String second; private String comments; -- cut here -- The form provides drop-down list boxes for each of the model elements and added to the form like: add(new DropDownChoice(. new PropertyModel(...).add(new IValidatorString() { }))); The validator can validate each individual field. How do I perform compositve date validation, such as month/day/year = current_date ? Similarly how to perform validation of hour/minute/seconds 0 ? How do I validate presence of date/time ? Is this a good representation of model or should it be represented differently ? Thanks, -Arun -- Need Application Server ? - Download glassfish.org Blog: http://blogs.sun.com/arungupta - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: is there a way to inject service to wicket sortable models?
!!!I am so stupid, I didn't check the source of wicket, just image that InjectorHolder keep it's own context with Guice Injector, but it is not. just like Guice, I need to inject(this), but the first, I have to get Injector. I try to use InjectorHolder.getInjector(), but I got null, then I try to use WebsiteApplication.get().getMetaData(GuiceInjectorHolder.INJECTOR_KEY).getInjector().injectMembers(this); ok, I got the application, everything works well now! Thanks everyone, and especially thanks to Igor. I do not need to use salve now, but I am interesting at salve, if I have time, I will deep in it. On Wed, Aug 19, 2009 at 10:27 AM, Haulyn R. Jason saharab...@gmail.comwrote: I do this, but it looks that just work for spring but not Guice. On Wed, Aug 19, 2009 at 10:24 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: it is possible if you can get a hold of a ConfigurableInjector instance which is usually obtained via InjectorHolder.getInjector(). once you do you can call injector.inject(this) in the constructor of the class and it will be injected. -igor On Tue, Aug 18, 2009 at 6:35 PM, Haulyn R. Jasonsaharab...@gmail.com wrote: Thanks Igor, If it is possible to inject service to models in wicket, I will go to salve mailing list for help. Thank you. On Wed, Aug 19, 2009 at 12:00 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: a) use 1.1 jars - link to their maven repo is on the front page under news b) salve is a bytecode instrumentor - that means you have to instrument your classes. there are various ways to do it: eclipse/idea plugin, maven plugin, jvm agent. how to set all this up is on the salve wiki. c) salve has its own mailing list - if your questions are salve related please use that instead of polluting this list. -igor On Tue, Aug 18, 2009 at 8:09 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi, all I sent an email about how to inject service object to wicket sortable models, and got some suggestions. then I tried these below: 1.make sure that guice works well with wicket. I can inject service to Pages by set method with @Inject. 2.I know I can not inject to models, so I add the following jars (salve) to the classpath: salve-contract-2.0-SNAPSHOT.jar salve-depend-2.0-SNAPSHOT.jar salve-depend-guice-2.0-SNAPSHOT.jar salve-inst-2.0-SNAPSHOT.jar 3.I use the following code to tell wicket about the guice module @Override public void addComponentInstantiationListener() { addComponentInstantiationListener(new GuiceComponentInjector(this, new WebsiteModule())); } 4.I use the folling code to get Guice Injector Injector injector = getMetaData(GuiceInjectorHolder.INJECTOR_KEY).getInjector(); (with debug info, I get injector, and I believe it is not null) 5.init Salve with following code: DependencyLibrary.addLocator(new GuiceBeanLocator(injector)); ok, I use @Dependency instead of @Inject as: @Dependency private ServiceProvider provider; but with debug info, provider always be null and I got nullpointException. Can anybody help me to find what steps I forget? Thanks! -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason -- -- Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason
Newbie question: fileupload AJAX progressbar ?
Greetings all, I am new to Wicket and I used 'UploadProgressBar' to create an AJAX brogressbar for fileupload.(refered example at wicket-library.org ) But when uploading a file, eventhough progreebar showed,theres no activity nor incrementation of the bar I have posted my code, what could be the problem? Thanks in advance. public class UploadPage extends WebPage { ///fileupload form private class FileUploadForm extends FormVoid{ private FileUploadField fileuploadField; public FileUploadForm(String name){ super(name); setMultiPart(true); add(fileuploadField=new FileUploadField(fileInput)); setMaxSize(Bytes.gigabytes(4)); } @Override protected void onSubmit() { final FileUpload upload = fileuploadField.getFileUpload(); if (upload != null) { File newFile = new File(getUploadFolder(), upload.getClientFileName()); try { newFile.createNewFile(); upload.writeTo(newFile); UploadPage.this.info(saved file: + upload.getClientFileName()); } catch (Exception e) { throw new IllegalStateException(Unable to write file); } } } } public UploadPage(final PageParameters parameters) { final FeedbackPanel uploadFfeedback=new FeedbackPanel(uploadFeedback); add(uploadFfeedback); final FileUploadForm fileUploadForm=new FileUploadForm(ajaxupload); fileUploadForm.add(new UploadProgressBar(progress, fileUploadForm)); add(fileUploadForm); } private Folder getUploadFolder(){ return ((SVRWebApplication)Application.get()).getUploadFolder(); } } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).
Nino sorry to say that i dont know that please tell me clear. if possible give some modal code ThanksRegards, Gerald A On Tue, Aug 18, 2009 at 6:45 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: stuff the panel in to the modal window 2009/8/18 Gerald Fernando gerald.anto.ferna...@gmail.com: Hello Friends, Shall we have(embed) a swf in wicket component(Panel or in wicket page). I have swf that shows chart for dynamic data. i want to show my .swf file into wicket page or wicket panel if possible please give me modal code. I need urgent reply -- Thanksregards, Gerald A - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Thanksregards, Gerald A