[Wicket-user] Some beginner's questions

2005-04-07 Thread Ari Suutari
Hi, I'm currently doing some research in order to find a better tool than plain JSP to do user interfaces in our projects. I first thought that tapestry would be something we would use, but after that I (almost accidentally) bumped into Wicket, which seems more cleaner and simpler solution to same

Re: [Wicket-user] Some beginner's questions

2005-04-07 Thread Ari Suutari
- On a large form, which has many fields it would be nice to be able to auto-wire fields to model properties automatically. (ie. I have a text field called userName in html form and I have property called userName in my model). This would speed up development a lot. You can use

Re: [Wicket-user] Some beginner's questions

2005-04-07 Thread Ari Suutari
it for its property values. If the bean chooses to use resource bundles for its strings, fine, but that's its own business. Who the heck is going to need to change the form-name.property-name in a resource bundle? That's never going to happen. You'll set it once and never change it. Gili Ari Suutari

[Wicket-user] how to close a popup ?

2005-04-13 Thread Ari Suutari
Hi, I have a link in my application which is created like this: EditLink link = new EditLink(editLink, listItem.getModelObject()); link.setPopupSettings(new PopupSettings()); ie. it opens a new page in separate popup. It would be nice to create buttons in this popup

[Wicket-user] Mapping empty strings in TextFields to nulls in model

2005-04-26 Thread Ari Suutari
Hi, I have a form with a couple of text fields backed by a model. When form is submitted the fields which have empty value are stored into model as empty strings (which might be ok for someone). However, I'm using existing model classes, which rely on idea that empty strings is mapped to null

[Wicket-user] PageableListView and navigator

2005-05-27 Thread Ari Suutari
Hi, I'm using a PageableListView to display results of database query. There seems to be a problem with navigators 'last' link when amount of data in the vector being displayed changes. In my case, the listview's model is empty when it is created. It is filled when user pressed 'find' button.

Re: [Wicket-user] PageableListView and navigator

2005-05-27 Thread Ari Suutari
id is 1209753. Ari S. Ari Suutari wrote: Hi, I'm using a PageableListView to display results of database query. There seems to be a problem with navigators 'last' link when amount of data in the vector being displayed changes. In my case, the listview's model is empty when

Re: [Wicket-user] How to include panel contents without extra span ../span tags ?

2005-05-27 Thread Ari Suutari
the span tag but the body only. This would also work fine. Ari S. On 5/27/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, In my page I have following html snippet: span wicket:id=rows tr wicket:id=row class=dataRow_even tdspan wicket:id=codest/span/td tdspan wicket:id

Re: [Wicket-user] How to include panel contents without extra span ../span tags ?

2005-05-27 Thread Ari Suutari
class) would have method like setOpenCloseTagRendering (false) one could turn this behaviour on in associated .java code. Wouldn't it be very simple to add something like this as general feature ? Ari S. Juergen On 5/27/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, In my page I

Re: [Wicket-user] How to include panel contents without extra span ../span tags ?

2005-05-27 Thread Ari Suutari
. Ari S. Juergen On 5/27/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi again, c) may be we should introduce an attribute like span wicket:id=... wicket:removeTag=true which will lead to wicket not printing the span tag but the body only. Actually, introducing a new attribute might

Re: [Wicket-user] How to include panel contents without extra span ../span tags ?

2005-05-29 Thread Ari Suutari
Hi, Good idea to use the Flags. This way we could achieve both: a) don't have to synchronize yet another byte and b) no need to subclass for users. And because there are still a couple of bits left, we don't need to worry we'll get short in the future. Is there any possibility to get this

[Wicket-user] PageableListView and changing rowsPerPage

2005-06-02 Thread Ari Suutari
Hi, Is there a way to alter number of rows displayed per page after the listview has been created ? I was going to build a page with pageable listview and a combo box with different rowsPerPage values, which would allow user to adjust the view size. But there is no setRowsPerPage method.

[Wicket-user] Image inside Border doesn't work correctly

