Unfortunately, you can only use sObjects or object with inputfield, you cannot even use wrapper class object with inputfield. One of the way to resolve your issue is to use the tags which are compatible like <apex:inputText>, <apex:inputTextArea>, that will work.
You can simply use
public string str{get; set;}
and use {!str} in the vf page
Unfortunately, you can only use sObjects or object with inputfield, you cannot even use wrapper class object with inputfield.
One of the way to resolve your issue is to use the tags which are compatible like <apex:inputText>, <apex:inputTextArea>, that will work.
Check out below code sample.
Hope I am able to help,
Regards,
Puneet.
You can use the traditional way of inputting values without binding the variables.
Please check out below URL
http://techsahre.blogspot.com/2009/09/how-to-retrieve-form-values-in.html
Hope this helps!