Re: Question About Variables in path names.]

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

Re: Question About Variables in path names.]

Betty Harvey

Hi Eric:

I didn't have the latest version but I have updated to the latest now.
The form is available at http://207.168.47.8/orbeon/xforms-transfer.
It still isn't working but it might be where I am declaring the
variable. I can't find much information on where a variable should
be declared and how it picks up the value from the input form.

Thanks!

Betty

<quote who="Erik Bruchez">

> Please make sure you are using a recent nightly build where variables
> are available. Then your code should work. If it doesn't, please send
> a reproducible case that works in the XForms sandbox.
>
> -Erik
>
> On Aug 20, 2008, at 9:41 AM, Betty Harvey wrote:
>
>> I have been searching for several days for answer and I haven't been
>> able to find one.
>>
>> Basically I want to take a field in the form and make that part of the
>> filename that the document gets saved.  In XSLT I would use the
>> variable as below, but this doesn't seem to work.
>>
>> <xforms:submission id="save-submission"
>> ref="instance('TransferRequests-instance')"
>> resource="/exist/rest/db/orbeon/mydata/{$MyID}.xml)"
>> method="put" replace="none">
>> </xforms:submission>
>>
>>
>> <xforms:variable name="MyID" select="/myElement/@id"/>
>>
>> Anyone have any suggestions!
>>
>> TIA!
>>
>> Betty
>>
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>> 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/
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>> Help Mac fight MLD (http://www.macsteam.org)
>> Mark your calendar for October 28th
>> (http://www.macsteam.org/BullROast.aspx
>> )
>>
>> --
>> 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
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
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/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Help Mac fight MLD (http://www.macsteam.org)
Mark your calendar for October 28th (http://www.macsteam.org/BullROast.aspx)


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
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/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Help Mac fight MLD (http://www.macsteam.org)
Mark your calendar for October 28th (http://www.macsteam.org/BullROast.aspx)


--
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: Question About Variables in path names.]

Erik Bruchez
Administrator
Hi Betty,

I can't seem to be able to reach 207.168.47.8: "Firefox can't  
establish a connection to the server at 207.168.47.8." Can you attach  
the form to an email?

-Erik

On Aug 20, 2008, at 6:19 PM, Betty Harvey wrote:

>
> Hi Eric:
>
> I didn't have the latest version but I have updated to the latest now.
> The form is available at http://207.168.47.8/orbeon/xforms-transfer.
> It still isn't working but it might be where I am declaring the
> variable. I can't find much information on where a variable should
> be declared and how it picks up the value from the input form.
>
> Thanks!
>
> Betty
>
> <quote who="Erik Bruchez">
>> Please make sure you are using a recent nightly build where variables
>> are available. Then your code should work. If it doesn't, please send
>> a reproducible case that works in the XForms sandbox.
>>
>> -Erik
>>
>> On Aug 20, 2008, at 9:41 AM, Betty Harvey wrote:
>>
>>> I have been searching for several days for answer and I haven't been
>>> able to find one.
>>>
>>> Basically I want to take a field in the form and make that part of  
>>> the
>>> filename that the document gets saved.  In XSLT I would use the
>>> variable as below, but this doesn't seem to work.
>>>
>>> <xforms:submission id="save-submission"
>>> ref="instance('TransferRequests-instance')"
>>> resource="/exist/rest/db/orbeon/mydata/{$MyID}.xml)"
>>> method="put" replace="none">
>>> </xforms:submission>
>>>
>>>
>>> <xforms:variable name="MyID" select="/myElement/@id"/>
>>>
>>> Anyone have any suggestions!
>>>
>>> TIA!
>>>
>>> Betty
>>>
>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>>> \/
>>> 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/
>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>>> Help Mac fight MLD (http://www.macsteam.org)
>>> Mark your calendar for October 28th
>>> (http://www.macsteam.org/BullROast.aspx
>>> )
>>>
>>> --
>>> 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
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> 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/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
> Help Mac fight MLD (http://www.macsteam.org)
> Mark your calendar for October 28th (http://www.macsteam.org/BullROast.aspx 
> )
>
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> 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/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
> Help Mac fight MLD (http://www.macsteam.org)
> Mark your calendar for October 28th (http://www.macsteam.org/BullROast.aspx 
> )
>
> --
> 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
--
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: Re: Question About Variables in path names.]

Betty Harvey
Hi Eric:

Here is the form as it stands right now.  I have other iterations of it
as I have been trying different approaches!  I am also calling in all
the instances in externally.  I had one codelist file that worked fine
before I did the upgrade but since I did the upgrade I think that it
might be too large to handle because when I call it in now it hangs.

Thanks!

Betty
<quote who="Erik Bruchez">

> Hi Betty,
>
> I can't seem to be able to reach 207.168.47.8: "Firefox can't
> establish a connection to the server at 207.168.47.8." Can you attach
> the form to an email?
>
> -Erik
>
> On Aug 20, 2008, at 6:19 PM, Betty Harvey wrote:
>
>>
>> Hi Eric:
>>
>> I didn't have the latest version but I have updated to the latest now.
>> The form is available at http://207.168.47.8/orbeon/xforms-transfer.
>> It still isn't working but it might be where I am declaring the
>> variable. I can't find much information on where a variable should
>> be declared and how it picks up the value from the input form.
>>
>> Thanks!
>>
>> Betty
>>
>> <quote who="Erik Bruchez">
>>> Please make sure you are using a recent nightly build where variables
>>> are available. Then your code should work. If it doesn't, please send
>>> a reproducible case that works in the XForms sandbox.
>>>
>>> -Erik
>>>
>>> On Aug 20, 2008, at 9:41 AM, Betty Harvey wrote:
>>>
>>>> I have been searching for several days for answer and I haven't been
>>>> able to find one.
>>>>
>>>> Basically I want to take a field in the form and make that part of
>>>> the
>>>> filename that the document gets saved.  In XSLT I would use the
>>>> variable as below, but this doesn't seem to work.
>>>>
>>>> <xforms:submission id="save-submission"
>>>> ref="instance('TransferRequests-instance')"
>>>> resource="/exist/rest/db/orbeon/mydata/{$MyID}.xml)"
>>>> method="put" replace="none">
>>>> </xforms:submission>
>>>>
>>>>
>>>> <xforms:variable name="MyID" select="/myElement/@id"/>
>>>>
>>>> Anyone have any suggestions!
>>>>
>>>> TIA!
>>>>
>>>> Betty
>>>>
>>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>>>> \/
>>>> 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/
>>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>>>> Help Mac fight MLD (http://www.macsteam.org)
>>>> Mark your calendar for October 28th
>>>> (http://www.macsteam.org/BullROast.aspx
>>>> )
>>>>
>>>> --
>>>> 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
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>
>>
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>> 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/
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>> Help Mac fight MLD (http://www.macsteam.org)
>> Mark your calendar for October 28th
>> (http://www.macsteam.org/BullROast.aspx
>> )
>>
>>
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>> 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/
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>> Help Mac fight MLD (http://www.macsteam.org)
>> Mark your calendar for October 28th
>> (http://www.macsteam.org/BullROast.aspx
>> )
>>
>> --
>> 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
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
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/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Help Mac fight MLD (http://www.macsteam.org)
Mark your calendar for October 28th (http://www.macsteam.org/BullROast.aspx)

--
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

view.xhtml (10K) Download Attachment