Re: AutocompleteTextField behaviours

2010-05-24 Thread Katherine
As I've wrote there is no AjaxRequestTarget in getChoices that means AjaxRequestTarget.get() returns null there. * Gerolf Seitz gerolf.se...@gmail.com [Sun, 23 May 2010 20:50:58 +0200]: AjaxRequestTarget.get() returns the current AjaxRequestTarget, if there is one, otherwise it returns

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Michał Letyński
Hi. W dniu 2010-05-24 03:59, Jeremy Thomerson pisze: ** Improvement * [WICKET-2790] - wicketTester.executeAjaxEvent method does not check if form is multiPart Is this improvment a part of 1.4.9 ? Since on jira page this improvment is postponed to 1.4.10.

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Jeremy Thomerson
2010/5/24 Michał Letyński mletyn...@consol.pl Hi. W dniu 2010-05-24 03:59, Jeremy Thomerson pisze: ** Improvement * [WICKET-2790] - wicketTester.executeAjaxEvent method does not check if form is multiPart Is this improvment a part of 1.4.9 ? Since on jira page this improvment is

Re: WICKET-2882 Enclosures issue

2010-05-24 Thread Jeremy Thomerson
Fixed in 1.4.x. Can you try a snapshot build and verify? -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 23, 2010 at 10:03 PM, Chris Colman chr...@stepaheadsoftware.com wrote: Ditto bro! I'm very keen to migrate from 1.4.1 up to the latest 1.9.x. WHOA! You

websession data access

2010-05-24 Thread gmx
Hi, I'm confused about how I should access objects stored in a WebSession, namely when to use `synchronized`, as: - the documentation says the session is not thread safe - the session example class WiaSession in Wicket In Action guards its User object by `synchronized` (just because of the

RE: WICKET-2882 Enclosures issue

2010-05-24 Thread Chris Colman
Fixed in 1.4.x. Cool! Thanks for such a quick turn around on that one. Can you try a snapshot build and verify? Yes. By snapshot do you mean there is a prebuilt snapshot ready to download somewhere or will I need to create my own snapshot from svn and build it? -- Jeremy Thomerson

Re: websession data access

2010-05-24 Thread Jeremy Thomerson
On Mon, May 24, 2010 at 2:18 AM, gmx qwi...@gmx.com wrote: Hi, I'm confused about how I should access objects stored in a WebSession, namely when to use `synchronized`, as: - the documentation says the session is not thread safe - the session example class WiaSession in Wicket In Action

Re: WICKET-2882 Enclosures issue

2010-05-24 Thread Jeremy Thomerson
On Mon, May 24, 2010 at 2:23 AM, Chris Colman chr...@stepaheadsoftware.comwrote: Fixed in 1.4.x. Cool! Thanks for such a quick turn around on that one. Can you try a snapshot build and verify? Yes. By snapshot do you mean there is a prebuilt snapshot ready to download somewhere or will I

Re: AutocompleteTextField behaviours

2010-05-24 Thread vineet semwal
one way is to make sure that not more than n numbers of rows are returned from your dao itself where n is the maximum number of choices you want to process in getchoices() but it may be not what you want. 2010/5/24 Katherine kati...@rambler.ru As I've wrote there is no AjaxRequestTarget in

Re: AutocompleteTextField behaviours

2010-05-24 Thread Katherine
There is no problem in how many items returned, the problem I need to notify user, that there are N items in general. So I just need a possibility to update Label by ajax after getChoices got number of items. * vineet semwal vineetsemwal1...@gmail.com [Mon, 24 May 2010 13:19:47 +0530]: one

Re: AutocompleteTextField behaviours

2010-05-24 Thread vineet semwal
you can add your own autocompletebehavior in autocompletetextfield,there you can do the label update in onrequest if the size is greater than what you want,you will also have to write a dao method that returns the count of items returned so that you can check with the size you want. 2010/5/24

Re: Loading and/or accessing file resources trouble

2010-05-24 Thread Ioannis Mavroukakis
Well the advice to use PackageResource for example http://apache-wicket.1842946.n4.nabble.com/How-to-read-the-properties-file-in-wicket-td1855403.html I was expecting some nice clean way in wicket to provide access to a file deployed alongside the rest of the classes, my bad. Y. On 23 May

Panel isn't displayed

2010-05-24 Thread Rubén khanser
Hi, I run on wicket 1.3.5 and I'm having a strange issue. When I request a specific panel nothing comes to display however I get on the DEBUG messages that the panel ended the request for page and there aren't any errors being throwed in my app. The last page where I clicked is still on screen

Re: AutocompleteTextField behaviours

