문제

I am very new to Orbeon and XForms.

I have created a form with input field "BaseId"

<xf:input id="control-3-control" bind="control-3-bind">
    <xf:label ref="$form-resources/control-3/label"/>
    <xf:hint ref="$form-resources/control-3/hint"/>
    <xf:help ref="$form-resources/control-3/help"/>
    <xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>

and i want when i summit this form, in crud.xpl
method PUT i cant get value of BaseId through

<sql:param type="xs:string" select="/request/baseid"/>

Help me,please
Sorry for my bad English

도움이 되었습니까?

해결책

The value of controls are passed to the persistence layer REST API in an XML document, as the body of the HTTP request. So in crud.xpl (say the one for eXist), this will be a document under /request/body. The exact path depends on your section and control name. For instance, if the section is named address and the field city, the value will be under /request/body/form/address/city.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top