Javascript error when page is rerender
robertocarlos1 May 16, 2008 6:40 PMHey Guys i need your help again.
Im getting the next javascript error when some parts of my page are rerender.
Object doesnt support this porperty or method. Im not sure if the problem is the inplace editor tag, the error begin when i put this tag in my page
in a4j log putted in my page i have the next entries.
debug[15:48:39,988]: Evaluate script replaced area in document: //
Richfaces.InplaceSelect.CLASSES = {
COMBO_LIST : {
LIST : {CLASSES :{ACTIVE : "rich-inplace-select-list-scroll rich-inplace-select-list-decoration rich-inplace-select-list-position "
}
},
ITEM : {NORMAL : "rich-inplace-select-item rich-inplace-select-font ",
SELECTED : 'rich-inplace-select-item rich-inplace-select-font rich-inplace-select-selected-item '
}
},
COMPONENT : {CHANGED : {NORMAL : 'rich-inplace-select rich-inplace-select-view rich-inplace-select-changed ', HOVERED : 'rich-inplace-select-changed-hover '},
VIEW : {NORMAL : 'rich-inplace-select rich-inplace-select-view ', HOVERED : 'rich-inplace-select-view-hover '},
EDITABLE : 'rich-inplace-select rich-inplace-select-edit '
}
};
new Richfaces.InplaceSelect(new Richfaces.InplaceSelectList('listresolutionMant:j_id_jsp_1430670112_34', 'listParentresolutionMant:j_id_jsp_1430670112_34', true,
Richfaces.InplaceSelect.CLASSES.COMBO_LIST, '200px', '90px', [['Marquez Medina, Renato ','1'] ,['Arce Chacon, Ricardo Antonio','2'] ,['Bonilla Acevedo, Roberto ','3'] ,['Molina Arriola, Mario Alexander ','4'] ,['Escoto Gaitan, Jennifer Ivette ','5'] ,['Trujillo Navas, Tommy Oseas ','6'] ,['Aguilar de Gomar, Jennifer Lissette ','7'] ,['Del Cid , Carolina ','8'] ,['Rodriguez Recinos, Ronald Arturo ','9'] ,['Peña Ramirez, Tatiana Margarita ','10'] ,['Parras Barahona, Alex Danny ','11'] ,['Rivas Castillo, Juan Carlos ','12'] ,['Pacheco Sanchez, Ana Patricia','13'] ,['Monge Escalante, Ronald Alexander ','14'] ,['Martinez Alas, Jose Emilio ','15'] ,['Perez Solis, Efren ','16'] ,['Monterrosa , Carlos Rodolfo ','17'] ,['Valle Belloso, Mario Roberto','18'] ,['Rodriguez Hernandez, Carlos Alberto ','19'] ,['Fernandez Aparicio, William Vladimir ','20'] ,['de Umanzor , Liliana ','21'] ,['Garay Salguero, Nelson Omar ','22'] ,['Zelada Eduarcas, Roberto Alejandro','23'] ,['Reyes , Saul ','24'] ,['Mendoza , Ulises Roberto ','25'] ,['Cornejo Vasquez, Erich Ronald ','26'] ,['Rogel Espino, Miguel Antonio ','27'] ,['Dale Wada, Carlos Graham ','28'] ,['Arias , Leda Eunice ','29'] ,['Santos , Silvia Georgina ','30'] ,['Valle , Francisco ','31'] ,['Alarcon , Linda ','32'] ,['Parras , Marvin ','33'] ] , null,
'resolutionMant:j_id_jsp_1430670112_34inplaceTmpValue', 'shadowresolutionMant:j_id_jsp_1430670112_34', 0, 0, ''),
'resolutionMant:j_id_jsp_1430670112_34', 'resolutionMant:j_id_jsp_1430670112_34inplaceTmpValue',
'resolutionMant:j_id_jsp_1430670112_34inplaceValue', 'resolutionMant:j_id_jsp_1430670112_34tabber',
{defaultLabel : 'Seleccione un vendedor',
showControls : false,
editEvent : 'onclick',
verticalPosition : 'center',
horizontalPosition : 'right',
inputWidth : '',
minInputWidth : '100px',
maxInputWidth : '200px',
openOnEdit: true,
closeOnSelect: true},
{oneditactivation : null,
onviewactivation : null,
oneditactivated : null,
onviewactivated : null},
Richfaces.InplaceSelect.CLASSES,
['resolutionMant:j_id_jsp_1430670112_34bar', 'resolutionMant:j_id_jsp_1430670112_34ok', 'resolutionMant:j_id_jsp_1430670112_34cancel', 'resolutionMant:j_id_jsp_1430670112_34buttons', 'resolutionMant:j_id_jsp_1430670112_34btns_shadow'], 'resolutionMant:j_id_jsp_1430670112_34inselArrow');
//
error[15:48:40,034]: . Error message: No se pudo completar la operación debido un error 80020101.
debug[15:48:40,034]: Evaluate script replaced area in document: //
SimpleTogglePanelManager.add(new SimpleTogglePanel("resolutionMant:PfResolution:resPanel",
"false",{onexpand: '',oncollapse: ''}
));//
Thanks