Created
April 9, 2015 15:57
-
-
Save ebruchez/92a57b0bb79698e0e4db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xh:html xmlns:xh="http://www.w3.org/1999/xhtml" | |
xmlns:xxf="http://orbeon.org/oxf/xml/xforms" | |
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" | |
xmlns:saxon="http://saxon.sf.net/" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner" | |
xmlns:xf="http://www.w3.org/2002/xforms" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:sql="http://orbeon.org/oxf/xml/sql" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:exf="http://www.exforms.org/exf/1-0" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:fb="http://orbeon.org/oxf/xml/form-builder" | |
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | |
<xh:head> | |
<xh:title>Mine Information</xh:title> | |
<xh:style type="text/css"> | |
.orbeon #fr-view .fr-grid .fr-grid-content .alignRight input.xforms-input-input { text-align: right; } | |
.orbeon #fr-view .fr-grid .fr-grid-content .pushRight { margin-left: 30px; } | |
.orbeon #fr-view .fr-grid td .fr-grid-content .nrs-fr-width-9em input.xforms-input-input, | |
.orbeon #fr-view .fr-grid td .fr-grid-content .nrs-fr-width-9em select { width: 9em; } | |
.orbeon div#fr-view-wizard=section-16-control=section-34-control=xf-656 { margin-left: 30px; } | |
.orbeon div#fr-view-wizard=section-16-control=section-37-control=xf-966 { margin-left: 30px; } | |
.orbeon div[id$="camps-totals-control"] { | |
position: relative; | |
left: 35px; | |
} | |
</xh:style> | |
<xf:model id="fr-form-model" xxf:expose-xpath-types="true"> | |
<!-- Main instance --> | |
<xf:instance id="fr-form-instance" xxf:exclude-result-prefixes="#all"> | |
<form> | |
<camps-and-buildings-section> | |
<camps-and-buildings_camps-section> | |
<camps-and-buildings_camps_total-merchantable-timber/> | |
</camps-and-buildings_camps-section> | |
</camps-and-buildings-section> | |
</form> | |
</xf:instance> | |
<!-- Bindings --> | |
<xf:bind id="fr-form-binds" ref="instance('fr-form-instance')"> | |
<xf:bind id="camps-and-buildings-section-bind" ref="camps-and-buildings-section" | |
name="camps-and-buildings-section"> | |
<xf:bind id="camps-and-buildings_camps-section-bind" | |
ref="camps-and-buildings_camps-section" | |
name="camps-and-buildings_camps-section"> | |
<xf:bind id="camps-and-buildings_camps_total-merchantable-timber-bind" | |
ref="camps-and-buildings_camps_total-merchantable-timber" | |
name="camps-and-buildings_camps_total-merchantable-timber" | |
calculate="sum($camp-repeat/camp-repeat-iteration/merchantable-timber[string() castable as xs:decimal],0.0)" | |
type="xf:decimal"/> | |
</xf:bind> | |
</xf:bind> | |
</xf:bind> | |
<!-- Metadata --> | |
<xf:instance xxf:readonly="true" id="fr-form-metadata" xxf:exclude-result-prefixes="#all"> | |
<metadata> | |
<application-name>now</application-name> | |
<form-name>mine-information</form-name> | |
<title xml:lang="en">Mine Information</title> | |
<description xml:lang="en"/> | |
<singleton>false</singleton> | |
</metadata> | |
</xf:instance> | |
<!-- Attachments --> | |
<xf:instance id="fr-form-attachments" xxf:exclude-result-prefixes="#all"> | |
<attachments> | |
<css mediatype="text/css" filename="" size=""/> | |
<pdf mediatype="application/pdf" filename="" size=""/> | |
</attachments> | |
</xf:instance> | |
<!-- All form resources --> | |
<!-- Don't make readonly by default in case a service modifies the resources --> | |
<xf:instance id="fr-form-resources" xxf:readonly="false" xxf:exclude-result-prefixes="#all"> | |
<resources> | |
<resource xml:lang="en"> | |
<camps-and-buildings_camps_total-merchantable-timber> | |
<label/> | |
<hint>Total Merchantable Timber</hint> | |
</camps-and-buildings_camps_total-merchantable-timber> | |
<camps-and-buildings_camps-section> | |
<label>Camps</label> | |
<help/> | |
</camps-and-buildings_camps-section> | |
<camps-and-buildings-section> | |
<label>Camps & Buildings</label> | |
</camps-and-buildings-section> | |
</resource> | |
</resources> | |
</xf:instance> | |
<!-- Utility instances for services --> | |
<xf:instance id="fr-service-request-instance" xxf:exclude-result-prefixes="#all"> | |
<request/> | |
</xf:instance> | |
<xf:instance id="fr-service-response-instance" xxf:exclude-result-prefixes="#all"> | |
<response/> | |
</xf:instance> | |
</xf:model> | |
</xh:head> | |
<xh:body> | |
<fr:view> | |
<fr:body xmlns:xbl="http://www.w3.org/ns/xbl" xmlns:p="http://www.orbeon.com/oxf/pipeline" | |
xmlns:oxf="http://www.orbeon.com/oxf/processors"> | |
<fr:section id="camps-and-buildings-section-control" | |
bind="camps-and-buildings-section-bind"> | |
<xf:label ref="$form-resources/camps-and-buildings-section/label"/> | |
<fr:section id="camps-and-buildings_camps-section-control" | |
bind="camps-and-buildings_camps-section-bind"> | |
<xf:label ref="$form-resources/camps-and-buildings_camps-section/label"/> | |
<fr:grid id="camps-totals-control"> | |
<xh:tr> | |
<xh:td> | |
<fr:number id="camps-and-buildings_camps_total-merchantable-timber-control" | |
bind="camps-and-buildings_camps_total-merchantable-timber-bind" | |
suffix="m3" | |
digits-after-decimal="2" | |
class="alignRight"> | |
<xf:label ref="$form-resources/camps-and-buildings_camps_total-merchantable-timber/label"/> | |
<xf:hint ref="$form-resources/camps-and-buildings_camps_total-merchantable-timber/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</fr:number> | |
</xh:td> | |
</xh:tr> | |
</fr:grid> | |
</fr:section> | |
</fr:section> | |
</fr:body> | |
</fr:view> | |
</xh:body> | |
</xh:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment