InheritableThreadLocal holder for Application class

2010-04-22 Thread Objelean Alex
Hi! Is there any particular reason why Application class wouldn't be stored in InheritableThreadLocal instead of ThreadLocal? The problem is that I need to be able to access Application class from a thread created when a button is pressed. Using InheritableThreadLocal instead of ThreadLocal would

Strange error

2010-04-21 Thread Objelean Alex
Hi! My application uses wicket-1.4.7. I've noticed recently in logs the following error: 2010-04-21 07:35:18,744 ERROR [org.apache.wicket.request.target.resource.SharedResourceRequestTarget] unable to lazily register shared resource

Bug related to WICKET-2657 in 1.4.x branch

2010-02-17 Thread Objelean Alex
I've tested my code with latest 1.4.x branch version in chrome, and apparently there is another problem with this: - if AjaxSubmitLink adds to the target some component to be refreshed, then it will disappear. This can be reproduced only in Chrome (v 5.. probably the same problem is with v. 4). In

Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-03 Thread Objelean Alex
The wicket-1.4.6 release contains a fix for WICKET-2312, which is a great thing. But apparently it breaks Bookmarkable link url in situation when it is updated by ajax. I'm not sure if this description is enough for fast reproduction, but I will try to add a quickstart asap and will open a JIRA

Should Duration be deprecated?

2010-01-26 Thread Objelean Alex
I was wondering why would wicket need Duration class as long as java provides a similar TimeUnit. Maybe it would be a good idea to deprecate this class encourage usage of TimeUnit? Alex Objelean

[BUG] RequestUtils.toAbsolutePath() for ajax requests

2009-12-21 Thread Objelean Alex
I have a use-case, when I want to render absolute url for some images using a shared resource. The absolute url looks like this: http://localhost:8080/resources/org.apache.wicket.Application/com.mysite.web.util.resource.ProductImageResource?id=47331bd95fa69f7f001-main.jpg Everything works fine,

[RFE] AjaxLazyLoadPanel callback script rendering

2009-11-25 Thread Objelean Alex
I have a use-case when an AjaxLazyLoadPanel needs to be loaded later then on document onready js event (triggered later by some client-side event, like click on some button). The way it is implemented right now, there is no way to override AjaxLazyLoadPanel change callback handling script. It

google-sitebricks

2009-09-26 Thread Objelean Alex
It seems that google created a yet-another-web-framework (as it used to be called). It is called google-sitebricks. Below is a link on infoq. http://www.infoq.com/news/2009/09/google-sitebricks What do you think about it? Regards, Alex Objelean

JavaBooks.org launches

2009-09-21 Thread Objelean Alex
JavaBooks.org's goal is to centralize, categorize and offer meta-information in the form of ratings, comments and reviews for all Java related publications. By joining the JavaBooks community you'll be able to stay informed about the latest Java publications, search for the right book or magazine

[BUG ? ] Disabling AjaxSelfUpdatingTimerBehavior

2009-05-28 Thread Objelean Alex
I am trying to disable AjaxSelfUpdatingTimerBehavior which I have added to some component disable it when something happens. I found that no matter what the isEnabled method of the behaviour returns, the behaviour remains enabled. Is this a bug or I am doing something wrong? Alex Objelean

XmlPullParser error checking attributes

2009-05-05 Thread Objelean Alex
I've got the following exception: Caused by: java.text.ParseException: Same attribute found twice: url at org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:636) when the markup contains an object tag with a JSON encoded into param tag: object id=player_api

[Improvement] getPageParameters()

2009-05-03 Thread Objelean Alex
When using getPageParameters(), I used to have some troubles because forgetting to call page super(params). As a result, getPageParameters() returns null. This problem also occur when working with non bookmarkable page. My suggestion is to take advantage of Null Object Pattern

Goldlock - launched

2009-04-29 Thread Objelean Alex
Hello everybody! I am happy to announce that a new web application using Wicket has been launched today! Here is the link: www.gold-lock.com I would like to help the community for help and core developers for creating such a great framework! Alex Objelean

[Imrovement] Allow overriding of the Validator default MessageKey

2009-04-27 Thread Objelean Alex
I've created a JIRA issue: https://issues.apache.org/jira/browse/WICKET-2244

[Not a joke] Bug when using HybridUrlCodingStrategy

2009-04-01 Thread Objelean Alex
In my application I use HybridUrlCodingStrategy for all my pages. I've noticed that when cookies are disabled, the FeedbackPanel isn't visible any more (when the form is submitted and there are errors or other types of messages - they are simply not shown). When I disable the

Wicket and (or) restlet

2009-04-01 Thread Objelean Alex
I'm curious what are the community thoughts about restlet. Have you used this framework? Can wicket restlet work together? Have you had any experience with it? Thank you!