2010-05-24 Thread Katherine
Thanks for idea, but unfortunately onrequest is a final method. I tried to add my Label to the target used in respond method, but nothing happens in this case :(. * vineet semwal vineetsemwal1...@gmail.com [Mon, 24 May 2010 14:28:46 +0530]: you can add your own autocompletebehavior in

Fwd: Panel isn't displayed

2010-05-24 Thread Rubén khanser
SOLVED! It was a problem with wicket:head and unresolved .js URI -- Mensaje reenviado -- De: Rubén khanser khan...@gmail.com Fecha: 24 de mayo de 2010 12:37 Asunto: Panel isn't displayed Para: users@wicket.apache.org Hi, I run on wicket 1.3.5 and I'm having a strange issue.

Re: AutocompleteTextField behaviours

2010-05-24 Thread vineet semwal
sorry i realized the previous idea is bad because to even read the formcomponent input you will require either formcomponentupdatingbehavior or a ajax submitting behavior to fire . you just wanted to update label when key is pressed so just add ajaxformcomponentupdatingbehavior with onkeyup event

Wicket Dynamic Navigation

2010-05-24 Thread Vishal Popat
Hi, I am looking to build a 1-2 level left navigation where the first level is a list of categories and the 2nd is a list of optional sub categories. I have tried various ways of designing this in wicket such as a DataView for level 1 and another DataView for level 2 which is inside a

Re: AutocompleteTextField behaviours

2010-05-24 Thread vineet semwal
a typo in previous post , formcomponentupdatingbehavior or a *formsubmitting* behavior to fire . 2010/5/24 vineet semwal vineetsemwal1...@gmail.com sorry i realized the previous idea is bad because to even read the formcomponent input you will require either formcomponentupdatingbehavior or

RE: WICKET-2882 Enclosures issue

2010-05-24 Thread Chris Colman
Fixed in 1.4.x. Can you try a snapshot build and verify? I built a snapshot and tested it. It works beautifully! Thanks for fixing this one. Regards, Chris -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 23, 2010 at 10:03 PM, Chris Colman chr...@stepaheadsoftware.com wrote:

Push Ajax, Streaming Ajax.

2010-05-24 Thread victordenisov
I want to create streaming or push ajax. How can I do this with Wicket? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Push-Ajax-Streaming-Ajax-tp2228563p2228563.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Push Ajax, Streaming Ajax.

2010-05-24 Thread Rodolfo Hansen
Have you looked into wicketstuff-push? I'm looking for help in including HTML5 support... patches welcome. :) On Mon, 2010-05-24 at 06:28 -0700, victordenisov wrote: I want to create streaming or push ajax. How can I do this with Wicket?

Re: AutocompleteTextField behaviours

2010-05-24 Thread Katherine
I tried onkeyup event at the beginning, but there is also not everything fine :( there is a delay for 1 character, my searchfield ModelObject is filled by this character only when the next is pressed. I think AutocompletTextField also uses this event to fill in the object and call its

Re: Push Ajax, Streaming Ajax.

2010-05-24 Thread victordenisov
Thanks, I'll check it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Push-Ajax-Streaming-Ajax-tp2228563p2228652.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: AutocompleteTextField behaviours

2010-05-24 Thread Katherine
I'm sorry Vineet, I've read your previous message unattentively and used AjaxEventBehavior(onkeyup). ajaxformcomponentupdatingbehavior(onkeyup) and ajaxformcomponentupdatingbehavior(onchange) work perfect! Huge thanks for you help * Katherine kati...@rambler.ru [Mon, 24 May

Re: Wicket Dynamic Navigation

2010-05-24 Thread vp143
I forgot to mention that I require the HTML markup to be like the following: ul liCategory 1/li liCategory 2/li li ul li # Category 2 - Sub category 1 /li li # Category 2 - Sub category 2 /li /ul /li /ul -- View this message in context:

Clear URL parameters

2010-05-24 Thread andres.santana
A non-wicket application redirects to my wicket application with an URL full of parameters: for example http://mypc/myapp/auth?param1=value1param2=value. I receive this request in an intermediate page, and then I want to redirect to another page using setResponsePage(), but the URL keeps all

Re: Clear URL parameters

2010-05-24 Thread Mauro Ciancio
Have you tried setRedirect(true)? Cheers. On Mon, May 24, 2010 at 12:13 PM, andres.santana andres.sant...@gmail.com wrote: A non-wicket application redirects to my wicket application with an URL full of parameters: for example http://mypc/myapp/auth?param1=value1param2=value. I receive this

RE: Wicket Dynamic Navigation

2010-05-24 Thread Kai Mutz
I have read a solution for this in a german wicket book called Praxisbuch Wicket which you can use as a starting point. But I do not know how good your German is. http://www.hanser.de/buch.asp?isbn=978-3-446-41909-4 vp143 mailto:vishal.po...@cipriati.co.uk wrote: I forgot to mention that I

AjaxRequestTarget + add component

2010-05-24 Thread Ivoneta
Hi. I have two panels inside a webPage. In the first Panel I have a form with a ajax button. When I submitted de form the two panels should be replace and target. In the code I replace the firstPanel, them I add to te target this: target.addComponent(panel); I do the same for the second

RE: Wicket Dynamic Navigation

2010-05-24 Thread vp143
Unfortunately my knowledge of German is non-existent. Thanks for your reply though. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Dynamic-Navigation-tp2228587p2228741.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: AjaxRequestTarget + add component

2010-05-24 Thread Jeremy Thomerson
On Mon, May 24, 2010 at 10:33 AM, Ivoneta ietaraz...@gmail.com wrote: Hi. I have two panels inside a webPage. In the first Panel I have a form with a ajax button. When I submitted de form the two panels should be replace and target. In the code I replace the firstPanel, them I add to te

[announce] wicketstuff-core 1.4.7 released

2010-05-24 Thread Michael O'Cleirigh
Hello, Based on the positive reception for a 1.4.7 wicketstuff-core release, 4 positive votes (3 + mine) and no negative, I promoted the staged release into the sonatype repository and filed the ticket for central sync up. The sync up has now occurred and the 1.4.7 artifacts are available

Re: Clear URL parameters

2010-05-24 Thread andres.santana
Does redirect affects a Custom Session? I mean using setRedirect(true) works but something I set in the WebSession is lost. - -- arsh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-URL-parameters-tp2228705p2228758.html Sent from the Wicket - User mailing

RE: [announce] wicketstuff-core 1.4.7 released

2010-05-24 Thread Stefan Lindner
Great, Michael! Thank you! Stefan Von: Michael O'Cleirigh [mailto:michael.ocleir...@rivulet.ca] Gesendet: Mo 24.05.2010 17:48 An: users@wicket.apache.org Betreff: [announce] wicketstuff-core 1.4.7 released Hello, Based on the positive reception for a 1.4.7

JS and CSS issues with Panel or WebMarkupContainer

2010-05-24 Thread taygolf
Hey guys, I have a webpage that contains several panels. Some of these panels have WebMarkupContainers that allow the user to add stuff to a listview and be refreshed without refreshing the page. My problem is applying JS and CSS to the data in the WebMarkupContainer. I am trying to use

load file from web-inf

2010-05-24 Thread fachhoch
Mine is wicket application ,In one of my page I am trying to load a file which is in my web-inf folder. here the code InputStream inputStream=WebApplication.get().getServletContext().getResourceAsStream(/WEB-INF/downlods/HelpManual.pdf); the

Re: Clear URL parameters

2010-05-24 Thread andres.santana
How setRedirect(true) affects WebSession? - -- arsh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-URL-parameters-tp2228705p2229073.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: load file from web-inf

2010-05-24 Thread fachhoch
am I doing right it to load a file from web-inf folder ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/load-file-from-web-inf-tp2229067p2229079.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Alex Objelean
Hi Jeremy! Thanks for the effort put in this release. Though there is a lot of discussion around WICKET-2846, instead of deciding to revert it in the next release, I would rather suggest to take the chance for those who voted for reverting it to prove that it is indeed the issue. I am still

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Jeremy Thomerson
On Mon, May 24, 2010 at 3:24 PM, Alex Objelean alex.objel...@gmail.comwrote: Hi Jeremy! Thanks for the effort put in this release. Though there is a lot of discussion around WICKET-2846, instead of deciding to revert it in the next release, I would rather suggest to take the chance for those

Spring security + remember me question

2010-05-24 Thread Altuğ Bilgin Altıntaş
Hi all; I am using wicket + spring 3.0 + spring security 3.0 Problem is : Spring security authenticate the user via cookie (remember-me service) but AuthenticatedWebSession couldn't understand this and populate login panel. How can i solve it ? Thanks Regards. Altug.

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Alex Objelean
When comparing a small feature (but still feature) proven by an use case (limited but still an use case) and a NON problem proven only with theoretical presumption (with also very limited use case), would you still choose reverting it? Same question for all who voted against it... Alex -- View

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Martijn Dashorst
I find the argument: a thread started outside the control of the programmer by the JRE or a library to do some processing (e.g. rendering an image), which inherits Wicket's thread local, causing a leak of our thread locals rather convincing. The result would be redeploy problems, ultimately

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Alex Objelean
I don't want to insist to much, I'm not absurd, but we are technical people. Don't you think that any theorem should be proven? The least we can achieve is to learn a new thing about how ITL are related to memory leaks. I know it isn't easy to prove, but aren't there enough tools to help us? Is

Re: [announce] Release Wicket 1.4.9

2010-05-24 Thread Jeremy Thomerson
On Mon, May 24, 2010 at 4:20 PM, Alex Objelean alex.objel...@gmail.comwrote: I don't want to insist to much, I'm not absurd, but we are technical people. Don't you think that any theorem should be proven? The least we can achieve is to learn a new thing about how ITL are related to memory

Hibernate session (from Spring bean) during wicketapplication startup

2010-05-24 Thread pieter claassen
I try to bootstrap my MySQL database during the wicket application strartup but get the following error with a bootstrap method in my wicketapplication.java. How should I best get hold of a transaction during my wicket startup or if this is not possible, what is the most appropriate alternative?

Re: Hibernate session (from Spring bean) during wicketapplication startup

2010-05-24 Thread Igor Vaynberg
pull the platformtransactionmanager out and start a transaction manually, or use @transactional annotation on some bean managed by spring. -igor On Mon, May 24, 2010 at 10:53 PM, pieter claassen pie...@claassen.co.uk wrote: I try to bootstrap my MySQL database during the wicket application