add to /struts/* to your url pattern, this should solve your problem.

Best Regards

Johannes Geppert


Fabio Alves de Araujo Ebner - DnaSolution wrote:
> 
> 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
> 


-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

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


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

Reply via email to