Re: [Wicket-user] Question about using RedirectPage in a modalwindow
On 2/10/07, Matej Knopp [EMAIL PROTECTED] wrote: Hi. The major problem is (amongst other problems) that you have page from another host in modal window. Generally, this is going to cause some trouble, because it's cross site scripting. The browsers are trying to prevent that. I have to do that because I need to read a file of that host... Another thing is that I don't understand how you can submit wicket form to another host. Because to submit form in wicket (unless the form is stateless, which is possibility only 1.x or 2.0) you need first to create page instance, and then use the instance number in the post url, as well as the FormSubmitListener listener and form component path. I guess you think what I do is something like form action=http://host2/app/page; method=post But I am not, in fact, I just use an iframe for now: iframe src=http://host2/app/page;/iframe It ok to display page , but after I submit at page, it show page expire, and only IE have this problem - 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 about using RedirectPage in a modalwindow
i remember there was a discussion about this...embedding wicket pages in iframes. and i believe the deal was that IE doesnt pass the cookies to the iframe so it cannot find the session on a submit. you have to enable url rewriting i guess. -igor On 2/10/07, Carfield Yim [EMAIL PROTECTED] wrote: On 2/10/07, Matej Knopp [EMAIL PROTECTED] wrote: Hi. The major problem is (amongst other problems) that you have page from another host in modal window. Generally, this is going to cause some trouble, because it's cross site scripting. The browsers are trying to prevent that. I have to do that because I need to read a file of that host... Another thing is that I don't understand how you can submit wicket form to another host. Because to submit form in wicket (unless the form is stateless, which is possibility only 1.x or 2.0) you need first to create page instance, and then use the instance number in the post url, as well as the FormSubmitListener listener and form component path. I guess you think what I do is something like form action=http://host2/app/page; method=post But I am not, in fact, I just use an iframe for now: iframe src=http://host2/app/page;/iframe It ok to display page , but after I submit at page, it show page expire, and only IE have this problem - 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] Question about using RedirectPage in a modalwindow
On 2/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i remember there was a discussion about this...embedding wicket pages in iframes. and i believe the deal was that IE doesnt pass the cookies to the iframe so it cannot find the session on a submit. you have to enable url rewriting i guess. I see, would you let me know more information like rewrite what? Include the sessionid in URL? Will you still remember the subject words of that discuss so that I can search? - 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 about using RedirectPage in a modalwindow
here is the thread http://www.nabble.com/Session-management-tf2175800.html#a6015910 the rewriting im talking about is in your servlet container, tell it not to use cookies to track session and it will append sessionid to every url -igor On 2/10/07, Carfield Yim [EMAIL PROTECTED] wrote: On 2/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i remember there was a discussion about this...embedding wicket pages in iframes. and i believe the deal was that IE doesnt pass the cookies to the iframe so it cannot find the session on a submit. you have to enable url rewriting i guess. I see, would you let me know more information like rewrite what? Include the sessionid in URL? Will you still remember the subject words of that discuss so that I can search? - 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] LoadableDetachableModel in form processing
Hi fellows, Last time I asked how to use chain in CompoundPropertyModel with LoadableDetachableModel, it worked since my page has no form (no submit). This time, I make another page and try to use the chain again, and hibernate throws org.hibernate.NonUniqueObjectException when I submit the form. Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [datastore2.model.DataStoreRole#1] My Panel: public UserDetail(String id, DataStoreUser user, final Panel prevPanel) { super(id); add(new FeedbackPanel(feedback)); add(new Link(back) { public void onClick() { getParent().replaceWith(prevPanel); } }); Form form = new Form(form) { protected void onSubmit() { DataStoreUser user = (DataStoreUser)this.getModelObject(); try { getDelegate().saveUser(user); info(You have saved the user profile: + user.getFullname() + .); } catch (Exception e) { e.printStackTrace(); error(Your user profile state is stale (someone has updated the same user profile while you are on this page). Please press BACK and come back.); } } }; form.setModel(new CompoundPropertyModel(new LoadableDataStoreUserModel(getDelegate().getDataStoreUser(user.getId(); form.add(new Label(id)); form.add(new Label(username)); form.add(new RequiredTextField(firstname)); form.add(new TextField(lastname).setConvertEmptyInputStringToNull(false)); form.add(new Label(email)); form.add(new Palette(roles, new Model((Serializable)getDelegate().getDataStoreRoles()), new RoleChoiceRenderer(), 10, true)); add(form); } Is LoadableDetachableModel working for form processing? Because it is working if I only have form.setModel(new CompoundPropertyModel(getDelegate().getDataStoreUser(user.getId(; The reason why i want this loadable since I want to update the page with F5 refresh button again if someone has changed the same user in another computer. Thank you :) Matthew Kwong -- View this message in context: http://www.nabble.com/LoadableDetachableModel-in-form-processing-tf3204839.html#a8899449 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] writing unit tests
Thanks, I'll have a look at it. -nilo Peter Thomas-4 wrote: I haven't tried to use WicketTester etc. for JUnit testing yet, plan to. Just wanted to mention that I personally have had good results with Watij [ http://watij.com ] so you can automate browser based testing in Java itself, so no need to learn Ruby, Javascript etc. On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote: Hai, I wonder how you got on with setting up your testenvironment? For a comprehensive Wicket try-out I have to set up a test environment. Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ), testing of web-apps however, is something I haven't included in a regressiontest before. As I said I am very interested to hear from your experiences. What choices did you make? Are you satisfied with your setup? Selenium is new to me, I will have a look at that but I don't want Ruby creeping in, or any other language except Java. Can you recommend Selenium? Are you in fact using Wicket Test? Any other Wicket developerZ have an opinion on testing? -nilo Nino Wael wrote: Hi I've been wondering about best practices for writing unit tests with wicket? Looking around the source of wicket, I can see that most uses junit. A few places wicket tester are used. Last time I wrote a test I tried writing using jwebunit and http unit (as I remember). I tried using the wicket test framework, but it gave me some complications (might be because I was new to the wicket world). Also this was on wicket 1.x. What do others do? -Nino Wael - 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/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418 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 -- View this message in context: http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899463 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] Surprise your valentine with Wicket 1.2.5
Febuari 9th, 2007 - Wicket 1.2.5 available With Valentine's day rapidly approaching, what could be better than roses, chocolates or fancy dinners? Yes, that's right - a new Wicket release! Get out of the office faster and back to where it matters with this list of fixes to help you: [WICKET-188] - Header contribution is sometimes not rendered after the request [WICKET-218] - Removing comments from markup can fail [WICKET-242] - Modal Window always creates new cookies [WICKET-251] - replace with amp; in ExternalLink Although Wicket has recently entered the ASF Incubator, this interim release is provided outside of the ASF, solely as a service to existing Wicket users to resolve existing bugs in the Wicket product. As such, this release of the Wicket project is not endorsed or approved by the Apache Software Foundation. The Apache Software Foundation is in no way affiliated with this release. Download the Wicket 1.2.5 here: http://sourceforge.net/project/showfiles.php?group_id=119783 Maven users will have to wait until the repository sync has occurred, which can take a day or two. Have fun! - the Wicket team - 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] writing unit tests
Good results or not... ... Currently Watij supports automating Internet Explorer on Windows only. Future plans are in place to support others like Mozilla. ... What's the point in using Java for the server and html / javascript for clients if, at the end of the day the message is: the app only supports IE? I can't justify that. -nilo Peter Thomas-4 wrote: I haven't tried to use WicketTester etc. for JUnit testing yet, plan to. Just wanted to mention that I personally have had good results with Watij [ http://watij.com ] so you can automate browser based testing in Java itself, so no need to learn Ruby, Javascript etc. On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote: Hai, I wonder how you got on with setting up your testenvironment? For a comprehensive Wicket try-out I have to set up a test environment. Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ), testing of web-apps however, is something I haven't included in a regressiontest before. As I said I am very interested to hear from your experiences. What choices did you make? Are you satisfied with your setup? Selenium is new to me, I will have a look at that but I don't want Ruby creeping in, or any other language except Java. Can you recommend Selenium? Are you in fact using Wicket Test? Any other Wicket developerZ have an opinion on testing? -nilo Nino Wael wrote: Hi I've been wondering about best practices for writing unit tests with wicket? Looking around the source of wicket, I can see that most uses junit. A few places wicket tester are used. Last time I wrote a test I tried writing using jwebunit and http unit (as I remember). I tried using the wicket test framework, but it gave me some complications (might be because I was new to the wicket world). Also this was on wicket 1.x. What do others do? -Nino Wael - 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/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418 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 -- View this message in context: http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899494 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] writing unit tests
nilo - agreed, that is something I've ranted about myself :( But if you do have IE available, it is possible to run an entire functional regression test in batch mode - which is what I think you were looking for. If you are looking for cross-browser compatibility testing - then you are better off looking elsewhere. Peter. On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote: Good results or not... ... Currently Watij supports automating Internet Explorer on Windows only. Future plans are in place to support others like Mozilla. ... What's the point in using Java for the server and html / javascript for clients if, at the end of the day the message is: the app only supports IE? I can't justify that. -nilo Peter Thomas-4 wrote: I haven't tried to use WicketTester etc. for JUnit testing yet, plan to. Just wanted to mention that I personally have had good results with Watij [ http://watij.com ] so you can automate browser based testing in Java itself, so no need to learn Ruby, Javascript etc. On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote: Hai, I wonder how you got on with setting up your testenvironment? For a comprehensive Wicket try-out I have to set up a test environment. Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ), testing of web-apps however, is something I haven't included in a regressiontest before. As I said I am very interested to hear from your experiences. What choices did you make? Are you satisfied with your setup? Selenium is new to me, I will have a look at that but I don't want Ruby creeping in, or any other language except Java. Can you recommend Selenium? Are you in fact using Wicket Test? Any other Wicket developerZ have an opinion on testing? -nilo Nino Wael wrote: Hi I've been wondering about best practices for writing unit tests with wicket? Looking around the source of wicket, I can see that most uses junit. A few places wicket tester are used. Last time I wrote a test I tried writing using jwebunit and http unit (as I remember). I tried using the wicket test framework, but it gave me some complications (might be because I was new to the wicket world). Also this was on wicket 1.x. What do others do? -Nino Wael - 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/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418 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 -- View this message in context: http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899494 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
Re: [Wicket-user] writing unit tests
Hi, No complications yet!, thank G-d. Just setting up a scale model of a (Wicket) development environment, including all the other software, procedures and tools. As for developing I am a very strong believer in the 'test-first, develop-later' way of doing things, maybe that explains my interest in testing at this stage. As for Wicket Tester, I haven't used it yet. I will very soon though. -nilo Carfield Yim-2 wrote: WicketTester is good for me for most case... may be you can share the complications you have? On 1/31/07, Nino Wael [EMAIL PROTECTED] wrote: Hi I've been wondering about best practices for writing unit tests with wicket? Looking around the source of wicket, I can see that most uses junit. A few places wicket tester are used. Last time I wrote a test I tried writing using jwebunit and http unit (as I remember). I tried using the wicket test framework, but it gave me some complications (might be because I was new to the wicket world). Also this was on wicket 1.x. What do others do? -Nino Wael - 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 - 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--writing-unit-tests-tf3147996.html#a8899546 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] Firefox 2 and wicket-ajax - known issue?
nope. can you provide content of ajax console? (if any) -Matej karthik Guru wrote: Any known issue with wicket-ajax and Mozilla 2.0? I have an Ajax checkbox that doesn't seem to trigger the Ajax request. But it seems to be working fine with IE 6 and FF 1.5 thanks, Karthik - 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] non-draggable Windows?
You can use Wicket-contrib-dojo (WCD): see DojoModalDialog (http://www.demay-fr.net:8080/WCD13/app?wicket:bookmarkablePage=%3Awicket.contrib.dojo.examples.DialogShower) But to use WCD you need to use wicket1.X -- Vincent Demay http://www.demay-fr.net/blog/index.php/en Matej Knopp a écrit : This is not possible to do with modal window. If you need something like this it's probably better to use just absolute positioned divs. -Matej Chris Lintz wrote: Hi all. Is it possible to use the Modal Window in a non-draggable state? I am at a loss for how I can change this behavior of the Modal Window. I need to build small window popups that remain in place when opened (can't be moved). Any ideas? thanks - 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] wicket-contrib-tinymce textareas
done, feature is commit ed in both trunk and branches (1.2, 1.3), i also attached an example ExactModeTinyMCEPage.java showing how to use tinymce exact mode. let me know if it works for you. /iulian On 2/9/07, Francisco Treacy [EMAIL PROTECTED] wrote: Iulian: great. Please let me know when this is commited (i just looked up in svn and there were no new commits to wicket 1.2 branch in contrib tinymce). Igor: I saw the attachment, but when I clicked over the link, it took me to a sourceforge error page I'll wait for Iulian's correction, thanks anyway. Francisco hi francisco, sorry for this late response, the fix will be ready within few days. /iulian -- 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
[Wicket-user] Test Frameworks and Wicket
I had a brief look at the WicketTester example. It's not something I would like to use for writing a functional regressing test. But I don't think WicketTester was meant for that in the first place, more as a TestCase helper. I suppose Wicket still needs more whitepapers, tutorials, books, articles, the lot. ;-) At the end of the day a user receives html and javascript a point where it should be invisible wether this has been generated by either Wicket or plain vanilla Servlets. I have been looking at some test frameworks. I have no experience with either of them, but Canoo WebTest looks to what I had in mind. HttpUnit, written in Java, emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as JUnit, it is fairly easy to write tests that very quickly verify the functioning of a web site. ( ServletUnit, which is included in the HttpUnit download, makes it possible to test and develop servlets using the same techniques used to test web sites without a servlet container using ServletUnit. ) http://www.httpunit.org/ HtmlUnit is a java unit testing framework for testing web based applications. It is similar in concept to httpunit but is very different in implementation. Which one is better for you depends on how you like to write your tests. HttpUnit models the http protocol so you deal with request and response objects. HtmlUnit on the other hand, models the returned document so that you deal with pages and forms and tables. http://htmlunit.sourceforge.net/ Canoo WebTest is a tool for XP style acceptance testing of web applications. It calls web pages and verifies the result against expected properties. There are engines for both HttpUnit and HtmlUnit. Tests are described in terms of ANT scripts. Test reporting is done via XML/XSLT. Canoo also supports Groovy and is the de facto tool for Grails. http://webtest.canoo.com/ JWebUnit provides a high-level API for navigating a web application combined with a set of assertions to verify the application's correctness. This includes navigation via links, form entry and submission, validation of table contents, and other typical business web application features. JWebUnit 1.x is based on HtmlUnit. The dev 2.x also supports Selenium. http://jwebunit.sourceforge.net/ Any comments, ideas? -nilo P.S. Jython based but cool, and it actually works http://maxq.tigris.org/ -- View this message in context: http://www.nabble.com/-Wicket-user--Test-Frameworks-and-Wicket-tf3205798.html#a8902211 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] Test Frameworks and Wicket
Hi Nilo, I would go all the way and use Selenium for functional regression tests. Selenium tests are easy to produce with the excellent Firefox extension SeleniumIDE. The tests can then be run in IE, Firefox and a couple of other browsers. Some can be started automatically from a CI server. Regards, Erik. nilo de roock wrote: I had a brief look at the WicketTester example. It's not something I would like to use for writing a functional regressing test. -- Erik van Oosten http://day-to-day-stuff.blogspot.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] Adding more roles to wicket-auth-roles
That's the conclusion finally came to as well. I've started working on something of my own based on what I've learned from wicket-auth-roles. I was just a little nervous working with my own custom created annotations as I've never done that before. I've only been a consumer of annotations in the past. On 2/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: the project is really meant to be an example rather then something for you to use directly in your project, so feel free to cannibalize whatever code you want from it. -igor On 2/9/07, Matt Welch [EMAIL PROTECTED] wrote: I'm trying to use wicket-auth-roles for authentication and authorization, but there are a few things I'm not quite understanding. I really like the annotation base authorization, but the two provided roles (ADMIN and USER) are nowhere near enough to cover our use cases. I'm sure that this is a common problem so I'm guessing that I'm missing something obvious with regards to adding more roles or replacing the existing Roles class with our own. Roles is final so I can't extend it directly and replacing it with our own implementation seems out of the question as well because it renders useless all of the existing convenience class around annotations and authorization that utilize the provided Roles class directly. So, am I missing something? Matt - 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] java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String; ZZ)Ljava/lang/CharSequence
Hello, with the latest from 2.0 trunk I seem to be suddenly getting the following error: java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String;ZZ)Ljava/lang/CharSequence Is this due to a bug or API change? Thanks. -- View this message in context: http://www.nabble.com/java.lang.NoSuchMethodError%3A-wicket.util.string.Strings.escapeMarkup%28Ljava-lang-String-ZZ%29Ljava-lang-CharSequence-tf3207659.html#a8907588 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] java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String; ZZ)Ljava/lang/CharSequence
Yeah, I changed a few methods from String to CharSequence. However, on second hand it's not important enough to break more clients, so I just rolled it back again. Should be good if you update. Eelco On 2/10/07, De Soca [EMAIL PROTECTED] wrote: Hello, with the latest from 2.0 trunk I seem to be suddenly getting the following error: java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String;ZZ)Ljava/lang/CharSequence Is this due to a bug or API change? Thanks. -- View this message in context: http://www.nabble.com/java.lang.NoSuchMethodError%3A-wicket.util.string.Strings.escapeMarkup%28Ljava-lang-String-ZZ%29Ljava-lang-CharSequence-tf3207659.html#a8907588 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] java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String; ZZ)Ljava/lang/CharSequence
On 2/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I changed a few methods from String to CharSequence. In the wicket.util.string.Strings class only. 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