Latest Posts


Show last 6 hrs - 24 hrs - 7 days

Forum RSS Feed

Top Posters

Last 30 days

  • Antoine (132)
  • gayatri.chandak (26)
  • gemor.roj (24)
  • juanjo.hernandez (22)
  • metabyte (20)
  • hellonico (15)
  • talita.pezzi (14)
  • danielandross (14)
  • liu.zhengyang (14)
  • Konstantin.Melnik (13)

All time

  • Antoine (2271)
  • Shivanand (1194)
  • cshekhar (933)
  • psq (797)
  • metabyte (411)
  • jag (393)
  • dfrench (358)
  • arnaud (328)
  • jalateras (325)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Re:Can an Xforms table be created dynamically (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Can an Xforms table be created dynamically
#16502
richard.berger (User)
Junior Boarder
User Offline Click here to see the profile of this user
Can an Xforms table be created dynamically 8 Months, 2 Weeks ago 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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16512
cshekhar (Admin)
Admin
User Offline Click here to see the profile of this user
Re:Can an Xforms table be created dynamically 8 Months, 2 Weeks ago Karma: 31  
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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16538
richard.berger (User)
Junior Boarder
User Offline Click here to see the profile of this user
Re:Can an Xforms table be created dynamically 8 Months, 2 Weeks ago 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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16739
richard.berger (User)
Junior Boarder
User Offline Click here to see the profile of this user
Re:Can an Xforms table be created... [Answer] 8 Months ago 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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop