Re: [Wicket-user] Problem with concurren ajax requests on page

2007-05-02 Thread abngal
Though I'm not sure, maybe you'll get a hint from this : JAVASCRIPT : httpRequest.open('GET', 'http://www.example.org/some.file', true); * The third parameter sets whether the request is asynchronous. If TRUE, the execution of the JavaScript function will continue while the response of

Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-02 Thread wouter
We picked a time and day: May 3rd, 8pm. Be there or be square (obligatory '80s quote). Both Ivo and I will be there. Best, Wouter - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

Re: [Wicket-user] Button using button tag instead of input

2007-05-02 Thread Johan Compagner
But does the current build not work for you? i will try to create a test and to see what a button and input type=button and all the likes excactly do. johan On 5/2/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I've created an issue in JIRA to track this issue:

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-02 Thread Johan Compagner
i applied it look if it works for you now. On 5/2/07, Gerolf Seitz [EMAIL PROTECTED] wrote: thx, jira issue with attached patch: http://wicketstuff.org/jira/browse/WSCAL-1 since it's my first contribution, i hope i didn't mess up ;) gerolf On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Recommendation for multipart upload in modal window in 1.3?

2007-05-02 Thread Johan Compagner
you don't want to do the fileupload itself through ajax don't you? Because as far as i know that doesn't work. johan On 5/2/07, jamieballing [EMAIL PROTECTED] wrote: We need to have a file upload control on a modal window that updates via ajax. I know that 1.2 had issues with this, but does

Re: [Wicket-user] Problem with concurren ajax requests on page

2007-05-02 Thread Johan Compagner
which version of wicket do you use? can you reproduce this in a quickstart example? johan On 4/30/07, RedFury [EMAIL PROTECTED] wrote: Hi all, just want to say that I've relatively new to Wicket but am loving every minute of it! In just a few weeks of learning and programming I have been

Re: [Wicket-user] Button using button tag instead of input

2007-05-02 Thread Johan Compagner
ok i tested it. html body form method=get input type=text name=text value=text input type=button name=ibutton value=ibutton input type=submit name=isubmit value=isubmit input type=reset name=ireset value=ireset button type=button name=bbutton value=bbuttonbbutton/button button type=submit

Re: [Wicket-user] I cannot add ajax behavior to an AutoCompleteTextField

2007-05-02 Thread Eelco Hillenius
I think you have to use AjaxCallDecorators. Eelco On 4/26/07, Andrés Ferrari [EMAIL PROTECTED] wrote: Hi everyone! I'm having trouble with an AutoCompleteTextField. I want to add an ajax behavior to it (specifically, for onblur) like can I do with other wicket components, but somehow it

[Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Ingram Chen
Hi all I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice that the url changed: http://example.com/mycontext/app?wicket:interface=:6:: become: http://example.com/mycontext/app/?wicket:interface=:6:: the tailing slash of app cause many css, javascript path broken !! how do i

Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Gwyn Evans
On Wednesday, May 2, 2007, 12:18:54 PM, Ingram [EMAIL PROTECTED] wrote: Hi all I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice that the url changed: http://example.com/mycontext/app?wicket:interface=:6 :: become: http://example.com/mycontext/app/?wicket:interface=:6::

Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-02 Thread Erik van Oosten
Martijn, Was a place selected as well? Or is it simply somewhere at some square at the conference? Erik. Martijn Dashorst wrote: We picked a time and day: May 3rd, 8pm. Be there or be square (obligatory '80s quote). Martijn

Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-02 Thread Martijn Dashorst
On 5/2/07, Erik van Oosten [EMAIL PROTECTED] wrote: Was a place selected as well? Or is it simply somewhere at some square at the conference? It is at the conference grounds. Possibly we'll hit town at night, but we might skip that (Upayavira may be very cranky due to sleep deprevation, and the

Re: [Wicket-user] I cannot add ajax behavior to an AutoCompleteTextField

2007-05-02 Thread Andrés Ferrari
Thanks Eelco, it was caused by a bug in Wicket 1.2.4. It works for me in Wicket 1.2.6 --Andrés Eelco Hillenius wrote: I think you have to use AjaxCallDecorators. Eelco On 4/26/07, Andrés Ferrari [EMAIL PROTECTED] wrote: Hi everyone! I'm having trouble with an AutoCompleteTextField. I

[Wicket-user] [ANN] Apache Wicket 1.3.0-incubating-beta1 has been released

2007-05-02 Thread Martijn Dashorst
The Apache Wicket team is proud to announce Wicket's first Apache Incubator release. This release is officially approved by the Incubator PMC [1]. In this announcement: - Apache Wicket - This release - Migrating from 1.2 - Downloading the release - Reporting bugs - Fixing bugs - Incubating

Re: [Wicket-user] [ANN] Apache Wicket 1.3.0-incubating-beta1 has been released

2007-05-02 Thread Scott Swank
Congratulations to everyone. Very exciting. Cheers, Scott On 5/2/07, Martijn Dashorst [EMAIL PROTECTED] wrote: The Apache Wicket team is proud to announce Wicket's first Apache Incubator release. This release is officially approved by the Incubator PMC [1]. In this announcement: -

Re: [Wicket-user] [ANN] Apache Wicket 1.3.0-incubating-beta1 has been released

2007-05-02 Thread Philip Chapman
++ I heartily agree! Congrats! Philip - Original Message From: wicket-user@lists.sourceforge.net To: wicket-user@lists.sourceforge.net wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] [ANN] Apache Wicket 1.3.0-incubating-beta1 has been released Date: 02/05/07 07:39

[Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-02 Thread John RDF
I am still having real trouble making truly reusable panels for domain objects that work consistently without quirky behaviour. I attach my code for an address panel. It contains a form as it has buttons for looking up streets from the postcode. This panel needs to be embedded with multiple

[Wicket-user] How to remove a Behaviour?

2007-05-02 Thread Ivo van Dongen
Hi, We have a component with an AjaxSelfUpdatingTimerBehavior attached to it. When a certain condition is reached we want to remove the behaviour from its parent before updating it again, to prefent it from going on forever. We couldn't find a way for this. Component has a remove() method, but

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-02 Thread Igor Vaynberg
although that is some nasty code wrt to wicket, i dont see why anything would go wrong. try and replicate it in a quickstart and someone will go through it. -igor On 5/2/07, John RDF [EMAIL PROTECTED] wrote: I am still having real trouble making truly reusable panels for domain objects that

Re: [Wicket-user] How to remove a Behaviour?

2007-05-02 Thread Igor Vaynberg
you cannot remove a behavior currently. what you can do is call stop() on the timerbehavior. -igor On 5/2/07, Ivo van Dongen [EMAIL PROTECTED] wrote: Hi, We have a component with an AjaxSelfUpdatingTimerBehavior attached to it. When a certain condition is reached we want to remove the

Re: [Wicket-user] How to remove a Behaviour?

2007-05-02 Thread Ivo van Dongen
Hi, Sorry to bother you again, but I can't find that method in the api. I've should have mentioned I'm using 1.2.6, maybe this is trunk only? Thanks, Ivo On 5/2/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you cannot remove a behavior currently. what you can do is call stop() on the

Re: [Wicket-user] Modelling HashSets in a CheckBoxMultipleChoice

2007-05-02 Thread James Perry
I am having problems with this CheckBoxMultipleChoice component. I have converted my hashset of roles into a list but it shows the roles as check boxes; rather then choice of roles needed and their roles are correctly selected. I don't know how I can achieve this?!?!? Here is my inner class:

Re: [Wicket-user] How to remove a Behaviour?

2007-05-02 Thread Igor Vaynberg
yes, it is currently only in 1.3/trunk -igor On 5/2/07, Ivo van Dongen [EMAIL PROTECTED] wrote: Hi, Sorry to bother you again, but I can't find that method in the api. I've should have mentioned I'm using 1.2.6, maybe this is trunk only? Thanks, Ivo On 5/2/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] Modelling HashSets in a CheckBoxMultipleChoice

2007-05-02 Thread James Perry
The default id for the roles are 'user' and 'admin', which I feel does not need rendered to any other values. On 5/2/07, Igor Vaynberg [EMAIL PROTECTED] wrote: is there a reason you are not using a choice renderer? -igor On 5/2/07, James Perry [EMAIL PROTECTED] wrote: I am having

Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Ingram Chen
Thank information.. but it seems no conclusion on how to solve, especially if path is specified in javascript. I finally use wicket component to generate script path by prepand contextPath manually. Another critical issue is cookie path. My application relies on browser default cookie path (I

Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Igor Vaynberg
see here for hints https://issues.apache.org/jira/browse/WICKET-290 unfortunately there isnt that much we can do. before the / was inconsistent, sometimes there, sometimes not. now it is always there. some servlet containers did not properly map to the servlet without it afir, so we had to go

Re: [Wicket-user] Modelling HashSets in a CheckBoxMultipleChoice

2007-05-02 Thread James Perry
Affirmitive, the name is the the primary key in my role table On 5/2/07, Igor Vaynberg [EMAIL PROTECTED] wrote: so role.tostring() is consistent and can be used as id? because that is what will be used to figure out what is selected and what is not. -igor On 5/2/07, James Perry [EMAIL

[Wicket-user] AbstractTree in 1.3

2007-05-02 Thread Mats Norén
Just a quick question/clarification about the current Tree in 1.3. Is it correct that the AbstractTree only uses a TreeModel to gain access to the root TreeNode? Looking at the code in AbstractTree.java line 499: // is root item created? (root item is null if the items have not

Re: [Wicket-user] Modelling HashSets in a CheckBoxMultipleChoice

2007-05-02 Thread Igor Vaynberg
well, then set a breakpoint in listmultiplechoice.isselected() and see why that returns false where you think it should return true. -igor On 5/2/07, James Perry [EMAIL PROTECTED] wrote: Affirmitive, the name is the the primary key in my role table On 5/2/07, Igor Vaynberg [EMAIL PROTECTED]

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-02 Thread Gerolf Seitz
hm, i did mess up. there's one more thing left in line 1534: if (positionArray['w']==-1) positionArray['m'] = format.indexOf('w'); the quoted 'm' should be replaced with a w. the right line is: if (positionArray['w']==-1) positionArray['w'] = format.indexOf('w'); after that change, everything

[Wicket-user] BookmarkablePageLink with multiple window support in 1.2.6

2007-05-02 Thread Ingram Chen
Hi all, another problem in 1.2.6. I use BookarmablePageLink: public ToIdineLink(String id, Shop shop) { super(id, ShopPage.class); setParameter(shop, shop.getId()); } so the url is: /context/app/foo?shop=123 if we open this link in new window, url will add pageMapName:

Re: [Wicket-user] how to get a form's field when i click on an ajax object

2007-05-02 Thread wicket0123
I have a form which extends wicket form: MyForm extends Form In the constructor, I have this line: super(formId, new CompoundPropertyModel(new SignUpFormModel())); SignUpFormModel is a Java class that contains my form fields. After the super call, i add the components: fc =

[Wicket-user] Wicket 1.2.6 Yielding ClassCastException

2007-05-02 Thread Andrew Berman
Hello, I upgraded to 1.2.6 and am getting a ClassCastException on line 161 of WebRequestCodingStrategy. When it calls request.getParameter(BEHAVIOR_ID_PARAMETER_NAME) it is expecting a String, but it is returning a String array so I get a classcastexception. As a result, I cannot use 1.2.6

Re: [Wicket-user] Wicket 1.2.6 Yielding ClassCastException

2007-05-02 Thread Andrew Berman
I am using CryptedUrlWebRequestCodingStrategy by the way On 5/2/07, Andrew Berman [EMAIL PROTECTED] wrote: Hello, I upgraded to 1.2.6 and am getting a ClassCastException on line 161 of WebRequestCodingStrategy. When it calls request.getParameter(BEHAVIOR_ID_PARAMETER_NAME) it is

Re: [Wicket-user] Wicket 1.2.6 Yielding ClassCastException

2007-05-02 Thread Andrew Berman
https://issues.apache.org/jira/browse/WICKET-524 On 5/2/07, Andrew Berman [EMAIL PROTECTED] wrote: I am using CryptedUrlWebRequestCodingStrategy by the way On 5/2/07, Andrew Berman [EMAIL PROTECTED] wrote: Hello, I upgraded to 1.2.6 and am getting a ClassCastException on line 161 of

[Wicket-user] possible to access wicket session via jsp?

2007-05-02 Thread Benjamin Ranck
This is obviously a horrible hack to take care of a short term problem, but is it possible, using WicketSessionFilter to access the wicket session within a JSP? Any ideas on what the mapping would be? Thanks, Benjamin - This

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-02 Thread RedFury
Sorry for replying to my own post, but I found another problem which seems to be related or the same thing. I'm not sure if its wicket 1.3 or my code but I'm going to try to write a simple app to demonstrate the problem then submit it here. Anyways, if I open my browser (firefox latest, fully

Re: [Wicket-user] What's the best way to optionally add markup?

2007-05-02 Thread Lowell Kirsh
Thanks Martijn. How does one go about using css to add markup to a file? Do you have an example I could look at? On 4/30/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Or you could add an attribute modifier and add a class to the components, using css to prepend the elements with a * Martijn

Re: [Wicket-user] What's the best way to optionally add markup?

2007-05-02 Thread Lowell Kirsh
Thanks Igor, As for what you've outlined in #2, I just have one question: suppose that I had some conditional code in my java which said to add the number and star iff some condition was true, otherwise just add the number. Now in the case where I'm adding the star, how do I 'attach' it to the

[Wicket-user] Sessionless Wicket?

2007-05-02 Thread Jeremy Thomerson
I know that I read somewhere that there is, or is going to be, a way to run your wicket application without creating a session (until absolutely necessary). We have a site that has mostly been converted to Wicket now, and almost all of it is state-less data The URLs are all bookmarkable

Re: [Wicket-user] What's the best way to optionally add markup?

2007-05-02 Thread Igor Vaynberg
you can have two different fragments: wicket:fragment wicket:id=num div wicket:id=number/div /wicket:fragment and wicket:fragment wicket:id=num-and-star div wicket:id=number/div * /wicket:fragment then conditionally add the proper fragment. -igor On 5/2/07, Lowell Kirsh [EMAIL PROTECTED]

Re: [Wicket-user] Sessionless Wicket?

2007-05-02 Thread Igor Vaynberg
detachable models are a must. in my experience a wicket page is only about 50kb on average. that would hardly cause an OOME on a server. 1.3 has second level session store that pages to disk, so that is something else you might want to try. once you convert to detachable models oomes should go

Re: [Wicket-user] Sessionless Wicket?

2007-05-02 Thread M.A.Bednarz
Hello Jeremy, try also to disable any versioning and use read only models. I have tuned my private wicket project this way and it now supports more than 20.000 concurrent sessions on a single tomcat server. If everything in your model is serializable you can also use tomcats disk or jdbc