Re: Nested Forms and Multipart Fileupload Issue

2010-03-12 Thread Michał Letyński
Did you add a jira issue James ? If not i can do it. Its a showstopper for me. Ilja Pavkovic pisze: Hi, Hmmm...I thought the Wicket Team already implemented something similar to this into the framework some time ago. Perhaps you should provide a quickstart and perhaps put it in a

Re: Interaction behavior / site

2010-03-12 Thread Thomas Kappler
On 03/11/10 22:36, Thorsten wrote: On Thu, 11 Mar 2010, Michael O'Cleirigh wrote: Hi Michael, The content of the tooltip should be a panel. The panel's model can contain the ListInteger of the increases you want offered and then it can use a repeater or ListView to render each option. If

Re: Application#get in WicketSessionFilter

2010-03-12 Thread Jonas
I create a JIRA issue for this: https://issues.apache.org/jira/browse/WICKET-2778 cheers, Jonas On Thu, Mar 11, 2010 at 1:10 PM, Jonas barney...@gmail.com wrote: Hi all, we're using WicketSessionFilter in our product to access our custom WebSession, which works fine. Now we've tried to also

onkeyup ajax call with the key pressed

2010-03-12 Thread Istvan Soos
Hi, Is there a way to combine onkeyup event (on a div panel, not on form component) into an ajax call, that will contain the character of the key pressed? Thanks,   Istvan - To unsubscribe, e-mail:

ClassLoader (Serialization?) error

2010-03-12 Thread Xavier López
Hi, From time to time I see the following error in my deployed application's log. The application is running clustered on Weblogic 9.2 MP3. It seems to be messing up with the classloading of class mypackage.MyClass (this error comes up in many different classes). I can guess from the stack trace

Re: Nested Forms and Multipart Fileupload Issue

2010-03-12 Thread Michał Letyński
Jirra issue with quickstart added: https://issues.apache.org/jira/browse/WICKET-2779 Michał Letyński pisze: Did you add a jira issue James ? If not i can do it. Its a showstopper for me. Ilja Pavkovic pisze: Hi, Hmmm...I thought the Wicket Team already implemented something similar to

Re: onkeyup ajax call with the key pressed

2010-03-12 Thread Pedro Santos
Yes, for example you can add an ajax behaviour to you page, and using his callback url mount an script like wicketAjaxGet(callbackUrl + 'key=' + event.keyCode); on your div onkeyup event. On Fri, Mar 12, 2010 at 6:55 AM, Istvan Soos istvan.s...@gmail.com wrote: Hi, Is there a way to

why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
Hello, everyone! I get the exception: java.lang.NullPointerException at com.company.project.event.SMSEvent.hashCode(SMSEvent.java:334) at java.util.HashMap.putForCreate(HashMap.java:413) at java.util.HashMap.readObject(HashMap.java:1031) at

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
I guess you have a HashMap field in your component, which has an entry with an SMSEvent object as key. You probably shouldn't hold on to references to spring loaded objects. Instead, you should just have an accessor object, which knows how to reload that spring loaded object, e.g.

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
Hi, Jonas! I only have some ListView-s with ListSMSEvent passed as an argument. You mean to replace the List with LoadableDetachableModel, that returns the List? Regards, -Original Message- From: Jonas [mailto:barney...@gmail.com] Sent: Friday, March 12, 2010 3:18 PM To:

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
Yes, exactly. But the stacktrace you posted is about a HashMap that is directly referenced from one of your components - you should also use e.g. LoadableDetachableModel there, I guess. On Fri, Mar 12, 2010 at 2:25 PM, Martin Asenov mase...@velti.com wrote: Hi, Jonas! I only have some

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
I don't have any HashMap-s that use SMSEvent object as a key. Only List-s Regards, Martin -Original Message- From: Jonas [mailto:barney...@gmail.com] Sent: Friday, March 12, 2010 3:29 PM To: users@wicket.apache.org Subject: Re: why is hashcode() called on page deserialization? Yes,

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
Well, the stacktrace you posted is about a HashMap, so it must be around somewhere...? I guess you didn't post the full stacktrace, so it may be deeply hidden in something you reference from a wicket Component. Maybe you'll find it by examining the full stacktrace, or using a debugger. cheers,

Re: FormTester - submitting more than once

