jsf - <h:inputText> render problem in a form -
i have question rendering simple <h:inputtext>
value. when write
<h:inputtext id="username" value="#{userbean.user.username}" />
it's output is
<input id="form:username" name="form:username" type="text" />
is there way output without form:xxx
this?
<input id="username" name="username" type="text" />
also minlength not working <h:inputtext>
. have idea without writing javascript each data in form?
yes it's possible. should add prependid attribute inside h:form
<h:form prependid="false" id="form1"> won't have prefix form1 </h:form>
Comments
Post a Comment