2005-10-03 Thread Ari Suutari
Hi, Assume following html: span wicket:id=border img wicket:id=img src=test.png/ /span Now, If the application is in package syncrontech.test except that border is syncrontech.borders.NiceBorder (I have a separate package for common thingies) wicket is unable to find test.png during

Re: [Wicket-user] Image inside Border doesn't work correctly

2005-10-03 Thread Ari Suutari
Well, Wicket defines the correct place as the same package as the component. But this is wrong: - it breaks working html - although the border is a component, the stuff inside is not part of it. Ari S. On 10/3/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, Assume following

Re: [Wicket-user] Image inside Border doesn't work correctly

2005-10-04 Thread Ari Suutari
objects to parent, since those tags are inside span tags of the border object. Ari S. Juergen On 10/4/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, It hasn't changed since the beginning. I wonder how it breaks existing code? Sorry, I didn't mean that it would break existing code, I

Re: [Wicket-user] Image inside Border doesn't work correctly

2005-10-04 Thread Ari Suutari
the current approach. But in order to solve your problem, why don't you just use the parent component (getParent()) to achieve hat you want? Juergen On 10/4/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, It hasn't changed since the beginning. I wonder how it breaks existing code? Sorry, I didn't

Re: [Wicket-user] Image inside Border doesn't work correctly (example included)

2005-10-04 Thread Ari Suutari
support. Eelco On 10/4/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: As a general rule of thumb I prefer the current approach. But in order to solve your problem, why don't you just use the parent component (getParent()) to achieve hat you want? Juergen On 10/4/05, Ari Suutari [EMAIL PROTECTED

Re: [Wicket-user] Image inside Border doesn't work correctly (example included)

2005-10-04 Thread Ari Suutari
Hi, Ok, that makes things clearer. Thanks for the example. Now I agree with you. Would you please open up a bug for it. I'll to fix it. Bug # 1312787 submitted. Ari S. On 10/4/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, Here is a very simple example, using BoxBorder from

[Wicket-user] stylesheets, autolinking and localization+styles

2005-10-07 Thread Ari Suutari
Hi, I'm having problems when trying to use session.setStyle with css files. If I put following snippet to my html: wicket:link autolink=true link href=../../../common/themes/main.css rel=stylesheet type=text/css / /wicket:link I have two css files, main.css and main_lightblue.css. With this

[Wicket-user] wicket:head and wicket:extend

2005-10-07 Thread Ari Suutari
Hi, I just tried to use wicket:head with Panels. Works very nicely when I have panel html as wicket:panel. However, when using markup inheritance (I like it very much !) and wicket:extend it looks like the wicket:head doesn't add anything to head. Would be great if this worked also. Ari

Re: [Wicket-user] wicket:head and wicket:extend

2005-10-07 Thread Ari Suutari
case) which shows the problem. Thanks Juergen On 10/7/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, I just tried to use wicket:head with Panels. Works very nicely when I have panel html as wicket:panel. However, when using markup inheritance (I like it very much !) and wicket:extend it looks

Re: [Wicket-user] stylesheets, autolinking and localization+styles

2005-10-07 Thread Ari Suutari
an RFE for it. Thanks. Juergen On 10/7/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, I'm having problems when trying to use session.setStyle with css files. If I put following snippet to my html: wicket:link autolink=true link href=../../../common/themes/main.css rel=stylesheet type=text/css

Re: [Wicket-user] wicket:head and wicket:extend

2005-10-09 Thread Ari Suutari
/wicket:extend /body /html On 10/7/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, Here is a simple example: TestPage, BasePanel and DerivedPanel. DerivedPanel tries to add stuff to head, using wicket:head. It works if I use wicket:panel in DerivedPanel instead of wicket:extend. Ari S. TestPage.java

Re: [Wicket-user] wicket:head and wicket:extend

2005-10-09 Thread Ari Suutari
this should go to page head tag! /wicket:head /head body wicket:extend derived panel stuffbr /wicket:extend /body /html On 10/7/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, Here is a simple example: TestPage, BasePanel and DerivedPanel. DerivedPanel tries to add stuff to head, using wicket:head

