Skip to content

Commit

Permalink
expand "update" for validation #6919
Browse files Browse the repository at this point in the history
Without this update, the failure case was this:

1. When there are required fields, click Accept without filling them in.
2. Fill in all required fields and click Accept.
3. The form remains and you cannot see the preview.
  • Loading branch information
pdurbin committed Oct 5, 2020
1 parent f8213ba commit 55c6854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/file-download-popup-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
rendered="#{popupContext == 'previewTab'}"
actionListener="#{FilePage.showPreview(guestbookResponse)}"
process="previewTab"
update="previewTab">
update="fileForm:tabView">
<f:param name="DO_GB_VALIDATION_#{popupContext}" value="true"/>
</p:commandButton>
<!--WORLDMAP BUTTON-->
Expand Down

0 comments on commit 55c6854

Please sign in to comment.