Re: [Wicket-user] Using own localizer

2007-02-05 Thread Juha Alatalo
I will do that if it is still a problem when we start using 1.3 or 2.0. Caching is ok so far. - Juha Johan Compagner wrote: if you can get a nice test where i can see those hotspots (but then in 1.3 or 2.0) then i will look at it to optimize that. johan On 2/1/07, *Juha Alatalo *

Re: [Wicket-user] setting model for FileUploadField explicitly

2007-02-05 Thread Martijn Dashorst
I think you can't. It is a one way only field: the field contents aren't what is submitted: the field name is just the filename, but the contents of that file are also submitted. You can't upload file contents to the field. Probably you can try to set the filename using JavaScript. Martijn On

Re: [Wicket-user] Page Expired

2007-02-05 Thread sunraider
Hi Igor, My bad, I had extended the pageexpiry page from my base page and it checks for @Authorized. Though the page expired page came in the background it gets navigated to login page. The issue is fixed now. I have changed it from BasePage to WebPage. Your questions really helped me to debug

Re: [Wicket-user] problem with wicket dtd in IDEA

2007-02-05 Thread Timo Rantalaiho
On Sun, 04 Feb 2007, Dmitry Kandalov wrote: I tried this one. It doesn't work either. I wonder how autocompletion can work for you because I couldn't find any notion of wicket tags in this dtd. Guess you put them in custom tags. Don't you? Most probably yes. -- Timo Rantalaiho Reaktor

Re: [Wicket-user] ui framework choice

2007-02-05 Thread Timo Rantalaiho
I was able to test some ajax functionality by firing events with WicketTester, but something related to forms not. The problematic form thing I just tested with Wicket Bench then. If anyone is interested I can cook up a quickstart representing the WicketTester-with-ajaxified-form problem.

[Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Carfield Yim
The application I work with will send a email to user to activate his account after registration. The activate message is something like == Registration completed, here is your login detail: username: carfield password: carfield Please go to

[Wicket-user] Component Markup Dump

2007-02-05 Thread Ayodeji Aladejebi
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

Re: [Wicket-user] Component Markup Dump

2007-02-05 Thread Timo Rantalaiho
On Mon, 05 Feb 2007, Ayodeji Aladejebi 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? I don't know if you can do that in production code, but in WicketTester there is assertContains(String pattern)

[Wicket-user] Testing and sessions

2007-02-05 Thread Srdjan Marinovic
Hello, I'm just picking up Wicket and I'm really enjoying it. However I'm having a slight problem. I want to unit test a page that requires some information from the session. How do I set up a session within a unit test and make it available when I call e.g.

[Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Erik van Oosten
Hi, I have some javascript with initialization code that needs functions from wicket-ajax.js. However, my javascript is loaded (and run) before wicket-ajax.js. The javascript is added in a component as follows: add(HeaderContributor.forJavaScript(this.getClass(), AutoLogout.js)); Is

[Wicket-user] Wicket Ajax - t has no properties

2007-02-05 Thread Alexis
We're currently using wicket 1.2.4. When wicket built-in ajax refreshes an entire table, we kept getting this js error on the client : t has no properties (thanks firebug). You can reproduce it on

Re: [Wicket-user] Wicket Ajax - t has no properties

2007-02-05 Thread Erik van Oosten
Hi Alexis, This is a firebug bug. Wicket has been changed to prevent the bug from appearing in the upcoming 1.2.5 release. Regards, Erik. Alexis schreef: We're currently using wicket 1.2.4. When wicket built-in ajax refreshes an entire table, we kept getting this js error on the client

Re: [Wicket-user] Wicket Ajax - t has no properties

2007-02-05 Thread Alexis
i think we can wait for the 1.2.5 release :) Thanks for the quick answer ! Erik van Oosten wrote: Hi Alexis, This is a firebug bug. Wicket has been changed to prevent the bug from appearing in the upcoming 1.2.5 release. Regards, Erik. -- View this message in context:

Re: [Wicket-user] Unable to render resource stream Exception

2007-02-05 Thread Konstantinos Lazouras
Hi all, thanx for your help so far and apologies for getting back so late... to the problem now: To what you suggested, I didn't get something useful from yourkit and tmsMserver is not wicket related. If the problem appears, it happens by clicking the datepicker icon (in a monkey testing

Re: [Wicket-user] Testing and sessions

2007-02-05 Thread Timo Rantalaiho
On Mon, 05 Feb 2007, Srdjan Marinovic wrote: I'm just picking up Wicket and I'm really enjoying it. However I'm having a slight problem. I want to unit test a page that requires some information from the session. How do I set up a session within a unit test and make it available when I call

Re: [Wicket-user] Testing and sessions

2007-02-05 Thread Srdjan Marinovic
Handling the session directly sounds very un-wickety. Normally you should keep state in your components. They are all(?) stateful in Wicket. I suppose I should elaborate a little bit:) I've got the following session class public final class UserSession extends WebSession{ private

