JavaScript for body tag

2008-06-09 Thread Stefan Lindner
I want to use a JavaScript library that requires the body to be loaded.
This can normally be done by writing

body
script../script
/body

What is the correct way to do this in wicket 1.4?

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JavaScript for body tag

2008-06-09 Thread Igor Vaynberg
build the script as a label and add it to the page. set
escapemodelstrings(false) on it and wicket wont escape any makrup.

-igor

On Mon, Jun 9, 2008 at 4:39 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
 I want to use a JavaScript library that requires the body to be loaded.
 This can normally be done by writing

body
script../script
/body

 What is the correct way to do this in wicket 1.4?

 Stefan

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JavaScript for body tag

2008-06-09 Thread James Carman
This is a common enough scenario that perhaps there should be a
built-in facility for it?  I was wondering how to insert the Google
Analytics javascript code right before my /body tag too.

On Mon, Jun 9, 2008 at 10:42 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
 build the script as a label and add it to the page. set
 escapemodelstrings(false) on it and wicket wont escape any makrup.

 -igor

 On Mon, Jun 9, 2008 at 4:39 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
 I want to use a JavaScript library that requires the body to be loaded.
 This can normally be done by writing

body
script../script
/body

 What is the correct way to do this in wicket 1.4?

 Stefan

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JavaScript for body tag

2008-06-09 Thread Igor Vaynberg
add a label in your basepage right before the /body tag? you do own
the markup do you not?

-igor

On Mon, Jun 9, 2008 at 7:45 AM, James Carman [EMAIL PROTECTED] wrote:
 This is a common enough scenario that perhaps there should be a
 built-in facility for it?  I was wondering how to insert the Google
 Analytics javascript code right before my /body tag too.

 On Mon, Jun 9, 2008 at 10:42 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
 build the script as a label and add it to the page. set
 escapemodelstrings(false) on it and wicket wont escape any makrup.

 -igor

 On Mon, Jun 9, 2008 at 4:39 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
 I want to use a JavaScript library that requires the body to be loaded.
 This can normally be done by writing

body
script../script
/body

 What is the correct way to do this in wicket 1.4?

 Stefan

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JavaScript for body tag

2008-06-09 Thread James Carman
I haven't actually implemented my Google Analytics stuff yet.  It has
thus far been merely a thought experiment.

On Mon, Jun 9, 2008 at 10:46 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
 add a label in your basepage right before the /body tag? you do own
 the markup do you not?

 -igor

 On Mon, Jun 9, 2008 at 7:45 AM, James Carman [EMAIL PROTECTED] wrote:
 This is a common enough scenario that perhaps there should be a
 built-in facility for it?  I was wondering how to insert the Google
 Analytics javascript code right before my /body tag too.

 On Mon, Jun 9, 2008 at 10:42 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
 build the script as a label and add it to the page. set
 escapemodelstrings(false) on it and wicket wont escape any makrup.

 -igor

 On Mon, Jun 9, 2008 at 4:39 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
 I want to use a JavaScript library that requires the body to be loaded.
 This can normally be done by writing

body
script../script
/body

 What is the correct way to do this in wicket 1.4?

 Stefan

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]