Re: JQuery update policy
No one objected so I've just updated jQuery to 1.8.2 for Wicket 6.3.0. On Fri, Nov 2, 2012 at 10:38 AM, Sebastien seb...@gmail.com wrote: I think it is OK to upgrade to 1.8.2 for Wicket 6.3.0 +1 Thanks, Sebastien. On Fri, Nov 2, 2012 at 9:18 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi Brian, The new Wicket Ajax .js files were implemented and tested with jQuery 1.7.x and that's why we released them with 1.7.2. The only policy that I followed is to use jQuery version X.Y.Z where Z is as big as possible, i.e. more stable. For example if jQuery 1.9.0 is released I'd suggest to wait for 1.9.2 or 1.9.3 before upgrading. I have ran the JavaScript tests with jQuery 1.8.0 a month or two ago and all of them passed. So as far as Wicket is concerned I think it is OK to upgrade to 1.8.2 for Wicket 6.3.0. If some application uses plugins which cannot work with 1.8.2 then they can provide custom ResourceReference with jQuery 1.7.2 and continue using it. This is valid for WiQuery and other similar libraries too. On Thu, Nov 1, 2012 at 11:10 PM, Brian Laframboise brian.laframbo...@gmail.com wrote: Now that Wicket is built on top of jQuery, does the Wicket project have a stated policy on when that dependency will be updated? I found the Wicket Ajax page ( https://cwiki.apache.org/WICKET/wicket-ajax.html) but it did not address this. I'm aware that I can override the default version included by Wicket. However, I would prefer to use the jQuery version that is a) officially supported by the team as well and b) ostensibly tested against by supporting Wicket projects such as Wicket Stuff and WiQuery. I can already infer that it's not guaranteed to be the latest as the Wicket 6.x line is on 1.7.2 while 1.8.0 was released just under a month before Wicket 6.0.0 was released ( http://en.wikipedia.org/wiki/JQuery#Release_history), and the current Wicket 6.2.0 is still on jQuery 1.7.2. Please note that I'm not complaining; in fact, the stability of the jQuery dependency can be considered a positive. In my particular case, once upgraded to Wicket 6, our project will inevitably have non-Wicket-related jQuery code that depends on the version of jQuery provided by Wicket. Knowing how stable that dependency will be will help up plan the testing effort around future Wicket upgrades. My guess is that the Wicket 6.x line will use jQuery 1.7.2, and only when Wicket 7 is released will jQuery be upgraded to = 1.8.0. Can anybody confirm this? Thanks, Brian -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Remove cookie problem
Hi, I added a cookie at login using CookieValuePersister. At logout I want to remove the cookie. The logout is not handled in wicket. I remove it using javax.servlet.http.HttpServletResponse. Also, when I access again a page after logout I receive an IllegalStateException: Unable to redirect to: , HTTP Response has already been committed. java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:433) at org.apache.wicket.protocol.http.WebResponse.sendRedirect(WebResponse.java:299) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Remove-cookie-problem-tp4653612.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Test project
Use https://groups.google.com/forum/?fromgroups#!forum/atmosphere-framework On Mon, Nov 5, 2012 at 1:10 PM, Mats mats.gudmunds...@delaval.com wrote: I have posted this in the Atmosphere mailing list http://atmosphere-users-mailling-list.2493822.n2.nabble.com/ http://atmosphere-users-mailling-list.2493822.n2.nabble.com/ . But this mail list seems pretty dead. Almost no views an no replys. I have now also tried to deploy on tomcat (instead of GlassFish) with the same result. No error and a blank page is shown in the browser with the following source contents. So the Wicket machenery is never called. !DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.0 Transitional//ENquot; HTMLHEAD META content=text/html; charset=windows-1252 http-equiv=Content-Type/HEAD BODY/BODY/HTML It's really sad, but I have to give up Wicket now and start to look for some other framework that we can use. We need the possibility to push out information to the user (Atmosphere). The goal with this was to create a new user interface for DeLavals milking robots and would have fit nicly into our java framework :-( -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Test-project-tp4653437p4653613.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: format value missing in ConversionException thrown by wicket-datetime's DateConverter
What I need is not what I want in this case.. I want to reuse wicket components as much as possible. I don't want to reinvent the wheel. In wicket, there are two separate, Date-specific TextField components: - org.apache.wicket.extensions.markup.html.form.DateTextField - org.apache.wicket.datetime.markup.html.form.DateTextField Both use different DateConverters, to be located at: - org.apache.wicket.util.convert.converter.DateConverter - org.apache.wicket.datetime.DateConverter The components in wicket-datetime are more convenient and powerful, so I'm gonna use them. The only drawback I see is the spartanic ConversionException, in which e.g. the dateformat information is missing. The exception created by wicket-etensions's DateConverter holds that information. So yes, I guess this is a break. That also raises a much bigger question: Why is that legacy code (my guess) in wicket-extensions still there? Why don't consolidate those two? As I see it, same authors were working on both packages? 2012/11/5 Martin Grigorov mgrigo...@apache.org Hi, We follow users@ mailing list too :-) Since 1) DateConverter is not final 2) the related methods in it are public, non-final 3) it is possible to register custom converter for Date.class in ConverterLocator I think you should be able to do what you need. Are there any breaks ? On Sun, Nov 4, 2012 at 1:59 PM, Simon B simon.bott...@gmail.com wrote: Hi Benedikt Should this be posted on the Forum for Wicket Core developers forum? Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/format-value-missing-in-ConversionException-thrown-by-wicket-datetime-s-DateConverter-tp4653598p4653603.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Resources only for session
I have a question, Is it possible that resources (example DynamicImageResource) will not recorded and only available as long as the session is active. This is necessary because the user need to show images uploaded by the same and are not available to other users. Besides the amount of images is very large adn it's pointless to keep all as resources. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Resources only for session
See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ On Mon, Nov 5, 2012 at 12:49 PM, Raul ralva...@netwie.com wrote: I have a question, Is it possible that resources (example DynamicImageResource) will not recorded and only available as long as the session is active. This is necessary because the user need to show images uploaded by the same and are not available to other users. Besides the amount of images is very large adn it's pointless to keep all as resources. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Regards - Ernesto Reinaldo Barreiro Antilia Soft http://antiliasoft.com/ http://antiliasoft.com/antilia
Re: Resources only for session
Thank Ernesto, I already knew the article. My problem is that I am using a ResourceLink as follows. ResourceReference imagesResourceReference = new ImageResourceReference( ImageUtil.getNamePhotoForURL(user.getId(), album.getId(), photo.getId(), ImageUtil.SCALE_ORIGINAL),pathOriginalImage); ResourceLink resourceLink = new ResourceLink(linkPhoto,imagesResourceReference); But this I generated a security problema, because the href generated is accesible from all session, I also believe that a bad performance generates and maintains resources that will not be used. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617p4653620.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxCallListener precondition with user input
If this is an option for you, you could use modal dialog from twitter bootstrap (short example can be fond here: https://github.com/sekib/twittermodal). I don't use public CharSequence getPrecondition(final Component component) at all. Modal dialog is shown after clicking the link (no ajax call). Only a click on Of course button triggers an ajax call. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxCallListener-precondition-with-user-input-tp4653566p4653622.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: disable serialization
Finally I could use this: Application#setPageManagerProvider( new DummyPageManagerProvider() ) DummyPageManagerProvider just returns null everything and it works! (it does NOT serialize pages) First of all: i do NOT need back support, so I use this: Application#getPageSettings().setVersionPagesByDefault(false); My doubt now is... when I debug PageStoreManager, when findPage() is fired, a search is made in a sessionCache and it works. But when it's NOT found there, it goes to a PageStore (I think the 2nd level cache) where I have my dummy store and will break. -- So my question is, When happens that the sessionCache does not have a page? the pages are cleaned? Thanks! On Mon, Nov 5, 2012 at 9:14 AM, Alfonso Quiroga alfonsose...@gmail.comwrote: Hi, sorry for my basic question. Is there a way to disable de serialization? Maybe defining a dummy PageStore? In that case... how I register the new page store in the application? Thanks!!
Re: disable serialization
See https://cwiki.apache.org/confluence/display/WICKET/Page+Storage On Mon, Nov 5, 2012 at 3:50 PM, Alfonso Quiroga alfonsose...@gmail.comwrote: Finally I could use this: Application#setPageManagerProvider( new DummyPageManagerProvider() ) DummyPageManagerProvider just returns null everything and it works! (it does NOT serialize pages) First of all: i do NOT need back support, so I use this: Application#getPageSettings().setVersionPagesByDefault(false); My doubt now is... when I debug PageStoreManager, when findPage() is fired, a search is made in a sessionCache and it works. But when it's NOT found there, it goes to a PageStore (I think the 2nd level cache) where I have my dummy store and will break. -- So my question is, When happens that the sessionCache does not have a page? the pages are cleaned? Thanks! On Mon, Nov 5, 2012 at 9:14 AM, Alfonso Quiroga alfonsose...@gmail.com wrote: Hi, sorry for my basic question. Is there a way to disable de serialization? Maybe defining a dummy PageStore? In that case... how I register the new page store in the application? Thanks!! -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: question regarding AutoCompleteTextField
Hi, As far as I know there was no intentional change for this functionality. I haven't had time to debug both quickstarts but a quick check in the code doesn't explain the behavior in 1.5. See wicket-autocomplete.js, lines 168-184, this is the code that handles KEY_ENTER and there is no usage of killEvent(event), while this function is used in the above switch cases. The same is in Wicket 6.0 where we use jQuery's jqEvent.stopPropagation instead. You can try to debug what happens and explain here. Or you can attach the quickstarts in a new ticket in our Jira and someone of us will do it. On Mon, Nov 5, 2012 at 1:21 PM, marcel.ho...@gmx.de wrote: Hello wicket community, i currently migrate a wicket 1.5 application to wicket 6.2.0 and thereby face a problem with the AutoCompleteTextField. consider the following setup: a page with a Form, AutoCompleteTextField, various other TextField[s] and a button in wicket 1.5 the user could select a choice in the AutoCompleteTextField by hitting the enter-key - no form submit. if the user selects a choice in the AutoComplete TextField by hitting the enter-key in wicket 1.6 the form gets submitted. note: the behaivor is identical (aka no form submit) if no button is added to the form. my question is: was this change intentional? if so, how can i achieve the old behavior? i have added two quickstarts (wicket 1.5.8 and 6.2.0) which are based on the wicket-examples AutoCompletePage, to demonstrate the different handling and my use case. kind regards marcel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Why can't CssUrlReferenceHeaderItem have dependencies?
Hi, i was wondering why CssUrlReferenceHeaderItem (wicket 6.2.0) is implemented by HeaderItem#getDependencies() which returns an empty list. The CssReferenceHeaderItem has a getDependencies implementation which uses the dependencies provided by the resource reference. If i extend CssUrlReferenceHeaderItem (for testing) and provide the dependencies of the resource reference (analogoues to CssReferenceHeaderItem) everything works fine. But maybe i miss here something. So my question is: Is it required that CssUrlReferenceHeaderItem is not handling dependencies of the resource reference? Thanks for explanation. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: question regarding AutoCompleteTextField
Hi Martin, thanks for the reply. i created WICKET-4857 and attached both quickstarts. - marcel Original-Nachricht Datum: Mon, 5 Nov 2012 16:23:02 +0200 Von: Martin Grigorov mgrigo...@apache.org An: users@wicket.apache.org Betreff: Re: question regarding AutoCompleteTextField Hi, As far as I know there was no intentional change for this functionality. I haven't had time to debug both quickstarts but a quick check in the code doesn't explain the behavior in 1.5. See wicket-autocomplete.js, lines 168-184, this is the code that handles KEY_ENTER and there is no usage of killEvent(event), while this function is used in the above switch cases. The same is in Wicket 6.0 where we use jQuery's jqEvent.stopPropagation instead. You can try to debug what happens and explain here. Or you can attach the quickstarts in a new ticket in our Jira and someone of us will do it. On Mon, Nov 5, 2012 at 1:21 PM, marcel.ho...@gmx.de wrote: Hello wicket community, i currently migrate a wicket 1.5 application to wicket 6.2.0 and thereby face a problem with the AutoCompleteTextField. consider the following setup: a page with a Form, AutoCompleteTextField, various other TextField[s] and a button in wicket 1.5 the user could select a choice in the AutoCompleteTextField by hitting the enter-key - no form submit. if the user selects a choice in the AutoComplete TextField by hitting the enter-key in wicket 1.6 the form gets submitted. note: the behaivor is identical (aka no form submit) if no button is added to the form. my question is: was this change intentional? if so, how can i achieve the old behavior? i have added two quickstarts (wicket 1.5.8 and 6.2.0) which are based on the wicket-examples AutoCompletePage, to demonstrate the different handling and my use case. kind regards marcel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-6 User friendly form validation with Wicket (stuq)
See FormsWithFlair application and PDF at http://code.google.com/p/londonwicket/downloads/list It also shows how a behavior can be used for this. On Fri, Nov 2, 2012 at 9:58 PM, Rafał Krupiński r.krupin...@gmail.comwrote: On Mon, Oct 29, 2012 at 8:36 AM, Martin Grigorov mgrigo...@apache.org wrote: Anyway, I would like to have a label for each validated input field and put there any error messages related to that input. I haven't found any example other than that old article by Daan van Etten and that was for wicket 1.3. Daan's solution used his own FeedbackLabel class and filtered FeedbackPanel but it doesn't work with wicket 6. Please paste your code and compile errors/exceptions to see what doesn't work. Hi I haven't got any errors nor exceptions, feedback labels were ignored and all messages went to feedback panel. For the code see the site, it's back on-line. http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket -- Pozdrawiam / Best Regards Rafal Krupinski - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
wicket create a dynamic return class from getHomePage
I am building an web app using wicket 1.5 in my app i need to diside if the user that is currently login is admin or a regular user and display diffrent html for each of them. my code id: public class HomePage extends WebApplication { private boolean flag = false; @Override protected void init(){do things} @Override public Session newSession(Request request, Response response) { ... some calculation ... return new HomePageWebSession(request); } @Override public Class? extends WebPage getHomePage(){ if(flag){ return Admin.class } else return User.class } } the problem is that getHomepage is activated before newSession and i use newSession to figure out if the user is Admin or not and init the flag. in addition i see that the getHomePage is called multiples times before newSession is been called. way getHomePage is called multiples times and way getHomePage is called before newSession. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-create-a-dynamic-return-class-from-getHomePage-tp4653631.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: merge all properties file into one file
You can always identify the specific component given the dotted path notation but it would make it harder to maintain your code as refactoring and moving things on your page will also require refactoring your keys in your properties file. You can also simply override the resourceKey() method for your own validator and return the key string you want to use. ~ Thank you, Paul Bors -Original Message- From: oliver.stef [mailto:ova...@gmail.com] Sent: Sunday, October 28, 2012 10:30 AM To: users@wicket.apache.org Subject: Re: merge all properties file into one file Thanks for the answer! It succeeded! I have one last thing - on my application, i used the 'setRequired' and 'RequiredTextField' method, and now, when i merge all my properties file into one file - how can I config that Wicket will know which stringId to take for the validator? Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/merge-all-properties-file-into-on e-file-tp4653304p4653417.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-6 User friendly form validation with Wicket (stuq)
On 05.11.2012 17:01, Martin Grigorov wrote: See FormsWithFlair application and PDF at http://code.google.com/p/londonwicket/downloads/list It also shows how a behavior can be used for this. Thanks for the link, looks very promising. Best Regards Rafał Krupiński - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Custom CSS for Feedback message is broken in 1.5
Is anybody merging this in 1.5.9? On Fri, Nov 2, 2012 at 11:37 PM, miteshaegis mitesh.ae...@gmail.com wrote: Hi, You can use set of div class and set css on div class easily. Thanks! - JBoss Developers || JBPM Workflow -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-for-Feedback-message-is-broken-in-1-5-tp4653166p4653593.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket CryptoMapper loses RequestParameters for HomePage (1.5-SNAPSHOT)
Hi! We have a problem with using CryptoMapper, and a proposed fix. I'd like some comments from this community regarding both the bug and the fix. When CryptoMapper is used, query parameters are only found via PageParameters, and not via RequestParameters, as expected. Code to repro: --code- HomePage.java public HomePage(final PageParameters parameters) { add(new Label(version, getApplication().getFrameworkSettings().getVersion())); add(new Label(fooFromPageParameters, parameters.get(foo).toString(NOT_FOUND_FROM_PAGE_PARAMETERS))); add(new Label(fooFromRequestParameters, getRequest().getRequestParameters().getParameterValue(foo).toString(NOT_FOUND_FROM_REQUEST_PARAMETERS))); } HomePage.html div id=bd Congratulations! pWicket version: wicket:container wicket:id=version1.5-SNAPSHOT/wicket:container/p pFoo from Page parameters: wicket:container wicket:id=fooFromPageParametersfooFromPageParametes/wicket:container/p pFoo from request parameters: wicket:container wicket:id=fooFromRequestParametersfooFromRequestParameters/wicket:container/p /div WicketApplication.java public void init() { super.init(); //comment to get both parameters working setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this)); } When called with url http://localhost:8080/?foo=bar, and CryptoMapper is enabled, the value for foo is not found via requestParameters. code--- And then the proposed fix: http://pastebin.com/dWdPhcLD -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CryptoMapper-loses-RequestParameters-for-HomePage-1-5-SNAPSHOT-tp4653637.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Links in modal dialog are relative to dialog URL and not base page URL
Hello, I have a base page mounted at /app/root URL. This page loads and pops up a modal dialog (DIV) which content is loaded from /app/root/dialog URL. All links on the dialog are relative to the dialog URL and not base page URL. However, the browser resolves relative links against base page URL and hence all links are broken. The modal dialog is shown as follows: $(#dialogId).load(/app/root/dialog).modal('show') How can I fix this? Thanks, Alec - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket create a dynamic return class from getHomePage
Hi, You should have a home page for non-authenticated users too. Once you have a session (authenticated user) requesting '/' will use either Admin page or User page. On Mon, Nov 5, 2012 at 7:11 PM, yon10 yalda...@gmail.com wrote: I am building an web app using wicket 1.5 in my app i need to diside if the user that is currently login is admin or a regular user and display diffrent html for each of them. my code id: public class HomePage extends WebApplication { private boolean flag = false; @Override protected void init(){do things} @Override public Session newSession(Request request, Response response) { ... some calculation ... return new HomePageWebSession(request); } @Override public Class? extends WebPage getHomePage(){ if(flag){ return Admin.class } else return User.class } } the problem is that getHomepage is activated before newSession and i use newSession to figure out if the user is Admin or not and init the flag. in addition i see that the getHomePage is called multiples times before newSession is been called. way getHomePage is called multiples times and way getHomePage is called before newSession. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-create-a-dynamic-return-class-from-getHomePage-tp4653631.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Why can't CssUrlReferenceHeaderItem have dependencies?
Hi, On Mon, Nov 5, 2012 at 5:38 PM, Per Newgro per.new...@gmx.ch wrote: Hi, i was wondering why CssUrlReferenceHeaderItem (wicket 6.2.0) is implemented by HeaderItem#getDependencies() which returns an empty list. The CssReferenceHeaderItem has a getDependencies implementation which uses the dependencies provided by the resource reference. If i extend CssUrlReferenceHeaderItem (for testing) and provide the dependencies of the resource reference (analogoues to CssReferenceHeaderItem) everything works fine. CssUrlReferenceHeaderItem works with a Url which doesn't provide #getDependencies(). What ResourceReference do you use in your version of CssUrlReferenceHeaderItem ? But maybe i miss here something. So my question is: Is it required that CssUrlReferenceHeaderItem is not handling dependencies of the resource reference? Thanks for explanation. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/