Re: static javascript

2003-08-17 Thread Adam Hardy
Hi Erez,
have you tried calling up the staticJavascript.jsp page? Perhaps it's 
just not there, or the version is out of date.

Adam

On 08/16/2003 10:51 PM Erez Efrati wrote:
I am doing the following: but I don't get the static script in my pages.
What am I doing wrong?
JSP:

html-el:javascript formName=signupForm
dynamicJavascript=true
staticJavascript=false
page=1 /
script language=Javascript1.1 
		src=html:rewrite page='/common/staticJavascript.jsp'/
 /

The staticJavascript.jsp: (copied from Struts example)
---
%@ page language=java %
%-- set document type to Javascript (addresses a bug in Netscape
according to a web resource --%
%@ page contentType=application/x-javascript %
%@ taglib uri=/tags/struts-html prefix=html %

html:javascript dynamicJavascript=false staticJavascript=true/

Thanks,
Erez


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

--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


static javascript

2003-08-16 Thread Erez Efrati
I am doing the following: but I don't get the static script in my pages.
What am I doing wrong?

JSP:

html-el:javascript formName=signupForm
dynamicJavascript=true
staticJavascript=false
page=1 /

script language=Javascript1.1 
src=html:rewrite page='/common/staticJavascript.jsp'/
 /


The staticJavascript.jsp: (copied from Struts example)
---
%@ page language=java %
%-- set document type to Javascript (addresses a bug in Netscape
according to a web resource --%
%@ page contentType=application/x-javascript %

%@ taglib uri=/tags/struts-html prefix=html %

html:javascript dynamicJavascript=false staticJavascript=true/


Thanks,
Erez



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