Hi There, When I do the following:
Display a rowtablearea2 with 8 rows, containing a label and a (Textfield or Combobox [one of the two is displayed the other invisible])
I encounter the following symptom:
The browser (IE) opens a Window containing the following text:
"
Stop running the script?
A script on this page is causing IE to run slowly.
If it continues to run, your computer may become unresponsive.
<> <>
"
If I press “Yes” the java script on the page does not work any more
If I press “No” the warning becomes true (but I get more chances to click “Yes”
Additional Info:
When I have 7 or less items in the table it works, if there are 8 or more contained it fails with the described “behavior”. The definition of the roware is as follows:
"
"
If I remove the Combodyn from the tablearea in the Layout XML everything works (sometimes ).
I did some Java Script Debugging and figured that it might happen in the
csc.js File in the operation “transferXMLIntoModel()”. This operation seems to run more than once, the first time it seems to be successfull, the second time the Counter “i” has the Value “NaN” (Not a Value)
Here is the Content of the xml Variable (I guess the stuff returned from the ajax call):
"------------------------------
xml
“k100ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].selectedk100ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].selectedk94ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].idk94ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].idk89ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].isValueTfMandantoryk96ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].namek94ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.changeIndexk106ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].backgroundsCSVk79ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].selectionk96ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].namek104ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].displayStylek100ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].selectedk104ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].displayStylek94ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].idk106ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].backgroundsCSVk101ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].valuesCSVk77ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueTfk83ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbStatusk101ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].valuesCSVk94ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].idk101ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].valuesCSVk101ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].valuesCSVk101ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].valuesCSVk100ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].selectedk106ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].backgroundsCSVk96ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].namek106ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].backgroundsCSVk86ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].isValueTfVisiblek104ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].displayStylek102ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].selectablek104ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].displayStylek102ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].selectablek87ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].isValueTfEditablek102ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].selectablek94ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].idk75ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].labelk102ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[1].selectablek106ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].backgroundsCSVk100ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].selectedk102ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].selectablek77ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbk96ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[4].namek96ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[0].namek104ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[2].displayStyles1110changeIndexb21ravoap_navigationTreeq010001301183456542625cb19ravpgpk_ebenenComboq010000401641cb60ravpgpk_ebenenSelection_einschliessbareProduktbausteineComboq010000401642cb60ravpgpk_ebenenSelection_selectedBesonderheit_parametersTablep0800001rowCount7b08items[0]b12valueCbComboq010000401645ccb08items[1]b12valueCbComboq010000401646ccb08items[2]b12valueCbComboq010000401647ccb08items[3]b12valueCbComboq010000401648ccb08items[4]b12valueCbComboq010000401649ccb08items[5]b12valueCbComboq010000401650ccb08items[6]b12valueCbComboq010000401651cccb12messageTableq010000401649cx041648”
"--------------------------
OK, we could reproduce. The problem is: the name of a property that is referenced in the user interface must not exceed 100 characters. In your case the full property name referenced within the combo processing is:
We output this information in the server log as error message:
20070704/163839/339 E CASA4_1183559916535...... CIS StringMgmt.getLength(StringMgmt.java:73) StringMgmt.getLength ERROR ******************************************************
20070704/163839/339 E CASA4_1183559916535...... CIS StringMgmt.getLength(StringMgmt.java:74) StringMgmt.getLength ERROR ******************************************************
20070704/163839/339 E CASA4_1183559916535...... CIS StringMgmt.getLength(StringMgmt.java:75) StringMgmt.getLength Length of passed string exceeds number of digits
20070704/163839/339 E CASA4_1183559916535...... CIS StringMgmt.getLength(StringMgmt.java:76) StringMgmt.getLength s=ravpgpk_ebenenSelection_selectedBesonderheit_parametersTable.items[7].valueCbCombo.items[3].backgroundsCSV
I checked you program and reduced the name of the first referenced property to “ravpgpk_ebenenSelection_selectedBesonderheit”. Now it works.
I assume that you are assigning the name of the property dynamically by some algorithm. Either change this algorithm, or introduce some cross reference between “short property name” and “long property name”.
Some additional background info: why is there a limit of 100? In order to optimize the unpacking of response data on client side the data is sent in a string format in which the length of certain strings is passed as well.
E.g. a property value is transferred in the format pnnvvvvv{name}{value}. “nn” being the number of characters for the property name, and “vvvvv” being the number of characters for the value. E.g. firstName=“hugo” would be transferred as “p090004firstNamehugo”. Property names are limited for this reason to be p99 as maximum.
(b.t.w. for very long values we also have a tag in whcih the value can have up to 12 digit length, which should be enough for any kind of data… - but the length of the property still is limited…).