General Questions on Forms Builder

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

General Questions on Forms Builder

Randy Smith-9
Some general questions on Forms Builder:
1. When will Orbeon XForms Builder be able to handle complex schema types?
2. When will Orbeon XForms Builder be able to store XML tagged data into the eXist database (or other) instead of the generic tags like "control-1" which have the user supplied content within the "control-1" angle brackets? Building XForms using Orbeon the traditional way creates XML documents that have true XML element tags that correspond to the "Labels" names.
3. To store true XML documents with true element tags that correspond to "Label" names, will we ever be able to use Orbeon XForms Builder?
Thanks!


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: General Questions on Forms Builder

Erik Bruchez
Administrator
> 1. When will Orbeon XForms Builder be able to handle complex schema  
> types?

Most likely, as soon as a customer sponsors this feature!

Note that we have a tentative "future features" list here:

   http://wiki.orbeon.com/forms/projects/form-builder-future-features

Also please see the FAQ about when and how features get implemented in  
Orbeon Forms:

   http://www.orbeon.com/ops/doc/home-faq#issue-fixing

> 2. When will Orbeon XForms Builder be able to store XML tagged data  
> into the eXist database (or other) instead of the generic tags like  
> "control-1" which have the user supplied content within the  
> "control-1" angle brackets? Building XForms using Orbeon the  
> traditional way creates XML documents that have true XML element  
> tags that correspond to the "Labels" names.

You can already do this: go to the control properties, and enter a  
different id for the control. The id will be used as the element name.

> 3. To store true XML documents with true element tags that  
> correspond to "Label" names, will we ever be able to use Orbeon  
> XForms Builder?

I assume this is not a question for Orbeon?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: General Questions on Forms Builder

Randy Smith-9
Erik,
Thanks SO much! Changing the control property was something I didn't
catch. Also, the 3rd question was related to the 2nd one so you answered
both.
Randy

Erik Bruchez wrote:

>> 1. When will Orbeon XForms Builder be able to handle complex schema
>> types?
>
> Most likely, as soon as a customer sponsors this feature!
>
> Note that we have a tentative "future features" list here:
>
>   http://wiki.orbeon.com/forms/projects/form-builder-future-features
>
> Also please see the FAQ about when and how features get implemented in
> Orbeon Forms:
>
>   http://www.orbeon.com/ops/doc/home-faq#issue-fixing
>
>> 2. When will Orbeon XForms Builder be able to store XML tagged data
>> into the eXist database (or other) instead of the generic tags like
>> "control-1" which have the user supplied content within the
>> "control-1" angle brackets? Building XForms using Orbeon the
>> traditional way creates XML documents that have true XML element tags
>> that correspond to the "Labels" names.
>
> You can already do this: go to the control properties, and enter a
> different id for the control. The id will be used as the element name.
>
>> 3. To store true XML documents with true element tags that correspond
>> to "Label" names, will we ever be able to use Orbeon XForms Builder?
>
> I assume this is not a question for Orbeon?
>
> -Erik
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Setting Value in Node Without User Interaction

Betty Harvey
I want to set a value without a trigger and user interaction.  This is
the scenario.

The user selects an Agency from a code list.  An agency has 1 or more
Record Groups associated with it.  If the Agency has 1 code, the
code should automatically be populated.  If the Agency has more than
1 code list then the user has to select the appropriate code.

I have the logic working but have unable to automatically populate
the node.  I have two <xforms:group> elements that contain XPath
logic.  Below is the code for the two scenarios.  I tried <xforms:setvalue>
but that didn't work.

   <xforms:group
ref="instance('AgencyRecordGroup-instance')/Row[AgencyName =
$AgencyName][count(RecordGroup) = 1]">

          <xforms:variable name="RecordGroup"
select="instance('AgencyRecordGroup-instance')/Row[AgencyName =
$AgencyName]/RecordGroup"/>
          <!--<xforms:setvalue
ref="xxforms:instance('TransferRequest-instance')/era:RecordGroupNumber"
value="$RecordGroup"/>-->

<!-- This required the user to select a single value -->

           <xforms:select1
ref="instance('TransferRequest-instance')//era:RecordGroupNumber"
appearance="full">
            <xforms:itemset
