Re: Wicket Session Expiration - Ajax interactions

2013-01-22 Thread Martin Grigorov
It should be easy to migrate it to Wicket 6. What functionality is missing ? On Tue, Jan 22, 2013 at 12:01 AM, sthomps stho...@gmail.com wrote: Yeah I took a quick look at that project but it appears to be abandoned and only supports links. -- View this message in context:

documentation

2013-01-22 Thread Philippe Demaison
Hi All, As Gabor Friedrich from the FAO, we are in my company, L'Oreal, comparing different web frameworks. Apache Wicket may be the best framework, may be usefull for my company, I don't know. I don't know because there is no clear documentation for a good evaluation. In fact the documentation

Re: documentation

2013-01-22 Thread Kees van Dieren
Sorry for that, some good articles that might help you : http://www.devproof.org/why_choose_apache_wicket http://www.devproof.org/wicket_best_practice 2013/1/22 Philippe Demaison ph.demai...@gmail.com Hi All, As Gabor Friedrich from the FAO, we are in my company, L'Oreal, comparing

Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Stefan Renz
Hi, how would I specify to load an additional stylesheet when Wicket loads the WiQueryCoreThemeResourceReference? Background: I'd like to tweak some of the jquery-ui styles by providing a custom CSS. I want to make sure that whenever wiquery's core resource loads, the additional CSS loads as

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Martin Grigorov
Hi, With the bundle - register a bundle that contains WiQueryCoreThemeResourceReference and your Css reference for the custom Css resource. With the replacement - create class MyCssResRef extends CssResourceReference { public MyCssResRef() { super(MyCssResRef.class, my.css) } @Override

RE: wicket:for attribute definition in xsd

2013-01-22 Thread Olson, Jim (US SSA)
Hello Martin, Unless I'm not understanding it correctly, wicket-1.5.xsd under wicket-core/src/main/resources/META-INF defines wicket attributes as well as elements. If defines attributes wicket:id, wicket:enclosure, and wicket:message attributes but not the wicket:for attribute.

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Stefan Renz
Hi Martin, thanks for the quick response. Martin Grigorov wrote: Hi, With the bundle - register a bundle that contains WiQueryCoreThemeResourceReference and your Css reference for the custom Css resource. Tried that, only one of the CSS loads, but I'll double check. With the

Re: documentation

2013-01-22 Thread Ondrej Zizka
Hi Phillipe, you're right, the documentation deserves improvements. I would recommend you to start with the Wicket in Action book. That will give you the basic concepts of Wicket. Then continue with the examples from http://www.wicket-library.com/wicket-examples/index.html . That will

Re: wicket:for attribute definition in xsd

2013-01-22 Thread Martin Grigorov
Hi Jim, You are correct! I've missed those the other day. Do you know what XSD restriction I should use to allow the usage of wicket:for attribute *only* in HTML label elements ? On Tue, Jan 22, 2013 at 5:14 PM, Olson, Jim (US SSA) jim.ol...@baesystems.com wrote: Hello Martin, Unless I'm

Re: Wicket Session Expiration - Ajax interactions

2013-01-22 Thread sthomps
Just reading through the description - the components only included StatelessLink and a StatelessAjaxFallbackLink Browsing through the source code, it appears that there are stateless behaviors that can be added to other Ajax components. Best thing to do is to test it out :) -- View this

Re: documentation

2013-01-22 Thread Philippe Demaison
Hi Ondra and Kees, Are you kidding ? Are you saying that I need to - read a book released in 2009 covering wicket 1.3 ? - read http://www.wicket-library.com/wicket-examples/index.html (for which wicket version ? ) - read the Wicket Cookbook - read the migration from 1.x to 1.5

Re: How to pass model changes to parent components? onModelChanged() not working

2013-01-22 Thread Paul Bors
You should use a LoadableDetachableModel and wrap it around a CompondPropertyModel or whatever other type of model you're using. In this way the object will be refreshed on each render with the values from the databse. Btw, why exactly are you using a map for? Did you develop your own compound

Re: OnChangeAjaxBehavior javadoc note

2013-01-22 Thread Joachim Schrod
When I started to use Wicket, I stumbled over that feature as well - and reading Javadoc I often skip the Field Summary until I need the specific fields. OTOH, I learned quickly that OnChangeAjaxBehavior() is often not the behavior I want and won't forget it... :-) Best, Joachim Sven

Re: documentation

2013-01-22 Thread Ondrej Zizka
Hi Philippe, no, my suggestions were rather for learning wicket. However it's not quite easy to evaluate something you don't have knowledge of. At first glance, Wicket may seem quite verbose on Java side. I personally didn't like it for the first time. But once I understood the basic

Re: documentation

2013-01-22 Thread Paul Bors
If you're interested in learning Wicket, see the Learn section on the project's home page at: http://wicket.apache.org/ It has its own Books link: http://wicket.apache.org/learn/books/ ~ Thank you, Paul Bors On Tue, Jan 22, 2013 at 12:06 PM, Ondrej Zizka ozi...@redhat.com wrote: Hi

Re: Passing IModel in Constructor of bookmarkable Page?

2013-01-22 Thread Bernard
Hi again, Martin. I have thought about it. This dev list discussion is interesting. I use static parameter converters in pages which is type safe but not automatic. I thought about your suggestion to use IPageFactory. Suppose a page meets the constructor criteria(default, PageParameters) for

