0
사용자가 이미지를 업로드 할 수있는 모달 패널이 있습니다. 이미지 업로드는 ajax 제출과 작동하지 않으므로 h : commandLink를 사용하여 제출합니다. 불행히도 이것은 우리의 url 매개 변수를 사라지게합니다. 현재보기는 이렇게 보입니다.리치 닫기 후 url 매개 변수가 손실 됨 : modalPanel
<rich:modalPanel domElementAttachment="parent" id="profilePanel" styleClass="popUp" resizeable="false" moveable="false" autosized="true" zindex="200" top="-10">
<h:form enctype="multipart/form-data" id="profilePanelFormId">
<k:box title="Edit Advocacy Profile" width="width6x" wantFocus="true">
<s:div id="profilePanelForm">
<rich:messages rendered="#{messagesUtil.errorsExist}"/>
<a4j:include viewId="/panel/advocacy/advocateProfileEdit.xhtml"/>
</s:div>
<h:commandLink id="cancel" immediate="true" value="Cancel" action="#{advocateManager.cancelEditCommitment}" styleClass="button cancel" tabindex="100">
<f:param name="confirmationCode" value="3C5VNP5"/>
</h:commandLink>
<h:commandLink id="save" value="Save" action="#{advocateManager.saveCommitment}" styleClass="button submit" tabindex="101">
<f:param name="confirmationCode" value="3C5VNP5"/>
</h:commandLink>
</k:box>
</h:form>
</rich:modalPanel>
그러나 취소 또는 저장을 클릭 URL은 : 대신 view.html confirmationCode = 3C5VNP5 & conversationId =의 view.html 내가 기대 같은 x를.
왜이 기능이 작동하지 않거나 해결할 수 있는지 알 수 있습니까?
richfaces 파일을 수정하는 방법에 대한 제안 사항이 있습니까? Ajax를 통해 작동하지 않는다는 것이 내게는 완전히 합리적입니다. – perilandmishap