Re: [Wicket-user] Pro Wicket bugs
Hi, I just downloaded the e-book from the Apress site. My copy has the content for pages # 104 - 107. Please do try again and let me know if you continue to face the problem. thanks, Karthik On 4/3/07, galbu [EMAIL PROTECTED] wrote: Hello world I'm a beginner in wicket developing and I need just a little help: I'm studying Wicket on Pro Wicket by Karthik Gurumurthy and I have a problem with the BookStore example because the pdf version of the book is incomplete . . . I don't know where I could find the content of these pages: 104-105-107. I can't find the correct pdf version of Pro Wicket so if anybody has used this tutorial and could show me these pages I'll be grate . . . Thank you all -- View this message in context: http://www.nabble.com/Pro-Wicket-bugs-tf3515398.html#a9814696 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- -- karthik -- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multiple Modal Windows (sunraider)
I am so sorry, its the 1.2.x branch (1.2.6 in progress). Thanks, Sajeev Eelco Hillenius wrote: I am currently using Wicket-1.2.4, and also tried the build 1.2.5 version from SVN yesterday. It doesn't work in both these versions. Do you mean the latest from the 1.2.x branch (1.2.6 in progress) or the actual 1.2.5? Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Re%3A-Multiple-Modal-Windows-%28sunraider%29-tf3506355.html#a9832365 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Tree for navigation
Hi All, i built a tree (wicket.extension.markup.html.tree.Tree). The tree works fine. But now i want to use the tree for navigation. I just found examples to build a tree, but i didn`t find some examples to use the tree for navigation. Can anyone give me further information in how to make tree links bookmarkabel? Regards Nico -- Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Palette with sorted elements
We had to do our own version of the palette. Im not sure if its outdated. But you can find the old source somewhere linked to in this thread: http://www.nabble.com/Palette-add-selected-option-tf2730861.html#a7672169 We also created a version where youselft can sort the items, let me know if you want to see our source.. regards nino Fra: [EMAIL PROTECTED] på vegne af Flavia Paganelli Sendt: ti 03-04-2007 23:32 Til: wicket-user@lists.sourceforge.net Emne: [Wicket-user] Palette with sorted elements Hi! Did anyone have to use a Palette component showing the elements in a sorted way (e.g. using a comparator, or the compareTo() method)? I tried providing a SortedSet to the Palette (a TreeSet), but that doesn't work... I guess the Palette internally uses its own List or something of that kind. Any ideas? Thank you! Flavia - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView
Is there some changes related on this? I am using version something between 1.2.5 and 1.2.6. It is build on March 15, 2007. - Juha Igor Vaynberg wrote: i dropped the attached code into my checkedout version of 1.x and it works. -igor On 3/23/07, *Juha Alatalo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have following case: - There is form including IndicatingAjaxSubmitButton - When button is pressed vector is filled - Vector is shown in a listView - ListView contains AjaxSelfUpdatingTimer Using this combination selfUpdatingTimers are not working. If I have understood correct, something should be added on head or body onload=..., but this is not done. Simplified example case can be found on: https://download.syncrontech.com/public/wicket-ajaxTimerExample.zip https://download.syncrontech.com/public/wicket-ajaxTimerExample.zip - Juha - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?
Hi all I've the following code : public class LogoutPage extends SecuredBasePage { public LogoutPage() { ((Session) getSession()).setUser(null); add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) { protected void onTimer(AjaxRequestTarget target) { setResponsePage(IntroPage.class); } }); } } However the onTimer is never called... Am I forced to add the behavior to a component even if I don't need any component ? Thanks in advance ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Template page, menu and confirmations pages
Thanks Igor I've succesfully implemented the repeater. However, regarding the confirmation dialog, your hint has lead me to use the form.setVisible(false) and then the info(...) to display my confirmation message. Regarding your solution of a panel, however, could you please just provide a bit more details ? In fact I wonder if I understood it well, did you mean : on successful submit : set the form invisible set the panel visible Is that correct ? Thanks in advance ZedroS On 4/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 4/3/07, ZedroS Schwart [EMAIL PROTECTED] wrote: How can I show this page without breaking the menu (with the right entry being unable) ? make confirmation dialog be a panel rather then a page. so just replace a part of the page that has your form with the confirmation panel. On another hand, how can I define different sets of links in the template page depending on the user profile ? In fact I need a dynamic links list to be shown but I don't know how to do so. there are two ways to do it 1) add all possible links and toggle their visibility 2) add only the relevant links into a repeater such as RepeatingView or a ListView -igor Thanks in advance ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] available application locales
hi, i'm quite new to wicket and am impressed. :-) i just stumbled over the i18n/l10n questions, which are relevant in most of our projects. if anyone could enlighten me how the following can be resolved with wickets: we have a database driven approach localizing our application. so there is a config telling the app, which languages are available. all pages are available in all configured languages, a nav-link is available on any page to switch language. this said, how can i dynamically create links to a specific language of the same page? can i define/map distinct url-path to languages (e.g. /en/index.html, /de/index.html)? thanks for your time! :-) --- jan. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?
ZedroS Schwart a écrit : Hi all I've the following code : public class LogoutPage extends SecuredBasePage { public LogoutPage() { ((Session) getSession()).setUser(null); add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) { protected void onTimer(AjaxRequestTarget target) { setResponsePage(IntroPage.class); } }); } } However the onTimer is never called... Am I forced to add the behavior to a component even if I don't need any component ? Thanks in advance ZedroS which wicket version do you use? It works fine on wicket1.X but not on 1.2.X - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] available application locales
Add a Link, in the onClick method, add the code to set the local setting for this session. That's it. add(new Link(french_wicket_tag) { public void onClick() { getSession().setLocale(Locale.FRENCH); } }); a hreh=# wicket:id=french_wicket_tagFrench version\a Maybe there is something I didn't understand in the question, but it seem's really just that. On 4/4/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi, i'm quite new to wicket and am impressed. :-) i just stumbled over the i18n/l10n questions, which are relevant in most of our projects. if anyone could enlighten me how the following can be resolved with wickets: we have a database driven approach localizing our application. so there is a config telling the app, which languages are available. all pages are available in all configured languages, a nav-link is available on any page to switch language. this said, how can i dynamically create links to a specific language of the same page? can i define/map distinct url-path to languages (e.g. /en/index.html, /de/index.html)? thanks for your time! :-) --- jan. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?
I use wicket 1.2.5... How shall I do ? Thanks in advance ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] available application locales
hi marc-andre, Add a Link, in the onClick method, add the code to set the local setting for this session. That's it. ah, yes - that solves on part, another problem still remains, how to direct link (from extern) to a specific language? that's why i asked for distinct url/language paths. regards, --- jan. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] WicketTester
Hi, Is there an example on how to test bookmarkable pages with pageparameters? Do I have to use the ITestPage and call the constructor page(PageParameters params)? /Mats - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester
I try to setup a simple testcase with a bookmarkablepage and get the following exception about the serialization. INFO - Application- [WicketTester$1] init: Wicket extensions initializer INFO - Application- [WicketTester$1] init: Wicket core library initializer INFO - Application- [WicketTester$1] init: Wicket JMX initializer INFO - Initializer- registering Wicket mbeans with server [EMAIL PROTECTED] INFO - WebApplication - [WicketTester$1] Started Wicket in development mode ERROR - Objects- Error serializing object class wicket.util.tester.DummyHomePage [object=[Page class = wicket.util.tester.DummyHomePage, id = 0, version = 0]] wicket.util.io.WicketSerializeableException: No serializeable constructor found for class wicket.protocol.http.MockHttpServletRequest wicket.util.tester.DummyHomePage-testPageSource-se.curalia.ekn.page.project.ProjectLeadAddsComment$1-this$0-se.curalia.ekn.page.project.ProjectLeadAddsComment-tester-wicket.util.tester.WicketTester-servletRequest NOTE: if you feel Wicket is at fault with this exception, please report to the mailing list. You can switch to JDK based serialization by calling: wicket.util.lang.Objects.setObjectStreamFactory(new IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init method of your application The testing code: AnnotApplicationContextMock appctx = new AnnotApplicationContextMock(); appctx.putBean(commentDAO, commentDAO); appctx.putBean(projectDAO, projectDAO); this.tester.getApplication().addComponentInstantiationListener(new SpringComponentInjector(this.tester.getApplication(), appctx)); tester.startPage(new ITestPageSource() { public Page getTestPage() { PageParameters params = new PageParameters(); params.add(id, 1); return new Diary(params); } }); I'm using incubator-1.3.0 rev 520893 from about two weeks back. /regards Mats - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester
Update, I switched to the latest snapshot and got the same error On 4/4/07, Mats Norén [EMAIL PROTECTED] wrote: I try to setup a simple testcase with a bookmarkablepage and get the following exception about the serialization. INFO - Application- [WicketTester$1] init: Wicket extensions initializer INFO - Application- [WicketTester$1] init: Wicket core library initializer INFO - Application- [WicketTester$1] init: Wicket JMX initializer INFO - Initializer- registering Wicket mbeans with server [EMAIL PROTECTED] INFO - WebApplication - [WicketTester$1] Started Wicket in development mode ERROR - Objects- Error serializing object class wicket.util.tester.DummyHomePage [object=[Page class = wicket.util.tester.DummyHomePage, id = 0, version = 0]] wicket.util.io.WicketSerializeableException: No serializeable constructor found for class wicket.protocol.http.MockHttpServletRequest wicket.util.tester.DummyHomePage-testPageSource-se.curalia.ekn.page.project.ProjectLeadAddsComment$1-this$0-se.curalia.ekn.page.project.ProjectLeadAddsComment-tester-wicket.util.tester.WicketTester-servletRequest NOTE: if you feel Wicket is at fault with this exception, please report to the mailing list. You can switch to JDK based serialization by calling: wicket.util.lang.Objects.setObjectStreamFactory(new IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init method of your application The testing code: AnnotApplicationContextMock appctx = new AnnotApplicationContextMock(); appctx.putBean(commentDAO, commentDAO); appctx.putBean(projectDAO, projectDAO); this.tester.getApplication().addComponentInstantiationListener(new SpringComponentInjector(this.tester.getApplication(), appctx)); tester.startPage(new ITestPageSource() { public Page getTestPage() { PageParameters params = new PageParameters(); params.add(id, 1); return new Diary(params); } }); I'm using incubator-1.3.0 rev 520893 from about two weeks back. /regards Mats - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?
in 1.2 you need to work around it by having a component. in 1.3 this is fixed and it will work on a page. johan On 4/4/07, ZedroS Schwart [EMAIL PROTECTED] wrote: I use wicket 1.2.5... How shall I do ? Thanks in advance ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView
im sure there are, 1.3 is very different from 1.2.x -igor On 4/4/07, Juha Alatalo [EMAIL PROTECTED] wrote: Is there some changes related on this? I am using version something between 1.2.5 and 1.2.6. It is build on March 15, 2007. - Juha Igor Vaynberg wrote: i dropped the attached code into my checkedout version of 1.x and it works. -igor On 3/23/07, *Juha Alatalo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have following case: - There is form including IndicatingAjaxSubmitButton - When button is pressed vector is filled - Vector is shown in a listView - ListView contains AjaxSelfUpdatingTimer Using this combination selfUpdatingTimers are not working. If I have understood correct, something should be added on head or body onload=..., but this is not done. Simplified example case can be found on: https://download.syncrontech.com/public/wicket-ajaxTimerExample.zip https://download.syncrontech.com/public/wicket-ajaxTimerExample.zip - Juha - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Template page, menu and confirmations pages
webmarkupcontainer c=new webmarkupcontainer(); form f=new form(); c.add(form); form.add(new button() { onsubmit() { c.replaceWith(new confirmpanel();}} -igor On 4/4/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Thanks Igor I've succesfully implemented the repeater. However, regarding the confirmation dialog, your hint has lead me to use the form.setVisible(false) and then the info(...) to display my confirmation message. Regarding your solution of a panel, however, could you please just provide a bit more details ? In fact I wonder if I understood it well, did you mean : on successful submit : set the form invisible set the panel visible Is that correct ? Thanks in advance ZedroS On 4/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 4/3/07, ZedroS Schwart [EMAIL PROTECTED] wrote: How can I show this page without breaking the menu (with the right entry being unable) ? make confirmation dialog be a panel rather then a page. so just replace a part of the page that has your form with the confirmation panel. On another hand, how can I define different sets of links in the template page depending on the user profile ? In fact I need a dynamic links list to be shown but I don't know how to do so. there are two ways to do it 1) add all possible links and toggle their visibility 2) add only the relevant links into a repeater such as RepeatingView or a ListView -igor Thanks in advance ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] available application locales
huh - that really sounds scary... mounting hundreds of paths within a dynamically generated site. having just a default path-attribute added and evaluated would be nicer. i'll have to check this. but thanks so far! --- jan. Marc-Andre Houle wrote: Add a page parameters to your page that include a parameter to the language to use. Make sure to use a bookmarkable page (use bookmarkable link). and to get a nice url, use mounting(Can't find quickly in the wiki, but here's the javadoc http://wicketframework.org/apidocs/wicket/protocol/http/WebApplication.html#mountBookmarkablePage%28java.lang.String,%2520java.lang.Class%29) By using nice mounted page, you can add a link that will look like : http://host/application-name/page-name/param-name/param So, for an application wicket, on the page index using parameter language, you would have a url : http://host/wicket/index/language/french In the constructor of your page, use the page parameters to determine what exactly to render back to the user. Not sure if it is cleanly explained, but there is plenty of example in this list about mounting and page parameters... Sound scary but it is really a piece of cake. Marc On 4/4/07, *Jan Kriesten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi marc-andre, Add a Link, in the onClick method, add the code to set the local setting for this session. That's it. ah, yes - that solves on part, another problem still remains, how to direct link (from extern) to a specific language? that's why i asked for distinct url/language paths. regards, --- jan. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] XSD / Validation
Could you paste your created xsd file? Maybe this is useful for others, too. Could anybody add this xsd to the source repository? We could add a comment to the header that this file is experimental. But it could be a first step in the right direction. Johannes Schneider Dmitry Kandalov wrote: Johannes Schneider-3 wrote: Hi, I am new to Wicket and want to use XHTML and validate the files. I use IntelliJ Idea but I could not succeed in validating. I run into two problems: - I did not find any wicket.xsd? I just found a DTD, but I don't know how I should use it. I use this header: html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://wicket.sourceforge.net; where http://wicket.sourceforge.net; is mapped to hand written xsd with wicket tags. Something like: xs:schema... xs:element name=child xs:complexType xs:choice xs:any/ /xs:choice /xs:complexType /xs:element ... /xs:schema And wicket:id is added to custom html tags. ps I tried to use DTD that comes with wicket, but it seems it's not enough for IDEA -- Johannes Schneider Im Lindenwasen 15 72810 Gomaringen Fon +49 7072 9229972 Fax +49 7072 50 [EMAIL PROTECTED] http://www.johannes-schneider.info smime.p7s Description: S/MIME Cryptographic Signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] XSD / Validation
Thanks, Johannes Schneider Marc-Andre Houle wrote: I think one of your answer can be found in this thread... http://www.nabble.com/XHTML-ContentType-problem-tf3362030.html#a9352755 On 3/29/07, *Johannes Schneider* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I am new to Wicket and want to use XHTML and validate the files. I use IntelliJ Idea but I could not succeed in validating. I run into two problems: - I did not find any wicket.xsd? I just found a DTD, but I don't know how I should use it. - How can I switch the file extension to xhtml (at the moment Wicket only searches for .html). This would allow me to easily set up IntelliJ to validate only the *.xhtml files. Thanks for your help. Johannes Schneider -- Johannes Schneider Im Lindenwasen 15 72810 Gomaringen Fon +49 7072 9229972 Fax +49 7072 50 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.johannes-schneider.info - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Johannes Schneider Im Lindenwasen 15 72810 Gomaringen Fon +49 7072 9229972 Fax +49 7072 50 [EMAIL PROTECTED] http://www.johannes-schneider.info smime.p7s Description: S/MIME Cryptographic Signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] available application locales
mounting hundreds of paths within a dynamically generated site. having just a default path-attribute added and evaluated would be nicer. you don't need that - only mount your pages once. I would subclass the application pages from a common page that looks like this: public abstract class MyPage extends WebPage { public MyPage(PageParameters params) { String lang = params.getString(lang, en); getSession().setLocale(lang); } } If you mount a page you can put /lang/de or /lang/fr in the url. If you don't mount your page you can add ?lang=de to your bookmarkable urls Hope this helps, Janos - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] available application locales
you don't need that - only mount your pages once. I would subclass the application pages from a common page that looks like this: public abstract class MyPage extends WebPage { public MyPage(PageParameters params) { String lang = params.getString(lang, en); getSession().setLocale(lang); } } If you mount a page you can put /lang/de or /lang/fr in the url. If you don't mount your page you can add ?lang=de to your bookmarkable urls Yes, you do not need to mount. If you don't care don't do it, or just do it for the pages or packages you do care about. Without mounting, bookmarkable pages are available through an url like: http://server/webapp/?wicket:bookmarkablePage=:mypackage.MyPage so appending a parameter looks like http://server/webapp/?wicket:bookmarkablePage=:mypackage.MyPagelang=fr Also, if you're developing with Wicket it is likely you don't end up with hundreds of pages. It depends on how you want to do your development, but working with panels/ sections of the page that can be replaced etc is pretty powerful. See http://chillenious.wordpress.com/2006/07/16/on-page-navigation/ Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Template page, menu and confirmations pages
On 4/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: webmarkupcontainer c=new webmarkupcontainer(); form f=new form(); c.add(form); form.add(new button() { onsubmit() { c.replaceWith(new confirmpanel();}} Also described here: http://chillenious.wordpress.com/2006/11/30/ask-confirmation-on-link-clicks-with-wicket/ Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester
Can you please create a JIRA issue for this? It seems to be a bug in the custom serialization code that is experimental in Wicket now. It would actually be great if we could switch to an in-memory session store when executing tests. Eelco On 4/4/07, Mats Norén [EMAIL PROTECTED] wrote: Update, I switched to the latest snapshot and got the same error On 4/4/07, Mats Norén [EMAIL PROTECTED] wrote: I try to setup a simple testcase with a bookmarkablepage and get the following exception about the serialization. INFO - Application- [WicketTester$1] init: Wicket extensions initializer INFO - Application- [WicketTester$1] init: Wicket core library initializer INFO - Application- [WicketTester$1] init: Wicket JMX initializer INFO - Initializer- registering Wicket mbeans with server [EMAIL PROTECTED] INFO - WebApplication - [WicketTester$1] Started Wicket in development mode ERROR - Objects- Error serializing object class wicket.util.tester.DummyHomePage [object=[Page class = wicket.util.tester.DummyHomePage, id = 0, version = 0]] wicket.util.io.WicketSerializeableException: No serializeable constructor found for class wicket.protocol.http.MockHttpServletRequest wicket.util.tester.DummyHomePage-testPageSource-se.curalia.ekn.page.project.ProjectLeadAddsComment$1-this$0-se.curalia.ekn.page.project.ProjectLeadAddsComment-tester-wicket.util.tester.WicketTester-servletRequest NOTE: if you feel Wicket is at fault with this exception, please report to the mailing list. You can switch to JDK based serialization by calling: wicket.util.lang.Objects.setObjectStreamFactory(new IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init method of your application The testing code: AnnotApplicationContextMock appctx = new AnnotApplicationContextMock(); appctx.putBean(commentDAO, commentDAO); appctx.putBean(projectDAO, projectDAO); this.tester.getApplication().addComponentInstantiationListener(new SpringComponentInjector(this.tester.getApplication(), appctx)); tester.startPage(new ITestPageSource() { public Page getTestPage() { PageParameters params = new PageParameters(); params.add(id, 1); return new Diary(params); } }); I'm using incubator-1.3.0 rev 520893 from about two weeks back. /regards Mats - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AjaxMouseEventBehavior substitue in wicket-extensions 1.2.5
Since the development of Wicket 2 seems to be frozen for an unknown period of time I'm trying to port my wicket 2 application to wicket 1.2.5. In in one occasion I use the AjaxMouseEventBehavior class that is a part of wicket-extensions 2.0, but it doesn't seem to exist in wicket-extensions 1.2.5. Is there a substitution for this class in wicket extensions 1.2.5 or is there a relatively simple way to work around it? Thanks -- View this message in context: http://www.nabble.com/AjaxMouseEventBehavior-substitue-in-wicket-extensions-1.2.5-tf3527618.html#a9843379 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Aajx error handling weirdness
Hey guys, I have a weird issue. I am using the globalFailureHandler to catch my ajax errors, and also have overridden RequestCycle to forward to my own error page. But when an error occurs during an ajax request, I get two different responses depending on what mode my application is in. In deployment mode, my error will cause a forward to the error page. In development mode my error will be handled by the global failure handler, basically only javascript error handling. If I am in development mode and do NOT register the global failure handler, then my error is not handled and only appears in my tomcat console. How can I control this behavior and choose how my errors are handled, regardless of what mode my application is in? I am using wicket 1.2.4, and even retro fitted this patch: http://issues.apache.org/jira/browse/WICKET-313 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] patch question: wicket 313
Hey all, I've applied this patch http://issues.apache.org/jira/browse/WICKET-313 to wicket 1.2.4 and it doesn't seem to have changed the way my errors are handled in ajaxRequestTarget. Am I missing other patches that this depends on? Thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Framework Evaluation
We are currently evaluating GWT, Tapestry and Wicket for our company. We would like to pick one that we can standardize on for the entire company to build all of our new web products on going forward. I managed to get Wicket to Round 2 ;-), but our architects have some lingering concerns that I simply cannot address in the short time I have been working with Wicket. So, I have some questions that I hope people can answer, or at least point me in the right direction to look for the answers ;-) I am currently working with Wicket 1.2.5... 1. I have found comparisons between Wicket and Tapestry (and JSF), but none between Wicket and GWT. Are there any out there? 2. When using GWT, you appear to get AJAX for free. We are trying to produce Wicket code to a) add dynamic components to a web page at runtime and b) have those components (like a link) modify an existing component when selected, all on the client-side with no calls back to the server. Is there any code available that demonstrates this capability? We have looked through the Ajax examples and could not find a good demonstration of that... 3. Given the following HTML element wicket:fragment wicket:id=favTagFraga href='#' onClick='javascript:addTag(tagBox, div wicket:id='tag'/div)'div wicket:id=linklink/div/a/wicket:fragment, is there a way to have it rendered in browser as a href=# onClick='javascript.addTag(tagBox, foo)'div wicket:id=linkfoo/div/a? In other words, we are looking for a way to replace div wicket:id='tag'/div with foo Thanks for any assistance, rhogue - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Framework Evaluation
We are currently evaluating GWT, Tapestry and Wicket for our company. We would like to pick one that we can standardize on for the entire company to build all of our new web products on going forward. I managed to get Wicket to Round 2 ;-), but our architects have some lingering concerns that I simply cannot address in the short time I have been working with Wicket. So, I have some questions that I hope people can answer, or at least point me in the right direction to look for the answers ;-) I am currently working with Wicket 1.2.5... 1. I have found comparisons between Wicket and Tapestry (and JSF), but none between Wicket and GWT. Are there any out there? 2. When using GWT, you appear to get AJAX for free. We are trying to produce Wicket code to a) add dynamic components to a web page at runtime and b) have those components (like a link) modify an existing component when selected, all on the client-side with no calls back to the server. Is there any code available that demonstrates this capability? We have looked through the Ajax examples and could not find a good demonstration of that... 3. Given the following HTML element wicket:fragment wicket:id=favTagFraga href='#' onClick='javascript:addTag(tagBox, div wicket:id='tag'/div)'div wicket:id=linklink/div/a/wicket:fragment, is there a way to have it rendered in browser as a href=# onClick='javascript.addTag(tagBox, foo)'div wicket:id=linkfoo/div/a? In other words, we are looking for a way to replace div wicket:id='tag'/div with foo Thanks for any assistance, rhogue - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Framework Evaluation
Hi I have found comparisons between Wicket and Tapestry (and JSF), but none between Wicket and GWT. Are there any out there? Not that I know about. But when evaluating GWT, just don't miss one fact: No site made by GWT will be crawled by google or any other crawlers. When using GWT, you appear to get AJAX for free. We are trying to produce Wicket code to a) add dynamic components to a web page at runtime and b) have those components (like a link) modify an existing component when selected, all on the client-side with no calls back to the server. Is there any code available that demonstrates this capability? We have looked through the Ajax examples and could not find a good demonstration of that… If you want ajax there is plenty of support for that in wicket. If you want client only javascript - that's something different. We don't support generating client only general purpose javascript, nor will we. That's out of scope of wicket. Given the following HTML element wicket:fragment wicket:id=favTagFraga href='#' onClick='javascript:addTag(tagBox, div wicket:id='tag'/div)'div wicket:id=linklink/div/a/wicket:fragment, is there a way to have it rendered in browser as a href=# onClick='javascript.addTag(tagBox, foo)'div wicket:id=linkfoo/div/a? In other words, we are looking for a way to replace div wicket:id='tag'/div with foo component.setRenderBodyOnly(true) ? Thanks for any assistance, rhogue - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.3 ready for development?
Erik, could you please share with us your results about this comparison between Tapestry/GWT and Wicket ? []'s On 3/31/07, Erik van Oosten [EMAIL PROTECTED] wrote: Thanks Eelco, Frank, 1.3 it will be. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Bruno Borges Summa Technologies Inc. www.summa-tech.com (48) 8404-1300 (11) 3055-2060 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
Is there a way to output error messages per field, ie specify a feedback span per field that only displays error messages for that field? On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: In other words: his bar bum years are over and he can code instead of chasing girls all the time :) Eelco On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have a gorgeous wife and two beautiful kids :) -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey(String). Wow! The people on this list keep on amazing me. Do you have a private life? :-) -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
see componentfeedbackpanel -igor On 4/4/07, Julian Klappenbach [EMAIL PROTECTED] wrote: Is there a way to output error messages per field, ie specify a feedback span per field that only displays error messages for that field? On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: In other words: his bar bum years are over and he can code instead of chasing girls all the time :) Eelco On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have a gorgeous wife and two beautiful kids :) -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey (String). Wow! The people on this list keep on amazing me. Do you have a private life? :-) -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Input focus
Thanks, guys. I think I was over-thinking this. I've decided to do this with pure Javascript included on every page, just giving focus to the first non-disabled input element. Igor's comment about metadata made me realize I was already tagging invalid fields with invalid in the class attribute, so I keyed off that to give those fields priority. I also use the CSS class name nofocus to avoid always giving focus to a search input at the top of each page. I've attached the JS if anyone's interested. It won't give focus to a select or textarea, but I don't need that just now. jk On Tue, April 3, 2007 2:04 am, Peter Thomas said: You may already know the quick un-generic way to do this - but for example this is what I have on a login page where I set focus to the password field in case the user-id field is already filled in. getBodyContainer().addOnLoadModifier(new AbstractReadOnlyModel() { public Object getObject() { String markupId; if(loginName.getConvertedInput() == null) { markupId = loginName.getMarkupId(); } else { markupId = password.getMarkupId(); } return document.getElementById(' + markupId + ').focus(); } }, password); On 4/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you can set some metadata into these components. have your page/form subclass implement iheaderresponse, traverse the hierararchy in renderhead and set focus to the first component with the right metadata through the header response that is passed in. sounds like a mouthful, but should be pretty simple to implement. -igor On 4/2/07, John Krasnay [EMAIL PROTECTED] wrote: Hi folks, I'm new to Wicket and I'm wondering if there's a Wicket way to have input focus set to the first form component on the page. I could always code up some Javascript to do this but it would be nice if I could flag certain form components as wanting focus, then have the page set the focus to the first of these. Ideally, if any form components had failed validation, the page would ignore the wanting focus flag and give focus to the first invalid field. Any ideas? jk - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user focus.js Description: JavaScript source - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Testing trouble when backporting application from 2.0 to 1.2.5
I'm porting an application from wicket 2.0 to 1.2 but I run into trouble when executing tests for some of the classes. The tests worked in Wicket 2.0. Bellow is a simple example the demonstrate the problem: public class FormPage extends WebPage { private static final long serialVersionUID = 1067399768727619005L; public FormPage() { final Label label = new Label(labelId, new Model( Result will be shown here)); add(label); Form form = new Form(formId, new CompoundPropertyModel(new Model( new Person(; form.add(new TextField(firstName)); form.add(new TextField(lastName)); form.add(new Button(buttonId, new Model(Submit)) { private static final long serialVersionUID = -6844333946044170902L; @Override @SuppressWarnings(unchecked) public void onSubmit() { Person person = (Person) getForm().getModelObject(); label .setModel(new Model(You entered: + person.getFullname())); } }); add(form); } } One of the test that I've created earlier and that worked with Wicket 2.0 looks like this: @Test public void submit() { FormPage formPage = (FormPage) tester.getLastRenderedPage(); Form form = (Form) formPage.get(formId); TextField firstName = (TextField) form.get(firstName); firstName.setModelValue(Firstname); TextField lastName = (TextField) form.get(lastName); lastName.setModelValue(Lastname); FormTester formTester = tester.newFormTester(formId); formTester.submit(buttonId); // Get the label and validate the model object Label label = (Label) formPage.get(labelId); assertEquals(Label model does not match., You entered: Firstname Lastname, label.getModelObject()); } However this does not seem to work with wicket 1.2. The last line of the test fails saying: Label model does not match. expected:You entered: [Firstname Lastname] but was:You entered: [null null] The problem seem to be that the call to ..setModelValue(..) doesn't update the model or it get lost when I press the submit button somehow. How can I fix this? thanks -- View this message in context: http://www.nabble.com/Testing-trouble-when-backporting-application-from-2.0-to-1.2.5-tf3528486.html#a9846434 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AjaxMouseEventBehavior substitue in wicket-extensions 1.2.5
On Wed, 04 Apr 2007, Gohan wrote: Since the development of Wicket 2 seems to be frozen for an unknown period of time I'm trying to port my wicket 2 application to wicket 1.2.5. In in one If you already have code, wouldn't it be better to target 1.3? It is rapidly approaching 2.0: http://cwiki.apache.org/WICKET/backporting-features-from-trunk.html We'll just keep on using 2.0 until 1.4 (current 2.0 minus the add / constructor change) will come up. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Framework Evaluation
So, I have some questions that I hope people can answer, or at least point me in the right direction to look for the answers ;-) I am currently working with Wicket 1.2.5… Wicket 1.3 is much improved, so if you don't mind working on a development branch that'll be better. I have found comparisons between Wicket and Tapestry (and JSF), but none between Wicket and GWT. Are there any out there? When using GWT, you appear to get AJAX for free. We are trying to produce Wicket code to a) add dynamic components to a web page at runtime and b) have those components (like a link) modify an existing component when selected, all on the client-side with no calls back to the server. Is there any code available that demonstrates this capability? With Wicket, the majority of the state is kept on the server. It's easy enough to wrap a couple of JavaScript widgets and achieve the same. But if you are after a model where there are zero round trips to change parts of the page, GWT might be a better choice. Though imo there wouldn't be a lot of chances of actually achieving that, as typically components are backed by some data source, right (at least if you're developing data driven apps). So even if you would be able to add those components dynamically themselves, you probably still have to do one or more roundtrips to get the data. Wicket is potentially more efficient (and without limitations!) in getting that data as it can handle a couple of components or a page at the same time, whereas in GWT's model you'll probably have to get fresh data in separate service calls. Of course, both can be optimized, so it's not a real argument for either probably. With Wicket, Ajax is optional, whereas with GWT it's Ajax all the way. It depends on what you need/ prefer. Personally, I would pick the framework with the programming model you like best. And the best way to find that out is to do something (preferably non-trivial) with both. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Framework Evaluation
And here's one opinion: http://www.nabble.com/-Wicket-user--ajax-libraries---wicket-tf3191437.html#a8870490 Eelco On 4/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote: So, I have some questions that I hope people can answer, or at least point me in the right direction to look for the answers ;-) I am currently working with Wicket 1.2.5… Wicket 1.3 is much improved, so if you don't mind working on a development branch that'll be better. I have found comparisons between Wicket and Tapestry (and JSF), but none between Wicket and GWT. Are there any out there? When using GWT, you appear to get AJAX for free. We are trying to produce Wicket code to a) add dynamic components to a web page at runtime and b) have those components (like a link) modify an existing component when selected, all on the client-side with no calls back to the server. Is there any code available that demonstrates this capability? With Wicket, the majority of the state is kept on the server. It's easy enough to wrap a couple of JavaScript widgets and achieve the same. But if you are after a model where there are zero round trips to change parts of the page, GWT might be a better choice. Though imo there wouldn't be a lot of chances of actually achieving that, as typically components are backed by some data source, right (at least if you're developing data driven apps). So even if you would be able to add those components dynamically themselves, you probably still have to do one or more roundtrips to get the data. Wicket is potentially more efficient (and without limitations!) in getting that data as it can handle a couple of components or a page at the same time, whereas in GWT's model you'll probably have to get fresh data in separate service calls. Of course, both can be optimized, so it's not a real argument for either probably. With Wicket, Ajax is optional, whereas with GWT it's Ajax all the way. It depends on what you need/ prefer. Personally, I would pick the framework with the programming model you like best. And the best way to find that out is to do something (preferably non-trivial) with both. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Testing trouble when backporting application from 2.0 to 1.2.5
this looks more like a WicketTester failure then a failure of the real code are you really porting to 1.2? You should try to go from 2.0 to 1.3 because else you need to change quite a lot more johan On 4/4/07, Gohan [EMAIL PROTECTED] wrote: I'm porting an application from wicket 2.0 to 1.2 but I run into trouble when executing tests for some of the classes. The tests worked in Wicket 2.0. Bellow is a simple example the demonstrate the problem: public class FormPage extends WebPage { private static final long serialVersionUID = 1067399768727619005L; public FormPage() { final Label label = new Label(labelId, new Model( Result will be shown here)); add(label); Form form = new Form(formId, new CompoundPropertyModel(new Model( new Person(; form.add(new TextField(firstName)); form.add(new TextField(lastName)); form.add(new Button(buttonId, new Model(Submit)) { private static final long serialVersionUID = -6844333946044170902L; @Override @SuppressWarnings(unchecked) public void onSubmit() { Person person = (Person) getForm().getModelObject(); label .setModel(new Model(You entered: + person.getFullname())); } }); add(form); } } One of the test that I've created earlier and that worked with Wicket 2.0 looks like this: @Test public void submit() { FormPage formPage = (FormPage) tester.getLastRenderedPage (); Form form = (Form) formPage.get(formId); TextField firstName = (TextField) form.get(firstName); firstName.setModelValue(Firstname); TextField lastName = (TextField) form.get(lastName); lastName.setModelValue(Lastname); FormTester formTester = tester.newFormTester(formId); formTester.submit(buttonId); // Get the label and validate the model object Label label = (Label) formPage.get(labelId); assertEquals(Label model does not match., You entered: Firstname Lastname, label.getModelObject()); } However this does not seem to work with wicket 1.2. The last line of the test fails saying: Label model does not match. expected:You entered: [Firstname Lastname] but was:You entered: [null null] The problem seem to be that the call to ..setModelValue(..) doesn't update the model or it get lost when I press the submit button somehow. How can I fix this? thanks -- View this message in context: http://www.nabble.com/Testing-trouble-when-backporting-application-from-2.0-to-1.2.5-tf3528486.html#a9846434 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Framework Evaluation
Thanks for all the info. I've been in the Swing world for 10 years and need to come up to speed on the alphabet soup of the Web World in a few scant weeks ;-) My knowledge of Ajax is, shall we say, a bit sparse... Wicket and GWT seem to be the most swing-like, and they are both easy to become productive on in an hour (or less). It does boil down to the right tool for the right job, and management is looking for the framework of the future, even though we have no idea what we are supposed to be building... We spent a couple weeks writing prototypes using 5 different frameworks, then evaluating each one; GWT came out on top with Wicket a close second. Tapestry was low, but it got pulled forward anyway since it was Tapestry ;-) I still have some code our architect has put together to accomplish a non-trivial task and he is not happy with the amount of code he had to write to accomplish the task. I need to find a way, if possible, to simplify it. Thanks again for all of your input, rhogue - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Framework Evaluation
On 4/4/07, Richard Hogue [EMAIL PROTECTED] wrote: Thanks for all the info. I've been in the Swing world for 10 years and need to come up to speed on the alphabet soup of the Web World in a few scant weeks ;-) My knowledge of Ajax is, shall we say, a bit sparse... Wicket and GWT seem to be the most swing-like, and they are both easy to become productive on in an hour (or less). Another framework to consider might be Echo 2. I think it's kind of in-between Wicket and GWT. Like GWT, you'll have to work with layout managers though, so if you plan to get separate UI designer guys, that won't work as well. It does boil down to the right tool for the right job, and management is looking for the framework of the future, even though we have no idea what we are supposed to be building... Yep. A very important consideration is whether the projects you'll be building can be all-ajax, or need to support a more traditional model as well. I still have some code our architect has put together to accomplish a non-trivial task and he is not happy with the amount of code he had to write to accomplish the task. I need to find a way, if possible, to simplify it. Wicket usually doesn't win when it comes to writing less code. However, less code doesn't always mean that it is better maintainable and flexible. In Wicket's case, you often have to write a bit more code than it's counter parts because it is unmanaged and doesn't impose yet another DSL. In return, you'll get lots of type safety, good refactoring support and developer freedom. My biased opinion of course. The choice is your's (and team). What you could do is make a list with 'should haves', 'nice to haves' and 'might haves' and rate the different options you are investigating accordingly. You could send such a list (with your opinions if you whish) here and see if people are interested in giving their - probably Wicket biased - opinions. For example, i18n support, the ability to work with separate designers, reusability, etc. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Framework Evaluation
One strong consideration four our research into using Wicket as the standard UI framework for our open source projects is the very workflow of our company. We have a well defined and capable UX team, who design the interfaces for our applications. Their deliverables include wireframes and html mockups. Wicket would allow us to utilize those mockups, thereby eliminating a fairly sizable amount of the work required to produce pages. With GWT, we'd only be able to use designs from UX as a reference, and woudl need to recreate the work from scratch with Java. This would be wasted effort. Finally, our initial review of GWT revealed one undesirable factor: the amount of scripting and markup emitted by GWT to do even trivial things. Although we didn't pursue this further to see if the growth of scripting and other artifacts grew linearly with page size, but the initial trial was enough to shift our focus to more lightweight, efficient frameworks. GWT may have progressed since then, so YMMV. -jjk On 4/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 4/4/07, Richard Hogue [EMAIL PROTECTED] wrote: Thanks for all the info. I've been in the Swing world for 10 years and need to come up to speed on the alphabet soup of the Web World in a few scant weeks ;-) My knowledge of Ajax is, shall we say, a bit sparse... Wicket and GWT seem to be the most swing-like, and they are both easy to become productive on in an hour (or less). Another framework to consider might be Echo 2. I think it's kind of in-between Wicket and GWT. Like GWT, you'll have to work with layout managers though, so if you plan to get separate UI designer guys, that won't work as well. It does boil down to the right tool for the right job, and management is looking for the framework of the future, even though we have no idea what we are supposed to be building... Yep. A very important consideration is whether the projects you'll be building can be all-ajax, or need to support a more traditional model as well. I still have some code our architect has put together to accomplish a non-trivial task and he is not happy with the amount of code he had to write to accomplish the task. I need to find a way, if possible, to simplify it. Wicket usually doesn't win when it comes to writing less code. However, less code doesn't always mean that it is better maintainable and flexible. In Wicket's case, you often have to write a bit more code than it's counter parts because it is unmanaged and doesn't impose yet another DSL. In return, you'll get lots of type safety, good refactoring support and developer freedom. My biased opinion of course. The choice is your's (and team). What you could do is make a list with 'should haves', 'nice to haves' and 'might haves' and rate the different options you are investigating accordingly. You could send such a list (with your opinions if you whish) here and see if people are interested in giving their - probably Wicket biased - opinions. For example, i18n support, the ability to work with separate designers, reusability, etc. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] something strange about FormComponent.getInputAsArray()
Which version are you using? And why wouldn't you be using models and components rather then getInputAsArray, which is basically a framework function? Eelco On 4/2/07, JFC [EMAIL PROTECTED] wrote: Sorry to bother, but I found a strange thing, I don't know if I misunderstand the usage of getInputAsArray(). Here is my case: HTML code: !-- -- tr td class=td-field01 Imsnbsp;Ports /td td class=tb-bgcolor input type=text wicket:id=gbeTMSImsPortmap value=abc /td /tr JAVA Code: public String[] getInputAsArray()//This, Usually is size==1. Only when multiple choices. { String[] ans = super.getInputAsArray(); if(ans != null) { String temp = ans[0]; ans[0] = String.valueOf(codingUtil.encodeToInteger(temp)); //ans[0] = String.valueOf(codingUtil.encodeToInteger(ans[0])); } return ans; } -- When I input 4-5 in the html form, I got 0 from super.getInputAsArray() But if I change JAVA codes to public String[] getInputAsArray()//This, Usually is size==1. Only when multiple choices. { String[] ans = super.getInputAsArray(); if(ans != null) { //ans[0] = String.valueOf(codingUtil.encodeToInteger(ans[0])); } return ans; } I could got the correct value 4-5. I tried it twice. Could anybody help me about this? Thanks a lot !! by: JFC - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Calling document.getElementById after refreshing the calling component
I haven't looked at your actual code, but tbh combining a normal and ajax request like that doesn't sound like a very good idea to me. Can't you issue the form submit as part of a script you set in the AjaxRequestTarget of the preparing action? Something like: target.appendJavaScript(myForm.getMarkupId() + submit();); Eelco On 3/29/07, ChuckDeal [EMAIL PROTECTED] wrote: I have a scenario where I want to perform an action on the server prior to issuing a jsform.submit() on the client. I had been using SubmitLink, but the timing was wrong because I need to tweak some data on the client BEFORE submitting. I finally got the idea to combine AjaxLink and SubmitLink. I get the onClick action on the server when the user clicks the button and I planned on using an AjaxCallDecorator to decorateOnSuccessScript to put the javascript code to submit the form (from SubmitLink). I believe that I have it correct now, but I am experiencing JavaScript problems. I put together this quickstart (minus lib folder) to show the simplified scenario: http://www.nabble.com/file/7527/quickstart-ajaxcalldec.zip quickstart-ajaxcalldec.zip calling document.getElementById('form_id') returns null when the success script fires. Based upon the quickstart that I put together, I think it is because I am refreshing the component that is firing the event to begin with. Could someone with more experience in this give it a looksee? Chuck -- View this message in context: http://www.nabble.com/Calling-document.getElementById-after-%22refreshing%22-the-calling-component-tf3486829.html#a9735077 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Any ajax callback for when a panel is closed?
We have a modal window with several tabs. We want to validate the data on the tab after when the user navigates away from the tab. The tab is currently just a panel. Is there any callback we can when the panel is closed use to trigger validation? Thanks, Jamie -- View this message in context: http://www.nabble.com/Any-ajax-callback-for-when-a-panel-is-closed--tf3529142.html#a9848599 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user