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
samples/action-load-target.xhtml 2,208
samples/action-load.xhtml 3,077
samples/action-script.xhtml 985
samples/action-setfocus.xhtml 4,847
samples/alert.xhtml 3,828
samples/autoresize-textarea.xhtml 996
samples/control-xhtml-area.xhtml 969
samples/custom-events.xhtml 3,667
samples/date.xhtml 4,863
samples/dialog.xhtml 3,609
samples/dynamic-image-trigger.xhtml 6,397
samples/empty-nested-repeat.xhtml 4,150
samples/event-context.xhtml 5,401
samples/exclusive-checkboxes.xhtml 2,461
samples/fibonacci.xhtml 3,553
samples/group-invalid.xhtml 1,751
samples/group-relevant-select.xhtml 2,509
samples/group-relevant-trigger.xhtml 1,763
samples/group-relevant.xhtml 3,874
samples/help-panel.xhtml 6,914
samples/help.xhtml 3,954
samples/incremental-calculate-bug.xhtml 1,841
samples/input-enter.xhtml 1,979
samples/input-javascript-1.xhtml 1,912
samples/input-javascript-2.xhtml 2,753
samples/insert-delete.xhtml 4,742
samples/instance-exception.xhtml 1,388
samples/itemset-submission.xhtml 2,860
samples/javascript-activate-trigger.xhtml 2,143
samples/javascript-get-set-value.xhtml 2,463
samples/load-calculator.xhtml 2,495
samples/menu-fck.xhtml 3,185
samples/menu.xhtml 2,801
samples/message.xhtml 1,608
samples/multiple-models.xhtml 842
samples/output-formatting.xhtml 2,621
samples/output-html.xhtml 2,154
samples/random.xhtml 1,806
samples/readonly-instance.xhtml 1,851
samples/repeat-homogeneous.xhtml 4,168
samples/repeat-image.xhtml 2,118
samples/repeat-nested.xhtml 3,141
samples/repeat-output.xhtml 2,044
samples/repeat-select.xhtml 3,224
samples/repeat-select1-full.xhtml 2,887
samples/repeat-xforms-ready.xhtml 1,826
samples/select-open.xhtml 2,393
samples/select-relevant.xhtml 3,548
samples/select-repeat.xhtml 4,780
samples/select1-hiearchy.xhtml 7,221
samples/sort.xhtml 4,254
samples/submission-error.xhtml 2,339
samples/submission-protected.xhtml 2,013
samples/submission-serialize.xhtml 1,932
samples/switch-in-repeat.xhtml 2,824
samples/test-calculate-index.xhtml 1,958
samples/test-readonly.xhtml 1,377
samples/tree.xhtml 12,340
samples/trigger-appearances.xhtml 5,831
samples/unit-tests.xhtml 2,949
samples/upload-replace-instance.xhtml 1,954
samples/while.xhtml 2,656
samples/xpath-expressions.xhtml 2,193
samples/output-rewrite.xhtml 4,660
samples/readonly-copies.xhtml 3,662
samples/single-node-binding.xhtml 2,133
samples/test-help-model.xhtml 3,247
samples/avts.xhtml 3,206
samples/repeat-action.xhtml 2,296
samples/xxforms-evaluate.xhtml 1,676
samples/alternating-rows.xhtml 3,404
samples/boolean-input.xhtml 2,825
samples/buttons-rows.xhtml 5,579
samples/dialog-dropdown.xhtml 2,542
samples/error-ajax.xhtml 2,525
samples/error-summary.xhtml 8,866
samples/group-tr.xhtml 3,111
samples/long-submission.xhtml 1,007
samples/models-calculate.xhtml 1,793
samples/repeat-groups.xhtml 2,543
samples/repeat-position.xhtml 1,907
samples/repeat-table-cells.xhtml 6,278
samples/repeat-tree.xhtml 2,552
samples/schema-types.xhtml 9,403
samples/schema-types.xsd 5,387
samples/tree-update.xhtml 6,495
samples/web-service-weather.xhtml 4,865
samples/xforms-functions.xhtml 1,466
samples/xxforms-functions.xhtml 2,571
samples/avt-load.xhtml 3,206
samples/avt-zebra.xhtml 2,683
samples/iterate-setindex-variables.xhtml 2,077
samples/trigger-modal.xhtml 1,677
samples/xforms-copy.xhtml 2,917
samples/bug-insert-preceding.xhtml 2,029
samples/event-item-value.xhtml 2,931
samples/offline-encryption-performance.xhtml 4,442
samples/offline-initial-events.xhtml 4,342
samples/offline-mips.xhtml 4,472
samples/offline-password.xhtml 4,428
samples/offline-sections.xhtml 4,558
samples/offline-summary.xhtml 3,739
samples/output-image.xhtml 3,195
samples/performance-loading.xhtml 1,801
samples/po.xhtml 2,867
samples/repeat-binds.xhtml 2,450
services/sleep-5-seconds.xpl 1,487
services/image-with-delay.xpl 2,269
get-files.xpl 2,185
page-flow.xml 1,340
sandbox-view.xpl 1,077
upload-action.xpl 2,851
upload-view.xhtml 9,291
$xforms-template-label$
<!--
    Copyright (C) 2007 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
-->
<xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
    xmlns:f="http://orbeon.org/oxf/xml/formatting"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
    xmlns:widget="http://orbeon.org/oxf/xml/widget"
    xmlns:ev="http://www.w3.org/2001/xml-events"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xhtml:head>
        <xhtml:title>XForms Load with Target Attribute</xhtml:title>
        <xforms:model>
            <xforms:instance id="instance">
                <instance>
                    <yahoo>http://www.yahoo.com</yahoo>
                </instance>
            </xforms:instance>
            <xforms:submission method="get" action="http://search.yahoo.com/" serialization="none" id="yahoo-submission"
                    xxforms:target="iframe"/>
        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        Go to Y! Search with:
        <xforms:trigger>
            <xforms:label>xforms:load</xforms:label>
            <xforms:load xxforms:target="iframe" ev:event="DOMActivate" resource="http://search.yahoo.com/" show="replace"/>
        </xforms:trigger>
        <!--
        Not supported (yet):

        <xforms:trigger>
            <xforms:label>xforms:submission</xforms:label>
            <xforms:send submission="yahoo-submission" ev:event="DOMActivate"/>
        </xforms:trigger>
        -->
        <xhtml:div>
            <xhtml:iframe name="iframe" src="http://www.google.com/xhtml" width="400" height="400"/>
        </xhtml:div>
    </xhtml:body>
</xhtml:html>

Orbeon Forms 3.6.0.200805191518