[Wicket-user] How to render part of page (with ajax maybe)

2005-11-25 Thread Ari Suutari
Hi, We are developing applications, which have kind of a content 'push' system, ie. data arrives from factory automation and we visualize it on-line. Our traditional approach to this has been to send the data to browser (via applet and additional tcp socket) and use javascript to render it.

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-11-25 Thread Ari Suutari
is implemented on DropDownChoice and it looks rather simple to implement such a thing (although DropDownChoice uses it for different purposes) Ari S. Juergen On 11/25/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, We are developing applications, which have kind of a content 'push' system

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-16 Thread Ari Suutari
errors in my console. Ari Suutari wrote: Hi, Project wicket-stuff contains already some AJAX components (scriptaculous and dojo based ones). Wicket core contain a AjaxHandler and we provide a yet experimental component level re-render (requestcycle.render(component). Though the latter one

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-16 Thread Ari Suutari
. I guess you found the dojo and scriptacoulous examples in wicket-stuff already? Juergen On 12/16/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, okay I'm kinda lost and I think i'm either doing somehting fundamentally wrong or missing something really stupid.. Me too. I tried

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-16 Thread Ari Suutari
). Wicket is compiled from cvs as of today about 14:00 EET. Ari S. - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, December 16, 2005 1:38 PM Subject: Re: [Wicket-user] How to render part of page (with ajax maybe) Got

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-19 Thread Ari Suutari
On 12/16/05, Ari Suutari [EMAIL PROTECTED] wrote: Hi, I did some more testing. Instead of my original case, I tried to render a component hiearchy which is at upper level in my application and it works ! Could the problem in my original case be that the component I'm trying to render is inside

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-19 Thread Ari Suutari
, only one component inside it. Somehow partial rendering code should do the same magic as panel does during it's rendering (ie. the stuff in renderAssociatedMarkup). Ari S. - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Monday

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-19 Thread Ari Suutari
it. SimplePageTest contains a test to rerender the Panel, but not a component inside a Panel, correct? Is that the test you added? Juergen On 12/19/05, Ari Suutari [EMAIL PROTECTED] wrote: Ok, I have now reproduced the problem with simple page. If I have a page, which has a panel (with it's own

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-19 Thread Ari Suutari
trimmed down version of the actual application.. Ari S. Juergen On 12/19/05, Ari Suutari [EMAIL PROTECTED] wrote: Ok, I have now reproduced the problem with simple page. If I have a page, which has a panel (with it's own html template) which contains some tags it is not possible

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-20 Thread Ari Suutari
, it is more like a very much trimmed down version of the actual application.. Ari S. Juergen On 12/19/05, Ari Suutari [EMAIL PROTECTED] wrote: Ok, I have now reproduced the problem with simple page. If I have a page, which has a panel (with it's own html template) which contains some

[Wicket-user] Ajax and partial rendering: one problem more

2006-01-03 Thread Ari Suutari
Hi, After trying to implement more partial rendering stuff with ajax I ran into another problem, which seems very much like previous problems with ajax partial rendering of panel components. Previously the problem was that components inside panel couldn't be re-rendered with ajax. A very

[Wicket-user] NullPointerException when accessing resources in last wicket snapshot

2006-01-31 Thread Ari Suutari
Hi, I updated to lastest wicket-snapshot (wicket-1.2-20060127-0105) and have been wondering why some things which add javascript to head no longer work. For example, datepicker accesses calendar.js like:

Re: [Wicket-user] NullPointerException when accessing resources in last wicket snapshot

2006-01-31 Thread Ari Suutari
It appears that offending change is this one: http://cvs.sourceforge.net/viewcvs.py/wicket/wicket/src/java/wicket/protocol/http/WicketServlet.java?r1=1.66r2=1.67 Ari S. - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Tuesday

Re: [Wicket-user] NullPointerException when accessing resources in last wicket snapshot

2006-01-31 Thread Ari Suutari
Subject: Re: [Wicket-user] NullPointerException when accessing resources in last wicket snapshot this shouldnt cause problems, however i currently do not have time to look into why it was doing so. i disabled this in HEAD and left a todo for later. -Igor On 1/31/06, Ari Suutari [EMAIL

Re: [Wicket-user] NullPointerException when accessing resources in last wicket snapshot

2006-01-31 Thread Ari Suutari
) { Resource.parameters.set(null); } else { Resource.parameters.set(new ValueMap(parameters)); } } -Igor On 1/31/06, Ari Suutari [EMAIL PROTECTED] wrote: The problem is that calling Resource.setParameters with null results in an attempt to construct

Re: [Wicket-user] NullPointerException when accessing resources in last wicket snapshot

2006-01-31 Thread Ari Suutari
accessing resources in last wicket snapshot ahh ok i will uncomment the line in the servlet then :) -Igor On 1/31/06, Ari Suutari [EMAIL PROTECTED] wrote: This change is *not* present in snapshot. It has been added next day after snapshot was created. Obviously this fixes the problem, I'll take

Re: [Wicket-user] VOTE

2006-02-16 Thread Ari Suutari
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) Ari S. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine

Re: [Wicket-user] Including a Wicket page in HTML-formatted email

2006-02-23 Thread Ari Suutari
Hi, Maybe you could use same classes that test cases do (they render pages to file and check that output is correct) I haven't tried them (yet), but there are several Mock* classes in wicket.protocol.http package. Ari S. - Original Message - From: Nick Heudecker [EMAIL PROTECTED]

[Wicket-user] Form.getValidatorKeyPrefix results in prefix being added twice to resource key

2006-03-06 Thread Ari Suutari
Hi, I just updated my wicket sources from cvs and found out that IValidatorResourceKeyFactory has been replaced by Form.getValidatorKeyPrefix. Ok, I changed my form so that is has: public String getValidatorKeyPrefix() { return msg.; } This results in message like this: [Warning: String

[Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-06 Thread Ari Suutari
Hi, What might be the simplest way to change behaviour of whole wicket application so that TextField have their input trimmed of blanks at end ? I tried to do this via converters (I have my own converter factory), but it didn't work because Converter.convert doesn't do anything if String is

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-07 Thread Ari Suutari
for you on setObject() -Igor On 3/6/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, What might be the simplest way to change behaviour of whole wicket application so that TextField have their input trimmed of blanks at end ? I tried to do this via converters (I have my own converter factory

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-07 Thread Ari Suutari
(and maybe at beginning) a trim flag on what? Form component? I don't like that what does it do for non text fields? trimming should belong in a model. For example a ModelWrapper where you put youre real models in. johan On 3/7/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, setTrimValue flag would

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-07 Thread Ari Suutari
3:44 PM Subject: Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning) You also could use a Converter for this i guess. johan On 3/7/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, But simple validation is already on wicket level. Of course we could argue

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-07 Thread Ari Suutari
PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Tuesday, March 07, 2006 3:44 PM Subject: Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning) You also could use a Converter for this i guess. johan On 3/7/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-07 Thread Ari Suutari
for this i guess. johan On 3/7/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, But simple validation is already on wicket level. Of course we could argue on this, but I really think that right place for simple input cleanup is the user interface

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-09 Thread Ari Suutari
, Eelco Hillenius [EMAIL PROTECTED] wrote: I agree with Ari and I am not against removing that check. Eelco On 3/8/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, getInput would be fine if we were just starting development. But we have a big application going to production soon and I'm seeking

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-09 Thread Ari Suutari
[EMAIL PROTECTED] wrote: I agree with Ari and I am not against removing that check. Eelco On 3/8/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, getInput would be fine if we were just starting development. But we have a big application going to production soon and I'm seeking some

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-09 Thread Ari Suutari
() ? -Igor On 3/7/06, Ari Suutari [EMAIL PROTECTED] wrote: Could someone also take a look at Converter so it could be used ? I mean this line in Converter.java: // Catch all cases where value is already the right type if (c.isAssignableFrom(value.getClass())) { return

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-09 Thread Ari Suutari
adjustement, and use that as the application wide converter. I think everyone is happy then, and I don't think it is a class that'll change often if ever. Eelco On 3/9/06, Ari Suutari [EMAIL PROTECTED] wrote: Whats the risk here ? The default StringConverter in wicket does nothing when invoked for String

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-09 Thread Ari Suutari
blanks at end (and maybe at beginning) Another thing you can do is copy 'n paste Converter, make your adjustement, and use that as the application wide converter. I think everyone is happy then, and I don't think it is a class that'll change often if ever. Eelco On 3/9/06, Ari Suutari [EMAIL

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-09 Thread Ari Suutari
{ return delegate.convert(value,clss); } } } On 3/9/06, Ari Suutari [EMAIL PROTECTED] wrote: Could you make Converter not final, so I could subclass it and override convert ? Ari S. - Original Message - From: Eelco Hillenius [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-10 Thread Ari Suutari
To sum up discussion, I understood that trimming is going to be default behaviour on text fields (soon) ? Correct ? Ari S. - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Monday, March 06, 2006 3:25 PM Subject: [Wicket-user

[Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-04 Thread Ari Suutari
Hi, We just updates from 1.2 beta2 to beta3 and noticted that some our components using wicket:head stuff to add things to page's head no longer work. Closer examination shows that those components are also using wicket:extend tags. Things work if we put an empty wicket:extend/wicket:extend to

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Ari Suutari
. If that is not the case in your example, please send me a stripped down version of the page and panels etc preferably as junit test case like in src/test Juergen On 4/4/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, We just updates from 1.2 beta2 to beta3 and noticted that some our components using wicket:head stuff

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Ari Suutari
: Wednesday, April 05, 2006 9:41 AM Subject: Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend Thanks. I'll check it out. Juergen On 4/5/06, Ari Suutari [EMAIL PROTECTED] wrote: There is a simple example in http://download.syncrontech.com/public

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Ari Suutari
with the example applications I provided :) Ari S. Juergen On 4/5/06, Ari Suutari [EMAIL PROTECTED] wrote: There seems to be also problems if wicket:child/ is used in page's html directly ie. in beta2 I was able to use markup inheritance on page level, but not in beta3. Ari S

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-10 Thread Ari Suutari
We had to go back to beta2 because of this. It just hits us in too many places :-( Ari S. - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Wednesday, April 05, 2006 12:55 PM Subject: Re: [Wicket-user] update from beta2 to beta3

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-10 Thread Ari Suutari
available I decided to use them instead (because I thought it would be easier to communicate about possible problems if we are working on a known state/version of wicket). Ari S. On 4/10/06, Ari Suutari [EMAIL PROTECTED] wrote: We had to go back to beta2 because of this. It just

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-12 Thread Ari Suutari
of XmlHttpRequest(s) could work... Are you planning on adding this ? Ari S. Ari Suutari wrote: Hi, There is a browser-side memory leak in wicket ajax stuff when used with internet explorer. We discovered it when changing our application from wichet+dojo to wicket+wicket-ajax. Memory leak occurs

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-12 Thread Ari Suutari
need several requests at the same time. So maybe pooling of XmlHttpRequest(s) could work... Btw, does dojo use pooling (since there was no leak with it) ? Maybe it would make sense to check how they are getting around this. Ari S. -Matej Ari Suutari wrote: Hi

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-13 Thread Ari Suutari
PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ari Suutari wrote: need several requests at the same time. So maybe pooling of XmlHttpRequest(s) could

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-13 Thread Ari Suutari
, mostly because dojo handles a lot of other things (back button support, etc.) -Matej -Matej Ari Suutari wrote: Hi

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-17 Thread Ari Suutari
) running over easter. When I came back to office today, the page was still updating itself but internet explorer was a log bigger (like 10x). But things are a *lot* better now - before a test like this would have crashed the browser. Ari S. -Matej Ari Suutari wrote: I found

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-18 Thread Ari Suutari
, sorry, I have confused your example with another one. Just increasing one number really should't leak that much... -Matej Ari Suutari wrote: Hi, That depends.. If it's the example you sent here, the problem might be that the listview always grows. and at the end, you replace like thousands

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-18 Thread Ari Suutari
Hi, From: Igor Vaynberg [EMAIL PROTECTED] well, at some point the server calls will start returning right? and so xmlhttprequest objects will start being reused. it will consume memory to a certain point and then stop. if you ask me 100ms for an ajax update is unreasonable anyways, Well,

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-20 Thread Ari Suutari
Hi, From: Igor Vaynberg [EMAIL PROTECTED] even after i turned off drag and drop for the ajax console and drip showed no memory leaks the memory still leaked. /but/ if you navigate to a different page the memory is released. so i am inclined to believe this is not a memory leak but how explorer

[Wicket-user] Question about localizing strings with .properties files

2006-04-24 Thread Ari Suutari
Hi, If I have following property files for my application: 1) Application_myskin_fi.properties message1=A 2) Application_myskin.properties message2= 3) Application.properties message3=CCC If I have three messages above, must I put values for these keys for each property

