|
Mailing Lists
|
Home /
Groups /
Fusebox
Element is undefined in XFA
Hello again.Bouton Jones 07/12/11 12:51 P Hello.Bouton Jones 07/12/11 12:54 P Hello.Bouton Jones 07/12/11 01:22 P Try the same as before--dump xfa at the top of the dsp template and see whatRey Muradaz 07/12/11 03:02 P I forgot to mention that I did a CFDUMP. Dumping XFA shows that the XFA structure is indeed missing grantorGoalObj.Bouton Jones 07/12/11 03:07 P The XFA structure is missing Grantor Goals.Bouton Jones 07/14/11 11:40 A Thank you REM O.Bouton Jones 07/18/11 04:43 P Hello again. I'm getting an error which reads "Element GRANTORGOALOBJ is undefined in XFA." I'm added a new XFA to an existing application. I've added the offending line of code <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> to my display template (where the error occurs) and I've added <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch" /> to the circuit.xml in the same directory. In both cases I've copied the syntax from an existinf XFA. That directory contains a subdirectory named "grantorGoalObj" which in turn contains another circuit.xml file which contains an "addSearch" fuseaction. I'm experienced with Fusebox 3 but the newer versions are new to me. I tried to Google the a solution to the error first but I was unsuccessful. Can someone advise? TIA Bouton Hello. Please excuse a possible repost. I tried to post this earlier but I didn't see it. I'm working on a large complex legacy Fusebox 5 application. I'm getting the following error message Element GRANTORGOALOBJ is undefined in XFA in response to this new line of code which I added to a dsp template <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> In the circuit.xml file in the same directory I have added <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch" /> In both cases I copied the syntax from an exisiting XFA. In that directory I have added a subdirectory named "grantorGoalObj." It contains a circuit.xml file which defines an "addSearch" fuseaction. I'm familar with Fusebox 3 but not the later versions. I tried to google a solution to the error but I was unsuccessful. Can anyone advise. TIA Bouton Hello. Please excuse a possible repost. I tried to post this earlier but I didn't see it. I'm working on a large complex legacy Fusebox 5 application. I'm getting the following error message Element GRANTORGOALOBJ is undefined in XFA in response to this new line of code which I added to a dsp template <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> In the circuit.xml file in the same directory I have added <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch" /> In both cases I copied the syntax from an exisiting XFA. In that directory I have added a subdirectory named "grantorGoalObj." It contains a circuit.xml file which defines an "addSearch" fuseaction. I'm familar with Fusebox 3 but not the later versions. I tried to google a solution to the error but I was unsuccessful. Can anyone advise? TIA Bouton Try the same as before--dump xfa at the top of the dsp template and see what you get--might not be what you're expecting (but might give you a clue to where the problem is...) Cheers, REM O- Hello. Please excuse a possible repost. I tried to post this earlier but I didn't see it. I'm working on a large complex legacy Fusebox 5 application. I'm getting the following error message Element GRANTORGOALOBJ is undefined in XFA in response to this new line of code which I added to a dsp template <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> In the circuit.xml file in the same directory I have added <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch" /> In both cases I copied the syntax from an exisiting XFA. In that directory I have added a subdirectory named "grantorGoalObj." It contains a circuit.xml file which defines an "addSearch" fuseaction. I'm familar with Fusebox 3 but not the later versions. I tried to google a solution to the error but I was unsuccessful. Can anyone advise? TIA Bouton I forgot to mention that I did a CFDUMP. Dumping XFA shows that the XFA structure is indeed missing grantorGoalObj. BTW, In the fusebox.xml file in the application's root I have included <circuit alias="grantorGoalObj" path="admin/grantorGoalObj/" parent="" /> inside the admin circuit alias. What am I missing? Thank you. Bouton The XFA structure is missing Grantor Goals. I had added <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch" /> to circuit.xml. The offending line of code reads <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> In the fusebox.xml file in the application's root I have included <circuit alias="grantorGoalObj" path="admin/grantorGoalObj/" parent="" /> inside the admin circuit alias. What am I missing? Bouton > I forgot to mention that I did a CFDUMP. Dumping XFA shows that the > XFA structure is indeed missing grantorGoalObj. > > BTW, In the fusebox.xml file in the application's root I have > included > ----- Excess quoted text cut - see Original Post for more ----- Bouton Thank you REM O. I have figured out the solution to my problem. Here are my steps. 1. In the admin directory I added a sub-directory named grantorGoalObj 2. In the admin directory I added the following line to circuit.xml: <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch"/> 3. In the admin directory I added the following line to dsp_adminMenu.cfm: <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> 4. In the root directory I added the following line to fusebox.xml: <circuit alias="grantorGoalObj" path="admin/grantorGoalObj/" parent="" /> 5. In the parsed directory I added the following line to admin.adminmenu.cfm: grantorGoalObj I was stuck after the first three steps for several days. A CFDUMP of the XFA structure showed me that it didn’t contain grantorGoalObj but I didn’t know where to go from there. Finally I hit upon searching the entire code for a working XFA that was already extant on the menu page and then copying the syntax for the grantorGoalOBj XFA. It wasn’t until the fifth step that I stopped getting the error which read “Element GRANTORGOALOBJ is undefined in XFA.” I was getting an “error reading circuit.xml” error that was complicating matters. I was only able to fix that after restoring all my files to their previous state and re-integrating my changes one line at a time. I hope this information helps other developers having similar problems. Googling the strings "Element" and "is undefined in XFA" didn't help me much. Bouton
|
May 25, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||