HTML Extender 30001 and Frames
Keywords: HTML Extender 30001 and Frames
Question:
I just installed the newest HTML Extender v30001 using vcheck.wbt.I do have a program which loads a frameset and then two html into the frames. It always worked well till HTML Extender version 30000.
Now with 30001 it behaves very strange. When I click on a link in the left frame all that happens is: The .html file which is linked to the anchor tag is loaded into the frame. The Winbatch extender does not even get control of that click. When you now hit "back" in the browser window and you try it again, the action takes place. And this happens with every link. When you click on the link first, the window behaves just like a native Iexplore window and loads the linked file. when you hit back and try it again it acts like it should and passes control to winbatch. As soon as I reinstall version 30000 of the extender everything is working fine.
Could you please take a look at this. Cause this extender bug must be resolved. I think it must have to do something with the frames that only every second click is passed to the extender.
If you have problems recreating this error I could send you my script (but is quite big. Maybe I could strip it down to a smaller one which produces just this error).
Many thanx in advance.
Answer:
We implemented a rather far reaching change into the extender.Basically we added an option (hBrowse, third (flag) parameter, bit value 8) that controls whether or not the extender would automatically load all the pages in a frame in a single hBrowse statement or not.
After much discussion of its usage it was decided that the default setting of the flag would cause the new behavior.
If you add 8 to the last parameter of your hBrowse statements, then you get the old behavior.
In general when we add a new flag we do not change the existing method of operation. However in this case, supposedly for the greater goos, we did.
So, for starters, try adding 8 to all your flag parameters on your hBrowse's and see if that helps.
Question (cont'd):
Thanks, that helped. So now my question of course is. Can I remove some hBrowse statements if the new extender loads frames automatically, cause I do not see yet what exactly (8 = do not wait for navigation to complete) has to do with my frames... :-)Could you explain this in a bit more detail. Thanks a lot in advance.
For example I currently use 3 hBrowse statments for loading the frameset and the two frames. Could this be reduced to simply one hBrowse for the frameset??
Answer:
Yes.Explanation.
If you add the 8 flag to your code, then your code should run like it used to.
However if you leave the 8 flag out, then yes, you only need a single hBrowse to load an entire frame set, This was deemed what most people really want to do anyway. and it should make the code a lot simpler.
Article ID: W14769