Can apply effects using Dialog Framework

UI Components for JSF
Post Reply
el.rasch
Posts: 1
Joined: 11 Mar 2023, 16:49

24 Mar 2023, 15:05

I'm trying to apply show and hide effects when using DialogFramework with (width and widgetVar are method parameters):

Code: Select all

DialogFrameworkOptions.builder()
                .resizable(false)
                .width(width)
                .blockScroll(true)
                .draggable(true)
                .dynamic(true) 
                .widgetVar(widgetVar)
                .responsive(true) 
                .fitViewport(true) 
                .modal(true)
                .closeOnEscape(true) 
                .showEffect("puff")
                .hideEffect("explode")
                .includeViewParams(true) 
                .resizeObserver(true)
                .resizeObserverCenter(true) 
                .build();
However, no matter what effect I choose, no effect happens, although the dialog shows normally. When I do it without framework effects works just fine.
Am I doing something wrong?
primefaces 12.0.0 (jakarta),
jakartaee-web-api 9.1.0,
weld-se-core 4.0.1.SP1,
primefaces-extensions 12.0.4 (jakarta),
wildfly 27.0.1. Preview Final

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

27 Mar 2023, 18:50

I dont think it will ever work since Dialog Framework uses IFRAME to display dialog.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests