Page 1 of 1

Faces Massages do not show if there is a schedule component

Posted: 10 Nov 2018, 09:59
by Ireth
Sorry if it's a duplicate, but I couldn't find any existing topic about this issue.

The problem is that if there is a schedule component in the view, any faces massages added to the context do not show.
I tried with "p:messages" and "p:growl" components but with no luck.

You can reproduce the issue with the showcase. If you move an event, a Faces Message is expected, but it doesn't appear.

Thanks for your time! Any help would be appreciated!

Re: Faces Massages do not show if there is a schedule component

Posted: 13 Nov 2018, 15:37
by mert.sincan
Hi,

Please see our PrimeFaces showcase; https://www.primefaces.org/showcase/ui/ ... dule.xhtml (the first example)

You can change your code according to it.

Best Regards,

Re: Faces Massages do not show if there is a schedule component

Posted: 20 Nov 2018, 07:11
by Ireth
Thanks Aragorn, but the issue occurs when Barcelona theme is enabled.

Please, see the Barcelona Showcase. When you move an event, a Faces Message is expected, but it doesn't appear.
https://www.primefaces.org/barcelona/data.xhtml

Re: Faces Massages do not show if there is a schedule component

Posted: 20 Nov 2018, 09:45
by mert.sincan
Please, see the Barcelona Showcase. When you move an event, a Faces Message is expected, but it doesn't appear.
https://www.primefaces.org/barcelona/data.xhtml
- This is just a demo. We cannot add all the properties of the components to the demo pages. Please change data.xhtml page in our sample project;

Code: Select all

<div class="card card-w-title">
                        <h1>Schedule</h1>
                        <p:growl id="messages" showDetail="true" />
                        <p:schedule id="schedule" value="#{scheduleView.eventModel}">
                            <p:ajax event="eventMove" listener="#{scheduleView.onEventMove}" update="messages" />
                        </p:schedule>
</div>