Re: Feedback in AJAX requests //Re: How to pass model changes to parent components? onModelChanged() not working

2013-01-22 Thread Paul Bors
You need to call setOutputMarkupId( true ); on the object you're adding to the AjaxTarget. ie: If your Feedback panel has the output markup id set to true (you can see it in the HTML as ... id=someWicketGeneratedId ... \ and you add the parent of that Feedback panel ot the target you will get an

Re: wicket:for attribute definition in xsd

2013-01-22 Thread Dan Retzlaff
I think taking it to that level gets into the realm of xs:redefine as described here: http://www.w3.org/TR/xhtml-modularization/schema_developing.html On Tue, Jan 22, 2013 at 7:41 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Jim, You are correct! I've missed those the other day. Do

Re: documentation

2013-01-22 Thread Guillaume Smet
Hi Philippe, On Tue, Jan 22, 2013 at 5:53 PM, Philippe Demaison ph.demai...@gmail.com wrote: Are you kidding ? First thing first, while everyone agrees that a good documentation is a good thing, you should consider that you don't pay anyone to write it. There are a couple of very good books

RE: documentation

2013-01-22 Thread Paul Bors
If you're trying to compare Java webapp frameworks, take your pick: http://wicket.apache.org/meet/introduction.html Also see: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks ~ Thank you, Paul Bors -Original Message- From: Guillaume Smet

Re: documentation

2013-01-22 Thread Thies Edeling
Wicket is open source, if you feel that the documentation is lacking - feel free to contribute. On Jan 22, 2013 5:54 PM, Philippe Demaison ph.demai...@gmail.com wrote: Hi Ondra and Kees, Are you kidding ? Are you saying that I need to - read a book released in 2009 covering wicket 1.3 ? -

Re: Wicket Session Expiration - Ajax interactions

2013-01-22 Thread Bernard
Hi, We have created similar workarounds in 1.4 as you have. These are now in Wicket 6. I am still trying to find opportunities for improvements in 6. Please consider Mounted bookmarkable Page not recreated on Session Expiry https://issues.apache.org/jira/browse/WICKET-4997 Perhaps you want to

Re: HttpsMapper with Apache Virtual Host Appending the Wrong Path

2013-01-22 Thread Tim Urberg
First the good news, I was able to get it to work by deploying the application in the root context. Once I did that, everything worked the way it should, paged switched from http to https with no problem. The bad news is that deploying it as / not an option. I've tried overriding

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Ernesto Reinaldo Barreiro
IMHO it would be simpler for users to restore IThemableApplication and plug it at CoreUIJavaScriptResourceReference#getDependencies() On Tue, Jan 22, 2013 at 4:23 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, With the bundle - register a bundle that contains

Re: Wicket Session Expiration - Ajax interactions

2013-01-22 Thread Bernard
For Wicket 6 I have a workaround shown in Mounted bookmarkable Page not recreated on Session Expiry https://issues.apache.org/jira/browse/WICKET-4997 The other workarounds I made were in 1.4. Wicket 6 solves these non-AJAX issues out of the box. Please follow the recent thread Passing IModel in

Re: How to pass model changes to parent components? onModelChanged() not working

2013-01-22 Thread Ondrej Zizka
Solved. For future reference: It was actually LoadableDetachableModel causing this. At least after I switched to AbstractReadOnlyModel whose getModel() called Map#values(), everything works fine. I didn't investigate why LDM was behaving as described, but probably because it load()ed once

IPropertiesLoader in 6.4

2013-01-22 Thread Thies Edeling
Hiya, I'm upgrading my application (quick plug: www.ehour.nl :) from Wicket 1.4 to 6.4 - yes, a bit of a leap :). There's one thing I struggle with and that's a custom property loader that I'm using. In 1.4 I extended PropertiesFactory.IPropertiesLoader which had a public Properties

Re: IPropertiesLoader in 6.4

2013-01-22 Thread Ernesto Reinaldo Barreiro
Hi, It seems this ImputStream comes from IResourceStream resourceStream = context.getResourceStreamLocator() .locate(clazz, fullPath); on PropertiesFactor#load. So maybe you can hook onto that? On Tue, Jan 22, 2013 at 8:41 PM, Thies Edeling th...@rrm.net wrote: IPropertiesLoader --

Re: Additional CSS HeaderItems in Wicket/WiQuery 6?

2013-01-22 Thread Stefan Renz
Hi, so after double checking and a bit of trial and error, I got it to work. Somewhere in the documentation I read if in doubt, try the easy path. Keep it simple, stupid :-) Here it goes: CustomResourceReference extends TextTemplateResourceReference, which is interpolates ${}-variables in the

RE: 'numbers' and suggestion for Wicket presentation

2013-01-22 Thread Friedrich, Gabor (OSD)
We added some useful numbers to our presentation! Thanks a lot! Gabor From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: 21 January 2013 10:46 PM To: users@wicket.apache.org; Friedrich, Gabor (OSD) Subject: Re: 'numbers' and suggestion for Wicket presentation Hi, You can use MarkMail

Re: IPropertiesLoader in 6.4

2013-01-22 Thread Thies Edeling
Thanks for the pointer. It turned out to be close, the ResourceStreamLocator uses a list of IResourceFinders to find a resource. New ones can be registered through getResourceSettings().setResourceFinders(ListIResourceFinder). grT On 01/22/2013 08:59 PM, Ernesto Reinaldo Barreiro wrote: