RE: Publish Javadoc or big number of Static pages

2014-01-14 Thread andre seame
Use the web server to show the static page is a very good idea. As all other pages are in generated by wicket, I was only thinking in term of wicket. Thanks for the idea. PHL Date: Fri, 10 Jan 2014 15:11:17 -0500 Subject: Re: Publish Javadoc or big number of Static pages From: p...@bors.ws

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-14 Thread Zilvinas Vilutis
This guide is AWESOME! Big respect and thank you to everyone who contributed! Žilvinas Vilutis On Mon, Jan 13, 2014 at 6:00 PM, Martijn Dashorst dasho...@apache.orgwrote: The Apache Wicket PMC is proud to announce Apache Wicket 6.13.0! This release marks the thirteenth minor release of

Adding UUID Converter

2014-01-14 Thread Oliver B. Fischer
I have to validate a lot of UUIDs and wrote a small converter for UUID. If the quite simple implementation is fine for you I would like to contribute it to the Wicket code base including some tests public class UUIDConverter implements IConverterUUID { public static final String UUID_REGEX

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-14 Thread Pierre Goupil
+1, it is a pain-killer! :-) Cheers to all of you, Pierre On Tue, Jan 14, 2014 at 12:01 PM, Zilvinas Vilutis zilvi...@vilutis.ltwrote: This guide is AWESOME! Big respect and thank you to everyone who contributed! Žilvinas Vilutis On Mon, Jan 13, 2014 at 6:00 PM, Martijn Dashorst

Re: Adding UUID Converter

2014-01-14 Thread Martin Grigorov
Hi, On Tue, Jan 14, 2014 at 1:29 PM, Oliver B. Fischer mails...@swe-blog.netwrote: I have to validate a lot of UUIDs and wrote a small converter for UUID. If the quite simple implementation is fine for you I would like to contribute it to the Wicket code base including some tests public

Re: Adding UUID Converter

2014-01-14 Thread Oliver B. Fischer
Am 14.01.14 14:02, schrieb Martin Grigorov: It is quite simple. Anyone can write it if it is needed for her application. But also I don't object to add it. Yes, that is true. On the otherhand I expected Wicket to support it since the UUID class is part of java.lang I will prepare a patch

Re: Adding UUID Converter

2014-01-14 Thread Martin Grigorov
On Tue, Jan 14, 2014 at 3:21 PM, Oliver B. Fischer mails...@swe-blog.netwrote: Am 14.01.14 14:02, schrieb Martin Grigorov: It is quite simple. Anyone can write it if it is needed for her application. But also I don't object to add it. Yes, that is true. On the otherhand I expected Wicket

CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Hi, I am upgrading wicket from 1.4 to 6.7. Before my css files were added this way: public class CSSLinksInjector implements IComponentInstantiationListener, Serializable { private static final long serialVersionUID = 7463279042460663915L; //private final ListHeaderContributor

Re: CssBehaviour can't find css files

2014-01-14 Thread Ernesto Reinaldo Barreiro
Why not just use CSSLinksInjector.class instead of getClass()? On Tue, Jan 14, 2014 at 2:46 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Hi, I am upgrading wicket from 1.4 to 6.7. Before my css files were added this way: public class CSSLinksInjector implements

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
Hi, Before the class was CSSLinksInjector.class, now it is CSSLinksInjector$CssBehaviour Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 3:46 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Hi, I am upgrading wicket from 1.4 to 6.7. Before my css files were added

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-14 Thread Steve
+1 I've been tinkering in the guts of wicket for years, I read this this morning and in a few minutes it answered many questions I've been wondering about for a long time. Wonderful work wicket team :) On 14/01/14 22:50, Pierre Goupil wrote: +1, it is a pain-killer! :-) Cheers to all of you,

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
I changed it but still get the error response.render(CssReferenceHeaderItem.forReference(new CssResourceReference(CSSLinksInjector.class, root + /css/login.css))); On Tue, Jan 14, 2014 at 8:51 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Why not just use

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
What is the produced url for login.css Wicket 1.4 and what is the new error ? Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:06 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: I changed it but still get the error

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
The error changed to: WARN org.apache.wicket.request.resource.ResourceReferenceRegistry - A ResourceReference wont be created for a resource with key [scope: info.afilias.WAT.UI.CSSLinksInjector; name: info/css/tooltip.css; locale: null; style: null; variation: null] because it cannot be located.

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Ho would I know the produced url? I sent the error On Tue, Jan 14, 2014 at 9:10 AM, Martin Grigorov mgrigo...@apache.orgwrote: What is the produced url for login.css Wicket 1.4 and what is the new error ? Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:06 PM,

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
On Tue, Jan 14, 2014 at 4:13 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Ho would I know the produced url? I sent the error Check the produced HTML of a page that uses this code in your running application with 1.4. On Tue, Jan 14, 2014 at 9:10 AM, Martin Grigorov mgrigo...@apache.org

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
OLD: href=resources/info.stuff.WAT.UI.CSSLinksInjector/root/css/tooltip.css NEW: href=../X5EA-RpmG5-t7GSByiSpogTj4bvW9MKMW4vn832-xprwEXT2RkaeV8fX_4jkKsv1CB554pAX0u87jm6UPI3w_ihTiZY3tftZ8jJqrrURxUxvKsFXCdT_2G6JYzRb5crh/X5E87/URx2a/zRb59/sFXb4/URx2a/zRb59 / On Tue, Jan 14, 2014 at 9:16 AM, Martin

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
On Tue, Jan 14, 2014 at 4:19 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: OLD: href=resources/info.stuff.WAT.UI.CSSLinksInjector/root/css/tooltip.css info.afilias.WAT.UI.CSSLinksInjector; name: info/css/tooltip.css 1. afilias vs. stuff 2. info vs. root NEW:

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
I changed these. But why is new link encoded? On Tue, Jan 14, 2014 at 9:22 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Tue, Jan 14, 2014 at 4:19 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: OLD: href=resources/info.stuff.WAT.UI.CSSLinksInjector/root/css/tooltip.css

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
I am not sure what you mean. Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:24 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: I changed these. But why is new link encoded? On Tue, Jan 14, 2014 at 9:22 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue,

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
NEW: href=../X5EA-RpmG5- t7GSByiSpogTj4bvW9MKMW4vn832-xprwEXT2RkaeV8fX_4jkKsv1CB554pAX0u87jm6UPI3w_ihTiZY3tftZ8jJqrrURxUxvKsFXCdT_2G6JYzRb5crh/X5E87/URx2a/zRb59/sFXb4/URx2a/zRb59 / why is the new link looks like this? On Tue, Jan 14, 2014 at 9:29 AM, Martin Grigorov mgrigo...@apache.orgwrote:

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
Because you use CryptoMapper in your app. Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:32 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: NEW: href=../X5EA-RpmG5-

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
if I get rid of the CryptoMapper new link looks like link rel=stylesheet type=text/css href=./wicket/resource/info.afilias.WAT.UI.CSSLinksInjector/info/css/tooltip-ver-1389710287000.css

Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-14 Thread Pierre
Hello Sebastien, Sorry, it was my fault. I didn't explain correctly my problem. Thank you for your clarification. I don't want to modify the fullcalendar's behavior . I bypassed the problem. I directly concatenated the *title *with the *name * of the identifiant ( in a nice phrase ) .

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
It looks perfect! Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:39 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: if I get rid of the CryptoMapper new link looks like link rel=stylesheet type=text/css

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
The name of the file is different and it cant find it On Tue, Jan 14, 2014 at 9:41 AM, Martin Grigorov mgrigo...@apache.orgwrote: It looks perfect! Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:39 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: if I get

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
The only difference is that the resolved theme is 'info' instead of 'root' Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:43 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: The name of the file is different and it cant find it On Tue, Jan 14, 2014 at 9:41 AM,

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
this is a dynamic parameter, is changes based on settings, it should work either way On Tue, Jan 14, 2014 at 9:45 AM, Martin Grigorov mgrigo...@apache.orgwrote: The only difference is that the resolved theme is 'info' instead of 'root' Martin Grigorov Wicket Training and Consulting On

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Do you have any other suggestions why it may not be able to find the css file? On Tue, Jan 14, 2014 at 9:49 AM, Anna Simbirtsev asimbirt...@gmail.comwrote: this is a dynamic parameter, is changes based on settings, it should work either way On Tue, Jan 14, 2014 at 9:45 AM, Martin Grigorov

PageReference#getPage return null

2014-01-14 Thread Marco Di Sabatino Di Diodoro
Hi all, We upgrade Apache Syncope to Wicket 6.13.0 and PageReference#getPage is now returning null instead of the expectedPage instance [1]. What has changed from 6.12.0? [1] https://issues.apache.org/jira/browse/SYNCOPE-476 Thanks Marco -- Dott. Marco Di Sabatino Di Diodoro Tel. +39

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
What is the file structure ? What packages and files you have in UI package ? Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:56 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Do you have any other suggestions why it may not be able to find the css file? On Tue,

Re: PageReference#getPage return null

