artwork problem while changing background color of liquid canvas
i am trying to fill the background color in liquid canvas component as below but it didn't work out .Result is no background color/canvas with a error in firefox that says unknown pugin . Graphics g=new Shadow(); g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient()); Fill fill=new Fill(#ADDFFF); LiquidCanvasBehavior lcb=new LiquidCanvasBehavior(fill,g,new RoundedRect()); regards, Vineet Semwal
Nested forms not working in wizard.
I am currently running wicket 1.4-rc2 I have nested forms setup in the wizard. One of my steps is as follows. code public class MyStep1 extends WizardStep { public MyStep1(final CompoundPropertyModelCampaign campaignModel) { super(Step 1, Wow bananas); add(new Form(form) { @Override protected void onSubmit() { super.onSubmit(); --- never fired } }); } } /code The wizard successfully navigates between steps, and validation occurs against any fields in the nested forms. The onSubmit of the inner form is never fired - this is ... pretty annoying :) Any ideas? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Hot to use BookmarkablePageLinks with a page mounted at several pathes?
Hi, I have one page which is mounted at several pathes with IndexParamUrlCodingStrategy e.g. : /pathA /pathB Now I want to create BookmarkablePageLinks with PageParameters and a specific path of the page, e.g. /pathA/id where id is the page parameter. The problems is that rendering url calls BookmarkablePageRequestTargetUrlCodingStrategy.matches which only checks the Page class but not the mount path, so the url is (in my case) /pathB/id which is wrong. So i tried to use the mount path as first parameter and the id as second parameter but this generates: /pathB/pathA/id If call the page /pathA/id directly in the browser everthing is okay as the method IRequestTargetUrlCodingStrategy.urlCodingStrategyForPath(String path) takes care of the mount path. So what can I do the specify the mount path + PageParameters in the BookmarkablePageLink? Extend BookmarkablePageLink and overide onComponentTag ? Thanks, Oliver
Re: Slideshow
Replying inline.. 2009/7/4 Daniele Dellafiore ilde...@gmail.com: yep, that was my idea too even if this force me to introduce supplementary navigations link outside the Slideshow. This may result confusing for the user and they will not be as cool as normal smoothgallery controls. No this is not what I meant, I meant that you should integrate with ajax.. So for example if you have a max of 100 img loaded at one time, when the user scrolls near image number 80 or so, then request some more images.. so it should be seamless and not visible to the user.. So thats what I meant. You can use normal pagination for this.. It's just a matter of integrating with ajax, and if SmoothGallery supports something like this. Anyway, is a cheap and effective solution so probably I go with this, and I Will try to have a look in the SG forum for people having this issue. On Fri, Jul 3, 2009 at 2:05 PM, nino martinez waelnino.martinez.w...@gmail.com wrote: just make an ajax version and use normal pagination..? 2009/7/2 Daniele Dellafiore ilde...@gmail.com: On Mon, Jun 29, 2009 at 2:20 PM, Johannes Schneidermaili...@cedarsoft.com wrote: Thanks for that hint. Do you know how many images wicket-slides/SmoothGallery support? I will have galleries with thousands of pictures... I do not know how many images it supports but I remember it was quite slow to load one hundred images. Anyway, send all images to the client in one shot doesn't sound reasonable to me. I am addressing this issue in the next weeks, if you have some ideas we should start talking about some possible implementation. -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - 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 -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - 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: artwork problem while changing background color of liquid canvas
Yea seems somethings wrong. Im very busy at the moment. But check here: http://www.ruzee.com/files/liquid-canvas/demo.html It might have something about the lenght of the hex todo? 2009/7/6 vineet semwal vineetsemwal1...@gmail.com: i am trying to fill the background color in liquid canvas component as below but it didn't work out .Result is no background color/canvas with a error in firefox that says unknown pugin . Graphics g=new Shadow(); g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient()); Fill fill=new Fill(#ADDFFF); LiquidCanvasBehavior lcb=new LiquidCanvasBehavior(fill,g,new RoundedRect()); regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: artwork problem while changing background color of liquid canvas
Or the combination of things? I know it's very loose. If you want some help could you please do a quickstart? I simply dont have time to setup it all manually.. 2009/7/6 nino martinez wael nino.martinez.w...@gmail.com: Yea seems somethings wrong. Im very busy at the moment. But check here: http://www.ruzee.com/files/liquid-canvas/demo.html It might have something about the lenght of the hex todo? 2009/7/6 vineet semwal vineetsemwal1...@gmail.com: i am trying to fill the background color in liquid canvas component as below but it didn't work out .Result is no background color/canvas with a error in firefox that says unknown pugin . Graphics g=new Shadow(); g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient()); Fill fill=new Fill(#ADDFFF); LiquidCanvasBehavior lcb=new LiquidCanvasBehavior(fill,g,new RoundedRect()); regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicket vs vaadin clarifications
Hi all, After I tweeted a criticism about http://vaadin.com/comparison table, some employees/supporters quickly got back to me asking to elaborate on the problems. I thought it would be good to make it clear and post it to this mailing list. Feel free to comment on my points. Dear Vaadin people: Widget diversity richness: - (I guess richness means Ajax-enabled components?). You put 1 star - but there are plenty of 3rd party Ajax components for Wicket... for instance have a look at wicketstuff.org. And by the way, require you to use their AJAX API to implement AJAX functionality is simply not true. I have created components with jQuery or Mootools where you just drop the jar in your classpath and don't code a single line of JavaScript. Further, you reuse the goodness of inheritance to structure the JavaScript contributions, like script src=.../ Framework extensions are done in Java: - You should tick it - extensions *are* done in Java No HTML required: - It depends. There are components that don't have associated markup. No XML configuration required: - You should tick it - no XML configuration is required whatsoever. Of course, web.xml but... you know. Web-page oriented / Framework tuned for building web-pages/sites instead of application user interfaces: - Well, definitions here are quite blurred. But I'd say the sweet point of Wicket is building highly-stateful application UIs. Commercial support guarantees available: - There are various companies that provide support for Wicket Francisco - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Nested forms not working in wizard.
Is the form nested in the other form in html. I remember vaguely something about it needs to be nested, wicket then rewrites it or something like that.. How does the resulting html look like? 2009/7/6 Ned Collyer ned.coll...@gmail.com: I am currently running wicket 1.4-rc2 I have nested forms setup in the wizard. One of my steps is as follows. code public class MyStep1 extends WizardStep { public MyStep1(final CompoundPropertyModelCampaign campaignModel) { super(Step 1, Wow bananas); add(new Form(form) { �...@override protected void onSubmit() { super.onSubmit(); --- never fired } }); } } /code The wizard successfully navigates between steps, and validation occurs against any fields in the nested forms. The onSubmit of the inner form is never fired - this is ... pretty annoying :) 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
Re: wicket vs vaadin clarifications
I completely agree. I think somethings missing though: Backed up by a corporation: Should be ticket, ASF are a corporation. The comparison seems biased, or influenced by poor knowledge at least about wicket. Could it be that vaadin wants to sell their product :) And one thing more to add to: Widget diversity richness You can out of the box make your components update able by ajax (without ever touching ajax) just by doing plain java. 2009/7/6 francisco treacy francisco.tre...@gmail.com: Hi all, After I tweeted a criticism about http://vaadin.com/comparison table, some employees/supporters quickly got back to me asking to elaborate on the problems. I thought it would be good to make it clear and post it to this mailing list. Feel free to comment on my points. Dear Vaadin people: Widget diversity richness: - (I guess richness means Ajax-enabled components?). You put 1 star - but there are plenty of 3rd party Ajax components for Wicket... for instance have a look at wicketstuff.org. And by the way, require you to use their AJAX API to implement AJAX functionality is simply not true. I have created components with jQuery or Mootools where you just drop the jar in your classpath and don't code a single line of JavaScript. Further, you reuse the goodness of inheritance to structure the JavaScript contributions, like script src=.../ Framework extensions are done in Java: - You should tick it - extensions *are* done in Java No HTML required: - It depends. There are components that don't have associated markup. No XML configuration required: - You should tick it - no XML configuration is required whatsoever. Of course, web.xml but... you know. Web-page oriented / Framework tuned for building web-pages/sites instead of application user interfaces: - Well, definitions here are quite blurred. But I'd say the sweet point of Wicket is building highly-stateful application UIs. Commercial support guarantees available: - There are various companies that provide support for Wicket Francisco - 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
list of components/settings... not working with Ajax ? == setGatherExtendedBrowserInfo doesn't work with Ajax
Hi When looking at the mailing list archive for some info, I found that setGatherExtendedBrowserInfo doesn't work with Ajax in this discussion : http://www.nabble.com/Odd-behaviour-after-setGatherExtendedBrowserInfo(true)-td15457880.html#a15464392 As I was affected by this issue, it was quite a relief to read that, and I've opened an issue for it (https://issues.apache.org/jira/browse/WICKET-2355). However, I now wonder whether there are other components/settings/wicket concepts which don't play well with ajax ? Indeed, that setGatherExtendedBrowserInfo isn't working with Ajax wasn't even told in the javadoc... thanks in advance joseph - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
n-Level Page Navigation
Hi everybody! I am new to Wicket. And try to write app with n-level menu. I am found the message of Igor Vaynberg. http://mail-archives.apache.org/mod_mbox/wicket-users/200805.mbox/%3c23eb48360805082351p3b52963cic0b69f29e2011...@mail.gmail.com%3e I am trying to implement his example, but i am in trouble. I make some changes to this code example. My HomePage class extends EntryPage class. MenuItem class extends Component class. I am trying to add menuitem from HomePage getMenuItem method, but always get exception. Thank you very much for your advices. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Hot to use BookmarkablePageLinks with a page mounted at several pathes?
You might need to create your own url coding strategy that answers for all the mount paths for that page. The built-in one is only for a single page at a single path. Why do you have a single page on multiple paths? Does the page respond differently based on path? Should the pages on different paths be subclasses of the main page? Or are you simply trying to avoid an extra parameter? What about mounting the page on /path and then using an indexed parameter mount so that it is /path/a/id? -- Jeremy Thomerson http://www.wickettraining.com On Mon, Jul 6, 2009 at 3:15 AM, Oliver Krohneokro...@yahoo.de wrote: Hi, I have one page which is mounted at several pathes with IndexParamUrlCodingStrategy e.g. : /pathA /pathB Now I want to create BookmarkablePageLinks with PageParameters and a specific path of the page, e.g. /pathA/id where id is the page parameter. The problems is that rendering url calls BookmarkablePageRequestTargetUrlCodingStrategy.matches which only checks the Page class but not the mount path, so the url is (in my case) /pathB/id which is wrong. So i tried to use the mount path as first parameter and the id as second parameter but this generates: /pathB/pathA/id If call the page /pathA/id directly in the browser everthing is okay as the method IRequestTargetUrlCodingStrategy.urlCodingStrategyForPath(String path) takes care of the mount path. So what can I do the specify the mount path + PageParameters in the BookmarkablePageLink? Extend BookmarkablePageLink and overide onComponentTag ? Thanks, Oliver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket vs vaadin clarifications
Hi all, If there are any errors in our comparison table, please accept my apologies - I wrote the original version of the table. I take care that any errors will be corrected as soon as possible. Just to clarify the situation - I think that wicket is a nice framework and really want to give it a fair comparison. In my opinion, Vaadin is better for some applications and Wicket for some. Here are quick comments to your concerns. francisco treacy-2 wrote: Widget diversity richness: - (I guess richness means Ajax-enabled components?). You put 1 star - but there are plenty of 3rd party Ajax components for Wicket... for instance have a look at wicketstuff.org. I did this comparison purely by looking at the available demos and comparing available ajax-enabled components on http://wicketstuff.org/wicket13/compref/ that I thought to represent the wicket core component set. You can browse through the core widgets (with code examples) on http://demo.vaadin.com/sampler/ Unfortunately I did not include wicketstuff - is there a (online or offline) demo available? On the other hand - I also left out all the extra Vaadin components on http://dev.vaadin.com/svn/incubator/ and from http://dev.vaadin.com/svn/contrib/ francisco treacy-2 wrote: And by the way, require you to use their AJAX API to implement AJAX functionality is simply not true. I have created components with jQuery or Mootools where you just drop the jar in your classpath and don't code a single line of JavaScript. Further, you reuse the goodness of inheritance to structure the JavaScript contributions, like script src=.../ Please explain - I thought that in order to make a wicket page ajax enabled, you should create special Ajax callbacks and use Ajax exabled components as explained in http://wicket.apache.org/exampleajaxcounter.html In Vaadin all components and rendering is purely Ajax enabled. The above mentioned example re-written in Vaadin would look like: package com.example.counter; import com.vaadin.Application; import com.vaadin.ui.*; import com.vaadin.ui.Button.ClickEvent; public class CounterApplication extends Application { private int counter = 0; public void init() { Window mainWindow = new Window(Counter Application); setMainWindow(mainWindow); final Label label = new Label(Not clicked yet); mainWindow.addComponent(label); mainWindow.addComponent(new Button(Click me, new Button.ClickListener() { public void buttonClick(ClickEvent event) { label.setValue(Clicked + (++counter) + of times.); } })); } } Even though the difference in complexity is not that big in example, in large applications it really makes a difference. francisco treacy-2 wrote: Framework extensions are done in Java: - You should tick it - extensions *are* done in Java By framework extensions here I mean new components/widgets and as the comparison is only about RIA, I mean Ajax enabled components. In Vaadin new widgets are written in Java - both on server-side and on client-side. Client side is compiled with Google Web Toolkit to JavaScript. To read more, see: http://vaadin.com/book/-/page/gwt.html In order to create a new Ajax enabled widget for Wicket, you must write client-side with JavaScript and server-side in Java - or am I wrong here? francisco treacy-2 wrote: No HTML required: - It depends. There are components that don't have associated markup. All examples on http://wicket.apache.org/ include some HTML. In Vaadin there is no page concept at all. For example, the above counter is self-contained - you do not need any html or xml to run it. (ok, you must configure vaadin servlet in web.xml) francisco treacy-2 wrote: No XML configuration required: - You should tick it - no XML configuration is required whatsoever. Of course, web.xml but... you know. Ooops. This is my mistake. Sorry. Will be corrected asap. francisco treacy-2 wrote: Web-page oriented / Framework tuned for building web-pages/sites instead of application user interfaces: - Well, definitions here are quite blurred. But I'd say the sweet point of Wicket is building highly-stateful application UIs. You are right - border is really blurred. To draw a line, we should consider what is the normal operating mode for the framework. Most Wicket applications require page changes and most Vaadin applications operate within a single page. francisco treacy-2 wrote: Commercial support guarantees available: - There are various companies that provide support for Wicket Can you really buy guarantee for Wicket? Any references? Best regards, Joonas -- View this message in context: http://www.nabble.com/wicket-vs-vaadin-clarifications-tp24353170p24356576.html Sent from the Wicket - User mailing
Re: virues scanning for file upload
any suggestions on this ? fachhoch wrote: What OS? Linux James Carman-3 wrote: What OS? Windoze? Linux? On Thu, Jul 2, 2009 at 11:00 AM, tubin gen fachh...@gmail.com wrote: we need to implement virues scanning functionality for uploded files and reject in case of virues.Please suggest what choices i have and are there any example ? -- View this message in context: http://www.nabble.com/virues-scanning-for-file-upload-tp24308356p24356751.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: virues scanning for file upload
Well, ClamAV is a free virus scanner for linux. Perhaps you could try to figure out how to use it? On Mon, Jul 6, 2009 at 10:47 AM, fachhoch fachh...@gmail.com wrote: any suggestions on this ? fachhoch wrote: What OS? Linux James Carman-3 wrote: What OS? Windoze? Linux? On Thu, Jul 2, 2009 at 11:00 AM, tubin gen fachh...@gmail.com wrote: we need to implement virues scanning functionality for uploded files and reject in case of virues.Please suggest what choices i have and are there any example ? -- View this message in context: http://www.nabble.com/virues-scanning-for-file-upload-tp24308356p24356751.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 vs vaadin clarifications
Even though the difference in complexity is not that big in example, in large applications it really makes a difference. Yes, the example looks pretty much like Wicket. IMO what will make a *real* difference is using another language - Java is Java with its strengths and weaknesses; on the verbosity side there's not much to be done. Anyway, thanks for updating your comparison table and I wish you the best of lucks with your project. Francisco 2009/7/6 Joonas Lehtinen joonas.lehti...@itmill.com: Hi all, If there are any errors in our comparison table, please accept my apologies - I wrote the original version of the table. I take care that any errors will be corrected as soon as possible. Just to clarify the situation - I think that wicket is a nice framework and really want to give it a fair comparison. In my opinion, Vaadin is better for some applications and Wicket for some. Here are quick comments to your concerns. francisco treacy-2 wrote: Widget diversity richness: - (I guess richness means Ajax-enabled components?). You put 1 star - but there are plenty of 3rd party Ajax components for Wicket... for instance have a look at wicketstuff.org. I did this comparison purely by looking at the available demos and comparing available ajax-enabled components on http://wicketstuff.org/wicket13/compref/ that I thought to represent the wicket core component set. You can browse through the core widgets (with code examples) on http://demo.vaadin.com/sampler/ Unfortunately I did not include wicketstuff - is there a (online or offline) demo available? On the other hand - I also left out all the extra Vaadin components on http://dev.vaadin.com/svn/incubator/ and from http://dev.vaadin.com/svn/contrib/ francisco treacy-2 wrote: And by the way, require you to use their AJAX API to implement AJAX functionality is simply not true. I have created components with jQuery or Mootools where you just drop the jar in your classpath and don't code a single line of JavaScript. Further, you reuse the goodness of inheritance to structure the JavaScript contributions, like script src=.../ Please explain - I thought that in order to make a wicket page ajax enabled, you should create special Ajax callbacks and use Ajax exabled components as explained in http://wicket.apache.org/exampleajaxcounter.html In Vaadin all components and rendering is purely Ajax enabled. The above mentioned example re-written in Vaadin would look like: package com.example.counter; import com.vaadin.Application; import com.vaadin.ui.*; import com.vaadin.ui.Button.ClickEvent; public class CounterApplication extends Application { private int counter = 0; public void init() { Window mainWindow = new Window(Counter Application); setMainWindow(mainWindow); final Label label = new Label(Not clicked yet); mainWindow.addComponent(label); mainWindow.addComponent(new Button(Click me, new Button.ClickListener() { public void buttonClick(ClickEvent event) { label.setValue(Clicked + (++counter) + of times.); } })); } } Even though the difference in complexity is not that big in example, in large applications it really makes a difference. francisco treacy-2 wrote: Framework extensions are done in Java: - You should tick it - extensions *are* done in Java By framework extensions here I mean new components/widgets and as the comparison is only about RIA, I mean Ajax enabled components. In Vaadin new widgets are written in Java - both on server-side and on client-side. Client side is compiled with Google Web Toolkit to JavaScript. To read more, see: http://vaadin.com/book/-/page/gwt.html In order to create a new Ajax enabled widget for Wicket, you must write client-side with JavaScript and server-side in Java - or am I wrong here? francisco treacy-2 wrote: No HTML required: - It depends. There are components that don't have associated markup. All examples on http://wicket.apache.org/ include some HTML. In Vaadin there is no page concept at all. For example, the above counter is self-contained - you do not need any html or xml to run it. (ok, you must configure vaadin servlet in web.xml) francisco treacy-2 wrote: No XML configuration required: - You should tick it - no XML configuration is required whatsoever. Of course, web.xml but... you know. Ooops. This is my mistake. Sorry. Will be corrected asap. francisco treacy-2 wrote: Web-page oriented / Framework tuned for building web-pages/sites instead of application user interfaces: - Well, definitions here are quite blurred. But I'd say the sweet point of Wicket is building highly-stateful application UIs. You are right - border is really blurred. To draw a line, we should consider what is the normal
dzone refcard
Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrencyinitiative? Thoughts? -Luther
Re: Can I make AjaxFormSubmitBehavior submit raw form data but not validate it?
Any following on that? Daniel, have you been able to solve your problem? Did you wrote your own behavior? I have the same requirement as you and I am trying to find a quick way to solve my problem. Can someone point me to some examples on how to write my own Ajax behavior? Thanks Thierry On Tue, Jun 2, 2009 at 12:21, Igor Vaynberg igor.vaynb...@gmail.com wrote: well, if you do not want to *submit* the form then dont use ajaxformSUBMITbehavior :) with little work you can roll your own behavior that does a simple ajax get and appends whatever values you need from formcomponents to the url. that way the form is not submitted and you have access to the raw values. -igor On Tue, Jun 2, 2009 at 9:16 AM, dfernandez dfernan...@users.sourceforge.net wrote: Yes, I know it is tricky, but the fact is I don't think I would really need type conversion in this case. I will try to explain myself. I have the following UI: |OPERATOR |V| |INPUT1=aBc| |INPUT2=DeF | ...being OPERATOR the DropDownChoice, and both INPUT1 and INPUT2 two TextFields (String TextFields, to be precise). Both INPUT1 and INPUT2 are required (when they are visible, of course). When I change the value on OPERATOR, the UI will change, hiding INPUT1 and INPUT2 but showing INPUT3, another TextField which should have the same contents that were on INPUT1 before: |OPERATOR |V| |INPUT3=aBc| The problem is that, when changing OPERATOR, I need to read the value from INPUT1 to set it into INPUT3, but if INPUT2 is empty I will receive a validation message telling me that it is required... which it is, but I just want Wicket to validate that when I want to *really* submit the form, and not now that I am only changing the operator. Thanks. Regards, Daniel. igor.vaynberg wrote: how are you planning on reading the other values? you cannot access the model so you will have to call getinput(), are you also planning on doing type conversion yourself then? -igor 2009/6/2 Daniel Fernández dfernan...@users.sourceforge.net: Hello, I have a form with a DropDownChoice, on which onchange event I want to update some form components. But I need to read data from other fields of the form for doing so, and so I added an AjaxFormSubmitBehavior to the DropDownChoice. My intention is to read the data from the drop down and from the other fields, and depending on these data, update some other components... but the problem is that AjaxFormSubmitBehavior not only sends the form data, but also *validates it*, which I don't want (I don't want validation messages to appear when changing the value of the drop down). If it where an AjaxButton I would be able to just setDefaultFormProcessing(false), but I don't see anything like that in AjaxFormSubmitBehavior... Is there a way to do this? Regards, Daniel. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Can-I-make-AjaxFormSubmitBehavior-submit-raw-form-data-but-not--validate-it--tp23830542p23835836.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: dzone refcard
It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther
Re: dzone refcard
Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com
How to configure data source for Jetty server?
Hi all, When I've started learning Wicket, I followed configuration described in the book Enjoy web dev ... Now I'm trying to migrate my project under Maven's management. I seem to be almost finished except data source configuration in the Tomcat's context file: Resource name=jdbc/trackerDataSource auth=Container type=javax.sql.DataSource driverClassName=org.postgresql.Driver url=jdbc:postgresql://localhost/tracker username=xxx password=xxx maxActive=20 maxIdle=8 defaultAutoCommit=false defaultTransactionIsolation=SERIALIZABLE testOnBorrow=true validationQuery=select 1/ Please, could somebody show me how to achieve the same effect in Jetty's configuration? Thanks, Peter - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Model Question
I have the following code to allow the user to select the date that a report is to be generated for. For some reason, though, whatever date is selected from the textfield, the previous date is being used. For example, if the user inputs 07/06/2009 into the dateTextField, 07/05/2009 is being used. I'm assuming this is because I'm using the wrong model, so any assistance would be greatly appreciated.public class AccountingDashboardPage extends EzdecBaseWebPage { private Date date; public AccountingDashboardPage(Date date) { if (date == null) { this.date = new Date(); } Form form = new Form("accountingDashboardForm", new PropertyModel(this, "date")) { @Override protected void onSubmit() { Date d = (Date)getModelObject(); setResponsePage(new AccountingDashboardPage(d)); } }; add(form); EzdecDateTextField reportDate = new EzdecDateTextField("stampDate", form.getModel()); reportDate.setModelValue(new String[]{new SimpleDateFormat("MM/dd/").format(date).toString()}); form.add(reportDate); }}
Re: How to configure data source for Jetty server?
http://docs.codehaus.org/display/JETTY/JNDI -igor On Mon, Jul 6, 2009 at 1:22 PM, Petr Fejfarpetr.fej...@gmail.com wrote: Hi all, When I've started learning Wicket, I followed configuration described in the book Enjoy web dev ... Now I'm trying to migrate my project under Maven's management. I seem to be almost finished except data source configuration in the Tomcat's context file: Resource name=jdbc/trackerDataSource auth=Container type=javax.sql.DataSource driverClassName=org.postgresql.Driver url=jdbc:postgresql://localhost/tracker username=xxx password=xxx maxActive=20 maxIdle=8 defaultAutoCommit=false defaultTransactionIsolation=SERIALIZABLE testOnBorrow=true validationQuery=select 1/ Please, could somebody show me how to achieve the same effect in Jetty's configuration? Thanks, Peter - 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: dzone refcard
I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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.
Re: dzone refcard
My mistake. I thought that came out a while ago. On Mon, Jul 6, 2009 at 1:43 PM, Andrew Lombardi and...@mysticcoders.comwrote: I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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. -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com
Re: dzone refcard
Luther, Interesting timing - I contacted dZone today about jWeekend putting together a Wicket refcardz for their collection. I'll let you know what they say. Regards - Cemal jWeekend OO Java Technology http://jWeekend.com luther.baker wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrencyinitiative? Thoughts? -Luther -- View this message in context: http://www.nabble.com/dzone-refcard-tp24358337p24362614.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: Can I make AjaxFormSubmitBehavior submit raw form data but not validate it?
Could setting visibility for the FeedbackPanel to false until the form has been properly submitted with a press of a submit button work? /Stefan On Mon, Jul 6, 2009 at 8:42 PM, Thierry Leveque tleve...@gmail.com wrote: Any following on that? Daniel, have you been able to solve your problem? Did you wrote your own behavior? I have the same requirement as you and I am trying to find a quick way to solve my problem. Can someone point me to some examples on how to write my own Ajax behavior? Thanks Thierry On Tue, Jun 2, 2009 at 12:21, Igor Vaynberg igor.vaynb...@gmail.com wrote: well, if you do not want to *submit* the form then dont use ajaxformSUBMITbehavior :) with little work you can roll your own behavior that does a simple ajax get and appends whatever values you need from formcomponents to the url. that way the form is not submitted and you have access to the raw values. -igor On Tue, Jun 2, 2009 at 9:16 AM, dfernandez dfernan...@users.sourceforge.net wrote: Yes, I know it is tricky, but the fact is I don't think I would really need type conversion in this case. I will try to explain myself. I have the following UI: |OPERATOR |V| |INPUT1=aBc| |INPUT2=DeF | ...being OPERATOR the DropDownChoice, and both INPUT1 and INPUT2 two TextFields (String TextFields, to be precise). Both INPUT1 and INPUT2 are required (when they are visible, of course). When I change the value on OPERATOR, the UI will change, hiding INPUT1 and INPUT2 but showing INPUT3, another TextField which should have the same contents that were on INPUT1 before: |OPERATOR |V| |INPUT3=aBc| The problem is that, when changing OPERATOR, I need to read the value from INPUT1 to set it into INPUT3, but if INPUT2 is empty I will receive a validation message telling me that it is required... which it is, but I just want Wicket to validate that when I want to *really* submit the form, and not now that I am only changing the operator. Thanks. Regards, Daniel. igor.vaynberg wrote: how are you planning on reading the other values? you cannot access the model so you will have to call getinput(), are you also planning on doing type conversion yourself then? -igor 2009/6/2 Daniel Fernández dfernan...@users.sourceforge.net: Hello, I have a form with a DropDownChoice, on which onchange event I want to update some form components. But I need to read data from other fields of the form for doing so, and so I added an AjaxFormSubmitBehavior to the DropDownChoice. My intention is to read the data from the drop down and from the other fields, and depending on these data, update some other components... but the problem is that AjaxFormSubmitBehavior not only sends the form data, but also *validates it*, which I don't want (I don't want validation messages to appear when changing the value of the drop down). If it where an AjaxButton I would be able to just setDefaultFormProcessing(false), but I don't see anything like that in AjaxFormSubmitBehavior... Is there a way to do this? Regards, Daniel. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Can-I-make-AjaxFormSubmitBehavior-submit-raw-form-data-but-not--validate-it--tp23830542p23835836.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: dzone refcard
That'll be a nice resource for developers using Wicket, and, save jWeekend plenty of time preparing one ourselves for dZone, thanks! I'll let them know to avoid unnecessary confusion about our proposal to create it earlier today. Let me know if you need any extra pairs of eyes to review it. Regards - Cemal jWeekend OO Java Technology http://jWeekend.com kinabalu wrote: I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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. -- View this message in context: http://www.nabble.com/dzone-refcard-tp24358337p24362753.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: dzone refcard
Thanks! I'll see if they can add you to the list of reviewers at some point soon. Cheers! On Jul 6, 2009, at 2:02 PM, jWeekend wrote: That'll be a nice resource for developers using Wicket, and, save jWeekend plenty of time preparing one ourselves for dZone, thanks! I'll let them know to avoid unnecessary confusion about our proposal to create it earlier today. Let me know if you need any extra pairs of eyes to review it. Regards - Cemal jWeekend OO Java Technology http://jWeekend.com kinabalu wrote: I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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. -- View this message in context: http://www.nabble.com/dzone-refcard-tp24358337p24362753.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 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.
Re: Nested forms not working in wizard.
The nesting is - The outer form is inside the wizard, then I have an inner form inside one of the steps. Sorry, I cant show you the output of the html - I scrapped the impl I had am implementing a less wizardy wizard. On Mon, Jul 6, 2009 at 8:36 PM, nino martinez waelnino.martinez.w...@gmail.com wrote: Is the form nested in the other form in html. I remember vaguely something about it needs to be nested, wicket then rewrites it or something like that.. How does the resulting html look like? 2009/7/6 Ned Collyer ned.coll...@gmail.com: I am currently running wicket 1.4-rc2 I have nested forms setup in the wizard. One of my steps is as follows. code public class MyStep1 extends WizardStep { public MyStep1(final CompoundPropertyModelCampaign campaignModel) { super(Step 1, Wow bananas); add(new Form(form) { �...@override protected void onSubmit() { super.onSubmit(); --- never fired } }); } } /code The wizard successfully navigates between steps, and validation occurs against any fields in the nested forms. The onSubmit of the inner form is never fired - this is ... pretty annoying :) 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
Radio button question
All, I want to display a radio button of options with an associated image e.g. input type=radio name=selectone value=1img src=img_vala.gif ..input type=radio name=selectone value=2img src=img_valb.gif ..input type=radio name=selectone value=3img src=img_valc.gif .. And have those values driven from my Model. I feel caught somewhere between RadioGroup and RadioList but I'm not sure how to pull this off because RadioGroup documentation seems to suggest that I have to have wicket:id= for each radio option, and I won't know how many options since its database driven. RadioList does the radio options fine, but I can't figure out how to render the image. I am using a RadioList and an implementation of IChoiceRenderer. I tried adding the image html to the getDisplayValue method, but the image would not render. I'm still new to Wicket so I may have missed this in the docs, if so feel free to paste link to any example or doc that I should have read closer :-) Thanks in advance, Russ _ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
Re: dzone refcard
Sounds good. I'm giving a Wicket presentation herehttp://java.ociweb.com/javasig/in September and it would be nice to hand something like that out. Also, I've seen decks here before ... is there a central place where such presentations are collected. I'll look back through the forum but if you've got a link handy and wouldn't mind me extracting some slides ... feel free to ping me outside the forum as well. Also, any words of advice on topic progression - roughly 1.5 hours to about 35 people most of whom won't have used Wicket directly. I think we can assume they will have a good understanding of Java. Thanks, -Luther On Mon, Jul 6, 2009 at 4:22 PM, Andrew Lombardi and...@mysticcoders.comwrote: Thanks! I'll see if they can add you to the list of reviewers at some point soon. Cheers! On Jul 6, 2009, at 2:02 PM, jWeekend wrote: That'll be a nice resource for developers using Wicket, and, save jWeekend plenty of time preparing one ourselves for dZone, thanks! I'll let them know to avoid unnecessary confusion about our proposal to create it earlier today. Let me know if you need any extra pairs of eyes to review it. Regards - Cemal jWeekend OO Java Technology http://jWeekend.com kinabalu wrote: I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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. -- View this message in context: http://www.nabble.com/dzone-refcard-tp24358337p24362753.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 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.
Re: dzone refcard
Luther, I gave a presentation on Wicket in March for TSSJS. The presentation should still be available at: javasymposium.techtarget.com On Jul 6, 2009, at 6:45 PM, Luther Baker wrote: Sounds good. I'm giving a Wicket presentation herehttp://java.ociweb.com/javasig/in September and it would be nice to hand something like that out. Also, I've seen decks here before ... is there a central place where such presentations are collected. I'll look back through the forum but if you've got a link handy and wouldn't mind me extracting some slides ... feel free to ping me outside the forum as well. Also, any words of advice on topic progression - roughly 1.5 hours to about 35 people most of whom won't have used Wicket directly. I think we can assume they will have a good understanding of Java. Thanks, -Luther On Mon, Jul 6, 2009 at 4:22 PM, Andrew Lombardi and...@mysticcoders.com wrote: Thanks! I'll see if they can add you to the list of reviewers at some point soon. Cheers! On Jul 6, 2009, at 2:02 PM, jWeekend wrote: That'll be a nice resource for developers using Wicket, and, save jWeekend plenty of time preparing one ourselves for dZone, thanks! I'll let them know to avoid unnecessary confusion about our proposal to create it earlier today. Let me know if you need any extra pairs of eyes to review it. Regards - Cemal jWeekend OO Java Technology http://jWeekend.com kinabalu wrote: I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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. -- View this message in context: http://www.nabble.com/dzone-refcard-tp24358337p24362753.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 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.
RE: Radio button question
From: igor.vaynb...@gmail.com Date: Mon, 6 Jul 2009 19:10:22 -0700 Subject: Re: Radio button question To: users@wicket.apache.org the example of radiogroup in wicket-examples/component reference demonstrates a radio group with a variable amount of radios. -igor Igor, Thank you - this is the link I found and seems just what I was looking for http://wicketstuff.org/wicket13/compref/;jsessionid=A9F9170F03765B6C9DEE45A31E5FA494?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.RadioGroupPage Thanks, Russ _ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009
Re: dzone refcard
Ah, got em. Thanks much Andrew, -Luther On Mon, Jul 6, 2009 at 9:14 PM, Andrew Lombardi and...@mysticcoders.comwrote: Luther, I gave a presentation on Wicket in March for TSSJS. The presentation should still be available at: javasymposium.techtarget.com On Jul 6, 2009, at 6:45 PM, Luther Baker wrote: Sounds good. I'm giving a Wicket presentation herehttp://java.ociweb.com/javasig/in September and it would be nice to hand something like that out. Also, I've seen decks here before ... is there a central place where such presentations are collected. I'll look back through the forum but if you've got a link handy and wouldn't mind me extracting some slides ... feel free to ping me outside the forum as well. Also, any words of advice on topic progression - roughly 1.5 hours to about 35 people most of whom won't have used Wicket directly. I think we can assume they will have a good understanding of Java. Thanks, -Luther On Mon, Jul 6, 2009 at 4:22 PM, Andrew Lombardi and...@mysticcoders.com wrote: Thanks! I'll see if they can add you to the list of reviewers at some point soon. Cheers! On Jul 6, 2009, at 2:02 PM, jWeekend wrote: That'll be a nice resource for developers using Wicket, and, save jWeekend plenty of time preparing one ourselves for dZone, thanks! I'll let them know to avoid unnecessary confusion about our proposal to create it earlier today. Let me know if you need any extra pairs of eyes to review it. Regards - Cemal jWeekend OO Java Technology http://jWeekend.com kinabalu wrote: I've got one being pushed through the editorial process at DZone right now, should be out very soon. On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote: Andrew Lombardi created one some time ago. Should still be available. On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther -- Nick Heudecker Professional Wicket Training Consulting http://www.systemmobile.com 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. -- View this message in context: http://www.nabble.com/dzone-refcard-tp24358337p24362753.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 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.
Re: How to configure data source for Jetty server?
On Tue, Jul 7, 2009 at 2:08 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: http://docs.codehaus.org/display/JETTY/JNDI -igor On Mon, Jul 6, 2009 at 1:22 PM, Petr Fejfarpetr.fej...@gmail.com wrote: Hi all, When I've started learning Wicket, I followed configuration described in the book Enjoy web dev ... Now I'm trying to migrate my project under Maven's management. I seem to be almost finished except data source configuration in the Tomcat's context file: Resource name=jdbc/trackerDataSource auth=Container type=javax.sql.DataSource driverClassName=org.postgresql.Driver url=jdbc:postgresql://localhost/tracker username=xxx password=xxx maxActive=20 maxIdle=8 defaultAutoCommit=false defaultTransactionIsolation=SERIALIZABLE testOnBorrow=true validationQuery=select 1/ Please, could somebody show me how to achieve the same effect in Jetty's configuration? A couple of tips to do the Jetty DataSource JNDI configuration the 'wicket way' - in code, instead of xml. Use a datasource implementation like org.apache.commons.dbcp.BasicDataSource In the Start.java that you get after following the instructions here: http://wicket.apache.org/quickstart.html Add the following: BasicDataSource ds = new BasicDataSource(); ds.setUrl(jdbc:hsqldb:.); ds.setDriverClassName(org.hsqldb.jdbcDriver); ds.setUsername(sa); ds.setPassword(); NamingEntry.setScope(NamingEntry.SCOPE_GLOBAL); // this line actually registers object in jetty jndi new Resource(java:/mydatasource, ds); And you can refer the documentation of Apache DPCP to set properties like this: ds.setValidationQuery(SELECT 1); Thanks, Peter. Thanks, Peter - 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