Re: [Wicket-user] tons of size of failed exceptions

2007-02-12 Thread Al Maw
ChuckDeal wrote: Wicket 1.3 (revision 505283) The following is a stack trace that I have experienced quite a few times recently. This new behavior started in the past couple of weeks. [...] The obvious answer would be for me to stop making stupid mistakes :) Chuck, I've opened a bug

Re: [Wicket-user] Hotswap application

2007-02-12 Thread Timo Rantalaiho
On Sun, 11 Feb 2007, Jesse Barnum wrote: I am trying to develop with Wicket in IntelliJ. Whenever I do a hotswap on some code changes, it seems like IntelliJ / Tomcat automatically redeploys the application and I get a 'Page Expired' error. Is there any way for me to run the app in

[Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread Gabor Szokoli
Hello Everyone, I am new to web programming in general, and took it upon myself to learn servlet programming with wicket. I am using tomcat as my target environment, because it is much more likely to resemble a production system than Jetty is. (I do however have a running quickstart environment

Re: [Wicket-user] Test Frameworks and Wicket

2007-02-12 Thread Timo Rantalaiho
On Sat, 10 Feb 2007, nilo de roock wrote: 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, For me, WicketTester works best for

Re: [Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread Johan Compagner
First wi try to do it through the context classloader: ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = getClass().getClassLoader(); } if that isn't there we try it through

[Wicket-user] Page cache / page pool

2007-02-12 Thread [EMAIL PROTECTED]
Hi, for our navigation bar, I want to use a page cache to resume editing the latest page version. Wicket's page map acts like a stack, so opening PageA, PageB, PageA, leads to the expiration of the PageB instance. However I want to reuse the cached/saved page instance of PageB (could be a

Re: [Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread Gabor Szokoli
Hi! Thanks for your quick response. On 2/12/07, Johan Compagner [EMAIL PROTECTED] wrote: First wi try to do it through the context classloader: This is clearly the way I'd like it. What version of wicket does it like this? What I experienced with wicket 1.2.4 was constistent with what I have

Re: [Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread Al Maw
Gabor Szokoli wrote: This is on debian, tomcat5 package. Didn't even have default admin or manager user out of the box, I guesss the policy is maximum security unless configured otherwise. Guestbook example throws this: java.security.AccessControlException: access denied Please see:

Re: [Wicket-user] Page cache / page pool

2007-02-12 Thread Johan Compagner
if you keep on to PageB in PageA and when you want to go back to PageB then you can set that page as a response page. That should work fine So just keep a reference in a map to the pages you want. We do clear them from the pagemap when we encounter a backbutton but if you keep a refence to those

[Wicket-user] MarkupWriter

2007-02-12 Thread Robert .
Hi, I have been using Tapestry before and kinda enjoyed using the IMarkupWriter by doing things like writer.begin(div); writer.attribute(id, abc); writer.println(text); writer.end(); Is there an equivalent way of doing this in Wicket? Robert

[Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Michel Wichers
Hi all, is there anywhere a reference list with products/projects using the wicket framework? Or do you know any companies who are using the wicket framework productive? Regards, Michel - Using Tomcat but need to do

Re: [Wicket-user] Page cache / page pool

2007-02-12 Thread [EMAIL PROTECTED]
Hi, Johan Compagner wrote: if you keep on to PageB in PageA and when you want to go back to PageB then you can set that page as a response page. That should work fine So just keep a reference in a map to the pages you want. We do clear them from the pagemap when we encounter a backbutton

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Johannes Fahrenkrug
Hi Michel, we are using Wicket for our online booking application. It has been live and running smoothly since November 2006. You can take a look here: https://www.gebeco.de/?rnr=2010004 It's in German, though... oh, and the loading times (which could be a bit snappier in some places) are due

Re: [Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread James McLaughlin
Debian has the security manager enabled by default. For development, you can just edit /etc/default//tomcat5 and set TOMCAT5_SECURITY=no. For testing/production, add a policy file to /etc/tomcat5/policy.d for your webapp with the permissions listed on the wiki. On 2/12/07, Gabor Szokoli [EMAIL

Re: [Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread Gabor Szokoli
On 2/12/07, James McLaughlin [EMAIL PROTECTED] wrote: Debian has the security manager enabled by default. For development, you can just edit /etc/default//tomcat5 and set TOMCAT5_SECURITY=no. For testing/production, add a policy file to /etc/tomcat5/policy.d for your webapp with the

[Wicket-user] Mounting a package

2007-02-12 Thread Paolo Di Tommaso
Is it possible to use WebApplication#mount(java.lang.String path, PackageName packageName) to map a package name to a path and then access all the static resources (like images, etc) in the package by that path? Thanks, Paolo

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Matthes R.
Michel Wichers schrieb: Hi all, is there anywhere a reference list with products/projects using the wicket framework? Or do you know any companies who are using the wicket framework productive? Regards, Michel -

Re: [Wicket-user] Page cache / page pool

2007-02-12 Thread Johan Compagner
However if pageA, pageB, pageA, pageB is opened then I see a page expired error page instead of the last pageB, because the second opening of pageA (which uses the same instance as first time) looks like a back-button for wicket and pageB drops out of the stack (and thus gets expired). So if

Re: [Wicket-user] MarkupWriter

2007-02-12 Thread Igor Vaynberg
in wicket you very very very very rarely output markup from your code. why do you need this? -igor On 2/12/07, Robert . [EMAIL PROTECTED] wrote: Hi, I have been using Tapestry before and kinda enjoyed using the IMarkupWriter by doing things like writer.begin(div); writer.attribute(id, abc);

Re: [Wicket-user] Mounting a package

2007-02-12 Thread Igor Vaynberg
no, access to files, within a package or not, is provided via shared resources. it should be pretty easy to write a resource to do what you want though. -igor On 2/12/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Is it possible to use WebApplication#mount(java.lang.String path, PackageName

Re: [Wicket-user] Problem restarting application in Tomcat

2007-02-12 Thread Rüdiger Schulz
Hello, I had the same error with 1.2.4. I just updated to 1.2.5, and the error message changed to: WicketMessage: Markup of type 'html' for component 'de.indyphone.logokits.wicket.LogoKitOverviewPage' not found. Enable debug messages for wicket.util.resource to get a list of all filenames tried:

Re: [Wicket-user] MarkupWriter

2007-02-12 Thread Marc-Andre Houle
I don't think there is something for that in wicket, but 1. You can use a Label and setEscapeMarkupId(false); 2. You can use simple Label and add a SimpleAttributeModifier. On 2/12/07, Robert . [EMAIL PROTECTED] wrote: Hi, I have been using Tapestry before and kinda enjoyed using the

Re: [Wicket-user] MarkupWriter

2007-02-12 Thread Marc-Andre Houle
On 2/12/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: I don't think there is something for that in wicket, but 1. You can use a Label and setEscapeMarkupId(false); Oops, setEscapeModelStrings 2. You can use simple Label and add a SimpleAttributeModifier. On 2/12/07, Robert . [EMAIL

Re: [Wicket-user] Problem restarting application in Tomcat

2007-02-12 Thread Igor Vaynberg
On 2/12/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: Simply restarting tomcat solves this, but doing this with every redploy is a little tedious :( And I just changed from Jboss to Tomcat because I hoped I could speed up development... OT but if you want real speedy development try using

[Wicket-user] How to hide a complete tag?

2007-02-12 Thread Conny Kühne
Hi, is there a convinient way to hide a complete tag? For example div wicket:id=divIdsomething/div I want to erase the whole div tag on a certain condition. Not just the tag body but all of it because I defined css border attributes for the div that I don't want to display. My workaround

Re: [Wicket-user] Problem restarting application in Tomcat

2007-02-12 Thread Rüdiger Schulz
Igor Vaynberg schrieb: On 2/12/07, *Rüdiger Schulz* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Simply restarting tomcat solves this, but doing this with every redploy is a little tedious :( And I just changed from Jboss to Tomcat because I hoped I could speed up

Re: [Wicket-user] MarkupWriter

2007-02-12 Thread Jonathan Locke
yeah. pretty much never. in fact, i can't think of a single exceptional case where this was necessary outside of the wicket core. igor.vaynberg wrote: in wicket you very very very very rarely output markup from your code. why do you need this? -igor On 2/12/07, Robert . [EMAIL

Re: [Wicket-user] How to hide a complete tag?

2007-02-12 Thread Frank Bille
On 2/12/07, Conny Kühne [EMAIL PROTECTED] wrote: My workaround looks like this WebMarkupContainer currentTopicContainer = new WebMarkupContainer(divId){ public boolean isVisible() { if(condition){ setRenderBodyOnly(true);

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Erik van Oosten
That page is not editable. How can I add another Wicket app? Erik. Matthes R. wrote: check this out: http://cwiki.apache.org/WICKET/#Index-SitesusingWicket greets, Matthes -- Erik van Oosten http://day-to-day-stuff.blogspot.com/

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Igor Vaynberg
not sure why it was locked...i unlocked. -igor On 2/12/07, Erik van Oosten [EMAIL PROTECTED] wrote: That page is not editable. How can I add another Wicket app? Erik. Matthes R. wrote: check this out: http://cwiki.apache.org/WICKET/#Index-SitesusingWicket greets, Matthes -- Erik

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Erik van Oosten
Thanks. I added my app. Erik. Igor Vaynberg wrote: not sure why it was locked...i unlocked. -igor -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web

[Wicket-user] datetime - DateTextField

2007-02-12 Thread ChuckDeal
Wicket 1.3/ datetime project I believe that this might not be correct. public static ITextFormatProvider forDatePattern(String id, String datePattern) { return forDateStyle(id, null, datePattern); } Notice that it delegates to forDateStyle? I believe that it should be delegating to

Re: [Wicket-user] datetime - DateTextField

2007-02-12 Thread ChuckDeal
Also note that forShortStyle(String, IModel) has an inconsistent return type as compared to the seven other static methods. Why the choice to return ITextFormatProvider instead of DateTextField? Chuck -- View this message in context:

Re: [Wicket-user] datetime - DateTextField

2007-02-12 Thread Eelco Hillenius
Correct. Fixed now. Thanks! Eelco On 2/12/07, ChuckDeal [EMAIL PROTECTED] wrote: Wicket 1.3/ datetime project I believe that this might not be correct. public static ITextFormatProvider forDatePattern(String id, String datePattern) { return forDateStyle(id, null, datePattern); }

Re: [Wicket-user] datetime - DateTextField

2007-02-12 Thread Eelco Hillenius
Also note that forShortStyle(String, IModel) has an inconsistent return type as compared to the seven other static methods. Why the choice to return ITextFormatProvider instead of DateTextField? Heh. Letting Eclipse doing the refactoring without properly checking what it changed. :) Fixed as

Re: [Wicket-user] datetime - DateTextField

2007-02-12 Thread Igor Vaynberg
sure, blame the tool -igor On 2/12/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Also note that forShortStyle(String, IModel) has an inconsistent return type as compared to the seven other static methods. Why the choice to return ITextFormatProvider instead of DateTextField? Heh. Letting

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Aaron Hiniker
I wrote mystreet.com in wicket last summer. It uses EJB3 for persistence. The site is still pending an official launch. There may still be a few bugs here and there but I moved on to a new job, so.. :) To view a demo neighborhood you can use: http://mystreet.com/ Username: markg Password:

Re: [Wicket-user] datetime - DateTextField

2007-02-12 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 I do. I blame eelco. duck/ Igor Vaynberg wrote: sure, blame the tool -igor On 2/12/07, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Also note that forShortStyle(String, IModel) has an inconsistent

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Eelco Hillenius
Cool. Any mention of any projects you know on the WIKI would be welcome. Eelco On 2/12/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I wrote mystreet.com in wicket last summer. It uses EJB3 for persistence. The site is still pending an official launch. There may still be a few bugs here

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Scott Swank
I'll need a couple of months. On 2/12/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Cool. Any mention of any projects you know on the WIKI would be welcome. Eelco On 2/12/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I wrote mystreet.com in wicket last summer. It uses EJB3 for persistence.

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Aaron Hiniker
The only reason I am reluctant to add mystreet.com to the WIKI is that after I quit, they hired a couple of PHP programmers to work on the site. I tried to help them as much I could with the J2EE and Wicket code, but I don't think they could grasp the concepts. I think the site is under a

Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Eelco Hillenius
The only reason I am reluctant to add mystreet.com to the WIKI is that after I quit, they hired a couple of PHP programmers to work on the site. I tried to help them as much I could with the J2EE and Wicket code, but I don't think they could grasp the concepts. I think the site is under a

[Wicket-user] Convert newlines to br

2007-02-12 Thread Jesse Barnum
How can I tell a Label to convert newlines to HTML linebreaks? So that first line\nSecond line would become first linebrSecond line? It seems like there ought to be a Component.setConvertNewlines(true) or something similar, or maybe this should happen when you setEscapeModelStrings( true

Re: [Wicket-user] Convert newlines to br

2007-02-12 Thread Eelco Hillenius
See MultiLineLabel or Strings.toMultilineMarkup Eelco On 2/12/07, Jesse Barnum [EMAIL PROTECTED] wrote: How can I tell a Label to convert newlines to HTML linebreaks? So that first line\nSecond line would become first linebrSecond line? It seems like there ought to be a

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

2007-02-12 Thread karthik Guru
Hi Matej, Here is something that I observed in FireBug - = t has no properties stateChangeCallback()wicket-ajax.js (line 627) bind()wicket-ajax.js (line 36) (no name)(XMLHttpRequest, POST,

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

2007-02-12 Thread Igor Vaynberg
i think this is actually a firebug bug :) try with it disabled -igor On 2/12/07, karthik Guru [EMAIL PROTECTED] wrote: Hi Matej, Here is something that I observed in FireBug - = t has no properties stateChangeCallback()wicket-ajax.js

Re: [Wicket-user] Mounting a package

2007-02-12 Thread Paolo Di Tommaso
OK. But from where I could start? Thanks, Paolo On 2/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote: no, access to files, within a package or not, is provided via shared resources. it should be pretty easy to write a resource to do what you want though. -igor On 2/12/07, Paolo Di Tommaso