Workflow Format

From EPrints Documentation
Revision as of 03:49, 1 September 2007 by Yp1Fps (Talk | contribs)

Jump to: navigation, search
italiane rapite in iraq tablas las incasso 12 coperti raf ouch nokia s 90 bepi di marzi ferretti andrea ortopedico dragonstea din stei foto nick berg grande fratello 3 televisore lowe rinascente maxtor atlas 15k 36gb matrimonio auguri personal jesus gay varese esterno 40 gb triestina calcio lettore cd da tavolo compatibile mp3 tyan thunder i7505 splinder rapitori projection screen biglietto aereo roma bangkok claudine norton server integratori alimentari magnesio potassio mi manchi accordi norden business card scanner scart wireless elevation lamu x poliziotti a domicilio renou louis www oneone fornello coleman des grieux prezzo auto telefonini sony ericsson w800 win tv usb schede acquisizione e tv gli ultimi giorni e c m sanita guanti la serva padrona eas myoplex carb sense il decalogo sei www ashanti com eurorack pro rx1602 ieti disegni scouts parafrasi umberto saba www videos mtv com filmer sir robert copertina troy il re leone 3 tania rusoff gruppo continuita b b nel salento il ballo do patsy olio capelli al arembaggio presuntos hesse fotos pp residenze in costa smeralda frases celebres marechiaro yamaha hifi sexpatatina chat viterbo daisy pornostar vecchie foto annuncio personale gratis laureta mia www sharif ac ir giocattoli eroti s4m s congelatore a cassetti smeg destru excel saga blocchi autocad 2d slovenian stradario di bergamo canon d mark modem ethernet wireless d link leverkusen fliperama palmari toshiba pocket pc e740 la fox finanzia gli xfiles costco com olympus camedia 310 zoom fakaofo casse acustiche chario adobe creative premium upg microsoft 360 dpp fp30 lavoro a crema estrategia fiat multipla usato inferno in florida gucci dress ragazza acqui terme www tiji fr i disegni dei dragonball z addizioni graphicconverter experimentos de fisica zozza accao y nos dieron las diez belkin ups hp photosmart 7450 sapphire x700 pro boston redsox com tinto bras dirittoallostudio testo canzone cantante d m audio keystation 49 e tokonoma smsgratis behringer ep1500 pen drive il meglio di natalie imbruglia lord jim bluetooth tastiera sakis rouvas shake it video brasile ristorante frederick pope the red violin jason x mamme porche gratis development toolkit porno mantovano sisoft sandra lite da solo sto nero mpeg2 plugins trova online sexpicture home improvement escavatore panasonic ae700 d dissident mirage rharb alcamo anna cicirello d88 photo sociologia sedi universitarie dvdrw recorder l arte della seduzione sicilia coppie co dobre false bay la storia elsa morante costantino splinder last battle aggiornamenti siena dissipatori spire fermata per dodici ore www elantro cl gazzetta di pechino rocco sigfredi dx6340 scarica videoclip bumper karts volare nudi foto temi svolti sul volontariato key sat musica di the o c sound blaster bulk braw pocatello touareg 25 r5 tdi la storia di indro montanelli ducati monster 620 i e amanti donne samsung ml2250 espansione fotocamera finanziamento e credito dvd region free megane coach 16 bicicle searchweb a critical review corse machine tv 32 jeannette la douce extremelot it rex lavastoviglie da incasso letra de bacilo charlotte gainsbourg rover 25 anno 2000 konica minolta dynax 60 dani disturbo alimentare accademia burger king router modem adsl wifi hello kitty borsa tvc lcd 30 www fahi la contropartita agriturismo forli

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


XML Configuration: EPScript - Control Format (EPC) - Citation - Workflow - Phrase - Template - XPAGE (static pages)


The EPrints 3 workflow configuration files are stored in the repository's workflows directory, within folders identifying the Data Objects to which they apply (e.g. eprint or user). Multiple workflows may be defined in each folder, although typically only the default.xml file will be necessary.

Structure

At the centre of a workflow is a 'flow' description. This denotes the path through the workflow process from stage to stage. This may contain EPrints Control tags, allowing for the flow to vary depending on parameters of the data object (or other objects). For example, the flow may be different for users with certain roles. The flow is structured like so:

<flow>
  <stage ref="type"/>
  <stage ref="files"/>
  <stage ref="core"/>
  <stage ref="subjects"/>
</flow>

The 'ref' attribute of the stage element refers to the individual stages. The stage elements describe the components within each screen of the process and, like flow, may contain EPrints Control tags. The 'name' attribute of the stage element is identical to that of the stage element in the 'flow' section.

<stage name="core">
  <component><field ref="title" required="yes" /></component>
  <component><field ref="abstract"/></component>
</stage>

Components

An EPrints component is responsible for the rendering of a graphical element in a workflow. This may be a text-box for title entry, a collection of fields in an appropriate grouping, or just a piece of XHTML. Six components are provided by default and, as they are plugins, it is straightforward to drop in new components when necessary. The type attribute of the component element corresponds to the plugin to be used.

Field-Related Components

Field Element

The majority of field-related components in EPrints 3 make use of the field element in their configuration. This provides a reference to a metafield and any attributes which may be relevant to rendering or operation. Several attributes are available to the element:

AttributeValuesDescription
refA string(required) Refers to the name of the metafield this field represents
requiredyes/no(optional) Whether a value is required in this field before the workflow may complete
helpAn XHTML block(optional) A block of XHTML to be rendered as help for the field
input_lookup_urlA URL(optional) The location of an auto-lookup URL for the field
input_lookup_paramsA string(optional) An