deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <andraschko.tho...@gmail.com>
Subject Re: DELTASPIKE-1044 breaks buttons that open PF dialogs
Date Wed, 13 Jan 2016 13:01:36 GMT
Hi,

I fixed it: https://issues.apache.org/jira/browse/DELTASPIKE-1063

2016-01-13 11:05 GMT+01:00 Markus Lachat <markuslachat@gmx.de>:

> 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:andraschko.thomas@gmail.com]
> Gesendet: Dienstag, 12. Januar 2016 11:12
> An: users@deltaspike.apache.org
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message