Re: [Wicket-user] Question about localizing strings with .properties files

2006-04-25 Thread Ari Suutari
Hi, What i (and presumably Ari) wanted tried to achieve, is to have some style-specific bundle wich only contains some keys with style-specific values and thus not having to maintain a bunch of property files if we add another key, eventhough it's value would be the same across all styles. But

[Wicket-user] wicket hangs in Session.getPage (causes tomcat to run out of threads !)

2006-04-25 Thread Ari Suutari
Hi, We have been preparing one part of our wicket application to production use. In testing there have been multple cases where whole application stops working and I think that we have now isolated to reason for this. One of my collegues noticed that there is a message on tomcat's log file:

Re: [Wicket-user] wicket hangs in Session.getPage (causes tomcat to run out of threads !)

2006-04-26 Thread Ari Suutari
!) should already be fixed in trunk. -Igor On 4/25/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, We have been preparing one part of our wicket application to production use. In testing there have been multple cases where whole application stops working and I think that we have now isolated

Re: [Wicket-user] Question about localizing strings with .properties files

2006-04-26 Thread Ari Suutari
in msgs_fi.properties. Ari S. Juergen On 4/26/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, What i (and presumably Ari) wanted tried to achieve, is to have some style-specific bundle wich only contains some keys with style-specific values and thus not having to maintain a bunch

