Re: TextTemplateHeaderContributor Questions

2009-07-29 Thread Mathias Nilsson

Which version of Wicket are you using? 

google for TextTemplateHeaderContributor wicket 1.4 ( or the version you are
using ) and you will see the methods you can use.

-- 
View this message in context: 
http://www.nabble.com/TextTemplateHeaderContributor-Questions-tp24713664p24723507.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TextTemplateHeaderContributor Questions

2009-07-29 Thread Carlo Camerino
can't seem to find one in the javadocs,
hmmm, i guess it'ss better to put in html so that if values change, the
javascript won't be cached.

i don't know if its the reason for this.

On Wed, Jul 29, 2009 at 10:40 PM, Mathias Nilsson <
wicket.program...@gmail.com> wrote:

>
> have you looked at the java doc? There should be a forjavascript method
> that
> takes both a class and a TextTemplate as parameter
> --
> View this message in context:
> http://www.nabble.com/TextTemplateHeaderContributor-Questions-tp24713664p24720298.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


RE: TextTemplateHeaderContributor Questions

2009-07-29 Thread Mathias Nilsson

have you looked at the java doc? There should be a forjavascript method that
takes both a class and a TextTemplate as parameter
-- 
View this message in context: 
http://www.nabble.com/TextTemplateHeaderContributor-Questions-tp24713664p24720298.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: TextTemplateHeaderContributor Questions

2009-07-29 Thread Frank Klein Koerkamp
As far as I know this is not possible.

Regards

-Original Message-
From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
Sent: Wednesday, July 29, 2009 12:04 PM
To: users@wicket.apache.org
Subject: Re: TextTemplateHeaderContributor Questions

hmm,
ya

but how do i use texttemplateheadercontributor together with it?

Thanks


On Wed, Jul 29, 2009 at 3:12 PM, Frank Klein Koerkamp
 wrote:

