You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Pierre Wolf <pi...@googlemail.com> on 2009/05/26 16:20:35 UTC

s:modalDialog immediately closing

Hy,

I've got a problem using the modalDialog of the sandbox project.

When I open a dialog with a commandLink or commandButton the dialog opens
only for a short time. It closes automaticaly immediate after opening.

I've no explanation of this behavior.

Any idea?

My code is:
    <s:modalDialog dialogId="waehleGk" dialogVar="waehleGk"
dialogTitle="test"
                    closeButton="true">
        <t:outputText>testsajlkajsdlfjl</t:outputText>

        <s:submitOnEvent for="dialog_cancel"></s:submitOnEvent>
    </s:modalDialog>

    <t:commandButton id="dialog_cancel"></t:commandButton>

I'm using tomahawk-sandbox-1.1.9-SNAPSHOT.jar