struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Febner <faeb...@gmail.com>
Subject Help Struts 2 Dojo TagLib
Date Mon, 19 Jul 2010 19:57:18 GMT

Hi, i trying to use the datetimepicker in my app, but when i change in my
Web.xml the struts2 url-pattern to /jsp/* all my tags stop to work, no
longer appears the visual :(
 
follow my jsp:
 
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sx:head debug="false"/>
<SCRIPT type="text/javascript">
dojo.event.topic.subscribe("/beforeSelect", function(event, tab,
tabContainer){
   // event.cancel = true;
   alert("boaaa");
});
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
jsp/usuario/loginUsuario.jsp Usuario 
jsp/cliente/loginCliente.jsp Cliente <p />

 
<sx:datetimepicker name="picker" /><p />
 

</body>
</html>

 
tks
-- 
View this message in context: http://old.nabble.com/Help-Struts-2-Dojo-TagLib-tp29208566p29208566.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message