Dear PrimeFaces engineers!
We are using Sapphire with PrimeFaces 7 and have the following problem:
When viewed with a Chrome browser in a mobile phone (Samsung Galaxy A53), a document rendered via <p:dialog cannot be closed - no matter how many times the user clicks on the X icon on the upper right-hand corner.
I used to experience the same problem earlier with Samsung A80, but I thought it was due to a defect in the screen.
Now, my mobile phone is pretty new (less then a month), and it cannot be due to some defect.
Please help me!
This is the source code:
<p:dialog id="dokumentPreviewId" rendered="#{containingBean.previewClicked}" header="Dokumentinhalt" width="#{containingBean.screenWidth-40}" height="#{containingBean.screenHeight - 120}" widgetVar="dlg2" showEffect="fade" hideEffect="fade" resizable="true" modal="true">
<f:event listener="#{basicDocumentViewerController.onPrerender}" type="preRenderComponent" />
<pe:documentViewer height="500" value="#{basicDocumentViewerController.content}" download="#{basicDocumentViewerController.downloadFileName}"/>
<f:param id="docURLId" name="docURL" value="#{containingBean.previewDocumentPath}" />
<p:ajax id="dialogCloserId" event="close" listener="#{containingBean.onPreviewDialogClosed}" update="#{update}" />
</p:dialog>
<p:dialog not closable in Chrome für Samsung?!
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Sorry for the delayed response! Could you please try this issue with the latest Sapphire version? (You can check it with a basic dialog.) Also, could you please share a screenshot for us to replicate?
In your case, you see the close button but when you click it and it doesn't work. Is it correct?
Best Regards,
Sorry for the delayed response! Could you please try this issue with the latest Sapphire version? (You can check it with a basic dialog.) Also, could you please share a screenshot for us to replicate?
In your case, you see the close button but when you click it and it doesn't work. Is it correct?
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 40
- Joined: 02 Mar 2014, 12:26
Dear Mert Sincan!
Thank you for your reply!
I could try with the latest Sapphire version, but I am not sure when will I find time for that. As long as I do it, I will reply to you here.
Thank you and have a nice day!
Kind regards,
Alex
Thank you for your reply!
I could try with the latest Sapphire version, but I am not sure when will I find time for that. As long as I do it, I will reply to you here.
Thank you and have a nice day!
Kind regards,
Alex
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks a lot for your update, Alex!
Have a nice day,
Best Regards,
Have a nice day,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 40
- Joined: 02 Mar 2014, 12:26
Dear Mert Sincan!
Please find a screenshot of the mentioned problem of not being able to close a p:dialog using a Samsung phone taken today:
https://github.com/alexanderdmin/pf-sap ... Chrome.jpg
The user clicked on the X symbol on the right upper corner of the dialog "Aktion nicht erlaubt", but it did not close.
I wanted to try your proposal to solve the problem, but I am afraid, I did not quite understand your point.
1.) Did you mean that I shall buy (or upgrade to) the newest Sapphire template and substitute my old template for the newest one in my source code?
OR
2.) Did you mean that I should just go to the showcase of your newest Sapphire template with my Samsung phone, for example under:
https://www.primefaces.org/sapphire/messages.xhtml
then find a button, which opens a p:dialog, such any of the buttons in the "Growl" section, then click this button, make sure that a p:dialog opens, and then try to close it with my Samsung?
If you meant (2) - then yes, I was able to open and close a p:dialog using my Samsung phone.
So shall now I buy your newest template to test it in my project? Or there is an option just to upgrade to the newest Sapphire using my existing licence? Shall I also upgrade my PrimeFaces Version? I am currently using 7.0.
Please help!
Thank you and kind regards,
Alex
Thank you and kind regards,
Alex
Please find a screenshot of the mentioned problem of not being able to close a p:dialog using a Samsung phone taken today:
https://github.com/alexanderdmin/pf-sap ... Chrome.jpg
The user clicked on the X symbol on the right upper corner of the dialog "Aktion nicht erlaubt", but it did not close.
I wanted to try your proposal to solve the problem, but I am afraid, I did not quite understand your point.
1.) Did you mean that I shall buy (or upgrade to) the newest Sapphire template and substitute my old template for the newest one in my source code?
OR
2.) Did you mean that I should just go to the showcase of your newest Sapphire template with my Samsung phone, for example under:
https://www.primefaces.org/sapphire/messages.xhtml
then find a button, which opens a p:dialog, such any of the buttons in the "Growl" section, then click this button, make sure that a p:dialog opens, and then try to close it with my Samsung?
If you meant (2) - then yes, I was able to open and close a p:dialog using my Samsung phone.
So shall now I buy your newest template to test it in my project? Or there is an option just to upgrade to the newest Sapphire using my existing licence? Shall I also upgrade my PrimeFaces Version? I am currently using 7.0.
Please help!
Thank you and kind regards,
Alex
Thank you and kind regards,
Alex
-
- Posts: 40
- Joined: 02 Mar 2014, 12:26
Dear olgubasak !
Thank you very much for your prompt support!
Did you mean the current version of PrimeFaces 12.0.0 and sapphire 5.1.0? I am not sure I can upgrade so fast due to some jee / jakarta dependency issues I have to solve first.
Do you know which is the earliest version of Sapphire Template, when this issue was fixed?
Thank you and kind regards,
Alex
Thank you very much for your prompt support!
Did you mean the current version of PrimeFaces 12.0.0 and sapphire 5.1.0? I am not sure I can upgrade so fast due to some jee / jakarta dependency issues I have to solve first.
Do you know which is the earliest version of Sapphire Template, when this issue was fixed?
Thank you and kind regards,
Alex
-
- Posts: 40
- Joined: 02 Mar 2014, 12:26
Hi, and thanks once again for the quick response!
I will do all my best to migrate my app to the newest versions.
All the best,
Alex
I will do all my best to migrate my app to the newest versions.
All the best,
Alex
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests