Hi
I created navigation and grid components and added them to a page (lstAutor).
If I use only grid component, everything works. If I add navigation component (navMain) I get the following error:
Error:Script: /lstAutor.a5w line:116
?x_navMain.Output.Body.navsysTBH
Not found
x_navMain not found."
Problem lies somewhere here:
<%a5
dim request.variables.__ajax as c = default ""
'Only run if not in an Ajax callback.
if request.variables.__ajax = "" then
Delete tmpl_navMain
DIM tmpl_navMain as P
tmpl_navMain = a5w_load_component("navMain") 'SYSTEM GENERATED COMMENT - PLEASE DO NOT REMOVE (LOAD:navMain)
'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
'Each component on a page must have a unique alias (componentName property).
with tmpl_navMain
location = "Autorid"
componentName = "navMain"
end with
'=======================================compute the HTML for the Component=======================================
delete x_navMain
dim x_navMain as p
x_navMain = a5w_run_Component(tmpl_navMain) 'SYSTEM GENERATED COMMENT - PLEASE DO NOT REMOVE (RUN:tmpl_navMain)
?x_navMain.Output.Head.JavaScript
?x_navMain.Output.Head.CSS_Link
end if 'end test in Ajax callback
%>
I have removed KB956844 patch from my computer.
What is wrong?
More important question is - how can I track errors like these in the future when they usually end with server error 500?
I created navigation and grid components and added them to a page (lstAutor).
If I use only grid component, everything works. If I add navigation component (navMain) I get the following error:
Error:Script: /lstAutor.a5w line:116
?x_navMain.Output.Body.navsysTBH
Not found
x_navMain not found."
Problem lies somewhere here:
<%a5
dim request.variables.__ajax as c = default ""
'Only run if not in an Ajax callback.
if request.variables.__ajax = "" then
Delete tmpl_navMain
DIM tmpl_navMain as P
tmpl_navMain = a5w_load_component("navMain") 'SYSTEM GENERATED COMMENT - PLEASE DO NOT REMOVE (LOAD:navMain)
'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
'Each component on a page must have a unique alias (componentName property).
with tmpl_navMain
location = "Autorid"
componentName = "navMain"
end with
'=======================================compute the HTML for the Component=======================================
delete x_navMain
dim x_navMain as p
x_navMain = a5w_run_Component(tmpl_navMain) 'SYSTEM GENERATED COMMENT - PLEASE DO NOT REMOVE (RUN:tmpl_navMain)
?x_navMain.Output.Head.JavaScript
?x_navMain.Output.Head.CSS_Link
end if 'end test in Ajax callback
%>
I have removed KB956844 patch from my computer.
What is wrong?
More important question is - how can I track errors like these in the future when they usually end with server error 500?
Comment