Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -39,8 +39,8 @@ | ... | @@ -39,8 +39,8 @@ |
39 | <p jsf:rendered="#{version.publisherVersionId == version.publisher.validatedVersion.publisherVersionId}">Validé</p> | 39 | <p jsf:rendered="#{version.publisherVersionId == version.publisher.validatedVersion.publisherVersionId}">Validé</p> |
40 | <p jsf:rendered="#{listPublisherVersionsView.viewAll and version.publisherVersionId != version.publisher.validatedVersion.publisherVersionId}">Non validé</p> | 40 | <p jsf:rendered="#{listPublisherVersionsView.viewAll and version.publisherVersionId != version.publisher.validatedVersion.publisherVersionId}">Non validé</p> |
41 | <!-- https://www.mkyong.com/jsf2/4-ways-to-pass-parameter-from-jsf-page-to-backing-bean/ f:param, problème avec Method expression --> | 41 | <!-- https://www.mkyong.com/jsf2/4-ways-to-pass-parameter-from-jsf-page-to-backing-bean/ f:param, problème avec Method expression --> |
42 | - <form action="" jsf:rendered="#{not listPublisherVersionsView.viewAll and version.publisherVersionId != version.publisher.validatedVersion.publisherVersionId}"> | 42 | + <form jsf:id="validateVersion" action="" jsf:rendered="#{not listPublisherVersionsView.viewAll and version.publisherVersionId != version.publisher.validatedVersion.publisherVersionId}"> |
43 | - <button jsf:action="#{listPublisherVersionsView.validate()}">Valider | 43 | + <button jsf:action="#{listPublisherVersionsView.validate}">Valider |
44 | <f:param name="publisherVersionId" value="#{version.publisherVersionId}"/> | 44 | <f:param name="publisherVersionId" value="#{version.publisherVersionId}"/> |
45 | </button> | 45 | </button> |
46 | </form> | 46 | </form> | ... | ... |
-
Please register or login to post a comment