Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AnthonyHowarth
AnthonyHowarth
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
3

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by AnthonyHowarth
Customize the badges you want to showcase on your profile
Re: Adding a Namespace Object to the XFA Object - Adobe LiveCycle 08-09-2014
I was looking into the Doc and app objects that you suggested. I can't seem to add my own object to Doc, but I can to app. The only thing with app is that it is persistent.The app object would be a great place to create a namespace object for storing properties and methods that are common to all my forms. I was thinking that the xfa object would be a better place to store properties and methods specific to a particular form. Garbage collection doesn't seem to be an issue, but I could be wrong.He...

Views

212

Likes

0

Replies

0
Re: Adding a Namespace Object to the XFA Object - Adobe LiveCycle 08-09-2014
Thanks for the response Bruce.Please look at the following link to get an idea of what I mean by namespace object:A JavaScript Module Pattern - YUI BlogI know this is more for browser based JavaScript, but I can see the benefits to using the idea within a form as well.

Views

209

Likes

0

Replies

0
Adding a Namespace Object to the XFA Object - Adobe LiveCycle 05-09-2014
Hi,I'm looking into optimizing the code in my forms. I noticed that, unlike most of the other LiveCycle Objects, the root XFA Object is enumerable and writable, and I was just wondering if anyone knows if it's safe to create my own Namespace Object and add it as a property of the XFA Object. If it is ok to do this, then it would be a great way to store all the form properties... all your Script Objects could point to the same location. I was able to get it to work using the following code://crea...

Views

529

Likes

0

Replies

4