[Wicket-user] wicket 1.2 rc3: SubmitLink.getForm endless loop causes StackOverflowError

2006-05-03 Thread Ari Suutari
Hi, After updating from wicket 1.2 rc2 to wicket 1.2 rc3, we started getting StackOverflowErrors like this: java.lang.StackOverflowError wicket.markup.html.form.SubmitLink.getForm(SubmitLink.java:172) wicket.markup.html.form.SubmitLink.getForm(SubmitLink.java:172)

Re: [Wicket-user] wicket 1.2 rc3: SubmitLink.getForm endless loop causes StackOverflowError

2006-05-03 Thread Ari Suutari
Looks like your problem is right here: /** * @return the Form for which this submit link submits */ public final Form getForm() { if (form == null) { form = getForm(); } return form; } ie. getForm calls getForm recursively :-( Ari S. - Original Message - From: Ari Suutari

Re: [Wicket-user] wicket 1.2 rc3: SubmitLink.getForm endless loop causes StackOverflowError

2006-05-03 Thread Ari Suutari
, 2006 10:58 AM Subject: Re: [Wicket-user] wicket 1.2 rc3: SubmitLink.getForm endless loop causes StackOverflowError already fixed On 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote: Looks like your problem is right here: /** * @return the Form for which this submit link submits */ public final

Re: [Wicket-user] DatePickerSettings.setIfFormat no longer works

2006-05-03 Thread Ari Suutari
specify the java format stirng you want to have. You shouldn't set the javascript format to something else (that is not the same as the java format string) or do you have a case where you have the datepicker but the value never get send back to the server?? (which seems odd) johan On 5/3/06, Ari

Re: [Wicket-user] DatePickerSettings.setIfFormat no longer works

2006-05-03 Thread Ari Suutari
can't use the target.getConverter() because that just returns a IConverter.. You can instead: IConverter ic = getConverter(); Converter c; DateConverter dc; c = (Converter)ic; dc = (DateConverter)c.get(Date.class); Not pretty, but I think it would work. Ari S. On 5/3/06, Ari Suutari

Re: [Wicket-user] DatePickerSettings.setIfFormat no longer works

2006-05-03 Thread Ari Suutari
Hi, i had that before but then we assume a lot of stuff (at least 2 instanceof checks) but changed it back to this: Thanks ! with a big TODO in it that this should be fixed/improved in 2.0 Indeed :-) Ari S. On 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, see

