Hi all. I have implemented a PRD with some custom buttons. The request
form works fine except in IE10.

Using IE10 buttons are not added to the form and the following error
message is reported on the top of the page:


Code:
--------------------

Collection: an error occurred JUICE.UICtrlUtil.addButton. Please contact your system administrator. Detailed information can be found in the console. (InvalidCharacterError)
Collection: an error occurred JUICE.UICtrlUtil.addButton. Please contact your system administrator. Detailed information can be found in the console. (InvalidCharacterError)

--------------------


The onload property of the field "Collection" contains the following
code:


Code:
--------------------

// Function that handles reset
function fnctResetForm()
{
// code here ...
}

// Function that handles select
function fnctSelect()
{
// code here ...
}

// Create buttons
try {
var ctrl = JUICE.UICtrlUtil.getControl(field.getName());
var btnSelect = JUICE.UICtrlUtil.addButton(ctrl, "btnSelect", "Select", "Click to select the current item.", fnctSelect);
var btnReset = JUICE.UICtrlUtil.addButton(ctrl, "btnReset", "Reset", "Click to reset the form.", fnctResetForm);
} catch(e) {
alert(e.name + " " + e.message);
}

--------------------


I do not understand where the problem is. Any help will be appreciated.
I'm currently running version 4.0.2 Patch C.

Thanks. Best regards,

Alessandro


--
afolli
------------------------------------------------------------------------
afolli's Profile: https://forums.netiq.com/member.php?userid=172
View this thread: https://forums.netiq.com/showthread.php?t=49817