Hi,

My finding is now that commenting <ds:windowId/> re-enables the button. Here is 
a simple xhtml for copy & paste in your test. The windowMode must be 
ClientWindow and I used 1.5.3-SNAPSHOT from apache repo with PF 5.3

<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:h="http://java.sun.com/jsf/html"; 
      xmlns:p="http://primefaces.org/ui";
      xmlns:f="http://java.sun.com/jsf/core"; 
      xmlns:ds="http://deltaspike.apache.org/jsf"; >

<h:head>
    <title>JSF Button Dialog test</title>
</h:head>

<h:body>
    <h:form id="form" prependId="false">
        <ds:windowId/>
                <h:commandButton id="testButton" value="TestButton" 
type="button" onclick="PF('dlg1').show();" />
                <p:confirmDialog id="dlg1" header="Basic Dialog" 
widgetVar="dlg1" minHeight="40" modal="true">
                        <h:commandButton type="submit" value="submitButton"/>
                <h:outputText value="Resistance to PrimeFaces is futile!" />
        </p:confirmDialog>
    </h:form>
    
</h:body>

</html>

Thanks,
Markus

-----Ursprüngliche Nachricht-----
Von: Thomas Andraschko [mailto:[email protected]] 
Gesendet: Dienstag, 12. Januar 2016 11:12
An: [email protected]
Betreff: Re: DELTASPIKE-1044 breaks buttons that open PF dialogs

Hi,

this should not be related as DELTASPIKE-1044 is only for <a> tags.

It would be great if you could provide a small sample xhtml.

Regards,
Thomas

Reply via email to