You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Dieter Engelhardt <D-...@t-online.de> on 2002/11/18 23:56:32 UTC
JavaScript
Newbie question:
I have a module where i have a bunch of JavaScript Function.
My Question is how to i integrate this in my turbine app?
Thanx
Dieter
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: JavaScript
Posted by Mitch Christensen <mi...@informatixinc.com>.
Another alternative is to put your JavaScript in a file and define the
following at the top of the .vm file...
<script language="JavaScript" src="$content.getURI("js/myfile.js")"
type="text/javascript"/>
In addition to this, I am storing the javascript as a .vm file and embedding
Velocity directives & variable declarations directly within the JavaScript.
This is how I dynamically customize our JavaScript based navigation system.
Basically, this allows you to do dynamic, server side JavaScript code
generation.
-Mitch
-----Original Message-----
From: Eric Emminger [mailto:eric@ericemminger.com]
Sent: Monday, November 18, 2002 4:08 PM
To: Turbine Users List
Subject: Re: JavaScript
Dieter
> I have a module where i have a bunch of JavaScript Function.
> My Question is how to i integrate this in my turbine app?
Put the script tags in the .vm files.
Hope that helps!
Eric
--
Eric Emminger
eric@ericemminger.com
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: turbine 2.x how-tos url broken?
Posted by Rodney Schneider <ro...@actf.com.au>.
On Tue, 19 Nov 2002 11:44, you wrote:
> Hi,
>
> The how-tos link on the turbine 2.x documentation site seems to be broken:
> http://jakarta.apache.org/turbine/turbine-2/howto/index.html
>
> Has it moved or something?
>
> Regards,
> Dan
Hi Dan,
I think this might have been broken when Martin made some recent changes.
See this CVS commit message:
http://archives.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@jakarta.apache.org&msgNo=12247
Could someone who has access to update the turbine site please fix this ASAP?
Thanks,
-- Rodney
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: turbine 2.x how-tos url broken?
Posted by Rodney Schneider <ro...@actf.com.au>.
On Tue, 19 Nov 2002 11:44, you wrote:
> Hi,
>
> The how-tos link on the turbine 2.x documentation site seems to be broken:
> http://jakarta.apache.org/turbine/turbine-2/howto/index.html
>
> Has it moved or something?
>
> Regards,
> Dan
Hi Dan,
I think this might have been broken when Martin made some recent changes.
See this CVS commit message:
http://archives.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@jakarta.apache.org&msgNo=12247
Could someone who has access to update the turbine site please fix this ASAP?
Thanks,
-- Rodney
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: turbine 2.x how-tos url broken?
Posted by Rodney Schneider <ro...@actf.com.au>.
On Tue, 19 Nov 2002 20:04, you wrote:
> i redeployed the site .. now it works
>
> martin
Thanks Martin!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: turbine 2.x how-tos url broken?
Posted by Martin Poeschl <mp...@marmot.at>.
i redeployed the site .. now it works
martin
Rodney Schneider wrote:
>On Tue, 19 Nov 2002 11:44, you wrote:
>
>
>>Hi,
>>
>>The how-tos link on the turbine 2.x documentation site seems to be broken:
>>http://jakarta.apache.org/turbine/turbine-2/howto/index.html
>>
>>Has it moved or something?
>>
>>Regards,
>>Dan
>>
>>
>
>Hi Dan,
>
>I think this might have been broken when Martin made some recent changes.
>See this CVS commit message:
>http://archives.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@jakarta.apache.org&msgNo=12247
>
>Could someone who has access to update the turbine site please fix this ASAP?
>
>Thanks,
>
>-- Rodney
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
turbine 2.x how-tos url broken?
Posted by "Dan K." <da...@YorkU.CA>.
Hi,
The how-tos link on the turbine 2.x documentation site seems to be broken:
http://jakarta.apache.org/turbine/turbine-2/howto/index.html
Has it moved or something?
Regards,
Dan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JavaScript
Posted by Eric Emminger <er...@ericemminger.com>.
Dieter
> I have a module where i have a bunch of JavaScript Function.
> My Question is how to i integrate this in my turbine app?
Put the script tags in the .vm files.
Hope that helps!
Eric
--
Eric Emminger
eric@ericemminger.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>