> Hi,
>
> To do this use.
>
> add(HeaderContributor.forJavaScript(Clazz.class, "path from class to file
> example: js\helloworld.js"));
>
> This is for 1.3.5.
>
>
> Kind Regard,
>
> Frank
>
> -Original Message-
> From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
> Sent: Wednesday, July 29, 2009 9:08 AM
> To: users@wicket.apache.org
> Subject: TextTemplateHeaderContributor Questions
>
> Hi everyone,
>
> I have some questions regarding TextTemplateHeaderContributor.
>
> I can use it properly but I want to use it as a referenced script rather
> than something that is included in the html page.
>
> What i mean is i don't want to see
>
> 
>   alerrt("hello world");
> 
>
> this in the page but rather I would loike to see it as
>
> 
>
> How do I do it using texttemplateheadercontributor or do i need to use
> another object for this one?
>
> Thanks
> Carlo
>
> The information contained in this communication is confidential, intended
> solely for the use of the individual or entity to whom it is addressed and
> may be legally privileged and protected by professional secrecy. Access to
> this message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. This email does not constitute any commitment from Cordys
> Holding BV or any of its subsidiaries except when expressly agreed in a
> written agreement between the intended recipient and Cordys Holding BV or
> its subsidiaries. Cordys is neither liable for the proper and complete
> transmission of the information contained in this communication nor for any
> delay in its receipt. Cordys does not guarantee that the integrity of this
> communication has been maintained nor that the communication is free of
> viruses, interceptions or interference. If you are not the intended
> recipient of this communication please return the communication to the
> sender and delete and destroy all copies.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

The information contained in this communication is confidential, intended 
solely for the use of the individual or entity to whom it is addressed and may 
be legally privileged and protected by professional secrecy. Access to this 
message by anyone else is unauthorized. If you are not the intended recipient, 
any disclosure, copying, or distribution of the message, or any action or 
omission taken by you in reliance on it is prohibited and may be unlawful. 
Please immediately contact the sender if you have received this message in 
error. This email does not constitute any commitment from Cordys Holding BV or 
any of its subsidiaries except when expressly agreed in a written agreement 
between the intended recipient and Cordys Holding BV or its subsidiaries. 
Cordys is neither liable for the proper and complete transmission of the 
information contained in this communication nor for any delay in its receipt. 
Cordys does not guarantee that the integrity of this communication has been 
maintained nor that the communication is free of viruses, interceptions or 
interference. If you are not the intended recipient of this communication 
please return the communication to the sender and delete and destroy all copies.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TextTemplateHeaderContributor Questions

2009-07-29 Thread Carlo Camerino
hmm,
ya

but how do i use texttemplateheadercontributor together with it?

Thanks


On Wed, Jul 29, 2009 at 3:12 PM, Frank Klein Koerkamp
 wrote:

> Hi,
>
> To do this use.
>
> add(HeaderContributor.forJavaScript(Clazz.class, "path from class to file
> example: js\helloworld.js"));
>
> This is for 1.3.5.
>
>
> Kind Regard,
>
> Frank
>
> -Original Message-
> From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
> Sent: Wednesday, July 29, 2009 9:08 AM
> To: users@wicket.apache.org
> Subject: TextTemplateHeaderContributor Questions
>
> Hi everyone,
>
> I have some questions regarding TextTemplateHeaderContributor.
>
> I can use it properly but I want to use it as a referenced script rather
> than something that is included in the html page.
>
> What i mean is i don't want to see
>
> 
>   alerrt("hello world");
> 
>
> this in the page but rather I would loike to see it as
>
> 
>
> How do I do it using texttemplateheadercontributor or do i need to use
> another object for this one?
>
> Thanks
> Carlo
>
> The information contained in this communication is confidential, intended
> solely for the use of the individual or entity to whom it is addressed and
> may be legally privileged and protected by professional secrecy. Access to
> this message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. This email does not constitute any commitment from Cordys
> Holding BV or any of its subsidiaries except when expressly agreed in a
> written agreement between the intended recipient and Cordys Holding BV or
> its subsidiaries. Cordys is neither liable for the proper and complete
> transmission of the information contained in this communication nor for any
> delay in its receipt. Cordys does not guarantee that the integrity of this
> communication has been maintained nor that the communication is free of
> viruses, interceptions or interference. If you are not the intended
> recipient of this communication please return the communication to the
> sender and delete and destroy all copies.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: TextTemplateHeaderContributor Questions

2009-07-29 Thread Carlo Camerino
hmm,
ya

but how do i use texttemplateheadercontributor together with it?

Thanks

On Wed, Jul 29, 2009 at 3:12 PM, Frank Klein Koerkamp
 wrote:

> Hi,
>
> To do this use.
>
> add(HeaderContributor.forJavaScript(Clazz.class, "path from class to file
> example: js\helloworld.js"));
>
> This is for 1.3.5.
>
>
> Kind Regard,
>
> Frank
>
> -Original Message-
> From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
> Sent: Wednesday, July 29, 2009 9:08 AM
> To: users@wicket.apache.org
> Subject: TextTemplateHeaderContributor Questions
>
> Hi everyone,
>
> I have some questions regarding TextTemplateHeaderContributor.
>
> I can use it properly but I want to use it as a referenced script rather
> than something that is included in the html page.
>
> What i mean is i don't want to see
>
> 
>   alerrt("hello world");
> 
>
> this in the page but rather I would loike to see it as
>
> 
>
> How do I do it using texttemplateheadercontributor or do i need to use
> another object for this one?
>
> Thanks
> Carlo
>
> The information contained in this communication is confidential, intended
> solely for the use of the individual or entity to whom it is addressed and
> may be legally privileged and protected by professional secrecy. Access to
> this message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. This email does not constitute any commitment from Cordys
> Holding BV or any of its subsidiaries except when expressly agreed in a
> written agreement between the intended recipient and Cordys Holding BV or
> its subsidiaries. Cordys is neither liable for the proper and complete
> transmission of the information contained in this communication nor for any
> delay in its receipt. Cordys does not guarantee that the integrity of this
> communication has been maintained nor that the communication is free of
> viruses, interceptions or interference. If you are not the intended
> recipient of this communication please return the communication to the
> sender and delete and destroy all copies.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


RE: TextTemplateHeaderContributor Questions

2009-07-29 Thread Frank Klein Koerkamp
Hi,

To do this use.

add(HeaderContributor.forJavaScript(Clazz.class, "path from class to file 
example: js\helloworld.js"));

This is for 1.3.5.


Kind Regard,

Frank

-Original Message-
From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
Sent: Wednesday, July 29, 2009 9:08 AM
To: users@wicket.apache.org
Subject: TextTemplateHeaderContributor Questions

Hi everyone,

I have some questions regarding TextTemplateHeaderContributor.

I can use it properly but I want to use it as a referenced script rather
than something that is included in the html page.

What i mean is i don't want to see


   alerrt("hello world");


this in the page but rather I would loike to see it as



How do I do it using texttemplateheadercontributor or do i need to use
another object for this one?

Thanks
Carlo

The information contained in this communication is confidential, intended 
solely for the use of the individual or entity to whom it is addressed and may 
be legally privileged and protected by professional secrecy. Access to this 
message by anyone else is unauthorized. If you are not the intended recipient, 
any disclosure, copying, or distribution of the message, or any action or 
omission taken by you in reliance on it is prohibited and may be unlawful. 
Please immediately contact the sender if you have received this message in 
error. This email does not constitute any commitment from Cordys Holding BV or 
any of its subsidiaries except when expressly agreed in a written agreement 
between the intended recipient and Cordys Holding BV or its subsidiaries. 
Cordys is neither liable for the proper and complete transmission of the 
information contained in this communication nor for any delay in its receipt. 
Cordys does not guarantee that the integrity of this communication has been 
maintained nor that the communication is free of viruses, interceptions or 
interference. If you are not the intended recipient of this communication 
please return the communication to the sender and delete and destroy all copies.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TextTemplateHeaderContributor Questions

2009-07-29 Thread Carlo Camerino
Hi everyone,

I have some questions regarding TextTemplateHeaderContributor.

I can use it properly but I want to use it as a referenced script rather
than something that is included in the html page.

What i mean is i don't want to see


   alerrt("hello world");


this in the page but rather I would loike to see it as



How do I do it using texttemplateheadercontributor or do i need to use
another object for this one?

Thanks
Carlo