Hi James, could you please send the message again? It seems like an internal error on the server and I can't read your response. Thanks in advanced.
----- Mensaje original ---- De: Angel Miralles Arevalo <[EMAIL PROTECTED]> Para: [email protected] Enviado: viernes, 13 de junio, 2008 12:07:00 Asunto: <s:modalDialog> + facelets Hey everybody, I'm trying to integrate tomahawk with facelets, following the steps: 1. Create "sandbox.taglib.xml" 2. Define it on "web.xml": <context-param><param-name>facelets.LIBRARIES</param-name><param-value>/WEB-INF/tomahawk.taglib.xml;/WEB-INF/sandbox.taglib.xml</param-value> 3. Specify tags: <tag> <tag-name>modalDialog</tag-name> <component> <component-type>org.apache.myfaces.ModalDialog</component-type> <renderer-type>org.apache.myfaces.ModalDialog</renderer-type> </component> 4. Use tag: < <ui:composition> <s:modalDialog dialogId="FormUsuario" dialogVar="dojoDialogUsuario" dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade' toggleDuration='250'" hiderIds="guardar" styleClass=""> <h:form id="AutorizacionUsuarioForm"> <h:panelGrid cellpadding="0" cellspacing="0" border="0" columns="1" styleClass="porcen60"> <h:panelGroup> <t:outputText value="#{msg.autorizacion_usuario_usuario}"></t:outputText> <t:inputText value="#{autorizacionUsuarioBean.strUsuario}" size="25"/> </h:panelGroup> <h:panelGroup> <t:commandButton id="guardar" forceId="true" value="#{msg.boton_guardar}" onclick="dojo.widget.byId('FormUsuario').hide();"/> </h:panelGroup> </h:panelGrid> </h:form> h:form id="AutorizacionForm"> < ....... <t:commandLink onclick="dojoDialogUsuario.show();"> <h:graphicImage value="/img/detalles/candado.gif" styleClass="mano"/> ......... </h:form></ But I don´t get it working, always javascript problem: "dojoDialogUsuario" doesn't exists. Moreover when I display the view the modal dialog is on the screen, it isn't hide. I use other sandbox components like <s:pprPanelGroup> and it works perfectly. Any idea what's happening? Thanks in advanced.</ui:composition>jsp:root> </t:commandLink> </s:modalDialog>jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:s="http://myfaces.apache.org/sandbox" xmlns:xxx="/WEB-INF/xxx.tld" version="2.0"></tag></context-param> <!-- Tomahwak/Sandbox con facelets --> ________________________________ Enviado desde Correo Yahoo! La bandeja de entrada más inteligente. ______________________________________________ Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

