Remove busy indicator from ajax timer behavior?

2010-05-12 Thread Early Morning
Hi All, I followed this to implement a sitewide busy indicator: https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html However, I have an ajax behavior that polls in the page every 2 seconds, and every time it does the busy indicator flashes since the

Testing wicket pages in isolation (wickettester)

2010-05-12 Thread Vincent Lussenburg
Hi all, I'm sending this page to check if I've drawn the correct conclusions on testing wicket pages in isolation. The situation is as follows: we have a number of pages that work on the same model object. The object is passed from page to page in page transitions. So for example, when the

AW: Remove busy indicator from ajax timer behavior?

2010-05-12 Thread Stefan Lindner
I don't use it but i suggest something like div class=hideBusy div qwicket:id=budyIndicator/ /div and use div.hideBusy { display:none; } in css. Just theoretically, not tested Stefan -Ursprüngliche Nachricht- Von: Early Morning [mailto:goodmorning...@gmail.com] Gesendet: Mi

Re: AutoCompleteTextField uses wrong encoding?

2010-05-12 Thread Jens Zastrow
For Wicket, try setting this *: getRequestCycleSettings().setResponseRequestEncoding(UTF-8); getMarkupSettings().setDefaultMarkupEncoding(UTF-8); in your Application#init If you don't set the default markup encoding explicitly, the default for it is the 'os provided encoding' (see:

Required error message pointing to different FeedBackPanel

2010-05-12 Thread Rubén khanser
Hi, I've been searching through this but I can't seem to find anything. I have a general porpouse FeedBackPanel in my Page so the required error messages go automatically to this feedbackpanel. Now i needed to do some dynamic appending subpanels in my page and i need required error messages to

Re: Remove busy indicator from ajax timer behavior?

2010-05-12 Thread Early Morning
Hi Stefan, Currently there is a javascript method hideBusysign() which is registered as the PostCallHandler for all Wicket Ajax requests, which is how the busy sign is hidden. However, for the timer behavior, I don't want the indicator to show at all, since it flashes every 2 seconds and is very

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-12 Thread Muro Copenhagen
Hi Michael, That is a great example. But you mentioned that you have commited the sample to wicket-stuff. I can't find it anywhere so can you please send a link or something... Best regards Muro On Tue, May 4, 2010 at 2:49 PM, Robert Kimotho kimot...@gmail.com wrote: You are right I have a

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-12 Thread Michał Letyński
Hi. Its one of tiny examples: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples W dniu 2010-05-12 12:40, Muro Copenhagen pisze: Hi Michael, That is a great example. But you mentioned that you have commited the sample to

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-12 Thread Muro Copenhagen
Hi, Cool...thats nice... Best regards Muro 2010/5/12 Michał Letyński mletyn...@consol.pl Hi. Its one of tiny examples: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples W dniu 2010-05-12 12:40, Muro Copenhagen pisze: Hi

E-commerce with wicket

2010-05-12 Thread Rangel Preis
Hi, About two month ago we launch http://ewmix.com, a brazilian e-commerce. With the core finished we will make a new layout. Unfortunately we just sell to Brazil at this moment. All time people ask what technologic the project use so: Wicket 1.4.8 Postgres Compass (search) Spring Security with

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-12 Thread Muro Copenhagen
Hi again... I guess a new release of wicket-stuff tinymce has to be made in order to use it... The current release 1.4-rc7 misses the changes you have commited... Who can make a new release of wicket-stuff tinymce so we can use the commited code ? Best Regards Muro 2010/5/12 Michał Letyński

AutoCompleteTextField Problem Submitting

2010-05-12 Thread Sebastian Gabriel
Hello, I have an AutoCompleteTextField which works just fine. But when I select any of the given values from the list the validator tells me : xxx is not a valid value... perhaps you have any idea what I can do. Code: private AutoCompleteTextFieldSubject subject = new

setOutputMarkupPlaceholderTag + value

2010-05-12 Thread Ivoneta
Hello! I need to manage the locale (choose from a combobox) in javascript. So I will create a hidden field and then get in javascript. I create a hidden text field: TextField locale = new TextField(hiddenLocale,new Model(getSession().getLocale().getLanguage()));

loadable detached models and versioning

2010-05-12 Thread David Sheth
Hi all. I'm new to wicket. I was reading in the Wicket In Action book on LoadableDetachedModels...particularly how when the model is detached, just the id of the actual database persistent object is stored. Then, in the load method, you retrieve the persistent object from the database. That

Re: loadable detached models and versioning

2010-05-12 Thread James Carman
On Wed, May 12, 2010 at 10:52 AM, David Sheth da...@dsheth.com wrote: Hi all.  I'm new to wicket.  I was reading in the Wicket In Action book on LoadableDetachedModels...particularly how when the model is detached, just the id of the actual database persistent object is stored.  Then, in the

