[Wicket-user] Question regarding models and form submit...
This is just a question as to a best approach to take to ensure that a form component's model is updated after onSubmit() does it's work. Given the code: public class MyForm extends Form Foo { private static final Log log = LogFactory.getLog(MyForm.class); IEntityServices server = ServiceLocator.getDefault().locateAndCreate(EntityServices.class); public MyForm(MarkupContainer markupContainer, String s, IModel Foo iModel) { super(markupContainer, s, new CompoundPropertyModel(iModel)); new TextField(this, name); new DropDownChoice Foo ( this, parent, new LoadableDetachableModel List Foo () { protected List Foo load() { log.debug(Calling Load); return server.getResultList(SELECT f FROM Foo f); //-- called 1st, N entities in the table } }, new ChoiceRenderer Foo (name, id) ); } protected void onSubmit() { server.merge(getModelObject()); //-- called 2nd, saves new entity, now N+1 entities in the table } } Sorry, I know sifting through others code isn't much fun, but I included it just to be clear. I know the javadoc says that a Form will update all of it's FormComponent models before calling onSubmit(). In this case, I am loading the entire list of Foo's from the database for the DropDownChoice that the user can select to be this new Foo's parent. Because the DropDownChoice loads it's model before onSubmit(), it will never include the newly created Foo that is saved in onSubmit(). Only after a subsequent page refresh/render will the saved Foo get loaded. Basically, my question is: what is a clean way to ensure that the DropDownModel gets loaded only once still (via the LoadableDetachableModel), but *after* the onSubmit() is called? Aaron - 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
Re: [Wicket-user] Question regarding models and form submit...
hmm this wont really work, you see the list has to be loaded before onsubmit because it is used to decode select component's value back to the object( notice how we do not provide a reverse lookup in the renderer that does id-value, only value-id) if you really want to avoid the second load what you have to do is to use a custom model that gives you access to the backing list so you can modify it accordingly in onsubmit. ( i guess the ldm will work as well ) if you do not mind the second load then just detach the model in onsubmit if you do not mind loads period because your persistence layer is doing caching just do the query in model's getobject() so its fresh every time its called. also make sure whatever your locator returns is something you do not mind being serialized. -igor On 2/5/07, Aaron HIniker [EMAIL PROTECTED] wrote: This is just a question as to a best approach to take to ensure that a form component's model is updated after onSubmit() does it's work. Given the code: public class MyForm extends Form Foo { private static final Log log = LogFactory.getLog(MyForm.class); IEntityServices server = ServiceLocator.getDefault().locateAndCreate(EntityServices.class); public MyForm(MarkupContainer markupContainer, String s, IModel Foo iModel) { super(markupContainer, s, new CompoundPropertyModel(iModel)); new TextField(this, name); new DropDownChoice Foo ( this, parent, new LoadableDetachableModel List Foo () { protected List Foo load() { log.debug(Calling Load); return server.getResultList(SELECT f FROM Foo f); //-- called 1st, N entities in the table } }, new ChoiceRenderer Foo (name, id) ); } protected void onSubmit() { server.merge(getModelObject()); //-- called 2nd, saves new entity, now N+1 entities in the table } } Sorry, I know sifting through others code isn't much fun, but I included it just to be clear. I know the javadoc says that a Form will update all of it's FormComponent models before calling onSubmit(). In this case, I am loading the entire list of Foo's from the database for the DropDownChoice that the user can select to be this new Foo's parent. Because the DropDownChoice loads it's model before onSubmit(), it will never include the newly created Foo that is saved in onSubmit(). Only after a subsequent page refresh/render will the saved Foo get loaded. Basically, my question is: what is a clean way to ensure that the DropDownModel gets loaded only once still (via the LoadableDetachableModel), but *after* the onSubmit() is called? Aaron - 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
Re: [Wicket-user] Deprecated example in wicket.util.convert.Converter
Ok, it is the WICKET-257 issue. R. N. igor.vaynberg wrote: a jira issue would be awesome, we would need one for our 1.2.5 changelog anyways :) -igor On 2/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Gladly. I enclose it in the attachment. (Shall I create an JIRA issue?) R. N. how about a patch to the javadoc? :) -igor On 2/5/07, Robert Novotny wrote: Hello, I stumbled upon a deprecated example in the wicket.util.convert.Converter example. Method newConverter() on the ConverterFactory seems to be gone in the Wicket 1.2.5. final IConverter converter = new ConverterFactory().newConverter(); converter.setLocale(Locale.US); converter.convert(new Double(7.1), String.class); I know that this is a rarely used class by the general public, but I hope that some day the documentation will deserve its update :-) Robert Novotny -- View this message in context: http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8814016 Sent from the Wicket - User mailing list archive at Nabble.com. - --- reklama --- http://webhosting.szm.com - AKCIA, domeny a webhosting za najnizsie ceny Ziskaj vlastnu domenu, webstranku www.mojadomena.sk a vlastne maily [EMAIL PROTECTED] v cenach uz od 50Sk/mesiac. === reklama == http://mail.szm.com - e-mail a priestor na www stranku zadarmo http://webhosting.szm.com - domeny a webhosting za najnizsie ceny --28e938265208ea82e630d63066f34bc4-- - 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 -- View this message in context: http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8822158 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] Deprecated example in wicket.util.convert.Converter
thanks -igor On 2/6/07, Robert Novotny [EMAIL PROTECTED] wrote: Ok, it is the WICKET-257 issue. R. N. igor.vaynberg wrote: a jira issue would be awesome, we would need one for our 1.2.5 changelog anyways :) -igor On 2/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Gladly. I enclose it in the attachment. (Shall I create an JIRA issue?) R. N. how about a patch to the javadoc? :) -igor On 2/5/07, Robert Novotny wrote: Hello, I stumbled upon a deprecated example in the wicket.util.convert.Converter example. Method newConverter() on the ConverterFactory seems to be gone in the Wicket 1.2.5. final IConverter converter = new ConverterFactory().newConverter(); converter.setLocale(Locale.US); converter.convert(new Double(7.1), String.class); I know that this is a rarely used class by the general public, but I hope that some day the documentation will deserve its update :-) Robert Novotny -- View this message in context: http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8814016 Sent from the Wicket - User mailing list archive at Nabble.com. - --- reklama --- http://webhosting.szm.com - AKCIA, domeny a webhosting za najnizsie ceny Ziskaj vlastnu domenu, webstranku www.mojadomena.sk a vlastne maily [EMAIL PROTECTED] v cenach uz od 50Sk/mesiac. === reklama == http://mail.szm.com - e-mail a priestor na www stranku zadarmo http://webhosting.szm.com - domeny a webhosting za najnizsie ceny --28e938265208ea82e630d63066f34bc4-- - 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 -- View this message in context: http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8822158 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] Testing and sessions
Yes and in 1.2 you extend WicketTester and override getSessionFactory() I extended the WicketTester and provided my own getSessionFactory and that did the trick. However, I was still unable to create a session with newSession(). But I simulated login and that automatically created a session for me so I was good to go. Anyways, Wicket's support for unit testing is really good and I'm lovin it, it is a gem. Thanks everybody cheers srdjan - 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
Re: [Wicket-user] wicket-contrib-tinymce textareas
Vielen Dank für Ihre Nachricht. Ich bin zwischen dem 6. und 17. Februar im Urlaub und werde mich danach umgehend mit Ihnen in Verbindung setzen. Bitte wenden Sie sich in der Zwischenzeit an meinen Kollegen Herrn Sascha Hamann ([EMAIL PROTECTED]). Mit herzlichen Grüßen, Alexander Lohse ––– Alexander Lohse (Entwicklungsleitung Projektmanagement) Human Touch Medienproduktion GmbH Am See 1 17440 Klein Jasedow Deutschland Tel: +49 38374 752 11 Fax: +49 38374 752 23 e-mail: [EMAIL PROTECTED] Internet: http://www.humantouch.de ––– - 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
[Wicket-user] How to do redirect in wicket?
Hi all, How to redirect to a wicket or non-wicket page in wicket? For example, if a guest want to access a authorized page, I want to redirect it to the login page. How to do this? Thanks in advance. Regards, Hailong Zhang - 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
Re: [Wicket-user] wicket-contrib-tinymce textareas
Thanks Igor, But I couldn't find TinyMceEnable anywhere (also note that i'm limited to Wicket 1.2.4 and the corresponding wicket-contrib-tinymce branch). So I did the following: // Add normal textareas add(new TextArea(description).setOutputMarkupId(true)); add(new TextArea(application).setOutputMarkupId(true)); // Add TinyMCE textarea TinyMCEPanel tinyMCE = new TinyMCEPanel(tinyMCE, settings); TextArea technicalInfo = new TextArea(technicalInfo); technicalInfo.setOutputMarkupId(true); technicalInfo.add(tinyMCE); add(technicalInfo); Without success, even playing with TinyMCE's html attributes (ie textarea_trigger)... If you have any ideas, much appreciated... Anyway I think the simplest is to find this in wicket stuff code, change it to specify textareas manually, and recompile with Maven. Francisco i dont know about the integration in wicket-stuff project, but i wrote my own very simple one. the idea is to use a behavior to enable tinymce for a textfield. see attached behavior, might help you get a head start. the usage is pretty basic TextArea textarea=new TextArea(...); textarea.add(new TinyMceEnable()); -igor On 2/4/07, Francisco Treacy wrote: Hi wicketers, I'm having a problem/ doubt with a particular TinyMCE setting and its implementation in the wicket-contrib-tinymce project. How can I change tinyMCE.init({ mode : textareas, ... }); for tinyMCE.init({ ... mode : exact, elements : elm1,elm2 }); or mode : specific_textareas ? Cause I don't want *all* of the textareas in my page to be tinymce'd. I can't find this setting anywhere, particularly in the TinyMCESettings class where it should be settable. Thanks in advance for your help! Regards, Francisco - - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.- 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
Re: [Wicket-user] wicket-contrib-tinymce textareas
i attached the enabler to my last message. you might have to tweak it for 1.2.x a bit, but the basic idea is the same. -igor On 2/6/07, Francisco Treacy [EMAIL PROTECTED] wrote: Thanks Igor, But I couldn't find TinyMceEnable anywhere (also note that i'm limited to Wicket 1.2.4 and the corresponding wicket-contrib-tinymce branch). So I did the following: // Add normal textareas add(new TextArea(description).setOutputMarkupId(true)); add(new TextArea(application).setOutputMarkupId(true)); // Add TinyMCE textarea TinyMCEPanel tinyMCE = new TinyMCEPanel(tinyMCE, settings); TextArea technicalInfo = new TextArea(technicalInfo); technicalInfo.setOutputMarkupId(true); technicalInfo.add(tinyMCE); add(technicalInfo); Without success, even playing with TinyMCE's html attributes (ie textarea_triggerhttp://wiki.moxiecode.com/index.php/TinyMCE:Configuration/textarea_trigger )... If you have any ideas, much appreciated... Anyway I think the simplest is to find this in wicket stuff code, change it to specify textareas manually, and recompile with Maven. Francisco i dont know about the integration in wicket-stuff project, but i wrote my own very simple one. the idea is to use a behavior to enable tinymce for a textfield. see attached behavior, might help you get a head start. the usage is pretty basic TextArea textarea=new TextArea(...); textarea.add(new TinyMceEnable()); -igor On 2/4/07, Francisco Treacy wrote: Hi wicketers, I'm having a problem/ doubt with a particular TinyMCE setting and its implementation in the wicket-contrib-tinymce project. How can I change tinyMCE.init({ mode : textareas, ... }); for tinyMCE.init({ ... mode : exact, elements : elm1,elm2 }); or mode : specific_textareas ? Cause I don't want *all* of the textareas in my page to be tinymce'd. I can't find this setting anywhere, particularly in the TinyMCESettings class where it should be settable. Thanks in advance for your help! Regards, Francisco - -- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponseshttp://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com . - 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
Re: [Wicket-user] How to do redirect in wicket?
This blog probably help - http://spatula.net/blog/2006/11/adding-generic-authorization-to-wicket.html If you prefer reading Chinese, may be this message help more : http://www.javaworld.com.tw/jute/post/view?bid=42id=169359sty=3age=0 On 2/6/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, How to redirect to a wicket or non-wicket page in wicket? For example, if a guest want to access a authorized page, I want to redirect it to the login page. How to do this? Thanks in advance. Regards, Hailong Zhang - 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
Re: [Wicket-user] quirk with getRequestCycleSettings().setGatherExtendedBrowserInfo(true)
Ok, here is my attempt at a quickstart to show the problem. http://www.nabble.com/file/6272/quickstart-clientinfo.zip quickstart-clientinfo.zip (minus the lib folder, using Wicket 1.3) When you start Jetty it has two Wicket Applications mounted at app and app2. Steps to see problem: 1. go to http://localhost:8081/quickstart/app 2. This takes you to Index 3. You will be redirected immediately to InterceptPage 4. Click Continue 5. You will be sent back to Index 6. go to http://localhost:8081/quickstart/app2 7. This takes you to Index 8. You will be redirected immediately to InterceptPage 9. Click Continue (nothing appears to happen) 10. Click Continue 11. You will be sent to WrongPage The only differences are QuickStartApplication/QuickStart2Application where setGatherExtendedBrowserInfo is set to false/true and I needed to use two different Session objects (QuickStartSession/QuickStart2Session) because clientInfo is cached. For this sceenario to work I needed to attempt to retrieve the clientInfo on the InterceptPage (before attempting the continueToDestination) otherwise it succeeded as you expected. But once I added in the getSession().getClientInfo() thats when it broke down. I know the code is a little rough and forced but it does appear to demonstrate the problem. Thanks Chuck Eelco Hillenius wrote: However, when I do this in Application.init(): getRequestCycleSettings().setGatherExtendedBrowserInfo(true); The continueToOriginalDestination() does not return the correct value. I think it has something to do with the way that extended info is gathered (something about posting data to the BrowserInfoPage) that it loses my original destination. Nope, that shouldn't be the case. The redirect to extended browser info doesn't rely on the original destination thingy. Does this seem to be accurate? If so, how can I overcome this problem? If I get an extra minute I'll try to put together a quickstart but I was hoping that if one of you was familiar with the BrowserInfoPage and its functioning that you might be able to give me a headstart. Quickstart would be great. I haven't seen an issue like this before. Eelco - 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 -- View this message in context: http://www.nabble.com/quirk-with-getRequestCycleSettings%28%29.setGatherExtendedBrowserInfo%28true%29-tf3176153.html#a8825874 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
[Wicket-user] How do I get the list of logged in users in Wciket2.0?
Hi there, how do I get the logged in users as a list or something from the API in Wicket 2.0 SNAPSHOT? Thanks for any hints /peter - 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
[Wicket-user] How to change the style of FeedbackPanel ?
Hi all, Is it possible to change the style of FeedbackPanel? I don't like the list style of ulli. Thanks. Regards, Hailong Zhang - 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
Re: [Wicket-user] How to do redirect in wicket?
Thanks. That's helpful! Hailong Zhang On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote: This blog probably help - http://spatula.net/blog/2006/11/adding-generic-authorization-to-wicket.html If you prefer reading Chinese, may be this message help more : http://www.javaworld.com.tw/jute/post/view?bid=42id=169359sty=3age=0 On 2/6/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, How to redirect to a wicket or non-wicket page in wicket? For example, if a guest want to access a authorized page, I want to redirect it to the login page. How to do this? Thanks in advance. Regards, Hailong Zhang - 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
[Wicket-user] Problem: BookmarkablePageLink does not fire onSubmit...
Good Morning, In a project I tried to create an interface with two html-pages. The first page is a form with a final submit button... The onsubmit()-function works fine and all datas are updated fine by their models. This was so when the second page, so called presentation page was loaded in the same window. Now i tried to add a BookmarkablePageLink, and excluded all statements to build the new page in on UpdatePage-Class which will be called. This new Page in the Popup ( so also the presentation page ) has only the default dataset and not the selected date because no onsubmit() will by called When firing the SubmitButton. Why is this so? How do i manage this or is there any other way to call a new page with wicket?? Thanks for any kind of help ___ Mit freundlichen Grüßen Gordon Borst T-Systems GEI GmbH Industry Business Unit Telecommunications Solution Service Center Billing Billing EAI ( G 118 ) Hausadresse: Pascalstraße 51, 52076 Aachen Postanschrift : Postfach 500 144, 52085 Aachen Telefon: +49 (2408) 943 - 18 77 Email: [EMAIL PROTECTED] - 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
Re: [Wicket-user] ajax feedback onSubmit
Thank you both. Does field-level validation always happen before form-level validation? I want to ensure that I have two dates in hand before I apply my requirement that the check-out date be after the check-in date. Scott On 2/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is also an example that does this in ajax examples, albeit not in the modal window. -igor On 2/5/07, Matej Knopp [EMAIL PROTECTED] wrote: Try to add the feedback panel to AjaxRequestTarget in the onError method of AjaxSubmitLink. -Matej Scott Swank wrote: I have a form in a ModalWindow. I can add AjaxFormComponentUpdatingBehavior to relevant fields to get immediate feedback about the fields, but I would like to have feedback (including form-level feedback) posted onSubmit if validation fails. What do I need to add to my AjaxSubmitButton#onSubmit to accomplish this? I've attached a simple quickstart demo without the relevant 1.2.4 jars. Thank you. -- Scott Swank reformed mathematician - 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 -- Scott Swank reformed mathematician - 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
[Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
The project I'm working on uses mounted pages and header contributions all over the place, without any problems. Any chance you can isolate this into a quickstart project or test case? I still need time to figure out how to work with maven and setup the repository, may be later. However, after trace and test for a while, I find that it can be fixed if I change HeaderContributor.forCss(xxx.class, xxx.css); to new HeaderContributor(new HeaderContributor.CSSReferenceHeaderContributor(xxx.class, xxx.css)){ private static final long serialVersionUID = 1L; @Override public void onRendered(Component arg0) { super.onRendered(arg0); cleanup(); } } where the AbstractHeaderContributor.processedEntries is actually forcing the draw CSS link method to execution more than one time. I feel this is a bug but I don't know why I don't notice that before. May be it is something changed at 1.2.4? - 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
[Wicket-user] Enhanced Annotated TextArea Component
I want to write a subclass of TextArea component that can allow a user to embed various annotations around what they type like [link][/link] for rendering a link, [email][/email] for rendering an email, [list] for numberings etc. Using contribs editors like TinyMCE or dojo seems kind of heavy at times on a situation like Forum Comment needs. Does anyone know any form of regex String java library that handles this commonly used annotations that one can simply send your Model String Dump to and then converts those annotations to thier HTML equiv.? I feel wicket extension needs a component like this Now am no Certified Wicket Engineer but Am a Wicket Programmer/User and the only thing in my head is to go thru model onSetObject (translate to HTML) and onGetObject (translate back to annotations based).? I thought of IConverter but realized its only used to Data Type Conversion any recommendations? - 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
Re: [Wicket-user] Component Markup Dump
No need for a hack, its supposed to be a HTML conversion stuff for printing but making the webpage bookmarkable allows me to pipe the HTML dump via URL.openStream() and using a StringBuffer to grab it. On 2/5/07, Jonathan Locke [EMAIL PROTECTED] wrote: Yeah, that little hack is the closest you're going to get. The reason is that Wicket components don't generally compose markup. It's the other way around: the markup a component is attached to is consumed by the component as it renders itself. In other words, the tag stream of the page drives the rendering process, not the component hierarchy. igor.vaynberg wrote: what you can do is substitute a stringresponse into the requestcycle instead of the webresponse, then switch back after render -igor On 2/5/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I need to obtain the rendered HTML dump of a WebPage or Component as String, is there a way to pull out that from onAfterRender() call? - 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 -- View this message in context: http://www.nabble.com/-Wicket-user--Component-Markup-Dump-tf3174045.html#a8811217 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] How to do redirect in wicket?
Zhang Hailong wrote: How to redirect to a wicket or non-wicket page in wicket? For example, if a guest want to access a authorized page, I want to redirect it to the login page. How to do this? http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html Al - 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
Re: [Wicket-user] URL based session tracking
The way it would be done in a JSP would be to have the developer explicitly wrap each link in a JSP script (encodeURL or something). I think you will agree that the JSP method is rough at best. However, given that Wicket has to preprocess the markup templates, is the any conceivable way to get it also re-write URL's if the browser doesn't support cookies? That sounds like a good idea to me. I guess we could do that with a post processing filter (or whatever they are called). Could you please open up a feature request for that in JIRA so that we can track/ discuss more there? Eelco - 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
Re: [Wicket-user] How do I get the list of logged in users in Wciket2.0?
There is no standard facility for this. One way is to do this independent of Wicket by configuring a session listener: http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSessionListener.html A Wicket specific way for this would be to use a custom session store. This is an example: /** * Session store that keeps attributes in memory instead of putting them in the * [EMAIL PROTECTED] HttpSession}. * * @author hillenius */ public final class Ts4SessionStore extends AbstractHttpSessionStore implements Serializable { private static final class ANONYMOUS extends User { public ANONYMOUS() { setUsername([ANONYMOUS]); } } /** Log. */ private static final Log log = LogFactory.getLog(Ts4SessionStore.class); /** Hibernate session factory. */ @SpringBean private SessionFactory sessionFactory; /** * Map of session ids to store objects. */ private final HashMapString, MapString, Serializable sessionIdToStore = new HashMapString, MapString, Serializable(); /** * Construct. */ public Ts4SessionStore() { } /** * @see wicket.session.ISessionStore#createPageMap(java.lang.String, * wicket.Session) */ public IPageMap createPageMap(String name, Session session) { return new AccessStackPageMap(name, session); } /** * @see ISessionStore#getAttribute(Request, String) */ public Object getAttribute(Request request, String name) { MapString, Serializable store = getStore(request); return store.get(name); } /** * @see ISessionStore#getAttributeNames(Request) */ public ListString getAttributeNames(Request request) { MapString, Serializable store = getStore(request); return new ArrayListString(store.keySet()); } /** * @return The number of sessions. */ public int getNumberOfSessions() { return sessionIdToStore.size(); } /** * Gets the internal store (for integration purposes). * * @return The internal store */ public MapString, MapString, Serializable getSessionIdToStore() { return sessionIdToStore; } /** * @see wicket.protocol.http.AbstractHttpSessionStore#lookup(wicket.Request) */ @Override public Session lookup(Request request) { MapString, Serializable store = getStoreUnsafe(request); if (store != null) { return (Session) store.get(Session.SESSION_ATTRIBUTE_NAME); } return null; } /** * @see ISessionStore#removeAttribute(Request, String) */ public void removeAttribute(Request request, String name) { MapString, Serializable store = getStore(request); store.remove(name); } @SuppressWarnings(unchecked) public IteratorTs4Session sessions() { final IteratorMapString, Serializable outer = ((HashMapString, MapString, Serializable) sessionIdToStore .clone()).values().iterator(); return new IteratorTs4Session() { public boolean hasNext() { return outer.hasNext(); } public Ts4Session next() { MapString, Serializable store = outer.next(); return (Ts4Session) store.get(Session.SESSION_ATTRIBUTE_NAME); } public void remove() { outer.remove(); } }; } /** * @see ISessionStore#setAttribute(Request, String, Object) */ public void setAttribute(Request request, String name, Object value) { MapString, Serializable store = getStore(request); store.put(name, (Serializable) value); } /** * Gets all users for the current sessions; ANONYMOUS for every user that is * not logged on. Use with JMX. * * @return List of current users */ public String users() { if (sessionFactory == null) { SpringInjector.injectDependencies(this); } StringBuilder b = new StringBuilder(); if (!sessionIdToStore.isEmpty()) { org.hibernate.Session hibernateSession = null; try { hibernateSession =
[Wicket-user] New Facebox private message
Hello Sazib, * goldjoy has sent you a new private message. /go/admin/notifications/action=forwardm=1id=n1410817 goldjoy wrote: Hi Dear,br / I hope you are in a good condition.I saw your profile and i liked every thing about you,i really feel we can be together some day.I am a black sexxy lady,looking for a loving and kind gentle... Have fun on Facebox! The Facebox Team You received this notification because you are a member of Facebox. Your Facebox account: http://en.facebox.com/Sazib Attention! Notification-links are valid for one month only. If you don't want to receive these notifications by e-mail, edit your settings on your Dashboard. http://en.facebox.com/go/admin/settings/view=alerts - 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
Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
Oh, I thought you were using the 1.3 branch. Your problem is probably related to a bug with header contributions we had/ have in 1.2.4 and which should be fixed for 1.2.5. Eelco On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote: The project I'm working on uses mounted pages and header contributions all over the place, without any problems. Any chance you can isolate this into a quickstart project or test case? I still need time to figure out how to work with maven and setup the repository, may be later. However, after trace and test for a while, I find that it can be fixed if I change HeaderContributor.forCss(xxx.class, xxx.css); to new HeaderContributor(new HeaderContributor.CSSReferenceHeaderContributor(xxx.class, xxx.css)){ private static final long serialVersionUID = 1L; @Override public void onRendered(Component arg0) { super.onRendered(arg0); cleanup(); } } where the AbstractHeaderContributor.processedEntries is actually forcing the draw CSS link method to execution more than one time. I feel this is a bug but I don't know why I don't notice that before. May be it is something changed at 1.2.4? - 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
Re: [Wicket-user] How to change the style of FeedbackPanel ?
yes, simply subclass and provide your own markup. just make sure the hieararchy of wicket:ids matches in your markup. -igor On 2/6/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, Is it possible to change the style of FeedbackPanel? I don't like the list style of ulli. Thanks. Regards, Hailong Zhang - 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
Re: [Wicket-user] ajax feedback onSubmit
yes, see form.process() field required check field type conversion check field validators form validators -igor On 2/6/07, Scott Swank [EMAIL PROTECTED] wrote: Thank you both. Does field-level validation always happen before form-level validation? I want to ensure that I have two dates in hand before I apply my requirement that the check-out date be after the check-in date. Scott On 2/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is also an example that does this in ajax examples, albeit not in the modal window. -igor On 2/5/07, Matej Knopp [EMAIL PROTECTED] wrote: Try to add the feedback panel to AjaxRequestTarget in the onError method of AjaxSubmitLink. -Matej Scott Swank wrote: I have a form in a ModalWindow. I can add AjaxFormComponentUpdatingBehavior to relevant fields to get immediate feedback about the fields, but I would like to have feedback (including form-level feedback) posted onSubmit if validation fails. What do I need to add to my AjaxSubmitButton#onSubmit to accomplish this? I've attached a simple quickstart demo without the relevant 1.2.4 jars. Thank you. -- Scott Swank reformed mathematician - 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 -- Scott Swank reformed mathematician - 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
Re: [Wicket-user] URL based session tracking
do you really want static! resources to be encoded? i guess for some static resources (not really static but dynamic bases on session data) it is needed. But normally static != dynamic != session But we could make some property where the target says what it wants to do.. For a load balancer it doesn't matter where the static resources go to just let him send the request to what ever is free and not so busy. (at least thats how i see it) If we would generate a session id for everything (that bookmarkable pages are already done now is something that i rather didn't have but thats really not avoidable) then other would really start complaining.. Google can decide not to index my resources johan On 2/6/07, James Carnegie [EMAIL PROTECTED] wrote: Hi All, When cookies are disabled in the browser, a common way to enable session tracking is by using URL rewriting. Tomcat (and Wicket) seem to do this quite neatly. However, for static resources (such as images, stylesheets and the like) hard coded in markup templates, the URL's are never rewritten. I hear you say, why would you want session tracking on static resources? The answer is quite intricate. We use a loadbalancer that is JSESSIONID aware (both in cookies and URL's) to also provide session affinity. To gracefully update our websites (both code and static resources) we inform the loadbalancer to stop sending new sessions to one or more of the web servers. Once all current sessions have expired, the web servers can be redeployed and the loadbalancer reconfigured to forward requests to it again. This means that during the deployment of a new version of a site, there are different versions of the site available to the clients at the same time. If requests to the loadbalancer for static resources don't contain session information, the loadbalancer might send the request to the wrong server and retrieve for example the wrong version of a style sheet or image. The way it would be done in a JSP would be to have the developer explicitly wrap each link in a JSP script (encodeURL or something). I think you will agree that the JSP method is rough at best. However, given that Wicket has to preprocess the markup templates, is the any conceivable way to get it also re-write URL's if the browser doesn't support cookies? Kind regards, /james === James Carnegie Senior Analyst Programmer/Development Team Leader Tel:(+44) (0) 1179081253 Fax:(+44) (0) 1179081494 Email: James Carnegie [EMAIL PROTECTED] This communication is intended solely for the addressee and is confidential. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Multicom Products Limited for any loss or damage arising in any way from receipt or use thereof. - 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
Re: [Wicket-user] URL based session tracking
On 2/6/07, Johan Compagner [EMAIL PROTECTED] wrote: do you really want static! resources to be encoded? i guess for some static resources (not really static but dynamic bases on session data) it is needed. But normally static != dynamic != session Hrm, yeah, good point actually. I don't think you actually need it James. Eelco - 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
Re: [Wicket-user] ajax feedback onSubmit
I should have tracked that down myself. Thank you. On 2/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, see form.process() field required check field type conversion check field validators form validators -igor On 2/6/07, Scott Swank [EMAIL PROTECTED] wrote: Thank you both. Does field-level validation always happen before form-level validation? I want to ensure that I have two dates in hand before I apply my requirement that the check-out date be after the check-in date. Scott On 2/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is also an example that does this in ajax examples, albeit not in the modal window. -igor On 2/5/07, Matej Knopp [EMAIL PROTECTED] wrote: Try to add the feedback panel to AjaxRequestTarget in the onError method of AjaxSubmitLink. -Matej Scott Swank wrote: I have a form in a ModalWindow. I can add AjaxFormComponentUpdatingBehavior to relevant fields to get immediate feedback about the fields, but I would like to have feedback (including form-level feedback) posted onSubmit if validation fails. What do I need to add to my AjaxSubmitButton#onSubmit to accomplish this? I've attached a simple quickstart demo without the relevant 1.2.4 jars. Thank you. -- Scott Swank reformed mathematician - 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 -- Scott Swank reformed mathematician - 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 -- Scott Swank reformed mathematician - 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
Re: [Wicket-user] URL based session tracking
i thought he explained why...because they need to be able to take down one of the nodes and install a different version on it. the static resources might be different between two versions. the problem is that this is really outside of wicket's domain because these are static and not wicket-related resources you are talking about? so if you have img src=images/foo.gif/ you want jsessionid appended to that? i guess you can use a filter to postprocess the pages, but that will be slow. -igor On 2/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 2/6/07, Johan Compagner [EMAIL PROTECTED] wrote: do you really want static! resources to be encoded? i guess for some static resources (not really static but dynamic bases on session data) it is needed. But normally static != dynamic != session Hrm, yeah, good point actually. I don't think you actually need it James. Eelco - 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
[Wicket-user] Stockquote
The stockquote example application does not start... What's wrong? ( Perhaps it's just very slooow, shouldn't a prospective user be forewarned? ) - nilo -- View this message in context: http://www.nabble.com/-Wicket-user--Stockquote-tf3183263.html#a8834688 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] How do I get the list of logged in users in Wciket2.0?
there was this incredibly useful feature a few months ago /** * Called at end of session when session is unbound from container */ @Override public void onUnbound() { i can't find it now. was this removed? anyone know why? Peter Neubauer-3 wrote: Hi there, how do I get the logged in users as a list or something from the API in Wicket 2.0 SNAPSHOT? Thanks for any hints /peter - 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 -- View this message in context: http://www.nabble.com/-Wicket-user--How-do-I-get-the-list-of-logged-in-users-in-Wciket2.0--tf3181058.html#a8835969 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] How do I get the list of logged in users in Wciket2.0?
It is in AbstractHttpSessionStore. Eelco On 2/6/07, Jonathan Locke [EMAIL PROTECTED] wrote: there was this incredibly useful feature a few months ago /** * Called at end of session when session is unbound from container */ @Override public void onUnbound() { i can't find it now. was this removed? anyone know why? Peter Neubauer-3 wrote: Hi there, how do I get the logged in users as a list or something from the API in Wicket 2.0 SNAPSHOT? Thanks for any hints /peter - 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 -- View this message in context: http://www.nabble.com/-Wicket-user--How-do-I-get-the-list-of-logged-in-users-in-Wciket2.0--tf3181058.html#a8835969 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] Enhanced Annotated TextArea Component
On 2/6/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I want to write a subclass of TextArea component that can allow a user to embed various annotations around what they type like [link][/link] for rendering a link, [email][/email] for rendering an email, [list] for numberings etc. Using contribs editors like TinyMCE or dojo seems kind of heavy at times on a situation like Forum Comment needs. Does anyone know any form of regex String java library that handles this commonly used annotations that one can simply send your Model String Dump to and then converts those annotations to thier HTML equiv.? Don't know. But it shouldn't be too hard to write this yourself neither. I feel wicket extension needs a component like this Maybe not 'needs', but it would be a nice addition for sure. Now am no Certified Wicket Engineer but Am a Wicket Programmer/User and the only thing in my head is to go thru model onSetObject (translate to HTML) and onGetObject (translate back to annotations based).? I thought of IConverter but realized its only used to Data Type Conversion any recommendations? You touch a much debated area here, where amongst Wicket developers we have two camps :) 1) Fix a model on the component and wrap any model the component get's provided. The model's primary task would be filtering in/ out. 2) Use a special converter. I'm in this camp (though I don't really have much against the first option either) as I believe converters should handle input/ output conversion which is a broader concept than just type conversion. In 2.0, the converters mechanism is improvement (simplified) so that it is easier to write converters like this. If you want to follow this route, you could extend SimpleConverterAdapter to make your own converter; see the phoneNumberUS field in the forminput example in wicket-examples. It is quite awkward to do in 1.2/1.3 as you can't use CharSequence classes for it. In 2.0 this works fine. Eelco - 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
Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
Just post a issue at tracker, see if that helpful. By the way, I would like to create a test case for this issue. Just wonder can I get the render HTML from WicketTester so that I can assert if the CSS link exist or not if I render twice? On 2/7/07, Carfield Yim [EMAIL PROTECTED] wrote: The project I'm working on uses mounted pages and header contributions all over the place, without any problems. Any chance you can isolate this into a quickstart project or test case? I still need time to figure out how to work with maven and setup the repository, may be later. However, after trace and test for a while, I find that it can be fixed if I change HeaderContributor.forCss(xxx.class, xxx.css); to new HeaderContributor(new HeaderContributor.CSSReferenceHeaderContributor(xxx.class, xxx.css)){ private static final long serialVersionUID = 1L; @Override public void onRendered(Component arg0) { super.onRendered(arg0); cleanup(); } } where the AbstractHeaderContributor.processedEntries is actually forcing the draw CSS link method to execution more than one time. I feel this is a bug but I don't know why I don't notice that before. May be it is something changed at 1.2.4? - 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
Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
Don't know why I just get this email. Thanks a lot On 2/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Oh, I thought you were using the 1.3 branch. Your problem is probably related to a bug with header contributions we had/ have in 1.2.4 and which should be fixed for 1.2.5. Eelco On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote: The project I'm working on uses mounted pages and header contributions all over the place, without any problems. Any chance you can isolate this into a quickstart project or test case? I still need time to figure out how to work with maven and setup the repository, may be later. However, after trace and test for a while, I find that it can be fixed if I change HeaderContributor.forCss(xxx.class, xxx.css); to new HeaderContributor(new HeaderContributor.CSSReferenceHeaderContributor(xxx.class, xxx.css)){ private static final long serialVersionUID = 1L; @Override public void onRendered(Component arg0) { super.onRendered(arg0); cleanup(); } } where the AbstractHeaderContributor.processedEntries is actually forcing the draw CSS link method to execution more than one time. I feel this is a bug but I don't know why I don't notice that before. May be it is something changed at 1.2.4? - 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
Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
Could you confirm whether it is fixed in the new version please? Eelco On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote: Don't know why I just get this email. Thanks a lot On 2/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Oh, I thought you were using the 1.3 branch. Your problem is probably related to a bug with header contributions we had/ have in 1.2.4 and which should be fixed for 1.2.5. Eelco On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote: The project I'm working on uses mounted pages and header contributions all over the place, without any problems. Any chance you can isolate this into a quickstart project or test case? I still need time to figure out how to work with maven and setup the repository, may be later. However, after trace and test for a while, I find that it can be fixed if I change HeaderContributor.forCss(xxx.class, xxx.css); to new HeaderContributor(new HeaderContributor.CSSReferenceHeaderContributor(xxx.class, xxx.css)){ private static final long serialVersionUID = 1L; @Override public void onRendered(Component arg0) { super.onRendered(arg0); cleanup(); } } where the AbstractHeaderContributor.processedEntries is actually forcing the draw CSS link method to execution more than one time. I feel this is a bug but I don't know why I don't notice that before. May be it is something changed at 1.2.4? - 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 - 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
Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
How about using WicketTester#assertContains ? Eelco On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote: Just post a issue at tracker, see if that helpful. By the way, I would like to create a test case for this issue. Just wonder can I get the render HTML from WicketTester so that I can assert if the CSS link exist or not if I render twice? On 2/7/07, Carfield Yim [EMAIL PROTECTED] wrote: The project I'm working on uses mounted pages and header contributions all over the place, without any problems. Any chance you can isolate this into a quickstart project or test case? I still need time to figure out how to work with maven and setup the repository, may be later. However, after trace and test for a while, I find that it can be fixed if I change HeaderContributor.forCss(xxx.class, xxx.css); to new HeaderContributor(new HeaderContributor.CSSReferenceHeaderContributor(xxx.class, xxx.css)){ private static final long serialVersionUID = 1L; @Override public void onRendered(Component arg0) { super.onRendered(arg0); cleanup(); } } where the AbstractHeaderContributor.processedEntries is actually forcing the draw CSS link method to execution more than one time. I feel this is a bug but I don't know why I don't notice that before. May be it is something changed at 1.2.4? - 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
Re: [Wicket-user] Problem: BookmarkablePageLink does not fire onSubmit...
I'm afraid I don't understand your problem... Could you explain with some example code maybe? Or something in a quickstart? Eelco On 2/6/07, Borst, Gordon [EMAIL PROTECTED] wrote: Good Morning, In a project I tried to create an interface with two html-pages. The first page is a form with a final submit button… The onsubmit()-function works fine and all datas are updated fine by their models. This was so when the second page, so called presentation page was loaded in the same window. Now i tried to add a BookmarkablePageLink, and excluded all statements to build the new page in on UpdatePage-Class which will be called. This new Page in the Popup ( so also the presentation page ) has only the default dataset and not the selected date because no onsubmit() will by called When firing the SubmitButton. Why is this so? How do i manage this or is there any other way to call a new page with wicket?? Thanks for any kind of help ___ Mit freundlichen Grüßen Gordon Borst T-Systems GEI GmbH Industry Business Unit Telecommunications Solution Service Center Billing Billing EAI ( G 118 ) Hausadresse: Pascalstraße 51, 52076 Aachen Postanschrift : Postfach 500 144, 52085 Aachen Telefon: +49 (2408) 943 - 18 77 Email: [EMAIL PROTECTED] - 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
Re: [Wicket-user] Stockquote
Could you open up a JIRA issue for that please? Thanks, Eelco On 2/6/07, nilo de roock [EMAIL PROTECTED] wrote: The stockquote example application does not start... What's wrong? ( Perhaps it's just very slooow, shouldn't a prospective user be forewarned? ) - nilo -- View this message in context: http://www.nabble.com/-Wicket-user--Stockquote-tf3183263.html#a8834688 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]
On 2/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you confirm whether it is fixed in the new version please? Look like 1.2.5 not yet release? - 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
Re: [Wicket-user] Stockquote
It uses a veey slooo demo webservice. Martijn On 2/6/07, nilo de roock [EMAIL PROTECTED] wrote: The stockquote example application does not start... What's wrong? ( Perhaps it's just very slooow, shouldn't a prospective user be forewarned? ) - nilo -- View this message in context: http://www.nabble.com/-Wicket-user--Stockquote-tf3183263.html#a8834688 Sent from the Wicket - User mailing list archive at Nabble.com. - 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 -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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