Re: [1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2014-07-21 Thread Shweta Agrawal
Hi I'm facing issue with StringHeaderContribuor will migration from 1.4 to 1.5. Can you please help me ? 1. I'm using StringHeaderContribuor for Google analytic code public class GoogleAnalyticsHeaderContributor extends StringHeaderContributor { public

Re: [1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2014-07-21 Thread Martin Grigorov
Hi, This has been simplified. You should extend Behavior and contribute via #renderHead() method. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jul 21, 2014 at 9:12 AM, Shweta Agrawal shweta.agra...@lntinfotech.com wrote: Hi I'm facing issue with

Re: [1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2011-02-08 Thread Daniel Soneira
I didn't have a problem with converting my existing class (extending TextTemplateHeaderContributor). As I said, that's quite easy. My reasons for posting to the list were to: - a) note, that the Wiki does not mention that those classes are gone / how to substitute them. - b) question why

[1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2011-02-07 Thread Daniel Soneira
The migration wiki does not contain information on renamed / substitution classes. I know AbstractHeaderContributor is a thing of the past but those classes could be converted into Behaviors quite easily. Was there a reason to get rid of them in 1.5? TextTemplate still exists but there is no

Re: [1.5 MIGRATION] - Where did StringHeaderContributor / TextTemplateHeaderContributor go?

2011-02-07 Thread Igor Vaynberg
now every component and behavior implement iheadercontributor (have a renderhead method) and the response has the same methods that the old contributors had. you want to contribute something, just override renderhead(). you can contribute the template using