Re: 3.5 Hibernate 1.1 tutorial wicketized/eclipseized
Hello, I put the hib-tut.zip file in my gmail uploaded files in a directory called uploads. I don't know what u need to do to get to my uploaded files on gmail. :-David. On Sat, 2010-07-03 at 10:29 -0700, rmh1981 wrote: > > David Brown wrote: > > i have a wicketized/eclipseized hibernate 1.1 tutorial that should work > > out-of-the-box albeit for mysql only. Where to upload the project? Or, I > > can put it on my blog for download? > > > > > I have been looking for a tutorial with hibernate and wicket so that would > be great - if you could post the link that would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Transparent resolver parent child working but cannot add third component
Hello Pedro, I have since resolved this issue. I was trying to use an existing WebPage class fired from the WebPage attached to the submenu class. Eventually, I relented and allowed the constructor inside the submenu WebPage to call the needed private method by refactoring the target WebPage via cut-n-paste. The remaining classes are undisturbed so it works for me. Thanks for the reply, David. - Original Message - From: "Pedro Santos" To: users@wicket.apache.org Sent: Wednesday, September 9, 2009 2:46:46 PM GMT -06:00 US/Canada Central Subject: Re: Transparent resolver parent child working but cannot add third component "I want an added third component (a WebPage class) to be displayed" setResponsePage(third component) are not enough because you adding the third component inside an iframe? can you send significant code of parent page? On Fri, Sep 4, 2009 at 8:08 PM, wrote: > Hello all, I have a WebPage parent transparent resolver that displays the > child page OK. The parent page is a tabbed menu and the child is a row of > submenus. When the submenu child is clicked I want an added third component > (a WebPage class) to be displayed. But instead I get the usual ugly > WicketRunTimeException: component added but markup not found. All classes > and HTML are in the same package. Obviously, this issue is the result of > some mismatch in the hierarchy but I thought the transparent resolver would > fix the hierarchy dilemma. I have studied every transparent resolver example > I can Google but nothing jumps out as a diagnostic to perform to resolve > this problem. I don't want to refactor all of the classes from markup > inheritance to Panel if this can be avoided as this will in all-likelihood > break the menu pages. Please advise. > > > > - > 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: The alternative to: HeaderContributor.forCss
Hello Jeremy, thanks for the link. This works. Regards, David. - Original Message - From: "Jeremy Thomerson" To: users@wicket.apache.org Sent: Monday, September 7, 2009 10:44:06 PM GMT -06:00 US/Canada Central Subject: Re: The alternative to: HeaderContributor.forCss The replacement for the deprecated method is written in the JavaDocs. http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/HeaderContributor.html -- Jeremy Thomerson http://www.wickettraining.com On Mon, Sep 7, 2009 at 10:18 PM, David Brown wrote: > Hello, something I have been ignoring for a long time is in the subject > line. Though my IDE tells me it is deprecated I have not see a good > alternative anywhere (wicketstuff, google, etc.). All of my CSS is in > several files and directories under one directory named: style. What is a > good WebPage class by WebPage class way of including the path to the CSS > files. I would prefer something that easily references the resources > directory. The entire app gets the same CSS applied. Regards and please > advise, David. > > - > 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: StackOverFlow (Start.java) Jetty
Hello Martin, thanks for the reply. Sorry about the last post. I have become leary of posting code as the inhouse lawyers have admonished me for this practice. I realized albeit Panels or WebPage Wicket won't render a different class from another class without some type of event such as a link. I solved the problem by usurping the methods needed in the target class and putting the target method code into the Parent class that renders the menu. My fear was with this approach I would be forced to decompose all of my classes that are in the same directory. As it turned out this was not the case. I just saw an email response posted by Igor where mounted classes can pair up to URLS (http:) which would have easily solved my problem but unfortunately this won't become available until 1.5. Thanks again, David. - Original Message - From: "Martin Makundi" To: users@wicket.apache.org Sent: Monday, September 7, 2009 11:41:14 PM GMT -06:00 US/Canada Central Subject: Re: StackOverFlow (Start.java) Jetty Hi! I did not understand a single word of what you just said :( I have never had problems with panels.. would you mind posting some code so we can see what you are trying to accomplish and how? ** Martin 2009/9/8 David Brown : > Hello Martin, converting the WebPage to Panel foments no complaints until > RunTime where all of the upstream markup is re-included in the downstream > onClick() request. the usual complains are made: cannot find the component to > the paired wicket markup. The component has already been fired by this point > in the navigation process. I tried to add instances of the classes that are > being complained about but this is completely ignored by the rendering. I > suppose I have too many downstream children hanging off of the original > MainMenu class that is now the target of all the complaints about no > component matching the markup. Is there a way to accumulate components and > re-use them when needed to keep the hierarchy happy? Regards, David. > > - Original Message - > From: "Martin Makundi" > To: users@wicket.apache.org > Sent: Monday, September 7, 2009 12:03:39 PM GMT -06:00 US/Canada Central > Subject: Re: StackOverFlow (Start.java) Jetty > >>If you have any suggestions for how to replace just part of a WebPage >> () with a whole new WebPage please advise. Regards, David. > > Why not use panels? Looks like what you need is panels. > > ** > Martin > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
The alternative to: HeaderContributor.forCss
Hello, something I have been ignoring for a long time is in the subject line. Though my IDE tells me it is deprecated I have not see a good alternative anywhere (wicketstuff, google, etc.). All of my CSS is in several files and directories under one directory named: style. What is a good WebPage class by WebPage class way of including the path to the CSS files. I would prefer something that easily references the resources directory. The entire app gets the same CSS applied. Regards and please advise, David. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StackOverFlow (Start.java) Jetty
Hello Martin, converting the WebPage to Panel foments no complaints until RunTime where all of the upstream markup is re-included in the downstream onClick() request. the usual complains are made: cannot find the component to the paired wicket markup. The component has already been fired by this point in the navigation process. I tried to add instances of the classes that are being complained about but this is completely ignored by the rendering. I suppose I have too many downstream children hanging off of the original MainMenu class that is now the target of all the complaints about no component matching the markup. Is there a way to accumulate components and re-use them when needed to keep the hierarchy happy? Regards, David. - Original Message - From: "Martin Makundi" To: users@wicket.apache.org Sent: Monday, September 7, 2009 12:03:39 PM GMT -06:00 US/Canada Central Subject: Re: StackOverFlow (Start.java) Jetty >If you have any suggestions for how to replace just part of a WebPage > () with a whole new WebPage please advise. Regards, David. Why not use panels? Looks like what you need is panels. ** Martin - 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: StackOverFlow (Start.java) Jetty
Hello Martin, thanks for the reply. The AjaxFallbackLinkExtension is a private method created by Eclipse wizardry to unwind an anonymous class. I have since fixed this issue in that the WebPage link is displayed within the tags but now it removes the horizontal list of WebPage links that navigate the user to the target link in question. I am looking at the WIA Panel swap example as a possible solution. If you have any suggestions for how to replace just part of a WebPage () with a whole new WebPage please advise. Regards, David. - Original Message - From: "Martin Makundi" To: users@wicket.apache.org Sent: Sunday, September 6, 2009 10:54:47 PM GMT -06:00 US/Canada Central Subject: Re: StackOverFlow (Start.java) Jetty What is AjaxFallbackLinkExtension? ** Martin 2009/9/6 David Brown : > Hello, I have class (a.java) that extends WebPage and has the usual Wicket > HTML counterpart (a.html). The extended WebPage class' constructor, a(), > creates a WebMarkupContainer wrapper instance transparent resolver with the > name: wrapper. Before I add(wrapper) I add an AjaxFallBackLink: > > add(new AjaxFallbackLinkExtension("myLink")); > > In the HTML page: a.html I reference the link within the tag: > > My Link > > When I navigate to the page with this link the link is displayed but when I > click the link the only evidence that shows the link was clicked is in the > log file: RESPONSE 200. > > What is missing? > > Regards, David. > > - > 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
StackOverFlow (Start.java) Jetty
Hello, I have class (a.java) that extends WebPage and has the usual Wicket HTML counterpart (a.html). The extended WebPage class' constructor, a(), creates a WebMarkupContainer wrapper instance transparent resolver with the name: wrapper. Before I add(wrapper) I add an AjaxFallBackLink: add(new AjaxFallbackLinkExtension("myLink")); In the HTML page: a.html I reference the link within the tag: My Link When I navigate to the page with this link the link is displayed but when I click the link the only evidence that shows the link was clicked is in the log file: RESPONSE 200. What is missing? Regards, David. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Article in german Javamagazin
JSF, JSP, ASP, PHP et. al. is the reason I am using Wicket. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Peter Ertl" To: users@wicket.apache.org Sent: Wednesday, September 2, 2009 1:15:18 PM GMT -06:00 US/Canada Central Subject: Re: Article in german Javamagazin > recommendation for using Wicket, and regard it on par with the > "industry > standard" JSF. being on par with JSF is quite an insult *imho* :-) Am 02.09.2009 um 12:45 schrieb Rüdiger Schulz: > Hello everybody, > > the next issue of german Javamagazin (http://www.javamagazin.de/) > has their > title story about Wicket. It consists of two articles. One technical > one, > showing basic setup and principles of Wicket, and another about > practical > use of the framework. > > Despite constructive criticism (e.g. Wiki needs much better > structuring to > find anything useful, markup hierarchy and wicket:ids have to match > Java > code, without tool support for refactoring) they give a strong > recommendation for using Wicket, and regard it on par with the > "industry > standard" JSF. > > So thumbs up to all of you Wicket devs, and hopefully this will lead > to a > little wider spreading of Wicket! > > > > greetings from Berlin, > > Rüdiger Schulz - 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: WicketByExample.com - Soft launch and we need editors
I have been back to the site with the target in mind to look for the wicketbyexample wish-list. But, the cupboard was bare. Any plans? - Original Message - From: "Andrew Lombardi" To: users@wicket.apache.org Sent: Friday, August 7, 2009 1:08:50 AM GMT -06:00 US/Canada Central Subject: Re: WicketByExample.com - Soft launch and we need editors Quick note, those of you that have submitted an example via the form, or requested to become an editor via the form, there was some error with the plugin doing the contacting ... which has been fixed. feel free to re-submit at your leisure. cheers! On Aug 4, 2009, at 8:02 PM, Andrew Lombardi wrote: > /me goes out to the store to buy some Wicket dog food. > > On Aug 4, 2009, at 7:36 PM, Igor Vaynberg wrote: > >> i look forward to a version powered by wicket. traitors! :) >> >> -igor >> >> On Tue, Aug 4, 2009 at 7:14 PM, Jeremy >> Thomerson wrote: >>> Nice site. I look forward to looking at it some more. >>> >>> -- >>> Jeremy Thomerson >>> http://www.wickettraining.com >>> >>> >>> >>> >>> On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi>> > wrote: I don't know about you guys, but I learn best by examples, a lot of them. So the team at Mystic decided to put together a really simple, easy to navigate, no nonsense examples site ... and start filling it with relevant Wicket code examples for doing common things like: * How to use a FeedbackPanel with AJAX * Getting Started Guide * How to use AutoCompleteTextField * Putting Javascript or CSS into the header using a Resource * Using a Visitor to add multiple form components to an AjaxTarget * Working with Wicket and Spring * and on and on... In all we have about 15 examples so far, and it's growing daily. We would love you to at least drop by, and contribute with your tips and tricks and examples of usage that might not have been covered, or was very hard to find when you were looking for it. happy monday! and develop happy! To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 949-528-6480 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. >>> >>> - >>> 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 our success! > > Mystic Coders, LLC | Code Magic | www.mysticcoders.com > > ANDREW LOMBARDI | and...@mysticcoders.com > 2321 E 4th St. Ste C-128, Santa Ana CA 92705 > ofc: 949-528-6480 > fax: 714-782-6024 > cell: 714-697-8046 > linked-in: http://www.linkedin.com/in/andrewlombardi > twitter: http://www.twitter.com/kinabalu > > Eco-Tip: Printing e-mails is usually a waste. > > > This message is for the named person's use only. You must not, > directly or indirectly, use, > disclose, distribute, print, or copy any part of this message if you > are not the intended recipient. > > To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 949-528-6480 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WicketNotSerializableException
n for the edit and delete links columns.add(new FilteredAbstractColumn(new Model("actions")){ private static final long serialVersionUID = 1L; public Component getFilter(String componentId, FilterForm form) { return null; } public void populateItem(Item cellItem, String componentId, IModel rowModel) { cellItem.add(new ActionsPanel(componentId, rowModel)); } }); //sorting is not used on this //all the columns dont fit columns.add(new PropertyColumn(new Model("animalId"), "animalId", "animalId")); columns.add(new PropertyColumn(new Model("itemCode"), "itemCode", "itemCode")); columns.add(new PropertyColumn(new Model("brdCode"), "brdCode")); columns.add(new PropertyColumn(new Model("itemName"), "itemName")); columns.add(new PropertyColumn(new Model("AKAName"), "AKAName")); columns.add(new PropertyColumn(new Model("brdIdNo"), "brdIdNo", "brdIdNo")); columns.add(new PropertyColumn(new Model("statusIdNo"), "statusIdNo")); columns.add(new PropertyColumn(new Model("regNo"), "regNo")); columns.add(new PropertyColumn(new Model("sign"), "sign")); /* columns.add(new PropertyColumn(new Model("Tag"), "Tag")); columns.add(new PropertyColumn(new Model("mastCatItem"), "mastCatItem")); columns.add(new PropertyColumn(new Model("Country"), "Country")); columns.add(new PropertyColumn(new Model("ID"), "itemId")); columns.add(new PropertyColumn(new Model("birthDate"), "birthDate")); columns.add(new PropertyColumn(new Model("sName"), "sName")); columns.add(new PropertyColumn(new Model("RegNo"), "RegNo")); columns.add(new PropertyColumn(new Model("dName"), "dName")); columns.add(new PropertyColumn(new Model("dRegNo"), "dRegNo")); columns.add(new PropertyColumn(new Model("bloodNo"), "bloodNo")); columns.add(new PropertyColumn(new Model("DNo"), "DNo")); columns.add(new PropertyColumn(new Model("notes"), "notes")); columns.add(new PropertyColumn(new Model("lastModUser"), "lastModUser")); columns.add(new PropertyColumn(new Model("lastModDate"), "lastModDate")); */ DefaultDataTable dataTable = new DefaultDataTable("dataTable", columns, dp, 20); add(dataTable); add(new Link("create"){ /** * */ private static final long serialVersionUID = 1L; @Override public void onClick() { setResponsePage(new MyappEditPage(getPage(), new CompoundPropertyModel(new Myapp(; } }); dbc.returnConnection(conn); } // END INIT() } *** - Original Message - From: "Jeremy Thomerson" To: users@wicket.apache.org Sent: Wednesday, July 29, 2009 5:57:35 PM GMT -06:00 US/Canada Central Subject: Re: WicketNotSerializableException Can you show the code? When you create an anonymous inner class, it gets references to variables that are outside of the declaration. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jul 29, 2009 at 5:46 PM, David Brown wrote: > Hello, I have a small show-stopper with a WicketTester testcase and a Wicket > Page. The Wicket Page is a concrete Class extending WebPage. I am calling a > simple private method: init() that is nested within the Page constructor. > Inside the init() method I have an anonymous inner class constructed from a > composition: new SortableDataProvider{}; The target of the composition is > assigned to an instance variable of ISortableDataProvider which requires that > I must override the IModel model(final Object object) method. When I run > Maven test on this Page I get the following error condition: > > org
WicketNotSerializableException
Hello, I have a small show-stopper with a WicketTester testcase and a Wicket Page. The Wicket Page is a concrete Class extending WebPage. I am calling a simple private method: init() that is nested within the Page constructor. Inside the init() method I have an anonymous inner class constructed from a composition: new SortableDataProvider{}; The target of the composition is assigned to an instance variable of ISortableDataProvider which requires that I must override the IModel model(final Object object) method. When I run Maven test on this Page I get the following error condition: org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: java.lang.Object I have tried using strategic placement of: transient and static but of no use. Regards, David. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WicketTester and org.slf4j.LoggerFactory and org.slf4j.Logger not serializable
Hello Jeremy, thanks for the reply. Painfully obvious now (doh!). David. - Original Message - From: "Jeremy Thomerson" To: users@wicket.apache.org Sent: Monday, July 27, 2009 7:52:57 PM GMT -06:00 US/Canada Central Subject: Re: WicketTester and org.slf4j.LoggerFactory and org.slf4j.Logger not serializable Your logger instances should either be transient or static - so that they are not serialized. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Jul 27, 2009 at 8:01 PM, David Brown wrote: > Hello, I have a Wicket 1.4rc4 application with a homegrown set of JDBC DAO > classes: basic JDBC Connection and various methods for SQL queries and > transactions. And Connection pooling is imported into the same JDBC DAO class > and works well against the JUnit TestCases. The JUnit TestCases for the JDBC > DAO implementation is comprehensive and complete with no failed testcases (17 > in all). Now, I want to start testing the Pages that use my JDBC DAO class > using WicketTester but the TestCases so far are failing with errors. I have > scoured this topic with Google and have re-read Dashorst/Hillenius, Kent Tong > and the Wicket Wiki and other articles covering WicketTester including the > JavaDocs. My TestCases are having trouble with my JDBC DAOs as they not > seriablizable because of heavy use of the logging packages: > > org.slf4j.LoggerFactory and org.slf4j.Logger > > I don't to remove all of the logging from my JDBC DAOs to implement > WicketTester. Is there some way around this type of issue with serialization? > Please advise, David. > > - > 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
WicketTester and org.slf4j.LoggerFactory and org.slf4j.Logger not serializable
Hello, I have a Wicket 1.4rc4 application with a homegrown set of JDBC DAO classes: basic JDBC Connection and various methods for SQL queries and transactions. And Connection pooling is imported into the same JDBC DAO class and works well against the JUnit TestCases. The JUnit TestCases for the JDBC DAO implementation is comprehensive and complete with no failed testcases (17 in all). Now, I want to start testing the Pages that use my JDBC DAO class using WicketTester but the TestCases so far are failing with errors. I have scoured this topic with Google and have re-read Dashorst/Hillenius, Kent Tong and the Wicket Wiki and other articles covering WicketTester including the JavaDocs. My TestCases are having trouble with my JDBC DAOs as they not seriablizable because of heavy use of the logging packages: org.slf4j.LoggerFactory and org.slf4j.Logger I don't to remove all of the logging from my JDBC DAOs to implement WicketTester. Is there some way around this type of issue with serialization? Please advise, David. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Mix generic HTML for Wicket
Hello Igor, thanks for the reply. If I browse the repo at: http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff only shows ghosted folders for: attic, sandbox, etc. The sourcecode is not available for check out. Please advise, David. - Original Message - From: "Igor Vaynberg" To: users@wicket.apache.org Sent: Tuesday, June 9, 2009 9:59:25 AM GMT -06:00 US/Canada Central Subject: Re: Mix generic HTML for Wicket svn co http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/attic/wicketstuff-crud/ -igor On Tue, Jun 9, 2009 at 6:36 AM, David Brown wrote: > Hello Igor, I have an account on wicketstuff and I see the list of > wicketstuff projects that have been so-called: move to attic or deleted. I > don't see how to acquire wicketstuff-crud if it has not been deleted. I have > a wicket-crud.war. I could de-compile the .war. If decompilation of the .war > would give me the same as is found in the wicketstuff attic please advise, > David. > > > > > - Original Message - > From: "Igor Vaynberg" > To: users@wicket.apache.org > Sent: Saturday, June 6, 2009 12:14:41 PM GMT -06:00 US/Canada Central > Subject: Re: Mix generic HTML for Wicket > > there is wicketstuff-crud project somewhere in wicketstuff > > -igor > > On Sat, Jun 6, 2009 at 1:55 AM, Johan Compagner wrote: >> So you just wat generic components to have a CRUD pages on diffenent >> tables? There are projects/examples for this somewhere, you could >> build it your self by using repeaters and panels >> >> On 02/06/2009, sjtirtha wrote: >>> Hi, >>> >>> I'm a newbie with wicket. >>> I see that all sample always require .html and .java on the same folder with >>> the same name. >>> When I look into the .html files. They always contain simple html. >>> Is there any possibility that I have a generic html and a generic wicket >>> component that can be used shows DB tables. >>> >>> Regards, >>> Steve >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
WicketRuntimeException: Unable to initialize org.apache.wicket.extensions.Initializer
Hello Wicket bunch, I have basically usurped all of the Datatable example from the wicket-examples.repeater folder. The result builds OK but as you see in the subject line a nasty RTE. I have Googled and mail-listed this issue but not much comes up. If anyone can shed some light please advise, David. Yet some, not wise, go to the other side of the globe, to barbarous and unhealthy regions, and devote ten or twenty years, in that they may live,-that is, keep comfortably warm,- and die in New England at last. Henry David Thoreau - Walden - 1845 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Mix generic HTML for Wicket
Hello Igor, I have an account on wicketstuff and I see the list of wicketstuff projects that have been so-called: move to attic or deleted. I don't see how to acquire wicketstuff-crud if it has not been deleted. I have a wicket-crud.war. I could de-compile the .war. If decompilation of the .war would give me the same as is found in the wicketstuff attic please advise, David. - Original Message - From: "Igor Vaynberg" To: users@wicket.apache.org Sent: Saturday, June 6, 2009 12:14:41 PM GMT -06:00 US/Canada Central Subject: Re: Mix generic HTML for Wicket there is wicketstuff-crud project somewhere in wicketstuff -igor On Sat, Jun 6, 2009 at 1:55 AM, Johan Compagner wrote: > So you just wat generic components to have a CRUD pages on diffenent > tables? There are projects/examples for this somewhere, you could > build it your self by using repeaters and panels > > On 02/06/2009, sjtirtha wrote: >> Hi, >> >> I'm a newbie with wicket. >> I see that all sample always require .html and .java on the same folder with >> the same name. >> When I look into the .html files. They always contain simple html. >> Is there any possibility that I have a generic html and a generic wicket >> component that can be used shows DB tables. >> >> Regards, >> Steve >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WIA ch 13 DAO creation (just a lot of cheese?)
Hello James, thanks for the reply. Please find included below the Test.java body as found in the .domain directory: public class Test implements DomainObject { public Long getId() { return null; } } - Original Message - From: "James Carman" To: users@wicket.apache.org Sent: Monday, June 1, 2009 9:39:32 PM GMT -06:00 US/Canada Central Subject: Re: WIA ch 13 DAO creation (just a lot of cheese?) Does "Test" extend DomainObject? On Mon, Jun 1, 2009 at 10:32 PM, David Brown wrote: > Hello wicket bunch, I have a curious situation using the WIA ch13 > DAO/hibernate code. When I try to introduce a third class aptly named: Test > in the domain and a DAO interface named: TestDao and then a class: > TestDaoImpl I get the unresolvable Error: > > > > *** > Bound mismatch: The type Test is not a valid substitute for the bounded > parameter of the type AbstractHibernateDaoImpl > > > > Yet, this is perfectly valid for the existing class: Cheese and CheeseDaoImpl. > > > Any ideas? > > > > - > 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
WIA ch 13 DAO creation (just a lot of cheese?)
Hello wicket bunch, I have a curious situation using the WIA ch13 DAO/hibernate code. When I try to introduce a third class aptly named: Test in the domain and a DAO interface named: TestDao and then a class: TestDaoImpl I get the unresolvable Error: *** Bound mismatch: The type Test is not a valid substitute for the bounded parameter of the type AbstractHibernateDaoImpl Yet, this is perfectly valid for the existing class: Cheese and CheeseDaoImpl. Any ideas? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket QuickStart app failing at TestHomePage (testRenderMyPage)
Hello Wicketeers, I had QuickStart app running OK out-of-the-box. Then, I tried to create a couple of Panels (from WIA) for a couple of links that basically swap the text on the same page. Now, the project will not build because of Test errors (not failures). The particulars follow. In the mean time I will start with a fresh QuickStart project. If anyone has any ideas, rants-or-raves please advise, David. OS: Windows XP IDE: Ganymede Wicket: 1.4rc JDK: 1.5_15 Maven: 2.0.9 --- Test set: com.sexingtechnologies.TestHomePage --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.984 sec <<< FAILURE! testRenderMyPage(com.sexingtechnologies.TestHomePage) Time elapsed: 0.906 sec <<< ERROR! org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited markup not found. Component class: com.sexingtechnologies.HomePage Enable debug messages for org.apache.wicket.util.resource.Resource to get a list of all filenames tried. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Quickstart vs WIA eclipse projects: why so different?
Hello Igor, thanks - that did the trick. Regards, David. - Original Message - From: "Igor Vaynberg" To: users@wicket.apache.org Sent: Saturday, May 30, 2009 4:13:37 PM GMT -06:00 US/Canada Central Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so different? window/preferences/compiler/building - remove *.html from output folder/filtered resources -igor On Sat, May 30, 2009 at 2:09 PM, David Brown wrote: > Hello Luther, thanks for the informative and speedy reply. I'm going to take > things one-step-at-a-time. So far, Igor is right about running the > Start.class (as found in the test-classes directory). The only issue now is > the Eclipse bug-a-boo about not copying the .HTML files along with the .CLASS > files. See RuntimeException included below. As soon as I learn how to turn > off the filter I will try your way if this fails. Yes, I am basically looking > for anyway of speeding up the: edit, build, deploy cycle. Directly deploying > .WAR files is OK once but since I'm trying to develop something for work I'm > running out of time quickly. Thanks and regards, David. > > > > - Original Message - > From: "Luther Baker" > To: users@wicket.apache.org > Sent: Saturday, May 30, 2009 9:36:55 AM GMT -06:00 US/Canada Central > Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so different? > > For what its worth, I run a few Wicket 1.4x projects as within > Eclipse/m2plugin and pages, etc refresh just fine. I use the Run/Debug > Configurations and create a Maven application and then select the jetty > plugin, correct workspace and jetty:run command. > > There are also Jetty options you can include directly in the POM file that > define how and when Jetty should regularly will scan the deployed files ... > restarting Jetty if changes detected. > > What I've described is too different mechanisms for picking up changes ... > is that what you're asking for? > > -Luther > > > > On Sat, May 30, 2009 at 7:53 AM, Ben Tilford wrote: > >> Something that may be worth trying is mvn jetty:run-exploded >> >> On Fri, May 29, 2009 at 6:10 PM, Igor Vaynberg > >wrote: >> >> > like i said, the best way is to right click the Start class and do run >> > as java application. you can, of course, do it any other way you like >> > - including installing jetty eclipse launcher plugin. >> > >> > -igor >> > >> > On Fri, May 29, 2009 at 3:17 PM, David Brown >> > wrote: >> > > Hello Igor, thanks for the reply. Can I just ignore the QuickStart >> > embedded jetty and install jetty on Eclipse then do a run-as without any >> > issues? Please advise, David. >> > > >> > > >> > > - Original Message - >> > > From: "Igor Vaynberg" >> > > To: users@wicket.apache.org >> > > Cc: "david" >> > > Sent: Friday, May 29, 2009 4:51:02 PM GMT -06:00 US/Canada Central >> > > Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so >> different? >> > > >> > > why dont you just start the project from eclipse directly using the >> > > Start class, that way you get debug and hotswap - which should be the >> > > real "student's dream" :) >> > > >> > > -igor >> > > >> > > On Fri, May 29, 2009 at 2:53 PM, David Brown >> > > wrote: >> > >> Hello Martin, Jeremy, dev, gurus, users and mortals. I have just >> > finished ch. 13 of the WIA.pdf. I have followed closely the reading using >> > the wicket-in-action eclipse project. I have the wicket-in-action running >> > under the: mvn jetty:run. The wicket-in-action project is redeployed >> every >> > 60 seconds (a student's dream). After finishing the 13th chapter I >> decided >> > to leave the nest for the 1.4rc QuickStart. The new QuickStart project >> > expanded and imported into the Eclipse workspace no-problemo. The mystery >> is >> > what am I doing wrong to get the automatic 60 second re-deploy. As it >> stands >> > now I have to kill jetty, mvn package and then restart jetty (mvn >> > jetty:run). I have pasted in the: >> > >> >> > >> >> > >> ** >> > >> >> > >> configuration >> > >> development >> > >> >> > >> ** >> > >> >> > >> from the wicket-in-action web.
Re: Wicket Quickstart vs WIA eclipse projects: why so different?
Hello Luther, thanks for the informative and speedy reply. I'm going to take things one-step-at-a-time. So far, Igor is right about running the Start.class (as found in the test-classes directory). The only issue now is the Eclipse bug-a-boo about not copying the .HTML files along with the .CLASS files. See RuntimeException included below. As soon as I learn how to turn off the filter I will try your way if this fails. Yes, I am basically looking for anyway of speeding up the: edit, build, deploy cycle. Directly deploying .WAR files is OK once but since I'm trying to develop something for work I'm running out of time quickly. Thanks and regards, David. - Original Message - From: "Luther Baker" To: users@wicket.apache.org Sent: Saturday, May 30, 2009 9:36:55 AM GMT -06:00 US/Canada Central Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so different? For what its worth, I run a few Wicket 1.4x projects as within Eclipse/m2plugin and pages, etc refresh just fine. I use the Run/Debug Configurations and create a Maven application and then select the jetty plugin, correct workspace and jetty:run command. There are also Jetty options you can include directly in the POM file that define how and when Jetty should regularly will scan the deployed files ... restarting Jetty if changes detected. What I've described is too different mechanisms for picking up changes ... is that what you're asking for? -Luther On Sat, May 30, 2009 at 7:53 AM, Ben Tilford wrote: > Something that may be worth trying is mvn jetty:run-exploded > > On Fri, May 29, 2009 at 6:10 PM, Igor Vaynberg >wrote: > > > like i said, the best way is to right click the Start class and do run > > as java application. you can, of course, do it any other way you like > > - including installing jetty eclipse launcher plugin. > > > > -igor > > > > On Fri, May 29, 2009 at 3:17 PM, David Brown > > wrote: > > > Hello Igor, thanks for the reply. Can I just ignore the QuickStart > > embedded jetty and install jetty on Eclipse then do a run-as without any > > issues? Please advise, David. > > > > > > > > > - Original Message - > > > From: "Igor Vaynberg" > > > To: users@wicket.apache.org > > > Cc: "david" > > > Sent: Friday, May 29, 2009 4:51:02 PM GMT -06:00 US/Canada Central > > > Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so > different? > > > > > > why dont you just start the project from eclipse directly using the > > > Start class, that way you get debug and hotswap - which should be the > > > real "student's dream" :) > > > > > > -igor > > > > > > On Fri, May 29, 2009 at 2:53 PM, David Brown > > > wrote: > > >> Hello Martin, Jeremy, dev, gurus, users and mortals. I have just > > finished ch. 13 of the WIA.pdf. I have followed closely the reading using > > the wicket-in-action eclipse project. I have the wicket-in-action running > > under the: mvn jetty:run. The wicket-in-action project is redeployed > every > > 60 seconds (a student's dream). After finishing the 13th chapter I > decided > > to leave the nest for the 1.4rc QuickStart. The new QuickStart project > > expanded and imported into the Eclipse workspace no-problemo. The mystery > is > > what am I doing wrong to get the automatic 60 second re-deploy. As it > stands > > now I have to kill jetty, mvn package and then restart jetty (mvn > > jetty:run). I have pasted in the: > > >> > > >> > > >> ** > > >> > > >>configuration > > >>development > > >> > > >> ** > > >> > > >> from the wicket-in-action web.xml but no change. The Windows cmd > console > > shows the usual Wicket WARNING: running in development mode. I plan to > use > > the wicket-in-action almost verbatim including the Hibernate DAO for my > > current gig. It is probably only a few weeks before they start holding my > > feet to the fire. > > >> > > >> Please advise, David. > > >> > > >> - > > >> 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 > > &
Re: Wicket Quickstart vs WIA eclipse projects: why so different?
Hello Igor, thanks for the reply. Can I just ignore the QuickStart embedded jetty and install jetty on Eclipse then do a run-as without any issues? Please advise, David. - Original Message - From: "Igor Vaynberg" To: users@wicket.apache.org Cc: "david" Sent: Friday, May 29, 2009 4:51:02 PM GMT -06:00 US/Canada Central Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so different? why dont you just start the project from eclipse directly using the Start class, that way you get debug and hotswap - which should be the real "student's dream" :) -igor On Fri, May 29, 2009 at 2:53 PM, David Brown wrote: > Hello Martin, Jeremy, dev, gurus, users and mortals. I have just finished ch. > 13 of the WIA.pdf. I have followed closely the reading using the > wicket-in-action eclipse project. I have the wicket-in-action running under > the: mvn jetty:run. The wicket-in-action project is redeployed every 60 > seconds (a student's dream). After finishing the 13th chapter I decided to > leave the nest for the 1.4rc QuickStart. The new QuickStart project expanded > and imported into the Eclipse workspace no-problemo. The mystery is what am I > doing wrong to get the automatic 60 second re-deploy. As it stands now I have > to kill jetty, mvn package and then restart jetty (mvn jetty:run). I have > pasted in the: > > > ** > > configuration > development > > ** > > from the wicket-in-action web.xml but no change. The Windows cmd console > shows the usual Wicket WARNING: running in development mode. I plan to use > the wicket-in-action almost verbatim including the Hibernate DAO for my > current gig. It is probably only a few weeks before they start holding my > feet to the fire. > > Please advise, David. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Quickstart vs WIA eclipse projects: why so different?
Hello Ryan, thanks for the reply but I have the project imported successfully into Eclipse. David. - Original Message - From: "Ryan Gravener" To: users@wicket.apache.org Cc: "david" Sent: Friday, May 29, 2009 4:53:33 PM GMT -06:00 US/Canada Central Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so different? Yes, that is the real students dream. mvn eclipse:eclipse On Fri, May 29, 2009 at 5:51 PM, Igor Vaynberg wrote: > why dont you just start the project from eclipse directly using the > Start class, that way you get debug and hotswap - which should be the > real "student's dream" :) > > -igor > > On Fri, May 29, 2009 at 2:53 PM, David Brown > wrote: > > Hello Martin, Jeremy, dev, gurus, users and mortals. I have just finished > ch. 13 of the WIA.pdf. I have followed closely the reading using the > wicket-in-action eclipse project. I have the wicket-in-action running under > the: mvn jetty:run. The wicket-in-action project is redeployed every 60 > seconds (a student's dream). After finishing the 13th chapter I decided to > leave the nest for the 1.4rc QuickStart. The new QuickStart project expanded > and imported into the Eclipse workspace no-problemo. The mystery is what am > I doing wrong to get the automatic 60 second re-deploy. As it stands now I > have to kill jetty, mvn package and then restart jetty (mvn jetty:run). I > have pasted in the: > > > > > > ** > > > >configuration > >development > > > > ** > > > > from the wicket-in-action web.xml but no change. The Windows cmd console > shows the usual Wicket WARNING: running in development mode. I plan to use > the wicket-in-action almost verbatim including the Hibernate DAO for my > current gig. It is probably only a few weeks before they start holding my > feet to the fire. > > > > Please advise, David. > > > > - > > 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
Wicket Quickstart vs WIA eclipse projects: why so different?
Hello Martin, Jeremy, dev, gurus, users and mortals. I have just finished ch. 13 of the WIA.pdf. I have followed closely the reading using the wicket-in-action eclipse project. I have the wicket-in-action running under the: mvn jetty:run. The wicket-in-action project is redeployed every 60 seconds (a student's dream). After finishing the 13th chapter I decided to leave the nest for the 1.4rc QuickStart. The new QuickStart project expanded and imported into the Eclipse workspace no-problemo. The mystery is what am I doing wrong to get the automatic 60 second re-deploy. As it stands now I have to kill jetty, mvn package and then restart jetty (mvn jetty:run). I have pasted in the: ** configuration development ** from the wicket-in-action web.xml but no change. The Windows cmd console shows the usual Wicket WARNING: running in development mode. I plan to use the wicket-in-action almost verbatim including the Hibernate DAO for my current gig. It is probably only a few weeks before they start holding my feet to the fire. Please advise, David. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: DownloadLink (Javadoc)
Hello Steve, thanks, this worked. I imported the entire wicket 1.3.6 into Eclipse and a whole bunch of other things started working a whole lot better in the WIA Eclipse project. Since you got unlucky and I have you on the hook is there anyway of getting the mvn jetty:run to import into Eclipse such that I don't have to switch to a terminal or command window to redeploy to see the results of my changes. Maybe, somebody out there has a suggestion? Thanks and please advise, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Steve Swinsburg" To: users@wicket.apache.org Sent: Monday, May 25, 2009 5:10:57 PM GMT -06:00 US/Canada Central Subject: Re: DownloadLink (Javadoc) Hi David, You can get the Javadoc either by building it yourself from source via 'mvn javadoc:javadoc' or by issuing 'mvn eclipse:eclipse - DdownloadJavadocs=true' which will get the Javadoc and adjust your Eclipse classpath to link it up. cheers, Steve On 25/05/2009, at 10:54 PM, David Brown wrote: > Hello, it just so happens I have been looking for Wicket Javadoc. > the Wicket jar I have contains no javadoc. Please reply with the > source of the Wicket javadoc you are referencing. Please advise, > David. > > There are 10 kinds of people in this world: those who understand > binary and those who don’t (Valid only for 2's complement). > > - Original Message - > From: "Douglas Ferguson" > To: users@wicket.apache.org > Sent: Monday, May 25, 2009 12:11:06 PM GMT -06:00 US/Canada Central > Subject: DownloadLink > > I was just reading the javadoc for DownloadLink and it says that it > locks the PageMap, does this mean that the page becomes unresponsive > during the download? > > It mentions using a "shared resource" as an alternative. Is there > example of this online somewhere? > > Douglas > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to test for a redirect after form submit, eg. setting RedirectRequestTarget?
Hello, if you don't get a Wicket solution you might want to try real-time testing for re-direction using something like the Apache JMeter: http://jakarta.apache.org/jmeter/ - Original Message - From: "Jörn Zaefferer" To: "Wicket Users" Sent: Monday, May 25, 2009 10:32:40 AM GMT -06:00 US/Canada Central Subject: How to test for a redirect after form submit, eg. setting RedirectRequestTarget? Hi, in one of my Wicket unit tests I'd like to assert that after a successful submit, a RedirectRequestTarget was set. Its not even necessary to check the exact URL of that redirect, just that it happens. I can't find any support for that via WicketTester, and RequestCycle.get().getRequestTarget() (or accessed via tester.getLastRenderedPage().getRequestCycle().getRequestTarget()) returns null. Any ideas? Regards Jörn Zaefferer - 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: Misfunctionality in WIA source code
Hello, did you ever resolve the issue with the book code?. I am on chapter 5.x in the WIA and I have posted a couple of issues but no response here either. David. - Original Message - From: "HHB" To: users@wicket.apache.org Sent: Sunday, May 17, 2009 7:09:57 AM GMT -06:00 US/Canada Central Subject: Misfunctionality in WIA source code Hey, I think the code of chapter 11 of "Wicket In Action" book isn't functioning properly. After logging in, try to logout, you should notice that you are still in the same page and you have to click on Logout link again in order to be taken to the sign in page. Any ideas? I'm using the same logout logic in our application and I'm facing the same problem. Thanks. - 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
Stump the WIA newbie
Hello Wicket dev, gurus, users and mortals, I am on page 123 of the wia.pdf. The 5.8 listing displays an exercise to migrate the: new Link() to: new AjaxFallbackLink() for both the Add and Delete links. I was successful on both points mentioned in the previous sentence. However, I was not successful on the part left as an exercise for the reader: migrate the new Label() for the Total to some presumably documented Ajax method. The particulars follow. Please advise (or hint), David. Wicket: WIA 1.3.6 Eclipse: 3.4.2 WIA: listing 5.8. Build: maven Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: DownloadLink
Hello, it just so happens I have been looking for Wicket Javadoc. the Wicket jar I have contains no javadoc. Please reply with the source of the Wicket javadoc you are referencing. Please advise, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Douglas Ferguson" To: users@wicket.apache.org Sent: Monday, May 25, 2009 12:11:06 PM GMT -06:00 US/Canada Central Subject: DownloadLink I was just reading the javadoc for DownloadLink and it says that it locks the PageMap, does this mean that the page becomes unresponsive during the download? It mentions using a "shared resource" as an alternative. Is there example of this online somewhere? Douglas - 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: Pre-built wicket sample app for a starter to copy?
Hello, please excuse if the wicket-security project is readily visible. Otherwise, reply with the link. Much appreciated. Regards, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Matt Welch" To: users@wicket.apache.org Sent: Tuesday, May 12, 2009 3:46:52 PM GMT -06:00 US/Canada Central Subject: Re: Pre-built wicket sample app for a starter to copy? Maarten Bosteels wrote: > > Are you sure you want to mix Wicket with DisplayTag ? > I am not saying it's impossible, but when starting a Wicket project from > scratch, I wouldn't add a JSP tag library to the mix. > Truth. You should really reconsider throwing DisplayTag into this. Without going into paragraphs ans paragraphs of explanatory detail, Wicket just doesn't work like that. I'm not saying it couldn't be done if you were enough of a masochist, but the real question would be why? While not nearly as bad in terms of integration, you may want to rethink Acegi as well. Perhaps it has changed since the last project I used it on, but at the time I hated it. Wicket has some nice hooks for adding your own authorization/authentication schemes and there's a wicket-security project if you want a pre-built infrastructure. -Matt -- View this message in context: http://www.nabble.com/Pre-built-wicket-sample-app-for-a-starter-to-copy--tp23487461p23510113.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Pimp your Wicket app!
Hello, my Wicket app is still in alpha dev. Closer to reality I'm still trying to migrate the backend from MSSQL 2005 to MySQL embeddable. The entire project is just a pilot to see if I get the job. The current running enterprise web app to be replaced is a concoction of hundreds of code-generated cut-and-paste Servlet sourcecode, a few pojos, hundreds of Stored Procedures executing against 800+ tables and no keys!. If I succeed in navigating this quagmire web app I will surely post the deliverable. Regards, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Daniel Frisk" To: users@wicket.apache.org Sent: Thursday, May 7, 2009 5:13:12 AM GMT -06:00 US/Canada Central Subject: Re: Pimp your Wicket app! Name of your application: http://jalbum.net Intranet or internet: [ ] intranet [X ] internet Public or private site: [ X] public [ ] private [ ] both Average number of concurrent users: ~500 Max number of concurrent users you have encountered: Don't know Average number of Wicket served requests per (business)day: ~20 M Number of servers running your Wicket frontend code: 4 Number of cores/CPUs per server: 4 Number of JVMs running on your server for Wicket frontend code: 1 Do these JVMs run in a cluster? [ X] yes [ ] no -Xmx setting (max memory) for your JVMs: 4 GB // Daniel jalbum.net On 2009-05-07, at 10:54, Martijn Dashorst wrote: > I (and possibly the rest of the Wicket community) would like to know > more about your deployed Wicket applications. Even though we have a > page that enables everyone to list their Wicket application, it lacks > the details we all crave for. So I'd like to invite everyone to share > their setup with us. > > Now pimp your application! > > Martijn > - 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: Maven setup
Hello Frank, I can't answer all the questions but... * I'm a 10+ year nearly Java only developer. I was initially very impressed with databinder but the only real support for databinder I could find is @: http://code.google.com/p/wicket-web-beans/ * I have 1.3.5 running in Eclipse (Ganymede) with Maven OK and I plan to upgrade to 1.3.6 as my new gig requires this framework. * Hibernate is a great ORM gadget but it is not 100% Java so PermGen space can be an issue. So, as an alternative you could investigate iBatis and I think Wicket also does well in the DAO arena. I'm only 100 pp into the WIA book so obviously you will need more folks chipping in with better experience. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Frank Tegtmeyer" To: users@wicket.apache.org Sent: Wednesday, May 6, 2009 5:47:25 AM GMT -06:00 US/Canada Central Subject: Maven setup Hi, does anybody have a Wicket quickstart project updated to the latest versions? I am new to Java, to Maven and to Wicket of course too. I have a background in web developing with Zope and Django (all implemented in Python) but am forced to use Java now. I know that the learning curve will be steep and I got some showstoppers already :) After reading much about many Java frameworks and some frustrating tests with JSF I've chosen Wicket because it fits my requirements best. I've done some tests with databinder which promoted Maven heavily, so I want to use Maven too. I'm still struggling with the whole setup - the following issues are still not clear to me: - Maven setup - Wicket dependency doesn't work for 1.3.5 nor for 1.3.6 although the website says so (data at the end of this message) Possibly another repository required? - integration with Eclipse - Maven goal or Eclipse plugin or both? - I want to use embedded Jetty also for production (running the application behind lighttpd). How to do deployment in an elegant way? There is only SSH access to my server. - Hibernate integration - does databinder help much or is it better to learn Hibernate directly? I saw that databinder always is somewhat behind the current versions, so that may be an issue. I hope these are not too stupid questions and someone will find the time to answer them. With kind regards, Frank The Maven dependency for wicket: wicket wicket 1.3.5 The error: [INFO]task-segment: [compile] [INFO] [INFO] [resources:resources] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource Downloading: http://mirrors.sunsite.dk/maven2/wicket/wicket/1.3.5/wicket-1.3.5.pom [INFO] Unable to find resource 'wicket:wicket:pom:1.3.5' in repository central (http://repo1.maven.org/maven2) [INFO] artifact wicket:wicket-extensions: checking for updates from central [INFO] artifact mysql:mysql-connector-java: checking for updates from central [INFO] artifact org.mortbay.jetty:jetty: checking for updates from central Downloading: http://mirrors.sunsite.dk/maven2/wicket/wicket/1.3.5/wicket-1.3.5.jar [INFO] Unable to find resource 'wicket:wicket:jar:1.3.5' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket in Action vs the other main books
Hello Igor, thanks again for the reply. I can't see the git forest for all the svn,hg,cvs trees. I will git-up-to-speed with git (no pun intended) and fetch the sofware. Again, thanks very much as this changes the complexion of the direction I will be taking to development the web app for my current gig. I may even be able to keep my job! Regards, ;-) David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Igor Vaynberg" To: users@wicket.apache.org Sent: Friday, April 10, 2009 3:12:32 PM GMT -06:00 US/Canada Central Subject: Re: Wicket in Action vs the other main books google "databinder.net svn" which will lead you to the faq page http://databinder.net/site/show/faq which will lead you to git://databinder.net/git/databinder -igor On Fri, Apr 10, 2009 at 12:31 PM, David Brown wrote: > Hello Erik, thanks for the speedy and informative reply. I just acquired the > Tong PDF and I will cruise by B&N and pick-up the WIA book. The > databinder.net may be LGPL but I do not see any source-code repo: SVN, HG, > etc. so it is too risky for me to rely strictly on the jars that came with > the demo examples. Thanks again, David. > > > > > There are 10 kinds of people in this world: those who understand binary and > those who don’t (Valid only for 2's complement). > > - Original Message - > From: "Erik van Oosten" > To: users@wicket.apache.org > Sent: Friday, April 10, 2009 9:54:35 AM GMT -06:00 US/Canada Central > Subject: Re: Wicket in Action vs the other main books > > David, > > Wicket in Action describe how to integrate with Spring and Hibernate. > > Databinder.net is LGPL, you can choose and copy code you like. Updating > selected code to recent wicket version should be fairly easy. > > Regards, > Erik. > > > David Brown schreef: >> Hello Wicketers, I am in the throes of a decision to buy the Wicket in >> Action book. There are a couple of other books but the little time I have >> lurked on this ML I have noticed the Wicket-in-Action authors are fielding >> some of the issues on this list. The reason I need to hit Wicket as hard as >> I can is I have already dismissed 3 other MVC frameworks that I have >> evaluated over the past two weeks. I have also evaluated 3 end-to-end MVC >> frameworks based on Wicket. End-to-end means: (HTML UI)(Java POJO >> middleware)(Hibernate|iBatis)(MySQL). I have dismissed all of the so-called >> end-to-end MVC frameworks except: databinder.net. The databinder.net >> framework is a great piece of software based entirely on Wicket and >> Hibernate. The only caveat is databinder.net appears to no longer enjoy a >> community type support. And, in fact, databinder.net does not seem to be >> supported in any way including the original author. So, betting the farm on >> databinder.net is problematic and this brings us to the question of: does >> the Wicket in Action book (or any Wicket book) discuss the coupling together >> of Wicket and something like Hibernate or iBatis to a restructured database >> for the purposes of rewriting an existing web app. The current web app >> run-time for the company I am working for was written using a >> code-generator. The name of the code-generator referenced in the previous >> sentence is not known. The original programmer that authored the original >> run-time web app has flown-the-coop. Rants and Raves welcomed. Please >> advise, David. >> >> >> > > -- > Erik van Oosten > http://day-to-day-stuff.blogspot.com/ > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket in Action vs the other main books
Hello Erik, thanks for the speedy and informative reply. I just acquired the Tong PDF and I will cruise by B&N and pick-up the WIA book. The databinder.net may be LGPL but I do not see any source-code repo: SVN, HG, etc. so it is too risky for me to rely strictly on the jars that came with the demo examples. Thanks again, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Erik van Oosten" To: users@wicket.apache.org Sent: Friday, April 10, 2009 9:54:35 AM GMT -06:00 US/Canada Central Subject: Re: Wicket in Action vs the other main books David, Wicket in Action describe how to integrate with Spring and Hibernate. Databinder.net is LGPL, you can choose and copy code you like. Updating selected code to recent wicket version should be fairly easy. Regards, Erik. David Brown schreef: > Hello Wicketers, I am in the throes of a decision to buy the Wicket in Action > book. There are a couple of other books but the little time I have lurked on > this ML I have noticed the Wicket-in-Action authors are fielding some of the > issues on this list. The reason I need to hit Wicket as hard as I can is I > have already dismissed 3 other MVC frameworks that I have evaluated over the > past two weeks. I have also evaluated 3 end-to-end MVC frameworks based on > Wicket. End-to-end means: (HTML UI)(Java POJO > middleware)(Hibernate|iBatis)(MySQL). I have dismissed all of the so-called > end-to-end MVC frameworks except: databinder.net. The databinder.net > framework is a great piece of software based entirely on Wicket and > Hibernate. The only caveat is databinder.net appears to no longer enjoy a > community type support. And, in fact, databinder.net does not seem to be > supported in any way including the original author. So, betting the farm on > databinder.net is problematic and this brings us to the question of: does the > Wicket in Action book (or any Wicket book) discuss the coupling together of > Wicket and something like Hibernate or iBatis to a restructured database for > the purposes of rewriting an existing web app. The current web app run-time > for the company I am working for was written using a code-generator. The name > of the code-generator referenced in the previous sentence is not known. The > original programmer that authored the original run-time web app has > flown-the-coop. Rants and Raves welcomed. Please advise, David. > > > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: URL rewriting
Hello, one thing you could do is to not worry with Wicket doing this but instead allow a proxy to do this for you such as Squid with the very good Squid URL rewriting engine. I think even Apache has some very good URL rewriting configurations. Just an idea, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "DV" To: users@wicket.apache.org Sent: Friday, April 10, 2009 10:11:24 AM GMT -06:00 US/Canada Central Subject: URL rewriting We are evaluating wicket to rewrite our consumer UI. There is one requirement in which I would like to get advice on. We have a requirement in which the wildcard url gets dispatched to a controller that renders a page. The url pattern is in the form of "/company/**-details.html". We have a single controller that receives the above url and figures out the company name and displays the page accordingly or throws a http 404 error if the company is not found. e.g /company/ABC-details.html, /company/TOTO-details.html etc Can this be done in wicket? Any advice or hints would be appreciated! Dinp - 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
Wicket in Action vs the other main books
Hello Wicketers, I am in the throes of a decision to buy the Wicket in Action book. There are a couple of other books but the little time I have lurked on this ML I have noticed the Wicket-in-Action authors are fielding some of the issues on this list. The reason I need to hit Wicket as hard as I can is I have already dismissed 3 other MVC frameworks that I have evaluated over the past two weeks. I have also evaluated 3 end-to-end MVC frameworks based on Wicket. End-to-end means: (HTML UI)(Java POJO middleware)(Hibernate|iBatis)(MySQL). I have dismissed all of the so-called end-to-end MVC frameworks except: databinder.net. The databinder.net framework is a great piece of software based entirely on Wicket and Hibernate. The only caveat is databinder.net appears to no longer enjoy a community type support. And, in fact, databinder.net does not seem to be supported in any way including the original author. So, betting the farm on databinder.net is problematic and this brings us to the question of: does the Wicket in Action book (or any Wicket book) discuss the coupling together of Wicket and something like Hibernate or iBatis to a restructured database for the purposes of rewriting an existing web app. The current web app run-time for the company I am working for was written using a code-generator. The name of the code-generator referenced in the previous sentence is not known. The original programmer that authored the original run-time web app has flown-the-coop. Rants and Raves welcomed. Please advise, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Communication between applications, one using wicket
Hello Cristi, it sounds like you mean polling. When I glued the two disparate systems together the Axis2 .aar file was just connected to an Oracle socket. The socket was in permissive mode so whenever the data appeared at the socket it was immediately available to the Axis2 listener and all the XML just went over the wire immediately because of some database trigger or other event on the DB side. The Axis2 .aar validated everything and acted accordingly to forward the communication to the .asp page. Just an idea. ;-) There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Cristi Manole" To: users@wicket.apache.org Sent: Thursday, April 9, 2009 8:14:43 AM GMT -06:00 US/Canada Central Subject: Re: Communication between applications, one using wicket Thanks for your feedback, guys. I don't like the idea of both writing to the database directly, because I want the layers separated. I don't think either application should know anything about the other's database. I used Axis2 before, but at the moment i don't see how it can solve my problem - meaning how to update some panel *without* doing some action repeatedly until something worth displaying to the user happens. On Thu, Apr 9, 2009 at 4:00 PM, James Carman wrote: > Or, just write to the database, since the wicket application polls the > db for changes anyway. > > On Thu, Apr 9, 2009 at 8:59 AM, John Krasnay wrote: > > On Thu, Apr 09, 2009 at 07:48:10AM -0500, David Brown wrote: > >> Hello Cristi, this is typically referred to as diparate sytems > >> communications issue. In the past I have had some success between such > >> sytems using a WSDL and messaging. I did not have a lot of time so I > >> opted for the Apache Axis2 framework (http://ws.apache.org/axis2/). > >> You will have to do some work but better than developing something > >> with low-level Java nuts-and-bolts. > > > > Ugh! I think Cristi's approach of a bookmarkable page is far simpler > > than messing with SOAP stacks. > > > > jk > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Communication between applications, one using wicket
Hello Cristi, this is typically referred to as diparate sytems communications issue. In the past I have had some success between such sytems using a WSDL and messaging. I did not have a lot of time so I opted for the Apache Axis2 framework (http://ws.apache.org/axis2/). You will have to do some work but better than developing something with low-level Java nuts-and-bolts. The systems I glued together were: a C/C++/Oracle backend concoction to a .asp/vbscript(ed) front-end. HTH, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Cristi Manole" To: users@wicket.apache.org Sent: Thursday, April 9, 2009 2:36:39 AM GMT -06:00 US/Canada Central Subject: Communication between applications, one using wicket Hello, I have a wicket application where a user starts an action on another system (different machine, outside network). I would like for this specific user to receive a response from that system once the action is finished (it takes a fair amount of time) and the status of that action. My idea is to have inside Wicket application an ajax self updating panel, so that the database of the application gets read from time to time. The other application would send a "message" to the Wicket application (call some page with some page parameters), which would update the specific database table with the user who started the action and the response. Once the action is finished, the self updating panel (aware of this by reading it in the database) becomes visible and it will contain that message to inform the user. I think my idea is bad. If nothing else I consider it resource savvy. How do you guys handle communication between two applications (the other application is not written in java) in order to provide the response to the user without refreshing the page? Thank you very much in advance, Cristi Manole - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Noob: Long cannot be cast to java.lang.String
Hello Johan, thanks! the static NumberValidator.RangeValidator(long minimum, long maximum) worked! Wicket is great. I just wished Wicket was available 10 years ago! Regards, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message - From: "Johan Compagner" To: users@wicket.apache.org Sent: Tuesday, April 7, 2009 7:08:16 PM GMT -06:00 US/Canada Central Subject: Re: Wicket Noob: Long cannot be cast to java.lang.String You seem to have a String validator on a number field. What do you want to test a range? Or max value of that long? Use a different validor On 08/04/2009, David Brown wrote: > Hello Wicket dev, gurus and mortals, I was successfully using Wicket to > build the UI for my new web-app gig. I have studied the javadoc: > org.apache.wicket.markup.html.form, org.apache.wicket.MarkupContainer and > others until bleary-eyed. The web-page I am using will display correctly the > values for Long and Integer in a HTML text input dialog but when I try to > Save (write the value back to the DB) I get the following error condition. I > can only work with String data and nothing else using the wicket ids. Please > advise, David. > > ** > org.apache.wicket.WicketRuntimeException: Exception > 'java.lang.ClassCastException: java.lang.Long cannot be cast to > java.lang.String' occurred during validation > org.apache.wicket.validation.validator.StringValidator$MaximumLengthValidator > on component 1:editform:weight at > org.apache.wicket.markup.html.form.FormComponent.validateValidators(FormComponent.java:1510) > > There are 10 kinds of people in this world: those who understand binary and > those who don’t (Valid only for 2's complement). > > - > 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
Wicket Noob: Long cannot be cast to java.lang.String
Hello Wicket dev, gurus and mortals, I was successfully using Wicket to build the UI for my new web-app gig. I have studied the javadoc: org.apache.wicket.markup.html.form, org.apache.wicket.MarkupContainer and others until bleary-eyed. The web-page I am using will display correctly the values for Long and Integer in a HTML text input dialog but when I try to Save (write the value back to the DB) I get the following error condition. I can only work with String data and nothing else using the wicket ids. Please advise, David. ** org.apache.wicket.WicketRuntimeException: Exception 'java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String' occurred during validation org.apache.wicket.validation.validator.StringValidator$MaximumLengthValidator on component 1:editform:weight at org.apache.wicket.markup.html.form.FormComponent.validateValidators(FormComponent.java:1510) There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org