2014-01-14 Thread Martin Grigorov
Hi, Wild guess: you have a reference to non-initialized page ( https://issues.apache.org/jira/browse/WICKET-5415) Non-initialized pages are not stored because they were not rendered. Try with page.internalInitialize() before page.getPageReference(). Martin Grigorov Wicket Training and

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
The file structure is myApplication/src/main/java myApplication/src/main/resources/info/css/ that has all css files myApplication/src/main/resources/info/images has all the images On Tue, Jan 14, 2014 at 10:04 AM, Martin Grigorov mgrigo...@apache.orgwrote: What is the file structure ? What

Re: CssBehaviour can't find css files

2014-01-14 Thread Martin Grigorov
The reason is that you use info.afilias.WAT.UI.CSSLinksInjector as a scope and the resources are looked up relative to it in the package structure. In 1.4 it worked because you use '/info/...' - the leading slash resolved to the root package. This has been changed because of security problems and

Continuous page reload

2014-01-14 Thread Maxim Solodovnik
Hello all, I just have updated to 6.13.0 (to get WICKET-5435https://issues.apache.org/jira/browse/WICKET-5435 ) Unfortunately application stop working :( We are using single page design but after update the whole page is get reloaded continuously Can someone please suggest the way to find the

Re: Continuous page reload

2014-01-14 Thread Martin Grigorov
Hi, Do you use Ajax timer behavior on that page ? And do you open the same page instance (same url, same pageId) in two tabs ? Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 5:36 PM, Maxim Solodovnik solomax...@gmail.comwrote: Hello all, I just have updated to

Re: Continuous page reload

2014-01-14 Thread Maxim Solodovnik
I do have TimerBehavior, but the issue was reproducible after commenting it. I also have callback behaviors can try to comment it out page version is being removed from the URL using NoVersionMapper: (line 130)

Re: PageReference#getPage return null

2014-01-14 Thread Marco Di Sabatino Di Diodoro
Hi Martin, Il giorno 14/gen/2014, alle ore 16:20, Martin Grigorov mgrigo...@apache.org ha scritto: Hi, Wild guess: you have a reference to non-initialized page ( https://issues.apache.org/jira/browse/WICKET-5415) Non-initialized pages are not stored because they were not rendered. Try

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Once I moved the file in src/main/java/ without any package, it does not show errors that it cant find it, so it is found, it just does not show any css. On Tue, Jan 14, 2014 at 10:31 AM, Martin Grigorov mgrigo...@apache.orgwrote: The reason is that you use info.afilias.WAT.UI.CSSLinksInjector

Re: PageReference#getPage return null

2014-01-14 Thread Martin Grigorov
I'll improve Wicket to store the page when it knows that it will be used in a later request. Once Jira is reachable ... Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 6:01 PM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: Hi Martin, Il giorno

Re: [OT] thanks

2014-01-14 Thread Pierre Goupil
Replying to myself: after having double-checked all the docs, it now works: there was an inconsistency in my configuration, it was enough to prevent the whole stuff to work. If anyone is curious, I can still give him more details. In the meantime, thanks to all, Pierre On Mon, Jan 13,

Re: NPEs when locating resources after upgrading to Wicket 6.13.0

2014-01-14 Thread Martin Grigorov
I've committed an improvement with https://issues.apache.org/jira/browse/WICKET-5472 Martin Grigorov Wicket Training and Consulting On Mon, Jan 13, 2014 at 3:38 PM, Thomas Heigl tho...@umschalt.com wrote: Hey Martin, I don't have time to create a quickstart at the moment. If you can't find

Re: Continuous page reload

2014-01-14 Thread Maxim Solodovnik
Is there any docs describing what was changed in the behaviors etc. so I can go through our code and fix it? Thanks in advance :) On Tue, Jan 14, 2014 at 10:48 PM, Maxim Solodovnik solomax...@gmail.comwrote: I do have TimerBehavior, but the issue was reproducible after commenting it. I also

Re: Continuous page reload

2014-01-14 Thread Martin Grigorov
Here are the release notes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12325564 Please share when you have more information. We may need to release 6.13.1 if the problem is not easy to workaround. Martin Grigorov Wicket Training and Consulting On Wed, Jan

Re: Continuous page reload

2014-01-14 Thread Martin Grigorov
You can use git bisect if nothing else works. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 9:29 AM, Martin Grigorov mgrigo...@apache.orgwrote: Here are the release notes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12325564

Re: Continuous page reload

2014-01-14 Thread Maxim Solodovnik
Thanks, Will try to pin down the issue and will write back On Wed, Jan 15, 2014 at 2:31 PM, Martin Grigorov mgrigo...@apache.orgwrote: You can use git bisect if nothing else works. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 9:29 AM, Martin Grigorov