Re: How to access wicket parent page wicket:message

2016-11-01 Thread Martin Grigorov
Hi, You will need to use a Label component with ResourceModel instead of . Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Nov 1, 2016 at 9:02 AM, ganea iulia wrote: > [pageTitle] > > Hi, > I'm using wicket 7.5. > > I have a parent

Re: How to access wicket parent page wicket:message

2016-11-01 Thread ganea iulia
Hello, Could you please provide an example? I have added the below line in my constructor, but nothing appears where the title should be. add(new Label("pageTitle", new ResourceModel("pageTitle", "my title"))); In the child .properties files I have left the pageTitle empty: pageTitle= In the

Re: How to access wicket parent page wicket:message

2016-11-01 Thread Martin Grigorov
I'd expect Wicket to complain (i.e. throw an exception) that you have added a component in the Java code but there is no element for it in the HTML. You need to remove and add wicket:id="pageTitle" on the element. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On

Re: How to access wicket parent page wicket:message

2016-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2016 at 10:06 AM, ganea iulia wrote: > Hello again, > > So I need to change the parent page markup? > Yes. > I was thinking if there was a way to not change anything in the parent > page... > > So my parent page html contains this markup: > [pageTitle] >

How to access wicket parent page wicket:message

2016-11-01 Thread ganea iulia
[pageTitle] Hi, I'm using wicket 7.5. I have a parent page, and child pages that extend it: In my child .properties pages, I always had the pageTitle=My Titile. I now need to dinamically change the title of the page, inside my child page constructor. Could you please advise? Thank you

Re: How to access wicket parent page wicket:message

2016-11-01 Thread ganea iulia
Hello again, So I need to change the parent page markup? I was thinking if there was a way to not change anything in the parent page... So my parent page html contains this markup: [pageTitle] I need in my child pages, to be able to dinamically change the title. Until now, every child page had

Re: public static IModel of(IModel model)

2016-11-01 Thread Francois Meillet
Hi Martin, Got it !!! Was IModel.of ! Thanks François > Le 1 nov. 2016 à 13:25, Martin Grigorov a écrit : > > Hi Francois, > > Do you mean > https://github.com/apache/wicket/commit/4f07ee164627e5d95516e42712b30cb6b72250e3 > ? > Or >

Re: public static IModel of(IModel model)

2016-11-01 Thread Martin Grigorov
Hi Francois, Do you mean https://github.com/apache/wicket/commit/4f07ee164627e5d95516e42712b30cb6b72250e3 ? Or https://github.com/apache/wicket/commit/533431d7ebda97f5c77a3d8bc1b2445fa5caebfb ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Nov 1, 2016 at

Twitter poll result 2

2016-11-01 Thread Francois Meillet
Hi, Following Tobias Soloschenko thread about the Twitter poll result I think we should focus on who who don't know Wicket. People who don't like Wicket, the unhappy users, will not come back. Only 34% of the respondents know what is Apache Wicket. Put another way 66% don't ever know what is

public static IModel of(IModel model)

2016-11-01 Thread Francois Meillet
Hi, Why this helper method public static IModel of(IModel model) has been removed from Wicket 8 ? Was useful for me ! François - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Twitter poll result 2

2016-11-01 Thread Zala Pierre GOUPIL
Hello, Regarding models, and for French community, this article is a must-read: http://djo-mos.developpez.com/tutoriels/java/wicket/explore-models/ Maybe we should start rewriting it for it to be more up-to-date and / or translating it. My 2 cents, Pierre Goupil On Tue, Nov 1, 2016 at

Re: Twitter poll result 2

2016-11-01 Thread Andrea Del Bene
Hi Francois, I'm glad to read such a clear and smart analysis. I agree with you at 100%. Buzz is something we definitely lack of. We should improve our examples and write more articles on Wicket. I've also noted that Vaadin people have increased the amount of the "buzz" lately. For Vaadin

Re: Twitter poll result 2

2016-11-01 Thread Tobias Soloschenko
I think it is also good to tell that there are a lot of new features like http/2 support to show that Wicket is not a framework at which developers stopped working on new features several years ago. I wrote an article about that on a blog of Jörn Zaefferer who is responsible for jQuery UI Dev

Bug in wicket 7.5.0 caused by WICKET-6231; Reported as WICKET-6266

2016-11-01 Thread Bas Gooren
Hi all, Some of our apps broke pretty badly when upgrading from 7.4.0 to 7.5.0. Using auto-components (which are created & added using component resolvers) and overriding getVaration() on a parent component breaks the page render for us. Under these circumstances a render fails with a RTE for

Re: Twitter poll result 2

2016-11-01 Thread Mihir Chhaya
I would like to share my personal experience from developer's perspective. First and foremost, I personally love Apache Wicket more than any MVC framework I have worked with so far (Struts/JSF). This is just me. The place I am currently working adopted Wicket 1.4 around 2012. That time, the

Re: (Customizable) Fragment as String

2016-11-01 Thread Maxim Solodovnik
I was able to find workaround :) In case of following modification: https://github.com/solomax/fragment-as-string/commit/c6d5e8a692242fa2754a39b9cbe964d24c84a97e Everything works as expected The only issue is: fragment is wrapped with DEFAULT_MARKUP: "" Is there any option to remove it? On Mon,