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
example-description.xml 1,700
login-error.xhtml 933
login.xhtml 1,519
logout.xpl 829
model.xpl 1,114
page-flow.xml 1,157
view.xhtml 2,898
$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
-->
<div xmlns="http://www.w3.org/1999/xhtml" style="margin: 1em; padding: .5em; border: 1px dotted black; background: white">
    <p>
        This example shows how:
    </p>
    <ul>
        <li>You can restrict the access to a page with the standard authentication mechanisms provided by your application server.</li>
        <li>You can programmatically obtain the name of the currently logged in user, as well as other security related information.</li>
        <li>You can implement a "logout" functionality.</li>
    </ul>
    <p>
        If you have <a href="/doc/intro-install">configured authentication in your application server</a>, access to
        this application requires you to login through a login page. After you have successfully logged in, the
        application displays your username and other authentication information.
    </p>
    <p>
        If you followed the <a href="/doc/intro-install">installation instructions to the letter</a>, the username and
        password are <code>orbeonadmin/xforms</code>.
    </p>
</div>

Orbeon Forms 3.7.0beta1.200808260135