Skip to content

Commit

Permalink
more precise update than "form" #6919
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Oct 5, 2020
1 parent 9a24283 commit f8213ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/webapp/file-download-popup-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,11 @@
<f:param name="DO_GB_VALIDATION_#{popupContext}" value="true"/>
</p:commandButton>
<!--PREVIEW TAB BUTTON-->
<!--TODO: Can we be more precise than @form below?-->
<p:commandButton styleClass="btn btn-default" value="#{bundle.acceptTerms}"
rendered="#{popupContext == 'previewTab'}"
actionListener="#{FilePage.showPreview(guestbookResponse)}"
process="previewTab"
update="@form">
update="previewTab">
<f:param name="DO_GB_VALIDATION_#{popupContext}" value="true"/>
</p:commandButton>
<!--WORLDMAP BUTTON-->
Expand Down

0 comments on commit f8213ba

Please sign in to comment.