nodeset="instance('AgencyRecordGroup-instance')/Row[AgencyName
= $AgencyName]/RecordGroup">
             <xforms:label ref="."/>
             <xforms:value ref="."/>
            </xforms:itemset>
           </xforms:select1>
           </xforms:group>


         <xforms:group
ref="instance('AgencyRecordGroup-instance')/Row[AgencyName =
$AgencyName]/RecordGroup[count(../RecordGroup) &gt; 1]">

<!-- The user selects from a list of values -->

         <xforms:select1
ref="instance('TransferRequest-instance')//era:RecordGroupNumber">
          <xforms:item>
           <xforms:label>Choose One...</xforms:label>
           <xforms:value/>
          </xforms:item>
          <xforms:itemset
nodeset="instance('AgencyRecordGroup-instance')/Row[AgencyName =
$AgencyName]/RecordGroup">
           <xforms:label ref="."/>
           <xforms:value ref="."/>
          </xforms:itemset>
         </xforms:select1>
          </xforms:group>

Thanks for any advice?

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
[hidden email]                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Setting Value in Node Without User Interaction

Alexander Žaťko
I would change the logic somewhat. I would have a bind calculate  
content of your target node. I would have it count the Record Groups  
nodes. If count=1 then the bind would copy its value to the target  
node. Otherwise it would set its value by copying a (different) node  
bound to the agency drop-down.

In other words you would need one "working" node that would be bound  
to the agency drop-down (I would make it visible only if  
Record_Groups_count>1). This node content would be used by the above-
mentioned calculating bind if count > 1.

Hope this makes sense.

A.


On 28.11.2008, at 16:15, Betty Harvey wrote:

> I want to set a value without a trigger and user interaction.  This is
> the scenario.
>
> The user selects an Agency from a code list.  An agency has 1 or more
> Record Groups associated with it.  If the Agency has 1 code, the
> code should automatically be populated.  If the Agency has more than
> 1 code list then the user has to select the appropriate code.
>
> I have the logic working but have unable to automatically populate
> the node.  I have two <xforms:group> elements that contain XPath
> logic.  Below is the code for the two scenarios.  I tried  
> <xforms:setvalue>
> but that didn't work.
>
>   <xforms:group
> ref="instance('AgencyRecordGroup-instance')/Row[AgencyName =
> $AgencyName][count(RecordGroup) = 1]">
>
>          <xforms:variable name="RecordGroup"
> select="instance('AgencyRecordGroup-instance')/Row[AgencyName =
> $AgencyName]/RecordGroup"/>
>          <!--<xforms:setvalue
> ref="xxforms:instance('TransferRequest-instance')/
> era:RecordGroupNumber"
> value="$RecordGroup"/>-->
>
> <!-- This required the user to select a single value -->
>
>           <xforms:select1
> ref="instance('TransferRequest-instance')//era:RecordGroupNumber"
> appearance="full">
>            <xforms:itemset
> nodeset="instance('AgencyRecordGroup-instance')/Row[AgencyName
> = $AgencyName]/RecordGroup">
>             <xforms:label ref="."/>
>             <xforms:value ref="."/>
>            </xforms:itemset>
>           </xforms:select1>
>           </xforms:group>
>
>
>         <xforms:group
> ref="instance('AgencyRecordGroup-instance')/Row[AgencyName =
> $AgencyName]/RecordGroup[count(../RecordGroup) &gt; 1]">
>
> <!-- The user selects from a list of values -->
>
>         <xforms:select1
> ref="instance('TransferRequest-instance')//era:RecordGroupNumber">
>          <xforms:item>
>           <xforms:label>Choose One...</xforms:label>
>           <xforms:value/>
>          </xforms:item>
>          <xforms:itemset
> nodeset="instance('AgencyRecordGroup-instance')/Row[AgencyName =
> $AgencyName]/RecordGroup">
>           <xforms:label ref="."/>
>           <xforms:value ref="."/>
>          </xforms:itemset>
>         </xforms:select1>
>          </xforms:group>
>
> Thanks for any advice?
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
> Electronic Commerce Connection, Inc. |
> [hidden email]                    | Washington,DC SGML/XML Users  
> Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws