FORUMS


Discussion about Intalio|BPP Community Edition.


Back to Workflow (0 viewing) 
Go to bottom Favoured: 0
TOPIC: Re:Can an Xforms table be created dynamically
Oct 17, 2008 11:17 pm
34 posts
Junior Boarder

Karma: 0  
One of the doXSL tutorials shows how to create dynamic selects from a table, but I would like to go in the other direction. That is to to create a dynamic table based on message input (or variable) that would be just a list of Attribute Name/Attribute Value pairs, display that in an xform, and let the user update it (and capture the outputs in the process).

Is that feasible? (I am sure it can be done, but can it be done by someone over 40? :) :) )
RB
 
  The administrator has disabled public write access.
Oct 20, 2008 7:17 am
cshekhar (User)
933 posts
Moderator

Karma: 32  
Hi Richard,

To implement this scenarios, you have to manually code xforms. It is not possible to use xforms directly for implement this type of scenarios.

Thanks,

Chandra
 
  The administrator has disabled public write access.
Oct 20, 2008 6:34 pm
34 posts
Junior Boarder

Karma: 0  
Thanks for this information. I will spend some time coding my own xforms and if I ever get it working, I will post back.
Thanks again,
RB
 
  The administrator has disabled public write access.
Nov 4, 2008 1:28 am
34 posts
Junior Boarder

Karma: 0  
Confirming that this can indeed be done by creating one's own xform.
My approach was to look at the forms generated by input and output options and then use the Orbeon Sandbox to tweak the form until I got it working, then make those changes to the test.xform in Intalio.

The key was:
Code: :

  In the model..       <xforms:instance id="taskinput">         <fe:input>           <appdatas xmlns="http://example.com/test/xform">             <appdata>               <appName/>               <appValue/>             </appdata>             <appdata>               <appName/>               <appValue/>             </appdata>           </appdatas>         </fe:input>       </xforms:instance>       <!-- Task metadata used only for People Initiating Processes Task forms -->       <xforms:instance id="taskmetadata">         <taskmetadata/>       </xforms:instance>       <!-- Task Output -->       <xforms:instance id="taskoutput">         <fe:output>           <appdatas xmlns="http://example.com/test/xform">               <appdata>               <appName/>               <appValue/>             </appdata>                  </appdatas>                 </fe:output>       </xforms:instance>       <xforms:action ev:event="xforms-submit">         <xforms:insert            nodeset="instance('taskoutput')/fe:appdatas/fe:appdata"            origin="instance('taskinput')/fe:appdatas/fe:appdata"           context="instance('taskoutput')"           at="last()" position="before" />        </xforms:action



The taskinput is initialized by the Mapper and I will also use the Mapper to get the taskoutput results. Orbeon documentation, sandbox, examples, etc. were very helpful.

Enjoy,
RB
 
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Top Posters

Last 30 days

  • yodjeu.ntemde.leopold.camille (21)
  • Konstantin.Melnik (8)
  • himar.rodriguez (8)
  • amrrao1975 (6)
  • rakesh.db (6)
  • jaime.penafiel (5)
  • andre.van.der.ark (5)
  • andreas.boehm (5)
  • blue.moon (5)
  • estebanf (4)

All time

  • Antoine (2755)
  • Shivanand (1194)
  • cshekhar (933)
  • psq (797)
  • metabyte (415)
  • jag (393)
  • dfrench (367)
  • arnaud (329)
  • jalateras (325)
  • talita.pezzi (261)

Show last 4 hrs - 12 hrs - 24 hrs

Copyright © Intalio, 1999-2010.