Using the same protocol function component to output to different containers

Hey All!

So, I've come to an itnersting dilemma, in the midst of cleaning up some of my forms, I began to see a need for being able to call the same protocol for different options to be output to different containers... I /really/ don't want to have to put multiple protocol functions for the same darn code.

However, when I copy/paste the javascript that is inserted  by the component protocol/function, namely this bit and I add a paramater to container ID : (Note: source changes depending on what number filechooser is being changed. Additionally, the id of two listboxes output changes depending on the textbox.)

function findProperties(Source, lboxID1, lboxID2, containerID) {

    var parameterMap = {

        'Source': Source,

        'lboxID1': lboxID1,

        'lboxID2': lboxID2

    };

    var config = {

        protocolName: 'Protocols/Web Services/Utilities/PF',

        parameterMap: parameterMap,

        protocolLaunchAction: 'cursor',

        containerIds: [ containerID ],

        protocolEndAction: 'resultsInContainers',

        poolId: '{ppc396B7-72A3-7985-AA80-98123D3AD955}'

    };

    Pilot.Report.Core.ProtocolFunction.execute(config);

}

However, I am getting a pputils error. Much sadness. Any help would be appreciated.