2010-03-12 Thread Kent Tong
Tony Wu-5 wrote: However, I can't do this unit test in Wicket because a FormTester can only submit once. I can't resetup the FormTester data because the 2nd submit button (checkout) requires a state that the 1st submit button sets. Yes, you can make it work if you use

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
Well, Jonas, here's the stacktrace: P.S. LoadableDetachableModel didn't help Regards and thanks, Martin java.lang.NullPointerException at com.company.project.event.SMSEvent.hashCode(SMSEvent.java:334) at java.util.HashMap.putForCreate(HashMap.java:413) at

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
That's odd - are you sure you restarted/redeployed/etc. your webapp properly? Maybe you should also try clearing the directory where the DiskPageStore stores the serialized pages - just to make sure you won't get an old page again. From the stacktrace I can see you have a wicket component that

Label text wrapping

2010-03-12 Thread Marek Šabo
Hi all, I have a question, I was doing some modal windows to display user data and user object contains a long string. How can I control text wrapping or say dynamically resize modal window according to that text length? Actually wrapping would be just fine I don't mind vertical scrollbars

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
Thanks, Jonas, just will try to locate the cache and remove it. Best, Martin -Original Message- From: Jonas [mailto:barney...@gmail.com] Sent: Friday, March 12, 2010 4:56 PM To: users@wicket.apache.org Subject: Re: why is hashcode() called on page deserialization? That's odd - are you

Re: ClassLoader (Serialization?) error

2010-03-12 Thread Jonas
Looks like a resource called 'mypackage.MyClass fi usuari -- /divdiv id' was requested - that's the output after urldecoding the string from your exception message. I guess somewhere in your webapp resource url's are output incorrectly, or someone actually entered that string as url in his

Modal window issue

2010-03-12 Thread Jeffrey Schneller
I am running into a very odd problem with modal windows. The problem occurs in Firefox and not in IE7. I have a list of links which each display a modal window to create a different type of item. One of the links(call it item A) brings up a modal with the same links so you can create a

Re: FormTester - submitting more than once

2010-03-12 Thread Tony Wu
Any way to do it without running Selenium? On Mar 12, 2010, at 6:01 AM, Kent Tong wrote: Tony Wu-5 wrote: However, I can't do this unit test in Wicket because a FormTester can only submit once. I can't resetup the FormTester data because the 2nd submit button (checkout) requires a

Re: ClassLoader (Serialization?) error

2010-03-12 Thread Igor Vaynberg
ive seen this once before on the list. also with weblogic i think. search the list. -igor On Fri, Mar 12, 2010 at 3:16 AM, Xavier López xavil...@gmail.com wrote: Hi, From time to time I see the following error in my deployed application's log. The application is running clustered on Weblogic

Re: onkeyup ajax call with the key pressed

2010-03-12 Thread Istvan Soos
Thanks! Is there somewhere an example for this? E.g. with Java callback codes and like... Thanks, Istvan On Fri, Mar 12, 2010 at 1:40 PM, Pedro Santos pedros...@gmail.com wrote: Yes, for example you can add an ajax behaviour to you page, and using his callback url mount an script like    

TextField w/ bean as model object?

2010-03-12 Thread Nikita Tovstoles
I'd appreciate another pair of eyes on the following: I have a US ZIP Code input text field that I'd like to bind to an Area bean. The idea is that the component would prompt/display for a 5-digit zip code but getModelObject() would return an Area: class ZipInput extends RequiredTextFieldArea;

Re: TextField w/ bean as model object?

2010-03-12 Thread Igor Vaynberg
there are two ways to do this either you do everything in the converter take the string and convert it into the area, if the zip is incorrect throw a conversion exception or you split the two have a converter that converts the string into the area and a validator that makes sure the area is

datetime and yui clash

2010-03-12 Thread Josh Chappelle
Hi, I am upgrading our software to use wicket 1.4.7 and have run into an issue. We have a wicketstuff-yui menu that is using the 1.4.2 snapshot of yui. Then I have a DatePicker from the wicket-datetime jar added to a DateTextField. When I click the picker icon nothing happens. If I remove the

Load webapp from two different tab result in a 302

2010-03-12 Thread Daniele Dellafiore
Hi. I cannot open the same webapp in two tab/window on the same machine. It results in a browser crash if webapp is running in local, in a 302 if is deployed on a remote server On local, browser crashes due to the loop that is more clear online. You can see it here:

Re: Label text wrapping

2010-03-12 Thread Per Newgro
Isn't this a css or style issue? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Configure wicketpagetest to multi eclipse project layout

2010-03-12 Thread Per Newgro
Thanks. Got a little trouble with missing src/main/webapp but setting the docbase to src/main helped. A different way would be to create an empty src/main/webapp folder in the test project. Cheers Per - To unsubscribe,

How to dynamtically generate an image via an Ajax link?

