Re: wicket-tools-extjs
I have a simple demo of the guestbook application. I'll post it online in the next couple of days. On Feb 7, 2008 10:54 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes it's normal practice to make a simple project that demonstrates the functionality... Like http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicket-contrib-accordion-examples/ etc.. It usually does not take that long to construct and, is very good for users to learn from. regards Nino Flemming Boller wrote: I think you should add HomePage, or something like that, so users can see how to use this library. It is not easy to guess that for example many of the components shall not be in the markup when using this library, at least for the normal wicket user. Anyhow I found out that the ExtJS is a singleton (should it be?) and is clearing the children list after rendering. I think that is the reason why the response is rendered empty, when I press Save button on a ExtJSForm. - just a thought /FLemming On Feb 7, 2008 11:19 PM, Jeremy Fergason [EMAIL PROTECTED] wrote: Yes, that's because I used the wicket archetype to create the project originally. I'll remove TestHomePage.java. Thanks for the catch! -Jeremy On Feb 7, 2008 1:06 PM, Flemming Boller [EMAIL PROTECTED] wrote: Hi Yes, but in your test class (TestHomePage.java) you reference HomePage.class That was why I mentioned it. /FLemming On Feb 7, 2008 8:35 PM, Jeremy Fergason [EMAIL PROTECTED] wrote: There is no HomePage.java because this is not a wicket application. It is a library that you can use in your applications. If you want to use it you can compile it by downloading the source and then compiling with: mvn compile, or you can just add the following lines to your applications POM and maven will automatically download the appropriate files for you: !-- ExtJS (javascript library) DEPENDENCIES -- dependency groupIdorg.wickettools.extjs/groupId artifactIdextjs/artifactId version0.1.0/version /dependency also add the following to your repositories section (the files should be in the global maven repository soon): repository idwicket-tools-exjts/id namewicket-tools-extjs repository/name urlhttp://wicket-extjs.sourceforge.net/maven2//url /repository On Feb 7, 2008 8:51 AM, Flemming Boller [EMAIL PROTECTED] wrote: Hi I have tried it a little bit, but I think you have forgot to include some source files. Like HomePage.java. /FLemming On Feb 7, 2008 4:02 AM, Jeremy Fergason [EMAIL PROTECTED] wrote: All, I've been trying to use the ExtJS forms from within wicket. It seemed that several people out there were trying to do this with limited success; except for the occasional person saying they had done it. I have got the integration working OK at this point and would like to make the integration module available to the community at large. If you are interested in using ExtJS forms from within wicket checkout the wicket-tools-extjs module at: www.wickettools.org I'm pretty new to wicket so please comment on the design with any suggestions of how I could improve it. Also if there is anyone who is interested in helping out I would love to have the support. Hope you find this useful. -jdf -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicket-tools-extjs
There is no HomePage.java because this is not a wicket application. It is a library that you can use in your applications. If you want to use it you can compile it by downloading the source and then compiling with: mvn compile, or you can just add the following lines to your applications POM and maven will automatically download the appropriate files for you: !-- ExtJS (javascript library) DEPENDENCIES -- dependency groupIdorg.wickettools.extjs/groupId artifactIdextjs/artifactId version0.1.0/version /dependency also add the following to your repositories section (the files should be in the global maven repository soon): repository idwicket-tools-exjts/id namewicket-tools-extjs repository/name urlhttp://wicket-extjs.sourceforge.net/maven2//url /repository On Feb 7, 2008 8:51 AM, Flemming Boller [EMAIL PROTECTED] wrote: Hi I have tried it a little bit, but I think you have forgot to include some source files. Like HomePage.java. /FLemming On Feb 7, 2008 4:02 AM, Jeremy Fergason [EMAIL PROTECTED] wrote: All, I've been trying to use the ExtJS forms from within wicket. It seemed that several people out there were trying to do this with limited success; except for the occasional person saying they had done it. I have got the integration working OK at this point and would like to make the integration module available to the community at large. If you are interested in using ExtJS forms from within wicket checkout the wicket-tools-extjs module at: www.wickettools.org I'm pretty new to wicket so please comment on the design with any suggestions of how I could improve it. Also if there is anyone who is interested in helping out I would love to have the support. Hope you find this useful. -jdf
Re: wicket-tools-extjs
Yeah, If you look at the comments I credited the author. -Jeremy On Feb 6, 2008 9:19 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: Glancing through the javadocs, that JavascriptBuilder class looks awefully familiar. i'm assuming you've seen the wicketstuff-scriptaculous project? =) On Wed, 2008-02-06 at 20:02 -0700, Jeremy Fergason wrote: All, I've been trying to use the ExtJS forms from within wicket. It seemed that several people out there were trying to do this with limited success; except for the occasional person saying they had done it. I have got the integration working OK at this point and would like to make the integration module available to the community at large. If you are interested in using ExtJS forms from within wicket checkout the wicket-tools-extjs module at: www.wickettools.org I'm pretty new to wicket so please comment on the design with any suggestions of how I could improve it. Also if there is anyone who is interested in helping out I would love to have the support. Hope you find this useful. -jdf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicket-tools-extjs
Yes, that's because I used the wicket archetype to create the project originally. I'll remove TestHomePage.java. Thanks for the catch! -Jeremy On Feb 7, 2008 1:06 PM, Flemming Boller [EMAIL PROTECTED] wrote: Hi Yes, but in your test class (TestHomePage.java) you reference HomePage.class That was why I mentioned it. /FLemming On Feb 7, 2008 8:35 PM, Jeremy Fergason [EMAIL PROTECTED] wrote: There is no HomePage.java because this is not a wicket application. It is a library that you can use in your applications. If you want to use it you can compile it by downloading the source and then compiling with: mvn compile, or you can just add the following lines to your applications POM and maven will automatically download the appropriate files for you: !-- ExtJS (javascript library) DEPENDENCIES -- dependency groupIdorg.wickettools.extjs/groupId artifactIdextjs/artifactId version0.1.0/version /dependency also add the following to your repositories section (the files should be in the global maven repository soon): repository idwicket-tools-exjts/id namewicket-tools-extjs repository/name urlhttp://wicket-extjs.sourceforge.net/maven2//url /repository On Feb 7, 2008 8:51 AM, Flemming Boller [EMAIL PROTECTED] wrote: Hi I have tried it a little bit, but I think you have forgot to include some source files. Like HomePage.java. /FLemming On Feb 7, 2008 4:02 AM, Jeremy Fergason [EMAIL PROTECTED] wrote: All, I've been trying to use the ExtJS forms from within wicket. It seemed that several people out there were trying to do this with limited success; except for the occasional person saying they had done it. I have got the integration working OK at this point and would like to make the integration module available to the community at large. If you are interested in using ExtJS forms from within wicket checkout the wicket-tools-extjs module at: www.wickettools.org I'm pretty new to wicket so please comment on the design with any suggestions of how I could improve it. Also if there is anyone who is interested in helping out I would love to have the support. Hope you find this useful. -jdf
wicket-tools-extjs
All, I've been trying to use the ExtJS forms from within wicket. It seemed that several people out there were trying to do this with limited success; except for the occasional person saying they had done it. I have got the integration working OK at this point and would like to make the integration module available to the community at large. If you are interested in using ExtJS forms from within wicket checkout the wicket-tools-extjs module at: www.wickettools.org I'm pretty new to wicket so please comment on the design with any suggestions of how I could improve it. Also if there is anyone who is interested in helping out I would love to have the support. Hope you find this useful. -jdf
integrating extjs with wicket
Hi all, I'm just starting out with wicket and I would like to use a client-side javascript library--ExtJs, to enhance the end user experience. ExtJs doesn't do a whole lot in markup, for instance to create a form you would do something like the following: Ext.onReady(function(){ Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var bd = Ext.getBody(); /* * Simple form === */ bd.createChild({tag: 'h2', html: 'Form 1 - Very Simple'}); var simple = new Ext.FormPanel({ labelWidth: 75, // label settings here cascade unless overridden url:'save-form.php', frame:true, title: 'Simple Form', bodyStyle:'padding:5px 5px 0', width: 350, defaults: {width: 230}, defaultType: 'textfield', items: [{ fieldLabel: 'First Name', name: 'first', value: 'Jeremy', allowBlank:false }) ], buttons: [{ text: 'Save' },{ text: 'Cancel' }] }); simple.render(document.body); }); This will create a form with a 'Save' and 'Cancel' button and one textfield called first with a default value of 'Jeremy'. It's not that hard but I don't see how to integrate it with wicket in a clean fashion as there is no way to add wicket:id tags, etc. I would really appreciate it if anyone could give me any suggestions of how to use ExtJS in a wicket-like way. Thanks!
Re: integrating extjs with wicket
wicket seems to provide some nice management classes like TextField, that do things like set the value for you, I don't see how to integrate this with a javascript solution like ExtJs which does not use an input type=text ... tag. It could be something very simple and I am just missing it, if so please point me in the right direction. Thanks! On Jan 9, 2008 10:19 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: What is keeping you from building it? Martijn On Jan 9, 2008 6:15 PM, Reinout van Schouwen [EMAIL PROTECTED] wrote: Op woensdag 09-01-2008 om 09:07 uur [tijdzone -0700], schreef Jeremy Fergason: I'm just starting out with wicket and I would like to use a client-side javascript library--ExtJs, to enhance the end user experience. +1 At my company we use Ext2 and are very enthousiastic about it. I want to move us from Struts to Wicket but lack of support for Ext2 would be a roadblock... -- Reinout van Schouwen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]