Re: integrating extjs with wicket
It looks like this code base is still being updated: http://code.google.com/p/wicket-ext/source/list I'm not using it right now but might be looking into it for a project I am starting soon. Last time I checked groovy did not support anon. inner classes and that made using wicket very verbose. There is a groovy-wicket builder that might work, but I haven't checked in quite a while. Ryan On Wed, Aug 12, 2009 at 04:56:29AM -0700, walnutmon exclaimed: > >Did anything ever come of this idea? I worked with wicket a lot, but then >our company switched into the grails direction, which I understand from a >business perspective, and I also love groovy, I was thinking that using >groovy, wicket, and extjs combined would be a great combination, but it >would require the overhead of combining wicket and extjs. Using groovy to >output the ExtJs components would be a great place to start; you could then >use groovy to parse incoming ExtJs requests and pass them back to wicket. I >think that this is the most important part because it allows you to use >ExtJs's great javascript support and fantastic widgets with wicket's solid >application architecture. > >I'm interested to hear if anyone attempted it. > > > >Nino.Martinez wrote: >> >> >> You could also look at the wicket input events contrib. It's very small >> and uses text templates. >> >> I'd be happy to help out writing the contrib at a mentor level(answering >> questions on how to implement the different things), since my stack are >> full. >> >> >> [1]=http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events >> >> >> >> Johan Maasing wrote: >>> I've been looking for the same thing. It seems (to me as a wicket >>> newbie) that wicket is very good at producing HTML but I am not so >>> sure about producing dynamic javascript. >>> >>> There is something called TextTemplates >>> http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/ >>> >>> >>> but I have not found much more documentation for that. Does someone >>> know if there is something more written (available on the internet) >>> about the javascript support in wicket? >>> I tried to find it on the wiki but >>> http://cwiki.apache.org/WICKET/javascript-and-css-support.html >>> does not mention it. >>> >>> 2008/1/9, Jeremy Fergason : >>> >>>> 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 >>> 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 >>>> wrote: >>>> >>>> >>>>> What is keeping you from building it? >>>>> >>>>> Martijn >>>>> >>>>> On Jan 9, 2008 6:15 PM, Reinout van Schouwen 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: users-unsubscr...@wicket.apache.org >>>>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> --
Re: integrating extjs with wicket
No, it did not to my knowledge.. I went my way with openlayers, artwork and all the other wicket stuffings :) And now voicexml. 2009/8/12 walnutmon : > > Did anything ever come of this idea? I worked with wicket a lot, but then > our company switched into the grails direction, which I understand from a > business perspective, and I also love groovy, I was thinking that using > groovy, wicket, and extjs combined would be a great combination, but it > would require the overhead of combining wicket and extjs. Using groovy to > output the ExtJs components would be a great place to start; you could then > use groovy to parse incoming ExtJs requests and pass them back to wicket. I > think that this is the most important part because it allows you to use > ExtJs's great javascript support and fantastic widgets with wicket's solid > application architecture. > > I'm interested to hear if anyone attempted it. > > > > Nino.Martinez wrote: >> >> >> You could also look at the wicket input events contrib. It's very small >> and uses text templates. >> >> I'd be happy to help out writing the contrib at a mentor level(answering >> questions on how to implement the different things), since my stack are >> full. >> >> >> [1]=http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events >> >> >> Johan Maasing wrote: >>> I've been looking for the same thing. It seems (to me as a wicket >>> newbie) that wicket is very good at producing HTML but I am not so >>> sure about producing dynamic javascript. >>> >>> There is something called TextTemplates >>> http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/ >>> >>> but I have not found much more documentation for that. Does someone >>> know if there is something more written (available on the internet) >>> about the javascript support in wicket? >>> I tried to find it on the wiki but >>> http://cwiki.apache.org/WICKET/javascript-and-css-support.html >>> does not mention it. >>> >>> 2008/1/9, Jeremy Fergason : >>> >>>> 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 >>> 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 >>>> wrote: >>>> >>>> >>>>> What is keeping you from building it? >>>>> >>>>> Martijn >>>>> >>>>> On Jan 9, 2008 6:15 PM, Reinout van Schouwen 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: users-unsubscr...@wicket.apache.org >>>>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> 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: 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 for love >> >> Nino Martinez Wael >> Java Specialist @ Jayway DK >> http://www.jayway.dk >> +45 2936 7684 >> >> >> - >> 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/integrating-extjs-with-wicket-tp14715123p24934930.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: integrating extjs with wicket
Did anything ever come of this idea? I worked with wicket a lot, but then our company switched into the grails direction, which I understand from a business perspective, and I also love groovy, I was thinking that using groovy, wicket, and extjs combined would be a great combination, but it would require the overhead of combining wicket and extjs. Using groovy to output the ExtJs components would be a great place to start; you could then use groovy to parse incoming ExtJs requests and pass them back to wicket. I think that this is the most important part because it allows you to use ExtJs's great javascript support and fantastic widgets with wicket's solid application architecture. I'm interested to hear if anyone attempted it. Nino.Martinez wrote: > > > You could also look at the wicket input events contrib. It's very small > and uses text templates. > > I'd be happy to help out writing the contrib at a mentor level(answering > questions on how to implement the different things), since my stack are > full. > > > [1]=http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events > > > > Johan Maasing wrote: >> I've been looking for the same thing. It seems (to me as a wicket >> newbie) that wicket is very good at producing HTML but I am not so >> sure about producing dynamic javascript. >> >> There is something called TextTemplates >> http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/ >> >> >> but I have not found much more documentation for that. Does someone >> know if there is something more written (available on the internet) >> about the javascript support in wicket? >> I tried to find it on the wiki but >> http://cwiki.apache.org/WICKET/javascript-and-css-support.html >> does not mention it. >> >> 2008/1/9, Jeremy Fergason : >> >>> 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 >> 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 >>> wrote: >>> >>> >>>> What is keeping you from building it? >>>> >>>> Martijn >>>> >>>> On Jan 9, 2008 6:15 PM, Reinout van Schouwen 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: users-unsubscr...@wicket.apache.org >>>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>>> >>>>> >>>>> >>>> >>>> -- >>>> 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: 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 for love > > Nino Martinez Wael > Java Specialist @ Jayway DK > http://www.jayway.dk > +45 2936 7684 > > > - > 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/integrating-extjs-with-wicket-tp14715123p24934930.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: integrating extjs with wicket
You could also look at the wicket input events contrib. It's very small and uses text templates. I'd be happy to help out writing the contrib at a mentor level(answering questions on how to implement the different things), since my stack are full. [1]=http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events Johan Maasing wrote: I've been looking for the same thing. It seems (to me as a wicket newbie) that wicket is very good at producing HTML but I am not so sure about producing dynamic javascript. There is something called TextTemplates http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/ but I have not found much more documentation for that. Does someone know if there is something more written (available on the internet) about the javascript support in wicket? I tried to find it on the wiki but http://cwiki.apache.org/WICKET/javascript-and-css-support.html does not mention it. 2008/1/9, Jeremy Fergason <[EMAIL PROTECTED]>: 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 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love 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: integrating extjs with wicket
TECTED]> 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] -- View this message in context: http://www.nabble.com/integrating-extjs-with-wicket-tp14715123p15058981.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Wicket for love 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: integrating extjs with wicket
Dear AT ... unfortunately I didn't had time to work out on this integration. I will let you know in future. // Paolo On Mon, Apr 21, 2008 at 4:58 PM, Advanced Technology(R) <[EMAIL PROTECTED]> wrote: > Hi Paulo, > Did you have sucess integrating Ext.form.FormPanel ??? > Can you upload Wicket-Extjs integration Test App ? > > > AT > > 2008/1/9, Paolo Di Tommaso <[EMAIL PROTECTED]>: > > > > This is really an interesting topic! > > > > I've made some Wicket-Extjs integration tests and I haven't found any > > particular issues to make them work smoothly together. > > > > Extjs UI widgets can be created dynamically or can be attach to existing > > HTML elements using the element IDs. > > > > Following the latter approach is quite easy integrate Extjs with Wicket. > > > > The simplest way I've tried is using a behavior to 'attach' an Extjs > > widget > > to Wicket component. > > > > For example: > > > > public class ExtDateFieldBehavior extends ExtAbstractBehavior{ > > > > @Override > > String getExtjsClassName() { > > return "Ext.form.DateField"; > > } > > > > } > > > > public abstract class ExtAbstractBehavior extends AbstractBehavior { > > > > > > /** > > * Used to add all common Extjs required JavaScript and CSS > resources > > */ > > @Override > > public void bind(Component component) { > > if( component == null ) throw new > > IllegalArgumentException("Argument > > cannot be null"); > > component.setOutputMarkupId(true); > > component.add(HeaderContributor.forCss( Extjs.Css.EXT_ALL )); > > component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_BASE > > )); > > component.add(HeaderContributor.forJavaScript( > > Extjs.Js.EXT_ALL_DEBUG )); > > } > > > > > > abstract String getExtjsClassName(); > > > > abstract String getOptions(); > > > > @Override > > public void onRendered( Component component ) { > > /* create a copy of options */ > > Config options = new Config( config ); > > /* initialization */ > > config(component,options); > > /* get the string version */ > > String sConfig = Extjs.serialize(options); > > > > String extjs = "new " + getExtjsClassName() + "(" + getOptions() > + > > ");"; > > //TODO log here > > > > Response r = component.getResponse(); > > r.write( JavascriptUtils.SCRIPT_OPEN_TAG ); > > r.write( extjs ); > > r.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); > > } > > } > > > > > > That's all! > > > > Obviously this is just a simple test but it works and can be extended > > easily > > for other widgets. > > > > > > What I've found not trivial is to pass/define the Extjs widget > > property/configuration in a easy/elegant way. > > > > Would be interesting discuss this... > > > > > > -- Paolo > > > > > > > > > > > > On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> > wrote: > > > > > 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 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] > > > > > > > > > > > > > > > > > -- > AT(R) >
Re: integrating extjs with wicket
Hi Paulo, Did you have sucess integrating Ext.form.FormPanel ??? Can you upload Wicket-Extjs integration Test App ? AT 2008/1/9, Paolo Di Tommaso <[EMAIL PROTECTED]>: > > This is really an interesting topic! > > I've made some Wicket-Extjs integration tests and I haven't found any > particular issues to make them work smoothly together. > > Extjs UI widgets can be created dynamically or can be attach to existing > HTML elements using the element IDs. > > Following the latter approach is quite easy integrate Extjs with Wicket. > > The simplest way I've tried is using a behavior to 'attach' an Extjs > widget > to Wicket component. > > For example: > > public class ExtDateFieldBehavior extends ExtAbstractBehavior{ > > @Override > String getExtjsClassName() { > return "Ext.form.DateField"; > } > > } > > public abstract class ExtAbstractBehavior extends AbstractBehavior { > > > /** > * Used to add all common Extjs required JavaScript and CSS resources > */ > @Override > public void bind(Component component) { > if( component == null ) throw new > IllegalArgumentException("Argument > cannot be null"); > component.setOutputMarkupId(true); > component.add(HeaderContributor.forCss( Extjs.Css.EXT_ALL )); > component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_BASE > )); > component.add(HeaderContributor.forJavaScript( > Extjs.Js.EXT_ALL_DEBUG )); > } > > > abstract String getExtjsClassName(); > > abstract String getOptions(); > > @Override > public void onRendered( Component component ) { > /* create a copy of options */ > Config options = new Config( config ); > /* initialization */ > config(component,options); > /* get the string version */ > String sConfig = Extjs.serialize(options); > > String extjs = "new " + getExtjsClassName() + "(" + getOptions() + > ");"; > //TODO log here > > Response r = component.getResponse(); > r.write( JavascriptUtils.SCRIPT_OPEN_TAG ); > r.write( extjs ); > r.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); > } > } > > > That's all! > > Obviously this is just a simple test but it works and can be extended > easily > for other widgets. > > > What I've found not trivial is to pass/define the Extjs widget > property/configuration in a easy/elegant way. > > Would be interesting discuss this... > > > -- Paolo > > > > > > On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> wrote: > > > 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 > ... > > 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] > > > > > > > > > -- AT(R)
Re: integrating extjs with wicket
gt;>> Config options = new Config( config ); > >>>> /* initialization */ > >>>> config(component,options); > >>>> /* get the string version */ > >>>> String sConfig = Extjs.serialize(options); > >>>> > >>>> String extjs = "new " + getExtjsClassName() + "(" + > >>>> getOptions() + > >>>> ");"; > >>>> //TODO log here > >>>> > >>>> Response r = component.getResponse(); > >>>> r.write( JavascriptUtils.SCRIPT_OPEN_TAG ); > >>>> r.write( extjs ); > >>>> r.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); > >>>> } > >>>> } > >>>> > >>>> > >>>> That's all! > >>>> > >>>> Obviously this is just a simple test but it works and can be extended > >>>> easily > >>>> for other widgets. > >>>> > >>>> > >>>> What I've found not trivial is to pass/define the Extjs widget > >>>> property/configuration in a easy/elegant way. > >>>> > >>>> Would be interesting discuss this... > >>>> > >>>> -- Paolo > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> > >>>> wrote: > >>>> > >>>> > >>>>> 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 >>>>> 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] > >>>>>> > >>>>>> > >>>>>> > >>> > >>> > >>> > >>> > >> > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/integrating-extjs-with-wicket-tp14715123p15058981.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: integrating extjs with wicket
gt;>>> >>>> That's all! >>>> >>>> Obviously this is just a simple test but it works and can be extended >>>> easily >>>> for other widgets. >>>> >>>> >>>> What I've found not trivial is to pass/define the Extjs widget >>>> property/configuration in a easy/elegant way. >>>> >>>> Would be interesting discuss this... >>>> >>>> -- Paolo >>>> >>>> >>>> >>>> >>>> >>>> On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> >>>> wrote: >>>> >>>> >>>>> 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 >>>> 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] >>>>>> >>>>>> >>>>>> >>> >>> >>> >>> >> >> >> > > -- View this message in context: http://www.nabble.com/integrating-extjs-with-wicket-tp14715123p15058981.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrating extjs with wicket
gt; 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] >>>>> >>>>> >>>>> >> >> >> >> > > > -- View this message in context: http://www.nabble.com/integrating-extjs-with-wicket-tp14715123p14782690.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrating extjs with wicket
I would be willing to contribute to this project, but I don't have the knowledge of Wicket internals (nor ExtJS internals, really) to pull off the core design. If somebody starts this, he/she can count on a couple hours per week from me. Martijn Dashorst wrote: Sounds like a good wicketstuff project... Do you care to start one? Martijn On Jan 9, 2008 7:02 PM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: This is really an interesting topic! I've made some Wicket-Extjs integration tests and I haven't found any particular issues to make them work smoothly together. Extjs UI widgets can be created dynamically or can be attach to existing HTML elements using the element IDs. Following the latter approach is quite easy integrate Extjs with Wicket. The simplest way I've tried is using a behavior to 'attach' an Extjs widget to Wicket component. For example: public class ExtDateFieldBehavior extends ExtAbstractBehavior{ @Override String getExtjsClassName() { return "Ext.form.DateField"; } } public abstract class ExtAbstractBehavior extends AbstractBehavior { /** * Used to add all common Extjs required JavaScript and CSS resources */ @Override public void bind(Component component) { if( component == null ) throw new IllegalArgumentException("Argument cannot be null"); component.setOutputMarkupId(true); component.add(HeaderContributor.forCss( Extjs.Css.EXT_ALL )); component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_BASE )); component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_ALL_DEBUG )); } abstract String getExtjsClassName(); abstract String getOptions(); @Override public void onRendered( Component component ) { /* create a copy of options */ Config options = new Config( config ); /* initialization */ config(component,options); /* get the string version */ String sConfig = Extjs.serialize(options); String extjs = "new " + getExtjsClassName() + "(" + getOptions() + ");"; //TODO log here Response r = component.getResponse(); r.write( JavascriptUtils.SCRIPT_OPEN_TAG ); r.write( extjs ); r.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); } } That's all! Obviously this is just a simple test but it works and can be extended easily for other widgets. What I've found not trivial is to pass/define the Extjs widget property/configuration in a easy/elegant way. Would be interesting discuss this... -- Paolo On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> wrote: 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 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]
Re: integrating extjs with wicket
Hi Martijn, Op woensdag 09-01-2008 om 23:10 uur [tijdzone +0100], schreef Martijn Dashorst: > It is of course unfortunate that your boss doesn't want you doing > wicket things :) Hopefully that will change sometime in the not-too-far future. > However you could start with contributing through participating > discussions, providing feedback, suggesting features. Last time I did that, we ended up in a rather unproductive discussion about the licensing model of the Java implementation of gettext... :-] Anyhow, I'm slowly working my way through WIA, I'm sure at some point I will be able to contribute. regards, -- Reinout van Schouwen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrating extjs with wicket
I have not used it, but I noticed that Pickwickuses ExtJs http://wicketstuff.org/confluence/display/STUFFWIKI/Pickwick http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/pickwick/src/main/resources/org/wicketstuff/pickwick/ext/2.0/ ryan Reinout van Schouwen 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... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrating extjs with wicket
It is of course unfortunate that your boss doesn't want you doing wicket things :) However you could start with contributing through participating discussions, providing feedback, suggesting features. Martijn On Jan 9, 2008 9:56 PM, Reinout van Schouwen <[EMAIL PROTECTED]> wrote: > > Op woensdag 09-01-2008 om 18:19 uur [tijdzone +0100], schreef Martijn > Dashorst: > > What is keeping you from building it? > > Justified question, but the answer is quite simply that I'm not allowed > to spend paid time on becoming a Wicket Jedi right now, and my free time > is rather scarce as it is. > > regards, > > -- > > 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]
Re: integrating extjs with wicket
Sounds like a good wicketstuff project... Do you care to start one? Martijn On Jan 9, 2008 7:02 PM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > This is really an interesting topic! > > I've made some Wicket-Extjs integration tests and I haven't found any > particular issues to make them work smoothly together. > > Extjs UI widgets can be created dynamically or can be attach to existing > HTML elements using the element IDs. > > Following the latter approach is quite easy integrate Extjs with Wicket. > > The simplest way I've tried is using a behavior to 'attach' an Extjs widget > to Wicket component. > > For example: > > public class ExtDateFieldBehavior extends ExtAbstractBehavior{ > > @Override > String getExtjsClassName() { > return "Ext.form.DateField"; > } > > } > > public abstract class ExtAbstractBehavior extends AbstractBehavior { > > > /** > * Used to add all common Extjs required JavaScript and CSS resources > */ > @Override > public void bind(Component component) { > if( component == null ) throw new IllegalArgumentException("Argument > cannot be null"); > component.setOutputMarkupId(true); > component.add(HeaderContributor.forCss( Extjs.Css.EXT_ALL )); > component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_BASE )); > component.add(HeaderContributor.forJavaScript( > Extjs.Js.EXT_ALL_DEBUG )); > } > > > abstract String getExtjsClassName(); > > abstract String getOptions(); > > @Override > public void onRendered( Component component ) { > /* create a copy of options */ > Config options = new Config( config ); > /* initialization */ > config(component,options); > /* get the string version */ > String sConfig = Extjs.serialize(options); > > String extjs = "new " + getExtjsClassName() + "(" + getOptions() + > ");"; > //TODO log here > > Response r = component.getResponse(); > r.write( JavascriptUtils.SCRIPT_OPEN_TAG ); > r.write( extjs ); > r.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); > } > } > > > That's all! > > Obviously this is just a simple test but it works and can be extended easily > for other widgets. > > > What I've found not trivial is to pass/define the Extjs widget > property/configuration in a easy/elegant way. > > Would be interesting discuss this... > > -- Paolo > > > > > > On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> wrote: > > > 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 > ... > > 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] > > > > > > > > > -- 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]
Re: integrating extjs with wicket
Op woensdag 09-01-2008 om 18:19 uur [tijdzone +0100], schreef Martijn Dashorst: > What is keeping you from building it? Justified question, but the answer is quite simply that I'm not allowed to spend paid time on becoming a Wicket Jedi right now, and my free time is rather scarce as it is. regards, -- Reinout van Schouwen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: integrating extjs with wicket
This is really an interesting topic! I've made some Wicket-Extjs integration tests and I haven't found any particular issues to make them work smoothly together. Extjs UI widgets can be created dynamically or can be attach to existing HTML elements using the element IDs. Following the latter approach is quite easy integrate Extjs with Wicket. The simplest way I've tried is using a behavior to 'attach' an Extjs widget to Wicket component. For example: public class ExtDateFieldBehavior extends ExtAbstractBehavior{ @Override String getExtjsClassName() { return "Ext.form.DateField"; } } public abstract class ExtAbstractBehavior extends AbstractBehavior { /** * Used to add all common Extjs required JavaScript and CSS resources */ @Override public void bind(Component component) { if( component == null ) throw new IllegalArgumentException("Argument cannot be null"); component.setOutputMarkupId(true); component.add(HeaderContributor.forCss( Extjs.Css.EXT_ALL )); component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_BASE )); component.add(HeaderContributor.forJavaScript( Extjs.Js.EXT_ALL_DEBUG )); } abstract String getExtjsClassName(); abstract String getOptions(); @Override public void onRendered( Component component ) { /* create a copy of options */ Config options = new Config( config ); /* initialization */ config(component,options); /* get the string version */ String sConfig = Extjs.serialize(options); String extjs = "new " + getExtjsClassName() + "(" + getOptions() + ");"; //TODO log here Response r = component.getResponse(); r.write( JavascriptUtils.SCRIPT_OPEN_TAG ); r.write( extjs ); r.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); } } That's all! Obviously this is just a simple test but it works and can be extended easily for other widgets. What I've found not trivial is to pass/define the Extjs widget property/configuration in a easy/elegant way. Would be interesting discuss this... -- Paolo On Jan 9, 2008 6:25 PM, Jeremy Fergason <[EMAIL PROTECTED]> wrote: > 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 ... > 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] > > > > >
Re: integrating extjs with wicket
I've been looking for the same thing. It seems (to me as a wicket newbie) that wicket is very good at producing HTML but I am not so sure about producing dynamic javascript. There is something called TextTemplates http://chillenious.wordpress.com/2006/05/03/wicket-header-contributions-with-behaviors/ but I have not found much more documentation for that. Does someone know if there is something more written (available on the internet) about the javascript support in wicket? I tried to find it on the wiki but http://cwiki.apache.org/WICKET/javascript-and-css-support.html does not mention it. 2008/1/9, Jeremy Fergason <[EMAIL PROTECTED]>: > 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 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] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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] > >
Re: integrating extjs with wicket
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]
Re: integrating extjs with wicket
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]
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!