• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[HELPED] Autocode Program URL Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [HELPED] Autocode Program URL Error

    Hello,

    I'm getting an error when I try to run an autocode program. It is bombing on the first autogrid pgm to gather the records for the grid.

    The error is:
    TypeError: Valence.plugin is undefined
    return url + (url.indexOf('?') === -1 ? '?' : '&') + string;
    ext-all-debug.js (line 992)


    My HTTP config contains the following:
    Code:
        # Accept all from VVAPPSDEV4 
        Alias /wwhtml /vvappsdev4/wwhtml 
        <Directory /vvappsdev4/wwhtml> 
             Order Allow,Deny 
             allow from all 
        </Directory>
    This is the path of the app: /wwhtml/autocode/dwnrootcr.html

    What am I missing? Thanks for any help.

  • #2
    It looks like the error is related to the Valence paging toolbar plugin that no longer exists in Valence 4. In order to fix this, you need to include 2 new files in your index.html:
    • /resources/plugin/toolbar/PagingRowSelector.js
    • /extjs/src/ux/SlidingPager.js


    Next, locate the portion in your code where the "Valence.plugin.PagingToolbarSlider" is referenced. Remove this as a plugin, instead use:

    Code:
    plugins : [new Ext.ux.SlidingPager(), {
        ptype : 'pagingrowselector'
    }]

    Comment

    Working...
    X