Re: User-defined variables in ConversionException

2007-09-12 Thread Jonas
No opinions on that one? So, would anyone mind if I create a 'New Feature' Issue in JIRA? On 9/11/07, Jonas [EMAIL PROTECTED] wrote: Hi, wouldn't it make sense that you could set arbitrary variables on a ConversionException that would also be set on the ValidationError created

Re: User-defined variables in ConversionException

2007-09-12 Thread Jonas
I created https://issues.apache.org/jira/browse/WICKET-961 which also contains a patch against current trunk. cheers, Jonas On 9/12/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Nope go ahead. If someone does mind, the issue is quickly closed ;) Martijn On 9/12/07, Jonas [EMAIL PROTECTED

Re: Localizer warnings

2007-09-12 Thread Jonas
The warning shows up in beta3 way more often than it should. Check this thread: http://www.nabble.com/Localizer-warning-in-1.3.0-beta3-tf4353820.html On 9/12/07, Leszek Gawron [EMAIL PROTECTED] wrote: I keep getting a lot of these after upgrading to 1.3-beta3 WARN 2007-09-12 12:49.41:532

Locale change on Image with Resource results in broken images

2007-10-12 Thread Jonas
anyone confirm that this is a bug? In that case, I'll create an issue on JIRA. cheers, Jonas

Re: question about 'isInstantiationAuthorized' method, thanks!

2007-10-23 Thread Jonas
However, I can't change the url for 'Return to home page' link, as the homepage is a jsp page but 'Return to home page' link just send me to the default wicket homepage which specifed in xml file right? I wonder is there a way to change it as I am working with some jsp pages. You could use

Re: continueToOriginalDestination and POST

2008-11-26 Thread Jonas
I found a JIRA issue was filed for this a while back: https://issues.apache.org/jira/browse/WICKET-1703 ...but it hasn't been addressed yet... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

IBehaviors added to ComponentTag not detached

2009-01-15 Thread Jonas
While experimenting with MarkupFilters, I noticed that IBehaviors added to ComponentTag using ComponentTag#addBehavior(IBehavior behavior) are never detached. Is that a bug, or just not possible to do? As far as I can see you don't have ComponentTags available anymore when Components are

Re: IBehaviors added to ComponentTag not detached

2009-01-15 Thread Jonas
(...) seems never to be called if the behavior is added to the ComponentTag. I verified that using a MarkupFilter that adds a behavior to every tag that would log a debug text if detach (or isEnabled) was ever called. Thanks for your time. Jonas On Thu, Jan 15, 2009 at 5:19 PM, Igor Vaynberg

Re: Render other components

2009-01-27 Thread Jonas
this doesn't break as easily if you change the position of the ADDT in the component tree. Maybe a core-dev could shed some light on this issue? cheers, Jonas On Tue, Jan 27, 2009 at 2:21 PM, Philipp Daumke dau...@averbis.de wrote: Hi all, I finally my error and post the working solution. I need to use

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Jonas
#getDefaultMarkupEncoding) cheers, Jonas On Fri, Jan 30, 2009 at 1:02 AM, Philipp Daumke dau...@averbis.de wrote: Hi Mathias, 'äöü' is actually already converted to 'äöü' when I add a breakpoint at the onSubmit method of my form (so right when I get the input of the text field from my

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Jonas
markup? Something like [meta http-equiv=Content-Type content=text/html; charset=UTF-8 /] cheers, Jonas On Fri, Jan 30, 2009 at 9:11 AM, Philipp Daumke dau...@averbis.de wrote: Hi Jonas, thanks for your help, but I think it doesn't help. Just to make sure that I understood the Application#init

Re: Bug? RenderedDynamicImageResource.render only called once?

2009-02-02 Thread Jonas
, Jonas On Mon, Feb 2, 2009 at 4:08 PM, Brill Pappin br...@pappin.ca wrote: Ok, I've tracked down the problem, but don't know how to resolve it (I've been playing with it a bit). the render method is only being called once per session despite the cache==false (RenderedDynamicImageResource

Re: How to get at the 404 request URL?

2009-02-06 Thread Jonas
Hi, this isn't actually related to wicket, but anyway, I think what you're looking for is the servlet request attribute javax.servlet.error.request_uri See: http://www.servlets.com/soapbox/servlet23.html specially the section 'New error attributes' regards, Jonas On Fri, Feb 6, 2009 at 3:28 PM

Re: Check if file exists?

2009-02-09 Thread Jonas
Not really related to wicket... Anyway, check javax.servlet.ServletContext#getResourcePaths(String path) On Mon, Feb 9, 2009 at 12:51 PM, dsj deusd...@gmail.com wrote: Hi, how to check if one image exists in my app-folder? or in other way: how to check if any file exist im my Web-app\images?

Re: Check if file exists?

2009-02-09 Thread Jonas
this. I have put the servlet.api in my build classpath and try, but wicket claim that not possible cast to servlet anyway. btw, this is a dependence feature of the container? Jonas-21 wrote: Not really related to wicket... Anyway, check javax.servlet.ServletContext#getResourcePaths(String path

Re: Is it worth to exchange labels by wicket:message?

2009-02-10 Thread Jonas
I don't think its relevant for performance/memory, the overhead for dynamically creating a component for the label should be minmal. check out WicketMessageTagHandler to see the actual 'magic' On Tue, Feb 10, 2009 at 10:51 AM, Newgro per.new...@gmx.ch wrote: Hi *, i investigate some

Re: How to send serialize/byteArrayOutput stream from wicket page

2009-02-26 Thread Jonas
I think the wicket way to do this is using a org.apache.wicket.markup.html.WebResource (or any of its subclasses) instead of a WebPage On Thu, Feb 26, 2009 at 10:45 AM, freak182 eman.noll...@gmail.com wrote: Hello, How can i send a serialize object using byteArrayOutput stream in wicket

Re: AjaxEditableLabel, Double type and comma / dot

2009-02-27 Thread Jonas
What you can do is to provide you own Converter to the Label and do you own number parsing/formatting. In my experience it makes sense to strictly follow the formats defined by the locales, otherwise user will complain about unexpected results when entering numbers, e.g. if they use the character

Re: radio and radiogroup default checked not working?

2009-02-27 Thread Jonas
Have you tried this: add models to the components (even though you don't use on them), and store the value associated with the Radio you want checked in the RadioGroup's model: final RadioGroupBoolean group = new RadioGroupBoolean(group, new Model(Boolean.TRUE)); RadioBoolean radio1 = new

Re: ResourceLink, IE and https

2009-03-05 Thread Jonas
Does it work if you set your Resource setCacheable(true)? On Thu, Mar 5, 2009 at 3:21 PM, Luca Provenzani eufor...@gmail.com wrote: Hi all This is my situation:  i've a ResourceLink based on a JasperReport Resource(DynamicWebResource ) and all is ok until i use http. But if the web server

Re: ResourceLink, IE and https

2009-03-05 Thread Jonas
into the onclick of the ResourceLink, but now the resource is cached...and then the result report is ever the same.. thanks Luca 2009/3/5 Jonas barney...@gmail.com Does it work if you set your Resource setCacheable(true)? On Thu, Mar 5, 2009 at 3:21 PM, Luca Provenzani eufor...@gmail.com wrote: Hi

Re: ResourceLink, IE and https

2009-03-05 Thread Jonas
submit parameter end then and then... can you help? thanks a lot Luca 2009/3/5 Jonas barney...@gmail.com If it is the browser that caches the report, you can work around this by adding something random to the url generated by ResourceLink#getUrl, similar to what's done in NonCachingImage

Re: localization and session expiration

2009-03-06 Thread Jonas
No need to use spring for that, the locale of a WebSession is initialized from ServletRequest#getLocale() by default, which is based on the Accept-Language header. On Fri, Mar 6, 2009 at 12:57 PM, Leszek Gawron lgaw...@apache.org wrote: Anton Veretennikov wrote: May be cookie? You can also

Base64UrlSafe violating RFC 3548?

2009-03-13 Thread Jonas
uses '*' for 62 and '-' for 63. Is there any particular reason why it doesn't follow the RFC? Cheers, Jonas [1] http://www.faqs.org/rfcs/rfc3548.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Base64UrlSafe violating RFC 3548?

2009-03-16 Thread Jonas
https://issues.apache.org/jira/browse/WICKET-2171 On Fri, Mar 13, 2009 at 3:45 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: feel free to file a bug report. -igor On Fri, Mar 13, 2009 at 1:28 AM, Jonas barney...@gmail.com wrote: Hi, I recently stumbled across Base64UrlSafe, which

Re: Repeater component with dynamic column list

2009-03-25 Thread Jonas
We've created a grid with dynamic columns similar to org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView, except, of course, that the cell populators (the columns) don't come from a fixed array, but from a (dynamic) list. On Wed, Mar 25, 2009 at 1:35 PM, rora

Re: How to get the remote address (IP)

2008-07-29 Thread Jonas
Is your browser running on the same machine as the webserver? If so, you might want to read this: http://en.wikipedia.org/wiki/IPv6#Special_addresses On Tue, Jul 29, 2008 at 1:48 PM, Kaspar Fischer [EMAIL PROTECTED] wrote: On 29.07.2008, at 12:53, Hoover, William wrote: did you try

Re: Always serialize pages for debug purposes

2008-08-11 Thread Jonas
It seems this feature was removed, but there's some javadoc left in org.apache.wicket.settings.IDebugSettings: [quote] iserializeSessionAttributes/i (defaults to true in development mode) - Causes the framework * to serialize any attribute put into session - this helps find Not Serializable

Re: Does ExternalLink URL encode?

2009-08-18 Thread Jonas
Use the Source, Luke! have a look at ExternalLink#onComponentTag On Tue, Aug 18, 2009 at 12:38 PM, Roman Uhlig Maxity.deroman.uh...@maxity.de wrote: Just a simple question, I couldn't find any hint on this in the mailing list and the wiki. Is ExternalLink doing some URL encoding with the

Re: Session listener

2009-08-19 Thread Jonas
I think overriding WebApplication#sessionDestroyed should do the trick. On Wed, Aug 19, 2009 at 12:26 PM, David Leangenwic...@leangen.net wrote: Hi! What's the best way to get notified of a session timeout event from within a Wicket App when I don't have access to the deployment descriptor?

Re: ConversionException and onSubmit is not called

2009-08-21 Thread Jonas
Have you tried removing setType(Region.class); from your code? I don't think that's necessary for a DropDownChoice - and probably the cause why an IConverter is used (which is probably the source of the ConversionException you mentioned). On Fri, Aug 21, 2009 at 3:17 PM, Harrie

Re: InvalidUrlException - how to show 404 page

2009-10-02 Thread Jonas
webapp cheers, Jonas On Fri, Oct 2, 2009 at 10:22 AM, Thomas Singer wic...@regnis.de wrote: As I have reported a couple of weeks ago (but can't find the message any more for a follow-up), Wicket shows an ugly internal-error page if one somehow modified the stateful URLs, e.g. http://localhost

Re: Flash and Wicket crossdomain.xml

2009-11-20 Thread Jonas
Is the content of you crossdomain.xml 'static'? If so, I guess you can just put that file into your web app's context root. If you need the file content generated dynamically, I doubt generating it in wicket is the easiest way to do it. I think I would rather just use a simple servlet. On Fri,

Re: getting img src of dynamic image

2009-11-23 Thread Jonas
Why don't you just pass your BufferedDynamicImageResource to an org.apache.wicket.markup.html.image.Image? That should work just fine if what you're generating in plotPolyGate.getResult().getImage() is 'static'. If it's not static, you can use the Image with an IModel containing the appropriate

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Jonas
That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de wrote: Every time I send an email to users@wicket.apache.org I receive the message      john.mattu...@td.com is not reachable TDGROUP #5.0.0

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Jonas
forget that, I just also received that message, but it was filtered out as spam On Wed, Dec 9, 2009 at 8:45 AM, Jonas barney...@gmail.com wrote: That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de

Re: class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-10 Thread Jonas
I think there was a message on this list reporting the same String/String ClassCastException a few days ago, but I don't remember if it was related to autocomplete. On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson doug...@douglasferguson.us wrote: The problem exists on the trunk. Has anybody

Re: Referring image using Resource Reference

2010-01-05 Thread Jonas
take a closer look at ContextImage's contructor and its javadoc: /** * Constructor * * @param id * @param contextRelativePath *context-relative path eg codeimages/border.jpg/code */ public ContextImage(String id,

Re: I feel silly asking this

2010-01-11 Thread Jonas
have a look at http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html section 'Attribute wicket:message' On Mon, Jan 11, 2010 at 12:56 PM, Wayne Pope waynemailingli...@googlemail.com wrote: Ok , I think I must have a brain block or something. Basically how do you localize the submit input on

Re: dropdown issue

2010-01-20 Thread Jonas
not sure if that's the problem, but shouldn't setChoices(titles); be setChoices(departments); On Wed, Jan 20, 2010 at 4:14 PM, chinedu efoagui chinedub...@gmail.com wrote: Hello , I have a class PersonnelrecordsDepartment  with the following fields with corresponding getters and setters  

Re: dropdown issue

2010-01-20 Thread Jonas
as choices, and use a custom choicerenderer which retrieves and renders the PersonnelrecordsDepartment Objects I hope that helps... On Wed, Jan 20, 2010 at 4:54 PM, chinedu efoagui chinedub...@gmail.com wrote: @jonas ignore that. i was just refactoring the code for the email. the error is runtime

Re: Wicket URL Encryption Key

2010-01-20 Thread Jonas
I think the book refers to wicket 1.3. The default behaviour of Settings#getCryptFactory has changed in 1.4. I think in 1.3 the default was ClassCryptFactory with a default key as still visible in ISecuritySettings#DEFAULT_ENCRYPTION_KEY. Now in 1.4, the KeyInSessionSunJceCryptFactory with a

Re: Wicket URL Encryption Key

2010-01-20 Thread Jonas
/WICKET-1782 On Wed, Jan 20, 2010 at 5:13 PM, Jonas barney...@gmail.com wrote: I think the book refers to wicket 1.3. The default behaviour of Settings#getCryptFactory has changed in 1.4. I think in 1.3 the default was ClassCryptFactory with a default key as still visible in ISecuritySettings

Re: dropdown issue

2010-01-21 Thread Jonas
://www.javabeat.net/javabeat/wicket/tutorials/basics/4-more-on-models.php [3] http://wicketinaction.com/book/ On Thu, Jan 21, 2010 at 9:28 AM, chinedu efoagui chinedub...@gmail.com wrote: @jonas Thanks a lot for your help but could illustrate with some code please so i can get the full idea

Re: Communication between applications, one using wicket

2009-04-09 Thread Jonas
Hi, there are probably easier way to provide a 'callback' channel to a remote system than a wicket page. Of course, using the web server makes sense, but I'd recommend to use a simple servlet to receive the callback and to update the specific database table instead of a wicket page, since the

Re: Getting localized string in constructor.

2009-04-14 Thread Jonas
in a Component, you can use Component#getString as shortcut (instead of Application.get().getResourceSettings().getLocalizer().getString(...)) cheers, Jonas 2009/4/14 Witold Czaplewski witold-mail...@cts-media.eu: Hi Michał, if you need the string of a ResourceModel you may want to call: new

Re: Getting localized string in constructor.

2009-04-14 Thread Jonas
that those warnings might be useful if you decide later to have per page resource bundles after all... 2009/4/14 Jonas barney...@gmail.com: Hi, I don't think createing a ResourceModel instance makes sense, because all ResourceModel does is using the localizer... Regarding the original question, if I

Re: AjaxPagingNavigator and 508

2009-04-16 Thread Jonas
to set the title attribute, you can attach an AttributeModifier to the links by overriding AjaxPagingNavigator#newPagingNavigationLink etc. e.g. new AjaxPagingNavigator(foo, pageable) { @Override protected Link newPagingNavigationLink(String id, IPageable pageable, int

Re: page refresh after setLocale

2009-06-08 Thread Jonas
I think you just have to make sure the locale-dependent strings are not 'static' within the page. e.g. don't use new Model(My localized label from db) but something like new LoadableDetachableModel() { protected Object load() { return the string, taking the current locale into account;

Re: add html-attribute to a tab

2009-07-16 Thread Jonas
attach the attribute modifier cheers, Jonas On Thu, Jul 16, 2009 at 11:12 AM, ptrashptr...@web.de wrote: So, it is not possible? -- View this message in context: http://www.nabble.com/add-html-attribute-to-a-tab-tp24468087p24512963.html Sent from the Wicket - User mailing list archive

IModel parameters of StringResourceModel not getting detached

2009-07-17 Thread Jonas
(from #onDetach)? Who's in general responsible to detach an IModel, specially those who aren't a Component's 'default' IModel? Is that correct that any code that calls IModel#getObject() should also call IModel#detach() later in the same request? cheers, Jonas

Re: Background-Thread blocking Wicket-App

2009-07-17 Thread Jonas
Sounds like your background thread is holding a lock that is also acquired during page rendering. Maybe you can find out which lock is contended by creating a thread dump using visualvm or jstack from jdk 1.6 On Fri, Jul 17, 2009 at 11:24 AM, Tokalak Ahmettoka...@yahoo.de wrote: Hi All, we've

Re: IModel parameters of StringResourceModel not getting detached

2009-07-20 Thread Jonas
17, 2009 at 10:44, Jonas barney...@gmail.com wrote: A question about StringResourceModel: it supports IModels in the 'parameters' Object[] that are properly handled in StringResourceModel#getString, meaning they could get attached because of StringResourceModel. Shouldn't it also

Re: currency symbol in windows and unix different for a label model

2009-07-30 Thread Jonas
You shouldn't use methods that rely on the vm's default locale, as it might be set to something unexpected - use the methods with a locale parameter instead, and pass the Session#getLocale in, e.g. NumberFormat.getCurrencyInstance(Session.get().getLocale()) this is probably a serious amount of

Re: Should Duration be deprecated?

2010-01-26 Thread Jonas
java.util.concurrent.TimeUnit only covers units from nanos to seconds (in java 1.5, that is) So before wicket moves to java 1.6 we probably have a 'no go' here... On Tue, Jan 26, 2010 at 3:42 PM, Objelean Alex alex.objel...@gmail.com wrote: I was wondering why would wicket need Duration class as

Re: PasswordTextField not showing the value

2010-01-27 Thread Jonas
Not sure if that is actually the problem, but have you noticed PasswordTextField#getResetPassword() ? Its default value is 'true', meaning the value is cleared on every rendering. cheers, Jonas On Wed, Jan 27, 2010 at 3:19 PM, Josh Kamau joshnet2...@gmail.com wrote:  I have would like to edit

Re: images not under the context root directory

2010-01-27 Thread Jonas
Have you tried the following: WebComponent image = new WebComponent(someWicketId); image.add(new SimpleAttributeModifier(src, http://.jpg;)); add(image); with markup img wicket:id=someWicketId / that should work just fine... if you cannot hardcode the image url, you can use the following

Re: Serialization test

2010-01-27 Thread Jonas
You can't verify for any IModel if it has been detached, but what works fine is e.g. checking all LoadableDetachableModel subclasses. You have to rely on specific IModel implementations that have some kind of API to check if they have been detached, just like LoadableDetachableModel#isAttached()

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Jonas
a ReentrantLock to the session, which every thread has to acquire before using the session. For web request threads, this can be done in WebRequestCycle. However, I would advise against sharing the whole session, but just to share what's actually needed and guard the access to that. cheers, Jonas

Application#get in WicketSessionFilter

2010-03-11 Thread Jonas
confirm this is actually a bug, I'd create an issue in JIRA to have this fixed. Regards, Jonas [1] http://old.nabble.com/Accessing-Wicket-Application-from-custom-servlet-ts24814177.html#a24815786 [2] http://old.nabble.com/WicketFilter-td25205475.html#a25210469

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

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

2010-03-12 Thread Jonas
. LoadableDetachableModel. cheers, Jonas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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 ListView

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

2010-03-12 Thread Jonas
, Jonas On Fri, Mar 12, 2010 at 2:39 PM, Martin Asenov mase...@velti.com wrote: 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

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

2010-03-12 Thread Jonas
suggest you try setting an Exception Breakpoint on NullPointerException in your debugger and examine the objects being serialized. You can see the Objects e.g. in as the first parameter of ObjectInputStream.readSerialData cheers, Jonas On Fri, Mar 12, 2010 at 3:36 PM, Martin Asenov mase...@velti.com

Re: ClassLoader (Serialization?) error

2010-03-12 Thread Jonas
browser. Maybe you're trying to output html comment inside html comments, where the 'inner' comments terminate the 'outer' comments early, and leave an extra -- behind. So, I guess you don't have a ClassLoader issue here, nor a Serialization issue. cheers, Jonas On Fri, Mar 12, 2010 at 12:16 PM, Xavier

Re: ClassLoader (Serialization?) error

2010-03-14 Thread Jonas
As stated in my previous mail, I really doubt this is a classloader issue, since the class name is 'mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C' which decodes to 'mypackage.MyClass- fi usuari -- ' which obviously isn't just a class name, but a class name plus some 'garbage', which will make

Re: ClassLoader (Serialization?) error

2010-03-15 Thread Jonas
consider using wicket:head instead (see: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html) cheers, Jonas On Mon, Mar 15, 2010 at 10:11 AM, Xavier López xavil...@gmail.com wrote: I agree it's not a classloader issue, the classloader is being given a cobbled class name, so it's not its fault

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Jonas
It's the servlet container that manages the HttpSessions. The servlet container cannot distinguish between 'real' user requests and ajax events - they're all plain http requests concerning a certain session. So, I don't think there's anything wicket could do about this... cheers, Jonas On Tue

Re: Application#get in WicketSessionFilter

2010-03-17 Thread Jonas
quickly! cheers, Jonas [1] https://issues.apache.org/jira/browse/WICKET-2778 On Tue, Mar 16, 2010 at 9:05 PM, Erik van Oosten e.vanoos...@grons.nl wrote: Hi Jonas, Perhaps this is what you need: http://cwiki.apache.org/WICKET/springbean-outside-wicket.html Regards,   Erik. Jonas wrote: Hi

Re: Application#get in WicketSessionFilter

2010-03-17 Thread Jonas
- I don't think it should have any side effects, since the Application is already shared between multiple threads, but I'm not aware of all wicket internals. Maybe Igor can shed some light on this issue? cheers, Jonas [1] http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main

Incorrect javadoc for IPageRequestHandler.isPageInstanceCreated()?

2013-04-12 Thread Jonas
, i.e. '@return false iff page instance is not yet created'. Am I missing something, or is the javadoc actually incorrect? cheers, Jonas ps: wicket version is 6.6.0

Re: Deserialization InvalidClassException : no valid constructor

2013-05-14 Thread Jonas
This could only work if BufferedImage itself had a no-arg constructor. It is it the first non-serializable class in the hierarchy that needs to have it, not the first serializable one, like in your example. Besides, you would still lose all data stored in the BufferedImage's fields (i.e. the image

Re: Deserialization InvalidClassException : no valid constructor

2013-05-27 Thread Jonas
ImageIO)? On Wed, May 22, 2013 at 5:39 AM, smallufo small...@gmail.com wrote: Thanks. But in my example , I cannot modify BufferedImage (to add a no-arg constructor) What should I do if I want to output a BufferedImage (and make back button work) ? 2013/5/14 Jonas barney...@gmail.com

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
Hi, some constructors of RadioChoice take a org.apache.wicket.markup.html.form.IChoiceRenderer, which is used to render the choices. cheers, Jonas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
Yes i've considered RadioGroup and Radio but my question was also for other components (in fact i need to set the class of option, and input tag and surrely many others) have a look at AttributeModifier and AttributeAppender.

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
The 'br/' is the default suffix (see RadioChoice#setSuffix and RadioChoice#setPrefix). AFAIK there's no way to set a class attribute using RadioChoice. Have you considered using RadioGroup and Radio? They're much more flexible than RadioChoice. On Nov 27, 2007 2:56 PM, Gervais [EMAIL PROTECTED]

Re: wicket applet issue

2007-12-05 Thread Jonas
It's not wicket that is looking for classes, it's your browser's java plugin. If you use the archive attribute like you do, the jars are searched in the same 'directory' as the page is where the applet tag is defined. e.g. www.example.com/foo/bar/appletpage.html contains your code, your java

Re: Select CheckGroup with Button instead of CheckGroupSelector

2008-01-23 Thread Jonas
I think if you add 'return false;' to your javascript, the button's default click action (submitting a form) isn't executed, so your DataTable doesn't get refreshed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Support for option disabled=disabled

2008-03-17 Thread Jonas
To have more control over the options, you have to use org.apache.wicket.extensions.markup.html.form.select.Select There's a usage example in the javadoc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: ssl post to creditor company

2008-04-30 Thread Jonas
I'm not familiar with your HttpClient class, but I have used java.net.HttpURLConnection as (very simple...) http client in the past, which can be instructed to follow redirects. You can create one of those using java.net.URL(http://whatever.com/;).openConnection(). You'll probably have to

Re: how can ..

2008-05-23 Thread Jonas
Have you looked in the wiki? http://cwiki.apache.org/WICKET/reference-library.html This might be what you're looking for: http://cwiki.apache.org/WICKET/seo-search-engine-optimization.html On Fri, May 23, 2008 at 9:46 AM, Tomasz Prus [EMAIL PROTECTED] wrote: My boss wants such urls 2008/5/23

Re: Problem with Stress

2008-05-30 Thread Jonas
I've run into similar problems once, I think what fixed it was setting IMarkupSettings#setDefaultMarkupEncoding to utf-8 as well. If not set explicitly, the encoding of the os is used, which probably doesn't handle french accents correctly, e.g. if it's an english os.

Re: Problem with Stress

2008-05-30 Thread Jonas
meta http-equiv=Content-Type content=text/html; charset=UTF-8 / does the actual http header also say this? afair having this line in the html isn't enough to have contents treated as utf-8 - To unsubscribe, e-mail: [EMAIL

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Jonas
1) Generifying* Wicket [X] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. 2) How strongly do you feel

Improve ResourceStreamResource api

2016-03-01 Thread Jonas
ResourceStreamResource, mime type etc. is handled by automatically. What do you think? Cheers, Jonas

Re: Improve ResourceStreamResource api

2016-03-08 Thread Jonas
Hi, here's the JIRA ticket: https://issues.apache.org/jira/browse/WICKET-6113 Thanks! Jonas On Tue, Mar 1, 2016 at 12:02 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > I think this would be a good improvement for Wicket 8.x. > Please file a ticket in

Re: Refreshingview vs ListView

2016-07-28 Thread Jonas
Have you checked that equals/hashCode of your items are implemented properly? In our application, broken equals/hashCode was the most frequent reason for item reuse not working properly. Cheers, Jonas On Wed, Jul 27, 2016 at 6:02 PM, Entropy <blmulholl...@gmail.com> wrote: > I

WICKET-6249

2016-10-13 Thread Jonas
I wanted to ask if it will be fixed in Wicket 7.5.0 and if there are plans to build 7.5.0 anytime soon. Thanks Jonas

Re: Regression in 1.3.0-beta3(?)

2007-08-30 Thread Jonas-21
We've run into the same issue after upgrading to beta3. We had to replace AjaxFallbackOrderByBorder with a 'normal' OrderByBorder to make our web app work again. Unfortunatly, I haven't been able to come up with a simple example that reproduces the problem. Have you? Johannes Schneider-3 wrote:

Re: Regression in 1.3.0-beta3(?)

2007-08-30 Thread Jonas-21
IS relevant for wicket 1.3.0. (Of course the fix looks now different because of the api change) cheers, Jonas igor.vaynberg wrote: hmm, if you could create a quickstart for this it would be very helpful. -igor -- View this message in context: http://www.nabble.com/Regression-in-1.3.0-beta3

Re: Where to process PageParameters

2009-01-14 Thread Jonas Hoepfner
)); preparePageBComponents(result); } Jonas From: Martijn Dashorst 14 Jan 2009 14:24:21 +0100 Subject: Re: Where to process PageParameters setResponsePage(PageB.class, parameters); or use a bookmarkablepagelink Martijn On Wed, Jan 14, 2009 at 1:06 PM, Jonas505 jonas.hoepf...@iteratec.de

Re: Where to process PageParameters

2009-01-15 Thread Jonas Hoepfner
Ok, I'll use the onBeforeRender() method. I just found the corresponding section in Wicket in Action. Thank you. Jonas - Original Message - From: Jeremy Thomerson [mailto:jer...@wickettraining.com] To: users@wicket.apache.org Sent: Wed, 14 Jan 2009 20:36:22 +0100 Subject: Re: Where

NullPointerException when starting Wicket Bench

2009-03-16 Thread Jonas Vingis
Hallo, I am still new in working with eclipse, I have no idea what cause this Problem. I am trying write Wicket application and would like to use „wicket bench“ plugin. The current version of my eclipse is 3.4.0, „wicket bench“ 0.5.1, JDK 1.6.0. In „Editors“-“File Associations“ I have set

Re: NullPointerException when starting Wicket Bench

2009-03-16 Thread Jonas Vingis
since its open and fixing it up, but I haven't had time yet. - Brill On 16-Mar-09, at 9:30 AM, Jonas Vingis wrote: Hallo, I am still new in working with eclipse, I have no idea what cause this Problem. I am trying write Wicket application and would like to use „wicket bench“ plugin

Updates on model of FormComponents not being displayed after Ajax call

2011-08-31 Thread Jonas Pohlandt
on a submit button, even though the FormComponents still show the wrong (unchanged) values. Is there something besides the adding of the respective components to the AjaxRequestTarget that I am missing here? Any help highly appreciated, Jonas

AW: Updates on model of FormComponents not being displayed after Ajax call

2011-08-31 Thread Jonas Pohlandt
and onModelChanged are empty in their default implementation by Component (which is not overwritten by RequiredTextField or any of its superclasses). Jonas -Ursprüngliche Nachricht- Von: Pedro Santos [mailto:pedros...@gmail.com] Gesendet: Mittwoch, 31. August 2011 16:12 An: users@wicket.apache.org