JS error "hX_6 is not defined"

615 Views Asked by At

I'm using RAD 7.5.6, and JSF 1.2, and IBM JSF client framework (the hx taglib).

I have a search page, where within a list of items, I can edit my selected item. When I click on the item, I'm redirected to the insert page, with all my items data. My page is load with all the data, but I got a JS error, what I tracked to the following code, with the message "hX_6 is not defined":

<script type="text/JavaScript" language="JavaScript">
    if (hX_6) hX_6.setResourceServer("/APHP0000_Web/.ibmjsfres");
    if (hX_6 && hX_6.setLocale) hX_6.setLocale("pt_BR");
</script>

and

<script type="text/javascript" src="/APHP0000_Web/.ibmjsfres/hxclient_be_v3_1_4.js"> </script>
<script type="text/javascript">
    hX_6.onPageLoad();
</script>

This error affects my menu and all the other JS and submissions of the page.

0

There are 0 best solutions below