0
I에 대한 질문의 XForms 페이지로드 이벤트에 제출 있습니다 는 출력하는 XForms는 서버가 입력하는 XFormsOrbeon, 페이지로드 이벤트에의 XForms subission는
<xforms:instance id="mypagedata.input">
<SOAP-ENV:Envelope>
<SOAP-ENV:Header>
<myheader />
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mybody>give me content</mybody>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
</xforms:instance>
있습니다
<xforms:instance id="mypagedata.output">
<SOAP-ENV:Envelope />
</xforms:instance>
입출력 XML을 사용하는 subission 함수가
<xforms:submission
id="mypagedata.submission"
action="http://localhost/orbeon/xml/mypagedata"
mediatype="action=;application/soap+xml; charset=UTF-8"
encoding="UTF-8"
ref="instance('mypagedata.input')"
method="post"
replace="instance"
instance="mypagedata.output">
<xforms:send submission="mypagedata.submission" />
<xforms:toggle case="case_busy" events:event="xforms-submit" />
<xforms:toggle case="case_error" events:event="xforms-submit-error" />
<xforms:toggle case="case_mypagedata" events:event="xforms-submit-done" />
</xforms:submission>
</xforms:model>
<xforms:switch>
<xforms:case id="mypagedata.default">
<xforms:trigger>
<xforms:label>Mydata</xforms:label>
<xforms:action events:event="DOMActivate">
<xforms:setvalue ref="instance('mypagedata.input')//myheader" value="'this is a my header...'" />
<xforms:send submission="mypagedata.submission" />
</xforms:action>
</xforms:trigger>
</xforms:case>
<xforms:case id="case_busy">Loading</xforms:case>
<xforms:case id="case_error">Error</xforms:case>
<xforms:case id="mypagedata.output">
</xforms:group ref="instance('mypagedata.output')">
... therre output-xml data
</xforms:group>
</xforms:case>
</xforms:switch>
질문은 두 줄이하는 MYDATA 버튼을 눌러 그것을 필요로하지 않는 것이
<xforms:setvalue ref="instance('mypagedata.input')//myheader" value="'this is a my header...'" />
<xforms:send submission="mypagedata.submission" />
(값 및 제출 설정)를 사용하는 방법이다 내 스위치 태그가 페이지로드시 두 줄을 자동으로 사용 하시겠습니까? 가 감사
감사합니다. – user2301515