2015-01-06 1 views
1

잠시 동안 찾은 다음 저장 최종 버튼을 누르면 요청을 내 양식에서 외부 webapp로 보낼 수있는 솔루션을 찾을 수 없습니다.매개 변수가있는 Orbeon 전송 버튼

이것은 내가 지금까지 내 속성 - local.xml에있는 것입니다

...

<property as="xs:string" name="oxf.fr.detail.send.success.uri.*.*" 
value="http://localhost:8080/monnieapp/?id={xxf:get-request-parameter('doc-id')}"/> 

<property 
as="xs:string" 
name="oxf.fr.detail.process.save-final.*.*" 
value='require-uploads 
     then require-valid 
     then save 
     then send(property = "oxf.fr.detail.send.success", uri = "http://localhost:8080/monnieapp/") 
     then success-message("save-success") 
     recover error-message("database-error")'/> 

것은 내가 값과 속성 이름 등을 변경 시도했지만 내가 저장하려고하면 다음과 같은 메시지가 점점 계속. ..

An error has occurred while processing the request. 

어떻게해야합니까?

감사

답변

2

당신이 4.7.0을 사용하는 경우, 4.7.1가, this issue가 수정되었습니다하려고합니다. 4.7.1에서 다음과 같이 작동해야합니다.

<property as="xs:string" name="oxf.fr.detail.process.save-final.*.*"> 
    require-uploads 
    then require-valid 
    then save 
    then send(uri = "http://localhost:8080/monnieapp/?id={xxf:get-request-parameter('doc-id')}") 
    then success-message("save-success") 
    recover error-message("database-error") 
</property> 
+0

이렇게하려면 다음 커뮤니티 릴리스가 필요합니다. – blairmeister

+0

4.7-ce 브랜치에서 [소스에서 빌드] (https://github.com/orbeon/orbeon-forms/wiki/Contributors-~-Building-Orbeon-Forms)하거나 4.8을 기다릴 수 있습니다. 0, 곧 나오고 있습니다. – ebruchez

+0

농담이 아니 었습니다. 4.8이 나왔습니다. 도움에 감사드립니다. – blairmeister

관련 문제