FORUMS


Discussion about Intalio|BPP Community Edition.


Back to BPMN and Designer (0 viewing) 
Go to bottom Favoured: 0
TOPIC: Re:xforms:repeat element in PIPA Failure
Dec 1, 2008 7:23 pm
jhietala (User)
5 posts
Fresh Boarder

Karma: 0  
I am attempting an scenario where PIPA XForm initiates an process. This initial form uses the table element (xforms:repeat) to have dynamic input fields. I've attached proper Text Input and label elements to table. Form works fine. The form is modelled completely using Workflow Form Editor.

Problem occurs when starting the process by completing and posting the form. The repeat element and data and model structure is missing from the initProcessRequest completely! I can only see my test label, but no indication of any repeat structure, or groups related to that whatsoever. This again causes an fail in mapping if the field has been mapped anywhere.

Is this an major bug or am I doing something wrong?

Below attached information from console related to the posting of the initProcessRequest. Also attached the process and project as zip file.


Code: :

 <initProcessRequest xmlns:user="http://example.com/XForms/RepeatForm/xform" xmlns="http://example.com/XForms/RepeatForm/xform" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">     <taskId>053867de-e1ee-4f52-bdaa-b22cf37df4bf</taskId>     <participantToken>VE9LRU4mJnVzZXI9PWludGFsaW9cczEmJmlzc3VlZD09MTIyODE1MDAzNjQ2OCYmcm9sZXM9PWludGFsaW9cU2FsZXMmJnNuPT1TYWxlcyAxJiZvdT09UGVvcGxlJiZvYmplY3RjbGFzcz09cGVyc29uLG9yZ2FuaXphdGlvbmFsUGVyc29uLGluZXRPcmdQZXJzb24sdG9wJiZjbj09czEmJmVtYWlsPT1zMUBpbnRhbGlvLm9yZyYmZ2 l2ZW5uYW1lPT1TYWxlczEmJnN0cmVldGFkZHJlc3M9PUZvc3RlciBDaXR5JiZub25jZT09MzYxMzMxMjU0NTQ5NjM5NzMxOCYmdGltZXN0YW1wPT0xMjI4MTUwMDM2NDg0JiZkaWdlc3Q9PWoxVzBUQzVibWFrTGJmOE1Tbk1qcldJRGRLQT0mJiYmVE9LRU4=</participantToken>     <taskOutput>         <output xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:fe="http://example.com/XForms/RepeatForm/xform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:f="http://orbeon.org/oxf/xml/formatting" user="intalio\s1">             <Testlabel>fsdgsdg</Testlabel>         </output>     </taskOutput> </initProcessRequest>PartTo

File Attachment:
File Name: RepeatExample.zip
File Size: 41934
 
  The administrator has disabled public write access.
Dec 2, 2008 8:56 am
jhietala (User)
5 posts
Fresh Boarder

Karma: 0  
Further investigation shows that problem might be related to XForms designer. In PIPA task the mapper shows only output-model of the form.

It seems that when adding an Table element (xforms:repeat) to form it does not generate proper output model for the form. All functionality (triggers and such) are bind to input-model of the form.

This results that the output instance is not filled at all. This differs in scenario where form is used as an CreateAndComplete task. In this scenario the mapper uses form's input-model in the mapper.

Any suggested would be appreciated!
 
  The administrator has disabled public write access.
Dec 2, 2008 10:43 am
Antoine (Admin)
2755 posts
Admin

Karma: 58  
A table is either input or output, but cannot be both.

You will need to edit your form manually to make this work.

Thanks,

Antoine
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Dec 2, 2008 4:34 pm
jhietala (User)
5 posts
Fresh Boarder

Karma: 0  
This solved the problem for me! For some reason I didn't notice the input/ouput control on table form element.

Thank you!
 
  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.