2010-03-12 Thread David Chang
Hello, I am playing with JCaptcha. My JCaptcha is working (thanks to WIA book). I also have an Ajax link for a visitor to change the displayed image if he wishes. I am new in Wicket and I am trying to follow the idea of defining a model for a Wicket image component. However, based on my

inmethod DataGrid problem in IE8

2010-03-12 Thread Russell Morrisey
I am having trouble with the layout of my inmethod DataGrid in wicket. It appears that the header columns and the data columns are not lining up correctly. There is a thin outer layer surrounding the individual columns on each row that is pushing the data outside of the viewable area. This

Re: inmethod DataGrid problem in IE8

2010-03-12 Thread Matej Knopp
If you run grid examples is the problem present? -Matej On Fri, Mar 12, 2010 at 9:54 PM, Russell Morrisey russell.morri...@missionse.com wrote: I am having trouble with the layout of my inmethod DataGrid in wicket.  It appears that the header columns and the data columns are not lining up

add link in TabbedPanel header

2010-03-12 Thread Decebal Suiu
Hello, I need a link (Add new tab) to be placed in the TabbedPanel header (probably in the div with class tab-row), to the end of tabs. How can I do this? Thanks, Decebal - To unsubscribe, e-mail:

Prettier URLs for ResourceReference images

2010-03-12 Thread Thomas Götz
Is there a way to have prettier URLs when including images that are referenced with a ResourceReference? When I add an image like that: Image image = new Image(image, new ResourceReference(some.package.name.and.Class.class, my_image.gif)); add(image); ... this results in a rather technical URL

Re: Prettier URLs for ResourceReference images

2010-03-12 Thread Igor Vaynberg
see sharedresources#putclassalias -igor On Fri, Mar 12, 2010 at 1:23 PM, Thomas Götz t...@richmountain.de wrote: Is there a way to have prettier URLs when including images that are referenced with a ResourceReference? When I add an image like that: Image image = new Image(image, new

Re: add link in TabbedPanel header

2010-03-12 Thread Igor Vaynberg
sublcass the panel, copy paste its markup into your subclass.html and add the link there -igor On Fri, Mar 12, 2010 at 1:15 PM, Decebal Suiu decebal.s...@gmail.com wrote: Hello, I need a link (Add new tab) to be placed in the TabbedPanel header (probably in the div with class tab-row), to

Re: Prettier URLs for ResourceReference images

2010-03-12 Thread Thomas Götz
Thanks, you saved my day ;-) -Tom On 12.03.2010 at 22:35 Igor Vaynberg wrote: see sharedresources#putclassalias -igor On Fri, Mar 12, 2010 at 1:23 PM, Thomas Götz t...@richmountain.de wrote: Is there a way to have prettier URLs when including images that are referenced with a

RE: datetime and yui clash

2010-03-12 Thread Josh Chappelle
This issue might be specific to IE8. I can't reproduce it in Chrome. I haven't tried others. Josh -Original Message- From: Josh Chappelle [mailto:jchappe...@4redi.com] Sent: Friday, March 12, 2010 12:36 PM To: users@wicket.apache.org Subject: datetime and yui clash Hi, I am

Re: ClassLoader (Serialization?) error

2010-03-12 Thread François Meillet
sounds like a classloading effect. Have a look to the classloader hierarchy Here is a good doc: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html Especially this one : Resource Loading Order

Re: FormTester - submitting more than once

2010-03-12 Thread Kent Tong
Tony Wu-5 wrote: Any way to do it without running Selenium? Not that I know of. What's the problem of running Selenium? - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://agileskills2.org) -- View this

FormTester - submitting AjaxFallbackButtons!

2010-03-12 Thread Tony Wu
I have an AjaxFallbackButton which onSubmit does some validation and then sets a container visible. When I do: FormTester.submit(path.to.ajaxFallbackButton); It seems to work fine (no errors in the console or junit), but the button doesn't actually get onSubmitted (assert container visible

Design of Locale-aware dropdown list?

2010-03-12 Thread David Chang
This question may be beyond Wicket’s scope but I would like to ask folks here. I am impressed by their creativity, capability, and passion. I need to display a dropdown list which is in English or Korean. The options of the dropdown list MUST be stored in database. It switches between English

Re: Design of Locale-aware dropdown list?

2010-03-12 Thread Igor Vaynberg
the code to wire this in wicket is straight forward. i can think of two major flavors: flavor1: your service retrieves the localized values in which case it is the model that retrieves the list of choices that is locale aware add(new dropdownchoice(id, model, new loadabledetachablemodel() { list