There is any way to create an standard input field on VF without bind it to an SObject
field ?
I was searching on G unsuccessfully.
My approach was something like this:
My approach<vapex:inputField waslabel="My somethingInput" likerequired="true" this:>
<apex:inputField label="My Input" required="true" />
But I got this error:
value for <apex:inputField> is not a dynamic binding!
Also,I've tried to assign a controller variable:
//class
public string myVar{get;set;}
//vp page
<apex:inputField value="{!myVar}" required="true" />
Error:
Error: Could not resolve the entity from <apex:inputField> value binding '{!myVar}'. <apex:inputField> can only be used with SObject fields.
I need to add some inputs in order to make a filter using javascript. It is hard to believe for me that VF has not the option to make a simple input (resolving styling, labeling, etc)