render « Form « JSF Q&A





1. JSF 2 - Ajax - Form not completely rendered    stackoverflow.com

My Ajax codes for rendering a form using a newly-selected locale are:

<h:selectOneMenu id="selectLang" immediate="true" value="#{langListing.language}">
   <f:ajax listener="#{langListing.changeLocale}" render="@form" />
   <f:selectItems value="#{langListing.languages}" />
</h:selectOneMenu>
However, since the above codes in ...

2.  render problem in a form    stackoverflow.com

i have a question about rendering a simple <h:inputText> value. When i write

<h:inputText id="username" value="#{userBean.user.username}" />
it's output is
<input id="form:username" name="form:username" type="text" />
is there a way for an output without form:xxx ...

3. How to ajax render only the inputs instead of the whole form?    stackoverflow.com

I have a form in JSF 2.0 with a lot of text (labels) and checkboxes. The text never get updated upon submit, but the checkbox values does. For example:

<h:form>

  <h:outputLabel value="bla ...

4. malformedXML: During update: adminUsersForm not found    stackoverflow.com

I'm having some doubts about ajax on JSF. My xhtml looks like this:

<h:body>
<h:form id="menuForm">
    <h:outputLabel for="menu">Available actions: </h:outputLabel>
    <h:selectOneMenu id="menu" value="#{menu.mainMenuItem}">
      ...

5. Ajax render outside of form problem    coderanch.com