Re: loadable detached models and versioning

2010-05-12 Thread Michael O'Cleirigh
Hello, Another option would be to make your detachable model aware of the version aswell as the id which will allow you to catch this case. Process: Cache the version aswell as the object id. Then either do a query to make sure the cached version is still valid or wait until after the

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Zilvinas Vilutis
I had the same problem, its something related to converters or how your text value is converted to ( in your case ) Subject - and as there is no converter for that - it is just failing. What I've done is set the model to null and added a method getChoice which does the conversion. This is not

Re: setOutputMarkupPlaceholderTag + value

2010-05-12 Thread Zilvinas Vilutis
Why don't you use input type=hidden / ? Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, May 12, 2010 at 7:41 AM, Ivoneta ietaraz...@gmail.com wrote: Hello! I need to manage the locale (choose from a combobox) in javascript. So I will create a hidden field

Re: Remove busy indicator from ajax timer behavior?

2010-05-12 Thread Igor Vaynberg
have that polling behavior set some javascript flag that your handlers are aware of. -igor On Wed, May 12, 2010 at 12:44 AM, Early Morning goodmorning...@gmail.com wrote: Hi All, I followed this to implement a sitewide busy indicator:

Re: CheckGroup and ListView

2010-05-12 Thread msalman
Hi, Was any one able to test the quick start? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CheckGroup-and-ListView-tp1886879p2196464.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Testing wicket pages in isolation (wickettester)

2010-05-12 Thread Igor Vaynberg
i would go with 2 the problem here is that wicket tester is designed to render the pages, if it didnt then all you would have to do is make sure that a pagerequesttarget with the correct page was set on the request cycle. -igor On Wed, May 12, 2010 at 1:06 AM, Vincent Lussenburg

Re: setOutputMarkupPlaceholderTag + value

2010-05-12 Thread Igor Vaynberg
see HiddenField component... -igor On Wed, May 12, 2010 at 7:41 AM, Ivoneta ietaraz...@gmail.com wrote: Hello! I need to manage the locale (choose from a combobox) in javascript. So I will create a hidden field  and then get in javascript.  I create a hidden text field:        TextField

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Sebastian Gabriel
Thanks for your fast answer. I have a question about your solution. You say setting the model to null and adding a getChoice method would solve the problem. This means that I set the AutoCompleteTextField type to String and the String in the AutoCompleteTextField has to be unique in order to

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Zilvinas Vilutis
Wait, I lied a little :) I use new ModelType( null ), so no value is being set to model object. Actually I've ported the impl of AbstractAutoCompleteTextField as described in https://cwiki.apache.org/WICKET/autocomplete-using-a-wicket-model.html so and use the findChoice method for selected

localizing images

2010-05-12 Thread Ed _
Hi, Wanted to see how one could localize images. Esp if they are not in the same folder as the src code. wicket:link seems to only want to look in the local folder. If I specify the path in the src attribute that doesn't work. wicket:link img src=/go/to/a/different/location/myimg.gif /

Re: localizing images

2010-05-12 Thread Zilvinas Vilutis
Use parameterized ResourceReference's Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, May 12, 2010 at 3:38 PM, Ed _ ed_b...@hotmail.com wrote: Hi, Wanted to see how one could localize images. Esp if they are not in the same folder as the src code.

RE: localizing images

2010-05-12 Thread Ed _
Could you explain that a bit. thx! From: cika...@gmail.com Date: Wed, 12 May 2010 15:47:56 -0700 Subject: Re: localizing images To: users@wicket.apache.org Use parameterized ResourceReference's Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed,

Re: localizing images

2010-05-12 Thread Zilvinas Vilutis
First, create an ExternalImage class as described in https://cwiki.apache.org/WICKET/how-to-load-an-external-image.html Add img wicket:id=localizedImage / to your markup Then in your code: ResourceReference imageReference = new ResourceReference( ScopeClass.class, image_file_name, locale,

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-12 Thread Zilvinas Vilutis
There are no locks which thieves couldn't unlock or break - nevertheless the locks keep 99% of them not to try - that is why we lock our doors at home. The same is here, I believe that at least some security will make more than 90% spam / scrap bots fail, while the other few percent does not

Re: Testing wicket pages in isolation (wickettester)

2010-05-12 Thread Vincent Lussenburg
Ok, thanks for your reply Igor! Regards, Vincent On May 12, 2010, at 17:44, Igor Vaynberg igor.vaynb...@gmail.com wrote: i would go with 2 the problem here is that wicket tester is designed to render the pages, if it didnt then all you would have to do is make sure that a