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
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 GoogleAnalyticsHeaderContributor(Ba
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 they
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
response.renderjavascript(template.tostr
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 eas