Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-10 Thread Carfield Yim
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

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-10 Thread Igor Vaynberg
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]

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-10 Thread Carfield Yim
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

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-10 Thread Igor Vaynberg
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

[Wicket-user] LoadableDetachableModel in form processing

2007-02-10 Thread Matthew Kwong
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

Re: [Wicket-user] writing unit tests

2007-02-10 Thread nilo de roock
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,

[Wicket-user] Surprise your valentine with Wicket 1.2.5

2007-02-10 Thread Martijn Dashorst
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]

Re: [Wicket-user] writing unit tests

2007-02-10 Thread nilo de roock
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

Re: [Wicket-user] writing unit tests

2007-02-10 Thread Peter Thomas
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

Re: [Wicket-user] writing unit tests

2007-02-10 Thread nilo de roock
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

Re: [Wicket-user] Firefox 2 and wicket-ajax - known issue?

2007-02-10 Thread Matej Knopp
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

Re: [Wicket-user] non-draggable Windows?

2007-02-10 Thread Vincent Demay
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 :

Re: [Wicket-user] wicket-contrib-tinymce textareas

2007-02-10 Thread Iulian Costan
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

[Wicket-user] Test Frameworks and Wicket

2007-02-10 Thread nilo de roock
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,

Re: [Wicket-user] Test Frameworks and Wicket

2007-02-10 Thread Erik van Oosten
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.

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-10 Thread Matt Welch
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

[Wicket-user] java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String; ZZ)Ljava/lang/CharSequence

2007-02-10 Thread De Soca
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:

Re: [Wicket-user] java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String; ZZ)Ljava/lang/CharSequence

2007-02-10 Thread Eelco Hillenius
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

Re: [Wicket-user] java.lang.NoSuchMethodError: wicket.util.string.Strings.escapeMarkup(Ljava/lang/String; ZZ)Ljava/lang/CharSequence

2007-02-10 Thread Eelco Hillenius
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