You're saying that adding the taglib declaration at the top of your
page causes JavaScript events to quit working?

Matt

On 7/25/06, Pascal Renou <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
> I have a problem with struts-menu. When i insert struts-menu library tag in
> a jsp, i realize i can't use "onresize" event neither with "body" html tag
> nor with "window" object in a javascript short code. See my code here after
> for more details :
>
>
>
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>
> <%@ taglib uri="http://struts-menu.sf.net/tag"; prefix="menu" %>
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
>
> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>
>
> <html>
>
>
>
> <HEAD>
>
> <%@ page language="java"contentType="text/html; charset=ISO-8859-1"
> pageEncoding="ISO-8859-1"%>
>
> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
>
> <META http-equiv="Content-Style-Type" content="text/css">
>
>
>
> <script type="text/javascript">
>
> function load()
>
> {
>
>       resizeAppletNews();
>
>       initializeMenus();
>
> }
>
> function resize()
>
> {
>
>       Alert('resize');
>
> }
>
> </script>
>
>
>
>
>
>
>
> </HEAD>
>
>
>
>
>
> <BODY onresize="resize()" onload="load()">
>
> </BODY>
>
> </html>
>
>
>
>
>
> Anyone could explain me why?
>
>
> Ce message et ses pièces jointes (le "message") est destiné à l'usage
> exclusif de son destinataire.
> Si vous recevez ce message par erreur, merci d'en aviser immédiatement
> l'expéditeur  et de le détruire ensuite. Le présent message  pouvant
> être altéré à notre insu,  CALYON Corporate and Investment Bank
> ne peut pas être engagé par son contenu. Tous droits réservés.
>
> This message and/or any  attachments (the "message") is intended for
> the sole use of its addressee.
> If you are not the addressee, please immediately notify the sender and
> then destroy the message.  As this message and/or any attachments may
> have been altered without our knowledge,  its content  is not legally
> binding on CALYON Corporate and Investment Bank. All rights reserved.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> struts-menu-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to