on 11-21-2008 1:24 PM
I am trying to use ISR Native Control Drop Down List. I have done all bindings correctly. Also in Specify Item Values "Replace_This" is done correctly.
When I do PDF preview from SFP I get all the time the following
Script failed (language is formcalc; context is
xfa[0].form[0].data[0].#subform[0].CI[0].ISR_DDL_NoSelected[0]
script=...
Error: syntax error near token '&' on line 3, column 33.
Any hint why ? It is a ZCI form. We have all the latest versions in our IDES system. ECC 6.0.
I use LiveCycle 8.0, Adobe Reader 9.
Hi Jarmo,
Could you list all the form calc code for the element that the error is occurring in. Sometimes, what happens, is that the error isn't in where the program claims it is. I don't know if that makes sense, but I have added form calc code under a different element before, forgetting a bracket or something, and it complains that the error is somewhere it isn't.
Hope that makes sense...
Cheers,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx for reply
I tried WebDynpro Native control "Enumerated Drop-Down List (no select). Binding is made for a field that has Input Help defined in Form Scenario. This is done in HRASR_DT (Design Time).
Dynamic properties (Specify Item Value) is automatically filled and can not be changed.
Form activation shows no errors and PDF preview is ok with no warnings / errors.
From portal the process is started and form will be loaded. What happens is that DDL field causes Java scipting error
Malformed SOM expression:
$record.sap-vhlist.COUNTRY.DATA[].FIELD.item[]
Then
Error: accessor '$record.CONTROL_PARAM.ISR_MODE' is unknown.
Script failed (language is formcalc: ................
And in ST22 dump shows
"UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
"CL_WDR_CONTEXT_ELEMENT========CP" or "CL_WDR_CONTEXT_ELEMENT========CM00B"
"GET_CHILD_NODE_INTERNAL"
Java scripting for this field
-
-
data.Change_Address.Address_Information.EnumDropDownListNoSelect1::exit: - (JavaScript, client)
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - Enumerated_Drop-down_list_No_S.xfo.p1
// If the display value is used in the data DOM,
// re-assign the corresponding data value
if ((this.rawValue != null) && (this.rawValue != "")) {
if (this.boundItem(this.rawValue) != "") {
this.rawValue = this.boundItem(this.rawValue);
}
}
// END OF DO NOT MODIFY
// START OF CODE - TO RUN AFTER SELECTION HAS BEEN MADE
// END OF CODE - TO RUN AFTER SELECTION HAS BEEN MADE
// Any code to save the form data for submission to the server can be inserted here
-
-
data.Change_Address.Address_Information.EnumDropDownListNoSelect1::preOpen: - (JavaScript, client)
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - Enumerated_Drop-down_list_No_S.xfo.p3
// if the flag complete = 0 then call back to the server for a value selection
if (this.bind.ref != "") {
var DataBinding = this.bind.ref;
// the data binding may contain "$data." instead of $record
DataBinding = DataBinding.replace("$data."+xfa.record.name,"$record");
DataBinding = DataBinding.replace("$record.", "");
var existenceNode = xfa.form.resolveNode("xfa.datasets.data."xfa.record.name".sap-vhlist."+DataBinding.replace(/(.)/g,"
.").replace(/()/g,"")+".complete");
if (existenceNode != null && existenceNode.value == "0") {
var processingF4HelpOpen = ContainerFoundation_JS.getGlobalValue(event.target, "processingF4HelpOpen");
if(processingF4HelpOpen == false) {
ContainerFoundation_JS.setGlobalValue(event.target, "processingF4HelpOpen", true);
ContainerFoundation_JS.SendMessageToContainer(event.target,
"f4HelpOpen",
this.dataNode.somExpression.replace(/(xfa.?.)(datasets.?.)(data.*?.)/, ""),
this.rawValue,
event.target.mouseX,
event.target.mouseY);
}
}
}
// END OF DO NOT MODIFY
-
-
data.Change_Address.Address_Information.EnumDropDownListNoSelect1::ready:form - (JavaScript, client)
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - Enumerated_Drop-down_list_No_S.xfo.p2
// If data value is not in list, clear selection by setting it to an empty string.
if (this.selectedIndex == -1) {
this.rawValue = "";
}
// END OF DO NOT MODIFY
Edited by: Jarmo Räty on Nov 28, 2008 10:19 AM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.