[Wicket-user] Problems with AjaxSelfUpdatingTimerBehavior and buttons on same page

2006-05-11 Thread Ari Suutari
Hi, We are experiencing odd behaviour when a page has - a region, which is constantly updated by AjaxSelfUpdatingTimerBehavior (say each 3 seconds) - form with buttons When the page is initially loaded, timer starts updating values as expected. When a button on form is pressed, page is

[Wicket-user] pagemap problem with late arriving ajax request

2006-05-22 Thread Ari Suutari
Hi, I'm having a problem with wicket's ajax stuff where an ajax request fired by previous page hits the web server after user has clicked a link which has already transferred him to next page. This might be a problem in my application, but I'm seeking for ideas to solve this. From web

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-22 Thread Ari Suutari
] To: wicket-user@lists.sourceforge.net Sent: Monday, May 22, 2006 11:44 AM Subject: Re: [Wicket-user] pagemap problem with late arriving ajax request I guess this is because in 1.2 pagemap behaves like stack. Johan? -Matej Ari Suutari wrote: Hi, I'm having a problem with wicket's ajax stuff

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-22 Thread Ari Suutari
click for a new page. johan On 5/22/06, Ari Suutari [EMAIL PROTECTED] wrote: I cannot figure out any workaround myself. UnversionedBehaviorListener seems to use -1 as page version number, would it make any sense to try to alter PageMap so that if version is -1 the page stack is not cleared

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-22 Thread Ari Suutari
/22/06, Ari Suutari [EMAIL PROTECTED] wrote: I cannot figure out any workaround myself. UnversionedBehaviorListener seems to use -1 as page version number, would it make any sense to try to alter PageMap so that if version is -1 the page stack is not cleared ? Ari S. - Original Message

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-23 Thread Ari Suutari
@lists.sourceforge.net Sent: Monday, May 22, 2006 6:21 PM Subject: Re: [Wicket-user] pagemap problem with late arriving ajax request problem is, not every ajax behavior uses version -1. i guess we need to have the ability to tag a request as process-only-if-page-is-active -Igor On 5/22/06, Ari Suutari

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-23 Thread Ari Suutari
quite ok - it seems that YMMV). Ari S. On 5/23/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, It is very important for us to get this fixed, preferably for 1.2. If any wicket committer is willing to help us, we will pay for the work (please contact me directly by e-mail for this). Ari

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-23 Thread Ari Suutari
branch. I am currently a bit full of work for at least 2 days. So i can only look at it by the end of this week. johan On 5/23/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, best thing todo currently is to have that -1 check in the pagemap and make your own version of wicket 1.2 We already

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-24 Thread Ari Suutari
got up extra early to take care of this, so by the end of the day -igor On 5/23/06, Ari Suutari [EMAIL PROTECTED] wrote: This is so great ! TIA, Ari S. - Original Message - From: Johan Compagner [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent

Re: [Wicket-user] pagemap problem with late arriving ajax request

2006-05-26 Thread Ari Suutari
On 5/24/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, Sorry it took some time to respond - I sat down and wrote a somewhat simple test program that I can redistribute if required. ok here is my first pass. i cannot reproduce the problem, so i am kinda flying blind here - all i know for sure