'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

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

'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
HI All,

I have recently upgraded my application from orbeon 3.8 to 3.9 RC1

i have the following code which worked fine in 3.8
<script LANGUAGE="JavaScript" TYPE="text/javascript"> //Contents for Content Acquisition var contentAcquisitionMenu = new Array() contentAcquisitionMenu[0] = '<a href="#">Import</a>' contentAcquisitionMenu[1] = '<a href="#">Content Comments</a>' </script>
This line yields the following error in 3.9
 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

can someone guide me regarding the same.

Thanks in advance,
Jesi
Reply | Threaded
Open this post in threaded view
|

Re: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
Cam someone guide me regarding this
Reply | Threaded
Open this post in threaded view
|

Re: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
In reply to this post by jesintha_p
we have added logging and got the follwing error

2011-04-27 20:08:25,343 ERROR ProcessorService  - Exception at line 136, column 60 of oxf:/ops/pfc/xforms-epilogue.xpl (reading processor output: name='data', id='xincluded-data')
java.lang.ArrayIndexOutOfBoundsException: -1

Can someone please guide us regarding the same
Reply | Threaded
Open this post in threaded view
|

Re: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
In reply to this post by jesintha_p
We have zero'd down the problem.
The following line caused the problem  
var SearchMenu = 'Basic Search'

If this line is present we get error, can some one let me know how i can declare a string in this format
Reply | Threaded
Open this post in threaded view
|

Re: Re: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

Erik Bruchez
Administrator
This line starting with "var SearchMenu" is not part of Orbeon Forms
as far as I can tell.

It might be custom JavaScript in your application, or some other
JavaScript you are using.

-Erik

On Thu, Apr 28, 2011 at 6:46 AM, jesintha_p
<[hidden email]> wrote:

> We have zero'd down the problem.
> The following line caused the problem
> var SearchMenu = ' backtosearch Basic Search '
>
> If this line is present we get error, can some one let me know how i can
> declare a string in this format
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/opsXFormsProperties-is-undefined-orbeon-js-line-16-character-1651-tp3478251p3481043.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
>
>


--
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: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
Thanks Erick,

I found the solution, orbeon 3.9 is not accepting > and < symbols. i replaced them with > and < respectively and now they are working fine.

Thanks,
Jesi
Reply | Threaded
Open this post in threaded view
|

Re: Re: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
i meant replacing with "& g t ;" and "& l t ;"

Thanks ,
Jesi
Reply | Threaded
Open this post in threaded view
|

Re: Re: 'opsXFormsProperties' is undefined. orbeon-***.js line 16 character 1651

jesintha_p
In reply to this post by jesintha_p
i meant replacing with "& g t ;" and "& l t ;" without the space

Thanks ,
Jesi