Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Kyle StiemannKyle Stiemann(Deactivated)Reporter
Kyle StiemannKyle Stiemann(Deactivated)Components
Fix versions
Affects versions
Priority
Low
Details
Details
Assignee
Kyle Stiemann
Kyle Stiemann(Deactivated)Reporter
Kyle Stiemann
Kyle Stiemann(Deactivated)Components
Fix versions
Affects versions
Priority
Zendesk Support
Zendesk Support
Zendesk Support
Created August 7, 2018 at 1:44 PM
Updated November 1, 2019 at 1:37 PM
Resolved November 1, 2019 at 1:37 PM
Steps to reproduce:
Add the following button to the PrimeFaces applicant portlet's
applicant.xhtml
:<h:button outcome="/WEB-INF/views/portletEditMode.xhtml" value="/WEB-INF/views/portletEditMode.xhtml" />
Deploy and navigate to the portlet.
Click the /WEB-INF/views/portletEditMode.xhtml button.
Confirm that edit mode is shown with Date Format input and Submit and Reset buttons.
Use the back button to return to the original view.
Hard reload (clear cache).
Click the Export as CSV button and confirm any download dialogs.
Click the /WEB-INF/views/portletEditMode.xhtml button.
If the bug still exists, the
applicant.xhtml
markup will appear without PrimeFaces CSS styling.If the bug is fixed, edit mode will be shown with Date Format input and Submit and Reset buttons.
Potential Workaround
Add an
actionListener
afterp:fileDownload
,p:dataExporter
, orpe:exporter
that releases theFacesContext
after the download completes:<p:commandButton value="Download" ajax="false"> <p:fileDownload value="#{bean.file}" /> <f:actionListener type="my.package.name.ReleaseFacesContext" /> </p:commandButton>
ReleaseFacesContext
:public final class ReleaseFacesContext implements ActionListener { @Override public void processAction(ActionEvent actionEvent) throws AbortProcessingException { FacesContext.getCurrentInstance().release(); } }