Not sure how to explain this, but I will try.
I have an array after converting this to CF. Here is a layout of the array:
idxDocument from a cfloop from 1 to ArrayLen
sRetXML.BillPay.FACILITIES.FACILITY[idxDocument].VERISIGN.REFERENCENUM.Value
The problem is there is not always a Regerencenum in verisign.
The first two in this case has sRetXML.BillPay.FACILITIES.FACILITY[idxDocument].VERISIGN.value and the value of each is "".
The third has sRetXML.BillPay.FACILITIES.FACILITY[idxDocument].VERISIGN.referencenum.value and the value equals "some text".
As I loop over sRetXML.BillPay.FACILITIES.FACILITY (in this case the len is 3) I would like to set the value of Referencenum to sVerisignRef
<cfscript>
sVerisignRef = sRetXML.BillPay.FACILITIES.FACILITY[idxDocument].VERISIGN.REFERENCENUM.Value;
</cfscript>
But of course I get error when I try to set a value on the first two parts of Facility since there is not a verisign.referencenum only verisign.value.
How do I get past this.
I know I did not explain this good, so please ask any questions.
David
----- Original Message -----
From: Rob
To: CF-Talk
Sent: Thursday, March 18, 2004 10:50 AM
Subject: Re: _javascript_ remoting with cfcs
On Thu, 2004-03-18 at 03:32, Thomas Chiverton wrote:
> On Wednesday 17 Mar 2004 23:39 pm, Rob wrote:
> > It works on my linux Mozilla 1.4.1 and IE 6.0. I *think* it'll work on
> > IE 5... I should try XP too.
>
> Doesn't work on my FireFox .8 :-(
> "robject.getAddOne is not a function"
>
I was working on it last night making the console interactive. You might
have hit it when I was jacking with it.
Try it again - I just tried it on FireFox linux worked ok
> This is very cool though, but for the moment I'll have to stick to pengoworks
> JS gateway.
I would too - mine is pretty beta
--
Rob <[EMAIL PROTECTED]>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Javascript remoting with cfcs Rob
- Re: Javascript remoting with cfcs Nathan Strutz
- Re: Javascript remoting with cfcs Rob
- Re: Javascript remoting with cfcs Thomas Chiverton
- Re: Javascript remoting with cfcs Dick Applebaum
- Re: Javascript remoting with cfcs Rob
- Re: Non safe Array with XML2CF David Brown
- Re: Non safe Array with XML2CF Bryan F. Hogan
- Re: Non safe Array with XML... David Brown
- Re: Non safe Array with XML... Bryan F. Hogan
- Re: Non safe Array with XML... David Brown
- Re: Non safe Array with XML... David Brown
- Re: Non safe Array with XML... Bryan F. Hogan
- Re: Non safe Array with XML... David Brown
- Re: Non safe Array with XML... Bryan F. Hogan
- Re: Non safe Array with XML... David Brown
- Re: Javascript remoting with cfcs Thomas Chiverton