You need to sign in to do that
Don't have an account?
Miguel Angel Chinchilla B.
Problem with Dynamic outputText and Test.
Hi Friends,
I have tested a dynamic component for outputText.
On the Visualforce page show correctly, but where I run my test display the next error:
System.VisualforceException: Invalid value for property label: null
This is the piece of code
Regards.
I have tested a dynamic component for outputText.
On the Visualforce page show correctly, but where I run my test display the next error:
System.VisualforceException: Invalid value for property label: null
This is the piece of code
dynOutputText = new Component.Apex.outputText(); dynOutputText.value = wrapfee.numCuotaPendiente; dynOutputText.label = Label.label_fee_number; dynPageBlockSection.childComponents.add(dynOutputText);
Regards.
For resolving the problem I do this.
Regards.
When I add System.debug the error is the next:
System.UnexpectedException: Internal Salesforce Error: 156500021-123953 (-664506234) (-664506234)
Regards.
This seems an issue, but I haven't found anything on the known issues or stackoverflow or forums.
The following whould work: Anyway I suggest you to open a case to the support.
It seems like the test engine cannot access the Label value.
Bye
E.