You need to sign in to do that
Don't have an account?
Akshay More 11
Binding inputText inside wrapper class
Hello,
I'm trying to bind inputText from visualfroce page to my wrapper class. I have multiple products selected by one wrapper, and on second vf i want to take some inputText .After that i want to bind those inputText with selected products. and then on button click Im generating pdf for the same. But the can not able to bind the input string properly.
can anyone can share some sample logic for this?
I'm trying to bind inputText from visualfroce page to my wrapper class. I have multiple products selected by one wrapper, and on second vf i want to take some inputText .After that i want to bind those inputText with selected products. and then on button click Im generating pdf for the same. But the can not able to bind the input string properly.
can anyone can share some sample logic for this?
<code>
String inputFromVF;
Wrapper instance = new Wrapper();
public String getInputFromVF() {
return instance.MAPPED_FIELD;
}
public void setInputFromVF(String ip) {
instance.MAPPED_FIELD = ip; //bypassed
}
class Wrapper {
String MAPPED_FIELD {get;set;}
}
</code>