myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angel Miralles Arevalo <>
Subject Re: <s:modalDialog> + facelets
Date Mon, 16 Jun 2008 13:56:18 GMT
I proved both of them FF and IE, and it doesn't work in any. It is strange because the content
of the modalDialog is painted on the screen although it must be hide (see point 4 in the previous
Can you send me some example please, of working code. Thanks in advanced! ;)

----- Mensaje original ----
De: James Clinton <>
Para: MyFaces Discussion <>
Enviado: lunes, 16 de junio, 2008 15:08:27
Asunto: RE: <s:modalDialog> + facelets

This only works in FF as far as I know.  Are you using IE?
RichFaces has a modal which works in both browsers, this sits well with Tomahawk too...


From:Angel Miralles Arevalo [] 
Sent: Monday, June 16, 2008 12:54 PM
To: MyFaces Discussion
Subject: Re: <s:modalDialog> + facelets
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 <>
Para :
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":
<!-- Tomahwak/Sandbox con facelets -->
3. Specify tags:
4. Use tag:
<jsp:root xmlns:jsp=""
    <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">
                <t:outputText value="#{msg.autorizacion_usuario_usuario}"></t:outputText>

                <t:inputText value="#{autorizacionUsuarioBean.strUsuario}"
                <t:commandButton id="guardar" forceId="true" value="#{msg.boton_guardar}"
    <h:form id="AutorizacionForm">
            <t:commandLink onclick=";">
                    <h:graphicImage value="/img/detalles/candado.gif" styleClass="mano"/>
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.


Enviado desde Correo Yahoo!
La bandeja de entrada más inteligente.


Enviado desde Correo Yahoo!
La bandeja de entrada más inteligente.
DISCLAIMER: This e-mail is confidential and may also be legally privileged. If you are not
the intended recipient, use of the information contained in this e-mail (including disclosure,
copying or distribution) is prohibited and may be unlawful. Please inform the sender and delete
the message immediately from your system.  This e-mail is attributed to the sender and may
not necessarily reflect the views of the Patsystems Group and no member of the Patsystems
Group accepts any liability for any action taken in reliance on the contents of this e-mail
(other than where it has a legal or regulatory obligation to do so) or for the consequences
of any computer viruses which may have been transmitted by this e-mail. The Patsystems Group
comprises Patsystems plc and its subsidiary group of companies.

Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
View raw message