Run Application View Source Code

Orbeon Forms Apps

Orbeon Forms Source Code Viewer

Loading...
An error has occurred

You may want to try one of the following:

  • Close this dialog and continue to use this page.
  • Reload this page. Note that you will lose any unsaved changes.
  • If the above does not work, try reloading the page yourself. Note that you will lose any unsaved changes:

    • With Firefox and Safari: hold down the shift key and click the Reload button in your browser toolbar.
    • With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
  • Return home.
Help
View as text View as text View as formatted XML View as formatted XML Download Download
get-files.xpl 2,573
page-flow.xml 2,315
samples/action-load-target.xhtml 2,208
samples/action-load.xhtml 3,032
samples/action-script.xhtml 985
samples/action-setfocus.xhtml 4,830
samples/alert-multiple.xhtml 4,770
samples/alert.xhtml 3,813
samples/alternating-rows.xhtml 3,404
samples/autoresize-textarea.xhtml 996
samples/avt-load.xhtml 3,161
samples/avt-style.xhtml 3,873
samples/avt-zebra.xhtml 3,169
samples/avts.xhtml 3,161
samples/boolean-input.xhtml 7,253
samples/boolean-mips.xhtml 2,688
samples/map-geocode.xhtml 7,612
samples/test-repeat.js 4,145
samples/test-repeat.xhtml 4,312
samples/test-xforms-controls.js 18,917
samples/test-xforms-controls.xhtml 15,701
samples/bugs/README.TXT 94
samples/bugs/bug-disabled-value-changed.xhtml 2,525
samples/bugs/bug-early-evaluation-during-refresh.xhtml 2,605
samples/bugs/bug-empty-select-update.xhtml 4,479
samples/bugs/bug-events-data.xml 680
samples/bugs/bug-id-clash.xhtml 2,009
samples/bugs/bug-insert-preceding.xhtml 2,003
samples/bugs/bug-nested-repeat-indexes.xhtml 6,856
samples/bugs/bug-ns-clash.xhtml 2,209
samples/bugs/bug-repeat-alert.xhtml 2,587
samples/bugs/bug-repeat-index-update-clash.xhtml 5,388
samples/bugs/bug-sort-repeat-events.xhtml 2,184
samples/bugs/bug-variable-scoping.xhtml 2,194
samples/bugs/bug-xbl-repeat-index.xhtml 4,778
samples/bugs/bug-xxforms-instance-scoping.xhtml 3,207
samples/unit-tests.xhtml 7,977
samples/xbl-twitter.xhtml 1,881
samples/xbl-xslt.xhtml 4,772
samples/hierarchy.xhtml 1,787
samples/howto/README.txt 92
samples/howto/edit-details-in-dialog.xhtml 8,318
samples/howto/edit-hierarchy.xhtml 1,261
samples/howto/htmlarea.xhtml 1,357
samples/howto/i18n-resources.xml 1,433
samples/howto/i18n.xhtml 4,352
samples/howto/load-initial-form-data-pull-instance.xml 136
samples/howto/load-initial-form-data-pull.xhtml 1,653
samples/howto/load-initial-form-data-push.xhtml 1,991
samples/howto/navigation-main.xhtml 2,788
samples/howto/navigation-search.xhtml 2,953
samples/howto/repeat-insert.xhtml 2,896
samples/howto/xslt-from-xforms.xhtml 3,972
samples/howto/error-summary.xhtml 7,111
samples/howto/external-validation-response.xml 534
samples/howto/external-validation.xhtml 6,555
samples/howto/dynamic-controls.xhtml 5,248
samples/howto/tree-folders.xhtml 2,889
samples/test-error-warning.xhtml 4,707
samples/test-xbl.xhtml 7,966
samples/test-dialog.js 1,535
samples/test-dialog.xhtml 1,961
samples/xbl-tutorial-davinci.xhtml 2,938
samples/xbl-tutorial-input.xhtml 2,903
samples/xbl-xslt-scope.xhtml 7,761
samples/buttons-rows.xhtml 5,567
samples/tree.xhtml 15,601
samples/custom-events.xhtml 3,667
samples/event-context.xhtml 5,362
samples/xbl-handlers.xhtml 5,336
samples/datatable-ng-calculate.xhtml 3,458
samples/datatable-ng-index.xhtml 3,924
samples/datatable-ng-insert.xhtml 8,420
samples/datatable-ng-link.xhtml 2,545
samples/datatable-ng-loading.xhtml 3,669
samples/datatable-ng-non-selectable.xhtml 3,963
samples/datatable-ng-paginate-loading.xhtml 3,588
samples/datatable-ng-paginate-maxpages.xhtml 2,594
samples/datatable-ng-paginate-server.xhtml 5,792
samples/datatable-ng-paginate.xhtml 2,659
samples/datatable-ng-refresh.xhtml 4,010
samples/datatable-ng-relevance.xhtml 5,027
samples/datatable-ng-repeat-update.xhtml 3,315
samples/datatable-ng-scrollable-empty.xhtml 5,249
samples/datatable-ng-scrollable-fixed-width.xhtml 4,794
samples/datatable-ng-scrollable.xhtml 4,762
samples/datatable-ng-setindex.xhtml 3,167
samples/datatable-ng-sorted.xhtml 2,657
samples/datatable-ng-sorting-lookup.xhtml 5,065
samples/datatable-ng-submission.xhtml 3,936
samples/datatable-ng-switch.xhtml 3,928
samples/datatable-ng-width-100percents-accordion.xhtml 8,484
samples/datatable-ng-width-100percents.xhtml 6,965
samples/datatable-ng-width.xhtml 7,282
samples/datatable-ng.xhtml 4,177
samples/test-xbl-binding-dispatch.xhtml 5,181
samples/form-runner-oracle.xhtml 6,087
samples/insert-delete.xhtml 4,685
samples/insert-while-issue.xhtml 1,449
samples/master-detail.xhtml 3,146
samples/offline-mips.xhtml 7,507
samples/date.xhtml 4,863
samples/datetime-fix.xhtml 2,687
samples/dialog-dropdown.xhtml 2,542
samples/dialog.xhtml 8,825
samples/dirty-button.xhtml 2,978
samples/dispatch-delay.xhtml 2,732
samples/dispatch-repeat.xhtml 2,571
samples/dynamic-dropdown.xhtml 2,265
samples/dynamic-image-trigger.xhtml 6,397
samples/empty-nested-repeat.xhtml 4,150
samples/offline-initial-events.xhtml 4,395
samples/event-item-value.xhtml 2,886
samples/exclusive-checkboxes.xhtml 2,416
samples/exfsort.xhtml 3,757
samples/fibonacci.xhtml 3,553
samples/offline-sections.xhtml 6,261
samples/group-invalid.xhtml 1,706
samples/group-relevant-select.xhtml 2,509
samples/group-relevant-trigger.xhtml 1,763
samples/group-relevant.xhtml 3,874
samples/group-tr.xhtml 3,111
samples/help-panel.xhtml 6,869
samples/help.xhtml 3,909
samples/include.xml 924
samples/incremental-calculate-bug.xhtml 1,796
samples/init-load.xhtml 1,578
samples/input-enter.xhtml 1,934
samples/input-javascript-1.xhtml 1,867
samples/input-javascript-2.xhtml 2,753
samples/offline-performance-encryption.xhtml 4,430
samples/instance-exception.xhtml 1,388
samples/itemset-submission.xhtml 2,860
samples/iterate-setindex-variables.xhtml 2,077
samples/javascript-activate-trigger.xhtml 2,098
samples/javascript-get-set-value.xhtml 2,418
samples/lhha-for.xhtml 2,795
samples/load-calculator.xhtml 2,450
samples/long-submission.xhtml 1,007
samples/offline-performance-fields.xhtml 5,279
samples/menu-fck.xhtml 3,185
samples/menu.xhtml 2,636
samples/message.xhtml 1,563
samples/models-calculate.xhtml 1,793
samples/multiple-models.xhtml 842
samples/noscript-checkboxes.xhtml 2,682
samples/offline-summary.xhtml 5,492
samples/output-image.xhtml 3,138
samples/offline-password.xhtml 4,428
samples/repeat-relevance.xhtml 2,349
samples/repeat-setfocus.xhtml 2,625
samples/repeat-table-cells.xhtml 8,533
samples/schema-types.xhtml 9,391
samples/tidy-html.xhtml 3,382
samples/output-download.xhtml 2,259
samples/output-formatting.xhtml 2,621
samples/output-html.xhtml 2,109
samples/table-overflow.xhtml 6,890
samples/output-rewrite.xhtml 4,615
samples/password-strength.xhtml 6,779
samples/po.xhtml 2,867
samples/performance-loading.xhtml 1,801
samples/random.xhtml 1,806
samples/readonly-copies.xhtml 3,662
samples/readonly-instance.xhtml 1,851
samples/repeat-action.xhtml 2,251
samples/repeat-binds.xhtml 2,450
samples/repeat-extension-attributes.xhtml 2,892
samples/repeat-groups.xhtml 2,543
samples/repeat-homogeneous.xhtml 4,123
samples/repeat-image.xhtml 2,084
samples/repeat-move.xhtml 2,905
samples/repeat-nested.xhtml 5,357
samples/repeat-output.xhtml 2,044
samples/repeat-position.xhtml 1,907
samples/submission-async.xhtml 8,879
samples/repeat-select.xhtml 3,179
samples/repeat-select1-full.xhtml 2,887
samples/switch-in-repeat.xhtml 2,812
samples/test-post-cache.xhtml 2,913
samples/repeat-tree.xhtml 2,507
samples/repeat-xforms-ready.xhtml 1,826
samples/tree-update.xhtml 6,491
samples/schema-types.xsd 5,387
samples/select-open.xhtml 2,348
samples/select-relevant.xhtml 3,548
samples/select-repeat.xhtml 4,893
samples/select1-hiearchy.xhtml 7,176
samples/shopping-cart.xhtml 6,927
samples/single-node-binding.xhtml 2,133
samples/sort.xhtml 5,869
samples/style-iterations.xhtml 3,041
samples/unit-tests-legacy.xhtml 9,951
samples/submission-error.xhtml 2,294
samples/submission-post.xhtml 1,536
samples/submission-protected.xhtml 1,968
samples/submission-replace-all-1.xhtml 2,164
samples/submission-replace-all-2.xhtml 2,082
samples/submission-serialize.xhtml 1,887
samples/xbl-box-select.xhtml 2,828
samples/switch-nested.xhtml 3,850
samples/table-checkboxes.xhtml 2,763
samples/xbl-currency.xhtml 2,578
samples/table-radiobuttons-deferred.xhtml 3,391
samples/test-bug-checkbox-update.xhtml 4,910
samples/test-calculate-index.xhtml 1,958
samples/test-control-xhtml-area.js 2,643
samples/test-control-xhtml-area.xhtml 1,602
samples/test-custom-mips.xhtml 9,452
samples/test-deferred-client-events.xhtml 5,535
samples/web-service-weather.xhtml 4,853
samples/test-do-update.xhtml 4,037
samples/test-error-ajax.xhtml 6,340
samples/test-group-delimiters.js 2,248
samples/test-group-delimiters.xhtml 3,509
samples/test-help-model.xhtml 3,247
samples/test-loading-indicator.js 1,795
samples/test-loading-indicator.xhtml 2,459
samples/test-output-update.xhtml 2,411
samples/xbl-date.xhtml 6,135
samples/test-readonly.xhtml 1,377
samples/xbl-datetime.xhtml 4,143
samples/xbl-map.xhtml 1,819
samples/test-setbasepaths.xhtml 8,232
samples/test-tooltip-position.js 1,985
samples/test-tooltip-position.xhtml 2,302
samples/test-trigger-modal.xhtml 4,334
samples/test-upload-replace-instance.xhtml 5,275
samples/test-visual-relevance.xhtml 11,656
samples/test-visual-switchcase.xhtml 11,777
samples/xbl-html-ids.xhtml 3,134
samples/xbl-phone.xhtml 2,545
samples/xbl-readonly.xhtml 5,235
samples/xbl-repeat-date.xhtml 2,872
samples/xbl-simple.xhtml 4,281
samples/toggle-select1.xhtml 2,136
samples/xforms-copy.xhtml 2,860
samples/trigger-appearances.xhtml 5,786
samples/while.xhtml 2,611
samples/xbl-composition-order.xhtml 2,424
samples/xbl-databound-switch.xhtml 2,932
samples/xbl-nested-repeats.xhtml 2,755
samples/xbl-setindex2.xhtml 3,321
samples/xforms-functions.xhtml 1,466
samples/xinclude.xhtml 1,583
samples/xpath-expressions.xhtml 2,193
samples/xpath-type-annotations.xhtml 3,034
samples/xxforms-evaluate.xhtml 1,676
samples/xxforms-functions.xhtml 2,571
sandbox-view.xpl 1,077
services/bad-xml.txt 87
services/bad-xml.xpl 1,711
services/css-after-5-seconds.xpl 1,918
services/identity.xpl 1,300
services/image-with-delay.xpl 2,557
services/sleep-5-seconds.xpl 1,487
services/sleep.xpl 1,864
services/twitter.xpl 2,881
services/twitter.xsl 2,823
services/zip-cities.xpl 2,418
services/zip-flat.xml 7,034,653
services/zip-states.xpl 1,804
services/zip-zips.xpl 2,439
upload-action.xpl 2,851
upload-view.xhtml 8,218
<!--
  Copyright (C) 2009 Orbeon, Inc.

  This program is free software; you can redistribute it and/or modify it under the terms of the
  GNU Lesser General Public License as published by the Free Software Foundation; either version
  2.1 of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU Lesser General Public License for more details.

  The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
  -->
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
    xmlns:oxf="http://www.orbeon.com/oxf/processors"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <p:param type="input" name="instance"/>

    <!-- Scan directory -->
    <p:processor name="oxf:directory-scanner">
        <p:input name="config" href="#instance" transform="oxf:xslt">
            <config xsl:version="2.0">
                <base-directory>oxf:/apps/xforms-sandbox/samples</base-directory>
                <include>*.xhtml</include>
                <case-sensitive>false</case-sensitive>
            </config>
        </p:input>
        <p:output name="data" id="result" debug="xxx"/>
    </p:processor>

    <!-- Sort -->
    <p:processor name="oxf:xslt-2.0">
        <p:input name="data" href="#result"/>
        <p:input name="config">
            <directory xsl:version="2.0">
                <xsl:copy-of select="/directory/@*"/>
                <xsl:for-each select="/directory/file">
                    <xsl:sort select="@name"/>
                    <xsl:copy-of select="."/>
                </xsl:for-each>
            </directory>
        </p:input>
        <p:output name="data" id="sorted"/>
    </p:processor>
    
    <!-- Convert and serialize to XML -->
    <p:processor name="oxf:xml-converter">
        <p:input name="config">
            <config>
                <indent>false</indent>
                <encoding>utf-8</encoding>
            </config>
        </p:input>
        <p:input name="data" href="#sorted"/>
        <p:output name="data" id="converted"/>
    </p:processor>
    
     <p:processor name="oxf:http-serializer">
        <p:input name="config">
            <config>
                <cache-control>
                    <use-local-cache>false</use-local-cache>
                </cache-control>
            </config>
        </p:input>
        <p:input name="data" href="#converted"/>
    </p:processor>

</p:config>

Orbeon Forms dev-post-3.7.1.201001270558