Permalink
Fetching contributors…
Cannot retrieve contributors at this time
391 lines (340 sloc) 25.3 KB
<!--
Copyright (C) 2010 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
-->
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:fr="http://orbeon.org/oxf/xml/form-runner">
<!-- === Persistence configuration === -->
<!-- Default provider is "exist" -->
<property as="xs:string" name="oxf.fr.persistence.provider.*.*.*" value="exist"/>
<!-- Define resource, exist, oracle, and mysql providers with their parameters -->
<property as="xs:anyURI" name="oxf.fr.persistence.resource.uri" value="/fr/service/resource"/>
<property as="xs:anyURI" name="oxf.fr.persistence.exist.uri" value="/fr/service/exist"/>
<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="/exist/rest/db/orbeon/fr"/>
<property as="xs:anyURI" name="oxf.fr.persistence.oracle.uri" value="/fr/service/oracle"/>
<property as="xs:string" name="oxf.fr.persistence.oracle.datasource" value="oracle"/>
<property as="xs:boolean" name="oxf.fr.persistence.oracle.create-flat-view" value="false"/>
<property as="xs:anyURI" name="oxf.fr.persistence.mysql.uri" value="/fr/service/mysql"/>
<property as="xs:string" name="oxf.fr.persistence.mysql.datasource" value="mysql"/>
<property as="xs:anyURI" name="oxf.fr.persistence.postgresql.uri" value="/fr/service/postgresql"/>
<property as="xs:string" name="oxf.fr.persistence.postgresql.datasource" value="postgresql"/>
<property as="xs:boolean" name="oxf.fr.persistence.postgresql.create-flat-view" value="false"/>
<property as="xs:anyURI" name="oxf.fr.persistence.db2.uri" value="/fr/service/db2"/>
<property as="xs:string" name="oxf.fr.persistence.db2.datasource" value="db2"/>
<property as="xs:anyURI" name="oxf.fr.persistence.sqlserver.uri" value="/fr/service/sqlserver"/>
<property as="xs:string" name="oxf.fr.persistence.sqlserver.datasource" value="sqlserver"/>
<!-- Whether providers support autosave -->
<property as="xs:boolean" name="oxf.fr.persistence.*.autosave" value="false"/>
<property as="xs:boolean" name="oxf.fr.persistence.mysql.autosave" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.postgresql.autosave" value="true"/>
<!-- Whether providers support permissions -->
<property as="xs:boolean" name="oxf.fr.persistence.*.permissions" value="false"/>
<property as="xs:boolean" name="oxf.fr.persistence.exist.permissions" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.mysql.permissions" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.postgresql.permissions" value="true"/>
<!-- Whether providers support versioning -->
<property as="xs:boolean" name="oxf.fr.persistence.*.versioning" value="false"/>
<property as="xs:boolean" name="oxf.fr.persistence.mysql.versioning" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.postgresql.versioning" value="true"/>
<!-- Whether providers support the lease feature -->
<property as="xs:boolean" name="oxf.fr.persistence.*.lease" value="false"/>
<property as="xs:boolean" name="oxf.fr.persistence.mysql.lease" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.postgresql.lease" value="true"/>
<!-- Whether providers support reindexing -->
<property as="xs:boolean" name="oxf.fr.persistence.*.reindex" value="false"/>
<property as="xs:boolean" name="oxf.fr.persistence.mysql.reindex" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.postgresql.reindex" value="true"/>
<!-- Whether providers are active -->
<!-- It's possible to set providers, typically `exist` and `resource` to inactive so the Home page does not attempt searches -->
<property as="xs:boolean" name="oxf.fr.persistence.*.active" value="true"/>
<!-- Default data format version -->
<property as="xs:string" name="oxf.fr.persistence.*.data-format-version" value="4.0.0"/>
<property as="xs:string" name="oxf.fr.default-language.*.*" value="en"/>
<property as="xs:anyURI" name="oxf.fr.default-logo.uri.*.*">
/apps/fr/style/orbeon-navbar-logo.png
</property>
<property as="xs:string" name="oxf.fr.css.custom.uri.*.*" value=""/>
<property as="xs:string" name="oxf.fr.js.custom.uri.*.*" value=""/>
<!-- "container" or "header" or empty -->
<property as="xs:string" name="oxf.fr.authentication.method" value=""/>
<!-- With Liferay: Orbeon-Liferay-User-Email or Orbeon-Liferay-User-Full-Name are also possible -->
<property as="xs:string" name="oxf.fr.authentication.header.username" value="My-Username-Header"/>
<property as="xs:string" name="oxf.fr.authentication.header.group" value="My-Group-Header"/>
<property as="xs:string" name="oxf.fr.authentication.header.roles" value="My-Roles-Header"/>
<property as="xs:string" name="oxf.fr.authentication.header.roles.split" value="(\s*[,\|]\s*)+"/>
<property as="xs:string" name="oxf.fr.authentication.header.roles.property-name" value=""/>
<property as="xs:string" name="oxf.fr.authentication.header.credentials" value="My-Credentials-Header"/>
<!-- E.g. "orbeon admin user" -->
<property as="xs:string" name="oxf.fr.authentication.container.roles" value=""/>
<property as="xs:string" name="oxf.fr.authentication.container.roles.split" value=",|\s+"/>
<property as="xs:integer" name="oxf.fr.summary.page-size.*.*" value="10"/>
<property as="xs:boolean" name="oxf.fr.summary.show-created.*.*" value="true"/>
<property as="xs:boolean" name="oxf.fr.summary.show-last-modified.*.*" value="true"/>
<property as="xs:string" name="oxf.fr.summary.buttons.*.*">
home review pdf delete duplicate new
</property>
<property as="xs:string" name="oxf.fr.detail.lhha-order.*.*" value="help label control alert hint"/>
<property as="xs:boolean" name="oxf.fr.detail.static-readonly-hint.*.*" value="false"/>
<property as="xs:string" name="oxf.fr.detail.label.appearance.*.*" value="full"/>
<property as="xs:string" name="oxf.fr.detail.hint.appearance.*.*" value="full"/>
<!-- TOC disabled by default -->
<property as="xs:integer" name="oxf.fr.detail.toc.*.*" value="-1"/>
<property as="xs:string" name="oxf.fr.detail.error-summary.*.*" value="bottom"/>
<property as="xs:boolean" name="oxf.fr.detail.new.service.enable.*.*" value="false"/>
<property as="xs:string" name="oxf.fr.detail.new.service.uri.*.*">
/fr/service/custom/my-app/new
</property>
<property as="xs:string" name="oxf.fr.detail.new.service.passing-request-parameters.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.buttons.*.*">
summary clear pdf save-final review
</property>
<property as="xs:string" name="oxf.fr.detail.loading-indicator.save-draft.*.*" value="inline"/>
<property as="xs:string" name="oxf.fr.detail.loading-indicator.save-final.*.*" value="inline"/>
<property as="xs:string" name="oxf.fr.detail.loading-indicator.submit.*.*" value="modal"/>
<property as="xs:string" name="oxf.fr.detail.buttons.view.*.*" value="edit pdf"/>
<!-- Buttons visible / enabled-->
<property as="xs:string" name="oxf.fr.detail.button.*.visible.*.*" value="fr:owns-lease-or-none-required()"/>
<property as="xs:string" name="oxf.fr.detail.button.summary.visible.*.*" value="true()"/>
<property as="xs:string" name="oxf.fr.detail.button.home.visible.*.*" value="true()"/>
<property as="xs:string" name="oxf.fr.detail.button.wizard-prev.visible.*.*" >
fr:owns-lease-or-none-required() and fr:is-wizard-body-shown()
</property>
<property as="xs:string" name="oxf.fr.detail.button.wizard-prev.enabled.*.*">
not(fr:is-wizard-first-page())
</property>
<property as="xs:string" name="oxf.fr.detail.button.wizard-next.visible.*.*">
fr:owns-lease-or-none-required() and fr:is-wizard-body-shown()
</property>
<property as="xs:string" name="oxf.fr.detail.button.wizard-next.enabled.*.*">
not(fr:is-wizard-last-page())
</property>
<property as="xs:string" name="oxf.fr.detail.button.wizard-toc.visible.*.*">
fr:owns-lease-or-none-required() and fr:is-wizard-body-shown()
</property>
<!-- Empty (no captcha), 'reCAPTCHA', or 'SimpleCaptcha'-->
<property as="xs:string" name="oxf.fr.detail.captcha.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.pdf.filename.*.*" value=""/>
<property as="xs:boolean" name="oxf.fr.detail.pdf.barcode.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.pdf.disable-if-invalid.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.pdf.hyperlinks.*.*" value="true"/>
<property as="xs:string" name="oxf.fr.detail.tiff.filename.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.tiff.compression.type.*.*" value="LZW"/>
<property as="xs:string" name="oxf.fr.detail.tiff.compression.quality.*.*" value="0.8"/>
<property as="xs:string" name="oxf.fr.detail.tiff.scale.*.*" value="3.0"/>
<property as="xs:string" name="oxf.fr.email.pdf.filename.*.*">
concat(
fr:form-title(),
' - ',
substring(fr:document-id(), 1, 16),
'.pdf'
)
</property>
<property as="xs:string" name="oxf.fr.email.tiff.filename.*.*">
concat(
fr:form-title(),
' - ',
substring(fr:document-id(), 1, 16),
'.tiff'
)
</property>
<property as="xs:string" name="oxf.fr.email.xml.filename.*.*">
concat(
fr:form-title(),
' - ',
substring(fr:document-id(), 1, 16),
'.xml'
)
</property>
<property as="xs:boolean" name="oxf.fr.detail.view.show-explanation.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.view.full-update.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.hide-logo.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.hide-header.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.hide-footer.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.detail.hide-buttons-bar.*.*" value="false"/>
<property as="xs:integer" name="oxf.fr.detail.autosave-delay.*.*" value="5000"/>
<property as="xs:boolean" name="oxf.fr.detail.lease.enabled.*.*" value="false"/>
<property as="xs:integer" name="oxf.fr.detail.lease.duration.*.*.*" value="10"/>
<property as="xs:integer" name="oxf.fr.detail.lease.renew-threshold.*.*" value="1"/>
<property as="xs:integer" name="oxf.fr.detail.lease.alert-threshold.*.*" value="2"/>
<property as="xs:boolean" name="oxf.fr.detail.initial-focus.*.*" value="true"/>
<property as="xs:string" name="oxf.fr.detail.focus.includes.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.focus.excludes.*.*" value="xf:trigger"/>
<!-- Supports: blank, -1 (unlimited), or positive `Long` value (there should be a `xs:integer?` type) -->
<property as="xs:string" name="oxf.fr.detail.attachment.max-size.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.attachment.max-size-aggregate.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.attachment.mediatypes.*.*" value="*/*"/>
<!-- PDF fonts -->
<!-- Optional PDF font embedding. Specifying a family name is optional.
<property as="xs:string" name="oxf.fr.pdf.font.path.ID" value=""/>
<property as="xs:string" name="oxf.fr.pdf.font.family.ID" value=""/>
-->
<property as="xs:string" name="oxf.fr.pdf.template.font.paths" value=""/>
<!-- Email configuration -->
<property as="xs:string" name="oxf.fr.email.smtp.host.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.smtp.port.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.smtp.username.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.smtp.credentials.*.*" value=""/>
<!-- Blank, tls, or ssl -->
<property as="xs:string" name="oxf.fr.email.smtp.encryption.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.from.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.to.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.cc.*.*" value=""/>
<property as="xs:string" name="oxf.fr.email.bcc.*.*" value=""/>
<property as="xs:boolean" name="oxf.fr.email.attach-pdf.*.*" value="true"/>
<property as="xs:boolean" name="oxf.fr.email.attach-tiff.*.*" value="false"/>
<property as="xs:boolean" name="oxf.fr.email.attach-xml.*.*" value="true"/>
<property as="xs:string" name="oxf.fr.email.attach-files.*.*" value="all"/>
<!-- Configuration of built-in forms -->
<!-- Be specific, as user might change the default persistence layer -->
<property as="xs:string" name="oxf.fr.persistence.provider.orbeon.bookshelf.form" value="exist"/>
<property as="xs:string" name="oxf.fr.persistence.provider.orbeon.contact.form" value="exist"/>
<property as="xs:string" name="oxf.fr.persistence.provider.orbeon.controls.form" value="exist"/>
<property as="xs:string" name="oxf.fr.persistence.provider.orbeon.dmv-14.form" value="exist"/>
<property as="xs:string" name="oxf.fr.detail.buttons.orbeon.controls">
pdf tiff wizard-prev wizard-next review
</property>
<property as="xs:string" name="oxf.fr.detail.button.review.enabled.orbeon.controls">
fr:is-wizard-last-page()
</property>
<property as="xs:string" name="oxf.fr.detail.view.appearance.orbeon.controls" value="wizard"/>
<property as="xs:integer" name="oxf.fr.detail.toc.orbeon.controls" value="-1"/>
<property as="xs:string" name="oxf.fr.detail.buttons.orbeon.dmv-14">
summary clear pdf tiff save-final review
</property>
<property as="xs:string" name="oxf.fr.resource.orbeon.dmv-14.*.print.formats.date" value="[Y0001]-[M01]-[D01]"/>
<property as="xs:string" name="oxf.fr.pdf.map.orbeon.dmv-14.fr-us-state.*" value="select-value"/>
<property as="xs:string" name="oxf.fr.detail.view.appearance.orbeon.dmv-14" value="wizard"/>
<property as="xs:string" name="oxf.fr.detail.view.appearance.orbeon.w9" value="wizard"/>
<property as="xs:integer" name="oxf.fr.detail.toc.orbeon.w9" value="-1"/>
<property as="xs:string" name="oxf.fr.pdf.map.orbeon.w9.xforms-select1.*" value="select-value"/>
<property as="xs:string" name="oxf.fr.detail.buttons.orbeon.w9"/>
<property as="xs:string" name="oxf.fr.detail.buttons.inner.orbeon.w9">
wizard-prev wizard-next review
</property>
<property as="xs:string" name="oxf.fr.detail.buttons.view.orbeon.w9">
edit pdf save
</property>
<property as="xs:string" name="oxf.fr.detail.view.appearance.*.*" value=""/>
<!-- Button processes -->
<property as="xs:string" name="oxf.fr.detail.process.home.*.*" value='orbeon-home'/>
<property as="xs:string" name="oxf.fr.detail.process.summary.*.*">
relinquish-lease
then navigate(uri = "/fr/{xxf:instance('fr-parameters-instance')/app}/{xxf:instance('fr-parameters-instance')/form}/summary")
</property>
<property as="xs:string" name="oxf.fr.detail.process.validate.*.*" value='validate-all'/>
<property as="xs:string" name="oxf.fr.detail.process.edit.*.*" value='edit'/>
<property as="xs:string" name="oxf.fr.detail.process.collapse-all.*.*" value='collapse-all'/>
<property as="xs:string" name="oxf.fr.detail.process.expand-all.*.*" value='expand-all'/>
<property as="xs:string" name="oxf.fr.detail.process.clear.*.*" >
xf:show("fr-clear-confirm-dialog")
then suspend
then xf:dispatch(name = "fr-clear", targetid = "fr-persistence-model")
</property>~
<property as="xs:string" name="oxf.fr.detail.process.close.*.*">
relinquish-lease
then navigate("oxf.fr.detail.close.uri")
recover summary
</property>
<property as="xs:string" name="oxf.fr.detail.process.save-final.*.*">
require-uploads
then validate-all
then save
then new-to-edit
then success-message("save-success")
recover error-message("database-error")
</property>
<property as="xs:string" name="oxf.fr.detail.process.save-draft.*.*">
save
then new-to-edit
then success-message("save-draft-success")
recover error-message("database-error")
</property>
<property as="xs:string" name="oxf.fr.detail.process.review.*.*">
require-uploads
then validate-all
then review
</property>
<property as="xs:string" name="oxf.fr.detail.process.send.*.*">
require-uploads
then validate-all
then send("oxf.fr.detail.send.success")
</property>
<property as="xs:string" name="oxf.fr.detail.process.email.*.*">
require-uploads
then validate-all
then email
then success-message("email-success")
</property>
<property as="xs:string" name="oxf.fr.detail.process.pdf.*.*">
open-rendered-format(format = "pdf")
</property>
<property as="xs:string" name="oxf.fr.detail.process.tiff.*.*">
open-rendered-format(format = "tiff")
</property>
<!-- Legacy buttons and processes -->
<property as="xs:string" name="oxf.fr.detail.process.save.*.*" value='save-final'/>
<property as="xs:string" name="oxf.fr.detail.process.submit.*.*">
require-uploads
then validate-all
then save
then new-to-edit
then success-message("save-success")
then result-dialog
recover error-message("database-error")
</property>
<property as="xs:string" name="oxf.fr.detail.process.workflow-review.*.*" value='review'/>
<property as="xs:string" name="oxf.fr.detail.process.workflow-edit.*.*" value='edit'/>
<!-- If empty, process is generated based on legacy properties -->
<property as="xs:string" name="oxf.fr.detail.process.workflow-send.*.*" value=''/>
<!-- Default send parameters -->
<property as="xs:string" name="oxf.fr.detail.send.success.replace.*.*" value="all"/>
<property as="xs:string" name="oxf.fr.detail.send.success.method.*.*" value="post"/>
<property as="xs:boolean" name="oxf.fr.detail.send.success.prune.*.*" value="true"/>
<property as="xs:string" name="oxf.fr.detail.send.success.annotate.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.send.success.content.*.*" value="xml"/>
<property as="xs:string" name="oxf.fr.detail.send.error.replace.*.*" value="all"/>
<property as="xs:boolean" name="oxf.fr.detail.send.error.prune.*.*" value="true"/>
<property as="xs:string" name="oxf.fr.detail.send.error.annotate.*.*" value=""/>
<property as="xs:string" name="oxf.fr.detail.send.error.method.*.*" value="get"/>
<property as="xs:string" name="oxf.fr.detail.send.error.content.*.*" value="xml"/>
<property as="xs:anyURI" name="oxf.fr.detail.close.uri.*.*" value=""/>
<property as="xs:boolean" name="oxf.fr.detail.submit.content-from-persistence.*.*" value="false"/>
<property as="xs:string" name="oxf.fr.detail.submit.buttons.*.*">
clear keep go
</property>
<!--<property as="xs:string" name="oxf.fr.detail.submit.go.uri-xpath.*.*" value="/book/details/link"/>-->
<!-- For global pages like the Form Runner Home page, restrict list of languages to those that have full support -->
<property as="xs:string" name="oxf.fr.available-languages" value="en es fr it de pt sv fi nl"/>
<!-- For forms, don't restrict the list of languages by default: https://github.com/orbeon/orbeon-forms/issues/1223 -->
<property as="xs:string" name="oxf.fr.available-languages.*.*" value="*"/>
<!-- Service processes -->
<property as="xs:string" name="oxf.fr.service.duplicate.transform.*.*" value=""/>
<property as="xs:integer" name="oxf.fr.home.page-size" value="20"/>
<property as="xs:string" name="oxf.fr.home.table.link-to" value="summary new"/>
<!-- Example:
[
{ "label": "Prod 1", "url": "http://prod1.acme.org/orbeon" },
{ "label": "Prod 2", "url": "http://prod2.acme.org/orbeon" }
]
-->
<property as="xs:string" name="oxf.fr.home.remote-servers" value='[]'/>
<property as="xs:boolean" name="oxf.fr.import.allow-invalid-documents.*.*" value="false"/>
<property as="xs:string" name="oxf.xforms.xbl.fr.wizard.validate.*.*" value="free"/>
<property as="xs:boolean" name="oxf.xforms.xbl.fr.wizard.separate-toc.*.*" value="false"/>
<property as="xs:boolean" name="oxf.xforms.xbl.fr.wizard.subsections-nav.*.*" value="false"/>
<property as="xs:string" name="oxf.xforms.xbl.fr.wizard.subsections-toc.*.*" value="active"/>
<property as="xs:string" name="oxf.xforms.xbl.fr.wizard.validate.orbeon.w9" value="lax"/>
<property as="xs:boolean" name="oxf.xforms.xbl.fr.section.animate.*.*" value="true"/>
<property as="xs:boolean" name="oxf.xforms.xbl.fr.section.collapsible.*.*" value="true"/>
<property as="xs:string" name="oxf.xforms.xbl.fr.section.appearance.*.*" value=""/>
<property as="xs:string" name="oxf.xforms.xbl.fr.section.insert.*.*" value="index"/>
<property as="xs:string" name="oxf.xforms.xbl.fr.grid.appearance.*.*" value=""/>
<property as="xs:string" name="oxf.xforms.xbl.fr.grid.insert.*.*" value="index"/>
</properties>