You need to sign in to do that
Don't have an account?
Oldwen Adriano
Dynamic Input box value
Hello,
I am creating a dynamic InputText and would like to assign the value as it's created, but I am having trouble getting it to work.
I have included some snippets above which shows my process. Any help is greatly appreciated.
Thank you,
Oldwen
I am creating a dynamic InputText and would like to assign the value as it's created, but I am having trouble getting it to work.
public String myval {get;set;} custResponseString = custResponse[y].CustomerResponse__c; Component.Apex.InputText textAns = new Component.Apex.InputText(); textAns.value = custResponseString; myval = custResponseString; textAns.expressions.value = '{!myval}'; questions.childComponents.add(textAns);
I have included some snippets above which shows my process. Any help is greatly appreciated.
Thank you,
Oldwen
Can you post the whole code and what is the error? what's not working? it does not show up? it shows but does not bind correctly thus not updating correctly? something else?
Thx
Snippet from code above where my issue lies:
Now, when my page renders, the text box created above does not have a value inside of the text area. That is what I am looking to resovle.
Thank you,
Oldwen