There is this hierarchical menu system that was designed from a nested list (refer to Displaying Hierarchical Data in a List videos) that show how the following code was easily generated.
The error I'm getting has been driving me nuts for awhile. It is basically a back button icon < of a hierarchical menu that is not found in the server called GridRecordPrev.png
404 Not Found
The requested URL /Project_X/css/{grid.style}/GridRecordPrev.png was not found on this server.
Alpha Anywhere Development Server/12.0 Build/3962-4772
Call Stack
In the debugger the error occurs at this line:
which is equivalent to this code in the onInitialize event of the list:
When I look for GridRecordPrev.png in the Web project and I find it under Images\css\MobBlueLocal\GridRecordPrev.png
Then in firebug, I Edited the errored request http://PC:88/ProjectX/css/%7Bgrid.style%7D/GridRecordPrev.png with http://PC:88/ProjectX/css/MobBlueLocal/GridRecordPrev.png, the error code goes way and I get green OK status code 200
Now that I know where the error is coming from, how can I change in {grid.style} with MobBlueLocal class so that the error goes away?
More Info that might be of help:
This list's Class is set to <Default>
Has Fixed Header CHECK
Fixed Header HTML:
Fixed header class name:
The List resides in a UX that has its style name set to MobBlue.
The UX is called from a link in a tabbedUI that has its style set to MobBlue and that the error occurs wheather the property Use master style is checked or not.
The back button is automatically generated by the nested list genie.
One important thing I just found out while writing this post is that when I run the UX outside the tabbedUI in a seperate A5W page, the error goes away and the back icon shows.
Would someone help me undestarnd why this error occurs & hopefully help me fix it.
I'd very much appreciate it.
Thank you
The error I'm getting has been driving me nuts for awhile. It is basically a back button icon < of a hierarchical menu that is not found in the server called GridRecordPrev.png
404 Not Found
The requested URL /Project_X/css/{grid.style}/GridRecordPrev.png was not found on this server.
Alpha Anywhere Development Server/12.0 Build/3962-4772
Call Stack
Code:
TBI_FORMBUILDE_132440UCZR_DlgObj._controls.MENULIST.onInitialize/this._nestedList.doListAction eval:8261:3 TBI_FORMBUILDE_132440UCZR_DlgObj._listViewSettings.MENULIST.onClick eval:4191:2 A5.ListBox.prototype._onClick $e.add/wFunc
Code:
var buttonTxt = A5.u.icon.html('css/[COLOR=#ff0000]{grid.style}[/COLOR]/GridRecordPrev.png','style="float: left; vertical-align:middle;"') + _d[lObj._nestedList.displayPropertyName];
Code:
[COLOR=#ff0000]var buttonTxt = A5.u.icon.html('{images.dv.prevRecord}','style="float: left; vertical-align:middle;"') + html;[/COLOR] if(lObj._nestedList.iconPrefix != '') { buttonTxt = buttonTxt.replace('css\/', lObj._nestedList.iconPrefix + 'css/'); } buttonTxt = buttonTxt.replace('a5res:a5res:','a5res:'); bEle.innerHTML = buttonTxt;
Then in firebug, I Edited the errored request http://PC:88/ProjectX/css/%7Bgrid.style%7D/GridRecordPrev.png with http://PC:88/ProjectX/css/MobBlueLocal/GridRecordPrev.png, the error code goes way and I get green OK status code 200
Now that I know where the error is coming from, how can I change in {grid.style} with MobBlueLocal class so that the error goes away?
More Info that might be of help:
This list's Class is set to <Default>
Has Fixed Header CHECK
Fixed Header HTML:
Code:
<div id="listBackButton" a5-item="listGoBack" style="cursor:pointer; visibility:hidden; vertical-align:middle;"></div>
Code:
[MobBlueListItemSelected]
The UX is called from a link in a tabbedUI that has its style set to MobBlue and that the error occurs wheather the property Use master style is checked or not.
The back button is automatically generated by the nested list genie.
One important thing I just found out while writing this post is that when I run the UX outside the tabbedUI in a seperate A5W page, the error goes away and the back icon shows.
Would someone help me undestarnd why this error occurs & hopefully help me fix it.
I'd very much appreciate it.
Thank you
Comment