Re: [Wicket-user] Wicket Ajax - t has no properties

2007-02-05 Thread Matej Knopp
You shouldn't need to. With recent beta version of firebug the error message is still there, but the ajax works anyway. -Matej Alexis wrote: i think we can wait for the 1.2.5 release :) Thanks for the quick answer ! Erik van Oosten wrote: Hi Alexis, This is a firebug bug. Wicket

Re: [Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Erik van Oosten
Oh, and euh, I am using a Wicket pre-1.2.5 snapshot from 2007-01-23. Erik van Oosten wrote: Hi, I have some javascript with initialization code that needs functions from wicket-ajax.js. However, my javascript is loaded (and run) before wicket-ajax.js. The javascript is added in a

Re: [Wicket-user] Testing and sessions

2007-02-05 Thread Timo Rantalaiho
On Mon, 05 Feb 2007, Srdjan Marinovic wrote: So now I want to unit test rendering of WelcomePage. However I need to have a UserSession object with the username set up. I have no idea how to this via WicketTester. Is there any way to this? I think that by providing your own Application

[Wicket-user] My wicket project

2007-02-05 Thread Kevin Galligan
Last night I finished the very, very initial version of something I've been working on mentally for a while now. Its my first Wicket based project. Its a web application fragment, for lack of a better word, that provides a tasklist and customizable task screen router for Jboss' Jbpm framwork.

Re: [Wicket-user] Wicket Stuff Wiki update + shout out to all you lurking contributors...

2007-02-05 Thread James McLaughlin
Looks great! Does anyone know, is there a way to provide consistent navigation throughout the site, like a nav panel on the left hand side? I have zero experience with confluence so I thought i would ask first. thx, jim On 2/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Nice Al, thanks. I'll

Re: [Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Al Maw
Erik van Oosten wrote: Is there a way to force header contributions to load in a certain order? Sort of. HeaderContributors are designed so that if you add them twice, they only render once (so you can have multiple components on the page share the same contributor). Unfortunately,

Re: [Wicket-user] My wicket project

2007-02-05 Thread al
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

Re: [Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Erik van Oosten
Al Maw wrote: Unfortunately, wicket-ajax.js is rendered as a kind-of composite HeaderContributor, so you can't just go like this: add(HeaderContributor.forJavaScript(AbstractDefaultAjaxBehavior.JAVASCRIPT); ...as you'll get two of them. :-( Yes, I noticed and saw the code. Are functions

Re: [Wicket-user] Wicket Stuff Wiki update + shout out to all you lurking contributors...

2007-02-05 Thread Filippo Diotalevi
On 2/4/07, Al Maw [EMAIL PROTECTED] wrote: Hi all, I've given http://wicketstuff.org a bit of love. Let me know what you think. Better yet, all you wicket stuff contributors please contribute to the wiki. :) Al, thank you for your contribution! WicketStuff looks really nice now... really

Re: [Wicket-user] My wicket project

2007-02-05 Thread Eelco Hillenius
I'm also really interested in how people model tables and lists in Wicket. I had a very similar problem in JSF. Specifically the issue that arises when you have a table type of component with links, backed by index instead of ID. That's an issue I have to look into. Any thoughts? I'm using

Re: [Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Eelco Hillenius
On 2/5/07, Carfield Yim [EMAIL PROTECTED] wrote: The application I work with will send a email to user to activate his account after registration. The activate message is something like == Registration completed, here is your login detail:

Re: [Wicket-user] My wicket project

2007-02-05 Thread Kevin Galligan
That was the general impression I got. Repeaters. Harder to grasp, but better overall. I didn't know they indexed by id. Sweet. I have the Pro Wicket book. For the most part I thought it was well written. The section on ListView, however, brought on a level of confusion that almost landed

Re: [Wicket-user] Component Markup Dump

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

Re: [Wicket-user] Component Markup Dump

2007-02-05 Thread Jonathan Locke
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

Re: [Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Igor Vaynberg
On 2/5/07, Erik van Oosten [EMAIL PROTECTED] wrote: Yes, I noticed and saw the code. Are functions in wicket-ajax.js not intended for public use? if you asked me i would say no. these are our internal javascript functions. what out of there were you using exactly? -igor

Re: [Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Carfield Yim
On 2/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 2/5/07, Carfield Yim [EMAIL PROTECTED] wrote: The application I work with will send a email to user to activate his account after registration. The activate message is something like

[Wicket-user] URLConnection to jar / Too many open files

2007-02-05 Thread Tom Desmet
I think this issue is fixed in mustang ... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6349735 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Eelco Hillenius
Yes , it is, and if I remove the mount and just use the long bookmarkable link, it work ok. The other issue I just found is after I click this link, whatever long or mounted one, the add(HeaderContributor.forCss()) fail to add the link rel like link rel=stylesheet type=text/css

Re: [Wicket-user] Testing and sessions

2007-02-05 Thread Frank Bille
On 2/5/07, Timo Rantalaiho [EMAIL PROTECTED] wrote: I think that by providing your own Application implementation to WicketTester you can do that by overriding Session newSession(Request request). Yes and in 1.2 you extend WicketTester and override getSessionFactory() Frank

Re: [Wicket-user] URLConnection to jar / Too many open files

2007-02-05 Thread Johan Compagner
then that fix is really hidden or internal because i can't find anything what to call then in java 6 johan On 2/5/07, Tom Desmet [EMAIL PROTECTED] wrote: I think this issue is fixed in mustang ... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6349735

Re: [Wicket-user] My wicket project

2007-02-05 Thread Kevin Galligan
By the way, is there a central page somewhere that explains the repeater package, or should I just dig through the javadocs and code? I figured I'd ask before I get too involved with the latter. On 2/5/07, Kevin Galligan [EMAIL PROTECTED] wrote: That was the general impression I got.

Re: [Wicket-user] ui framework choice

2007-02-05 Thread Loren Rosen
I also had hair-pulling moments at first trying to understand static vs. dynamic models. It was one of my principal motivations for re-writing the wiki page. Scott Swank wrote: Read it? I have it printed off sitting on my desk. The key point I was missing was that a static model for,

Re: [Wicket-user] My wicket project

2007-02-05 Thread Eelco Hillenius
This http://cwiki.apache.org/WICKET/tables-and-grids.html for a shallow start, and for the rest please take a look at the javadocs and the example code. The wicket-examples project is where we hope to make up for the fact that we don't have a fancy tutorial :) Eelco On 2/5/07, Kevin Galligan

[Wicket-user] quirk with getRequestCycleSettings().setGatherExtendedBrowserInfo(true)

2007-02-05 Thread ChuckDeal
My sign in panel does this in its onSubmit(): if (signIn(getUsername(), getPassword(), shouldRememberMe())) { if (!continueToOriginalDestination()) { setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage(

Re: [Wicket-user] quirk with getRequestCycleSettings().setGatherExtendedBrowserInfo(true)

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

[Wicket-user] Deprecated example in wicket.util.convert.Converter

2007-02-05 Thread Robert Novotny
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);

Re: [Wicket-user] Deprecated example in wicket.util.convert.Converter

2007-02-05 Thread Igor Vaynberg
how about a patch to the javadoc? :) -igor On 2/5/07, Robert Novotny [EMAIL PROTECTED] 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

Re: [Wicket-user] property expression language

2007-02-05 Thread Johan Compagner
On 2/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i believe (not sure) method invocation a.foo() yes thats also supported seet the PropertyResolverTest for pretty much all the things that are supported johan - Using

Re: [Wicket-user] property expression language

2007-02-05 Thread al
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

[Wicket-user] Webby is cool

2007-02-05 Thread nilo de roock
Today I looked at WebbyDB, it's a 'PHP-type-of-dump-classes-on-webpage' app, hibernate handles the persistency side. It depends on webby, wicket, databinder and hibernate. It can handle associations as well. Webby can generate a decent starterapp for you if you have done your upfront design

Re: [Wicket-user] Composite Behavior....

2007-02-05 Thread Erik Brakkee
On 2/4/07, Frank Bille [EMAIL PROTECTED] wrote: Or a good wiki page/blog entry on the subject. That would be nice to have :) Ok, I will spend some time on this over the weekend. Frank - Using Tomcat but need to do

[Wicket-user] Size of the HTML response page

2007-02-05 Thread Sean Sullivan
I am building a web application with Wicket 1.3 and I want to be able determine the number of bytes in the HTML response. I know that I can inspect document.fileSize on the client, but what I'm looking for is to have access to this information on the server. Does Wicket's RequestCycle or

Re: [Wicket-user] Size of the HTML response page

2007-02-05 Thread Igor Vaynberg
see IResponseFilter and its javadoc -igor On 2/5/07, Sean Sullivan [EMAIL PROTECTED] wrote: I am building a web application with Wicket 1.3 and I want to be able determine the number of bytes in the HTML response. I know that I can inspect document.fileSize on the client, but what I'm

Re: [Wicket-user] Size of the HTML response page

2007-02-05 Thread Al Maw
Sean Sullivan wrote: I am building a web application with Wicket 1.3 and I want to be able determine the number of bytes in the HTML response. I know that I can inspect document.fileSize on the client, but what I'm looking for is to have access to this information on the server. Does

Re: [Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Carfield Yim
On 2/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yes , it is, and if I remove the mount and just use the long bookmarkable link, it work ok. The other issue I just found is after I click this link, whatever long or mounted one, the add(HeaderContributor.forCss()) fail to add the

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-05 Thread Aaron HIniker
I added an empty filterPath to my web.xml via: init-param param-namefilterPath/param-name param-value/param-value /init-param and it seems to have fixed the problem. Thanks! Aaron Igor Vaynberg wrote: you should probably specify the filterpath param as well,

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-05 Thread Igor Vaynberg
yep, its a temporary fix i myself had to use until al foreward-ports the relative url refactor -igor On 2/5/07, Aaron HIniker [EMAIL PROTECTED] wrote: I added an empty filterPath to my web.xml via: init-param param-namefilterPath/param-name param-value/param-value

Re: [Wicket-user] Deprecated example in wicket.util .convert.Converter

2007-02-05 Thread r . novotny
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: gt; gt; gt; Hello, gt; I stumbled upon a deprecated example in the wicket.util.convert.Converter gt; example. Method newConverter() on the

Re: [Wicket-user] ajax feedback onSubmit

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

Re: [Wicket-user] Deprecated example in wicket.util.convert.Converter

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

Re: [Wicket-user] ajax feedback onSubmit

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