hmm,
ya

but how do i use texttemplateheadercontributor together with it?

Thanks


On Wed, Jul 29, 2009 at 3:12 PM, Frank Klein Koerkamp
<fkleinkoerk...@educator.eu> 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
>
> <script lang = "javascript" type = "text/javascript">
>   alerrt("hello world");
> </script>
>
> this in the page but rather I would loike to see it as
>
> <script lang = "javascript" src = "helloworld.js"/>
>
> 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
>
>

Reply via email to