[Wicket-user] Manu bar

2006-04-07 Thread Stefan Lindner
Does anybody on the list know of a good drop down menu bar component that can be easily embedded into a wicket page? Does anybody work on such a menu bar for wicket extensions? Stefan Lindner [EMAIL PROTECTED] --- This SF.Net email is

Re: [Wicket-user] Manu bar

2006-04-07 Thread Igor Vaynberg
im not aware of anything in extensions, yet. doesnt mean you cant write it and contribute it :)imho, the coolest looking drop down ive seen is this one: http://www.youngpup.net/_projectDirectories/transmenus/demos/photos/index.htmlfrom here:http://www.youngpup.net/2004/transmenusthis particular

[Wicket-user] Check / Checkbox

2006-04-07 Thread Nino Wael
Hi Im trying to use some of the functionality of Checkbox but I get an exception : wicket.util.string.StringValueConversionException: Boolean value [EMAIL PROTECTED] not recognized I guess this tells me that my model needs either to be true of false as a string, however I would

Re: [Wicket-user] Re: beta3

2006-04-07 Thread Johan Compagner
there is a unit test (RadioGroupTest) for this in our testswicket is suddenly much more sensitive if the input tag is not terminated with /but justinput type= name= value= can result in an error now.johanOn 4/7/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:wicket core contains several unit

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-07 Thread Johan Compagner
thats very odd. Can't help you with that i guess.It seems that the cookie can't be read? But if that is the case then tomcat should put jsessiondid info in the urls.johan On 4/7/06, Andrew Berman [EMAIL PROTECTED] wrote: Johan and Nathan, that's exactly how I'm doing it. However, the problem is

[Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Steve Knight
I created a DropDownChoice that submits the form via Ajax on it's onchange event. Seems to work great in Firefox, but in Internet Explorer it gets progressively slower each time I trigger the Ajax call. Is this a known issue with IE? Steve

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Igor Vaynberg
can you reproduce this in wicket-examples/ajax drop down example. i tried and couldnt. maybe you have a memory leak elsewhere that is slowing down the container.-IgorOn 4/7/06, Steve Knight [EMAIL PROTECTED] wrote: I created a DropDownChoice that submits the form via Ajax on it's onchange event.

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Steve Knight
The wicket-examples dropdown example uses AjaxFormComponentUpdatingBehavior. I am using AjaxFormSubmitBehavior.My DropDownChoice is acting as a filter to filter the results of a database query. The results are displayed in a table on the same page. It definitely slows down quicker when the

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Igor Vaynberg
hmm, can you please reproduce in a quickstart project so i can see whats going on.-IgorOn 4/7/06, Steve Knight [EMAIL PROTECTED] wrote:The wicket-examples dropdown example uses AjaxFormComponentUpdatingBehavior. I am using AjaxFormSubmitBehavior. My DropDownChoice is acting as a filter to filter

RE: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Jerry Smith
This is happening with AjaxPagingNavigator as well. The memory usage of both IE and firefox jump pretty high on each refresh. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Knight Sent: Friday, April 07, 2006 10:58 AM To: wicket-user@lists.sourceforge.net

[Wicket-user] Wicket and textareas

2006-04-07 Thread Geertjan Wielenga
Hi all, Does Wicket enable you to work with individual words in a text area, somehow? Or do anything special with a text area? Are there examples of this? -- Geertjan --- This SF.Net email is sponsored by xPML, a groundbreaking

[Wicket-user] Basic Wickettester question

2006-04-07 Thread karthik Guru
I need to test my sigon page - meaning i need to make sure that after validation of credentials, it stores my user object in the session. I want to check with the session at the end that the session has the user object on providing valid credentials. But I guess am missing something here -

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Igor Vaynberg
and some reading if you guys want to try to help me spot the problem:http://weblogs.asp.net/mschwarz/archive/2005/11/17/430770.aspx http://ajaxian.com/archives/screencast-on-diagnosing-memory-leaks-in-iehttp://msdn.microsoft.com/library/default.asp?url="" -IgorOn 4/7/06, Igor Vaynberg [EMAIL

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Igor Vaynberg
i noticed the effect is significantly reduced when turning off the ajax debug console via getAjaxSettings().setAjaxDebugModeEnabled(false);-IgorOn 4/7/06, Jerry Smith [EMAIL PROTECTED] wrote: This is happening with AjaxPagingNavigator as well. The memory usage of both IE and

Re: [Wicket-user] Wicket and textareas

2006-04-07 Thread Igor Vaynberg
what do you mean?wicket's TextArea component is attached to html textarea tag, everything else is up to the browser.-IgorOn 4/7/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Hi all,Does Wicket enable you to work with individual words in a text area,somehow? Or do anything special with a text

Re: [Wicket-user] Wicket and textareas

2006-04-07 Thread Geertjan Wielenga
Well, if I have text in the textarea tag, can I do something with it via the TextArea component? Can I somehow parse the content of the textarea and give every other word a different color, for example? -- Geertjan Igor Vaynberg wrote: what do you mean? wicket's TextArea component is

[Wicket-user] Re: Re: strange behaviour of TextField conversion to Float in beta3

2006-04-07 Thread Jaime De La Jara
Here is the original code to define a Date format : getApplicationSettings().setConverterFactory(new IConverterFactory() {public IConverter newConverter(final Locale locale){ final Converter converter = new Converter(locale); // String - Date DateConverter dc = new

Re: [Wicket-user] Re: Re: strange behaviour of TextField conversion to Float in beta3

2006-04-07 Thread Igor Vaynberg
i think the problem is that you registered your own converter for String.class so when wicket will try to display the float in the textfield it will try to format it to string, and it will use the datetostring converter you registered. -IgorOn 4/7/06, Jaime De La Jara [EMAIL PROTECTED] wrote: Here

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Steve Knight
You're right. After turning off ajax debugging it is MUCH better.SteveOn 4/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:i noticed the effect is significantly reduced when turning off the ajax debug console via getAjaxSettings().setAjaxDebugModeEnabled(false); -IgorOn 4/7/06, Jerry Smith [EMAIL

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Igor Vaynberg
furthermore, with logging turned off there is no leak at all in firefox.-IgorOn 4/7/06, Steve Knight [EMAIL PROTECTED] wrote:You're right. After turning off ajax debugging it is MUCH better. SteveOn 4/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:i noticed the effect is significantly reduced when

Re: [Wicket-user] Wicket and textareas

2006-04-07 Thread Igor Vaynberg
no, html textarea doesnt support rich text formatting.if you want that look at wicket-contrib-tinymce, tinymce is a _javascript_ based rich text editor. google tinymce for more details.-Igor On 4/7/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Well, if I have text in the textarea

Re: [Wicket-user] Basic Wickettester question

2006-04-07 Thread Juergen Donnerstag
WicketTester extends Application. Hence you create the session object exactly the way you do it in your real application. Juergen On 4/7/06, karthik Guru [EMAIL PROTECTED] wrote: I need to test my sigon page - meaning i need to make sure that after validation of credentials, it stores my user

[Wicket-user] Re: Re: Re: strange behaviour of TextField conversion to Float in beta3

2006-04-07 Thread Jaime De La Jara
I commented the lines that define the datetostring converterand the effect was that the date was displayed using toString()and the float value was displayed correctly.So, how can I define converters for different types, likeFloat and Date from and to String?. In a previous post I learnt that that

Re: [Wicket-user] Re: Re: Re: strange behaviour of TextField conversion to Float in beta3

2006-04-07 Thread Igor Vaynberg
i dont think you can do this globally, i would override getConverter() on the textfield thats displaying dates, or craete a DateTextField subclass that does it for you.alternatively you can create a model decorator that does the conversion, advantage is that it will work for any component. -IgorOn

Re: [Wicket-user] Re: Re: Re: strange behaviour of TextField conversion to Float in beta3

2006-04-07 Thread Eelco Hillenius
Yeah, you can do that. Like this: getApplicationSettings().setConverterFactory(new IConverterFactory() { public IConverter newConverter(final Locale locale) { final Converter converter

[Wicket-user] IMG reload via AJAX

2006-04-07 Thread Jerry Smith
Hi all, Im trying to get an Image to reload via AJAX. Basically Ive got some thumbnails when the user clicks on them I want to display the full version. The model is changing, but the screen isnt refreshing quite right. The AJAX response comes back but the graphic doesnt update unless I

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Igor Vaynberg
there are a couple of ways:one) add anti caching headers to your resourcetwo) append a random number to the resource url-IgorOn 4/7/06, Jerry Smith [EMAIL PROTECTED] wrote: Hi all, I'm trying to get an Image to reload via AJAX. Basically I've got some thumbnails when the user

Re: [Wicket-user] links problems again

2006-04-07 Thread Potje rode kool
Ok thanks Igor, got the mounting working.When I use mounting I first failed to get the parameters, I usedgetRequest.getParameter(action); but I found out that I now can get the parameters by calling getRequest.getParameterMap().get(action); (where action is my parameter name).Evert2006/4/6, Igor

RE: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Jerry Smith
Ive already got res.setHeader(Cache-Control, no-cache); res.setHeader(Cache-Control, no-store); in the resource, how do I go about changing the src url? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: Friday, April 07, 2006 3:29 PM

Re: [Wicket-user] links problems again

2006-04-07 Thread Johan Compagner
why are you calling that on the request?you should get those in youre constructor (the PageParameters object)johanOn 4/7/06, Potje rode kool [EMAIL PROTECTED] wrote: Ok thanks Igor, got the mounting working.When I use mounting I first failed to get the parameters, I

Re: [Wicket-user] Re : Re : Re: strange behaviour of TextField conversion to Float in beta3 : resolved !

2006-04-07 Thread Eelco Hillenius
I commented the lines that define the datetostring converter and the effect was that the date was displayed using toString() and the float value was displayed correctly. So, how can I define converters for different types, like Float and Date from and to String?. Like I answered you

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Igor Vaynberg
what are you using right now to display images?usually i call urlfor(resourcereference), get the url, append rand=+Math.random() and use an attributemodifier or oncomponenttag() to set the src attr of an img tag. -IgorOn 4/7/06, Jerry Smith [EMAIL PROTECTED] wrote: I've already got

Re: [Wicket-user] links problems again

2006-04-07 Thread Igor Vaynberg
yeah, use the MyPage { public MyPage(PageParameters params) {...}} constructor and they should be available.-IgorOn 4/7/06, Johan Compagner [EMAIL PROTECTED] wrote: why are you calling that on the request?you should get those in youre constructor (the PageParameters object)johan On 4/7/06, Potje

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Johan Compagner
On 4/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote: usually i call urlfor(resourcereference), get the url, append rand=+Math.random() and use an attributemodifier or oncomponenttag() to set the src attr of an img tag. Did you calculate the chance you have with Math.random() how many times it could

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Igor Vaynberg
you are absolutely right, how foolish of me.a better way of course would be url="">but wait...even with that there is a chance of collission...hmmm how about you have a static BigInteger in your resource, and use that as a sequence to generate unique ids to append to the url!-IgorOn 4/7/06, Johan

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Eelco Hillenius
url=url+rand=+UUID.random().toString() but wait...even with that there is a chance of collission...hmmm Is there? Isn't UUID supposed to be unique in space and time? Eelco --- This SF.Net email is sponsored by xPML, a groundbreaking

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Igor Vaynberg
no, not unique, but pretty darn close.-IgorOn 4/7/06, Eelco Hillenius [EMAIL PROTECTED] wrote: url=""> but wait...even with that there is a chance of collission...hmmmIs there? Isn't UUID supposed to be unique in space and time?Eelco--- This

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Igor Vaynberg
and in case someone takes this suggestion seriously - dont. johan is just being sarcastic...or at least i really really hope he is :)-IgorOn 4/7/06, Eelco Hillenius [EMAIL PROTECTED] wrote: url=""> but wait...even with that there is a chance of collission...hmmmIs there? Isn't UUID supposed to

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 so... NSUUID? Igor Vaynberg wrote: no, not unique, but pretty darn close. -Igor On 4/7/06, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: url=url+rand=+UUID.random().toString() but