You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Febner <fa...@gmail.com> on 2010/07/19 21:57:18 UTC
Help Struts 2 Dojo TagLib
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