We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider this code:
<h:selectOneMenu label="h:selectOneMenu"> <f:selectItem value="#{index.selectItem}"/> </h:selectOneMenu> <b:selectOneMenu label="b:selectOneMenu"> <f:selectItem value="#{index.selectItem}"/> </b:selectOneMenu>
Bean:
@ManagedBean @ViewScoped public class Index { private SelectItem selectItem = new SelectItem("DDDDD", "DDDDD"); public SelectItem getSelectItem() { return selectItem; } public void setSelectItem(SelectItem selectItem) { this.selectItem = selectItem; } }
The generated HTML is:
<select name="j_idt7" size="1"> <option value="DDDDD">DDDDD</option> </select> <div class="form-group bf-warning has-warning" id="j_idt9"> <label for="j_idt9Inner" class=" control-label">b:selectOneMenu</label> <select id="j_idt9Inner" name="j_idt9Inner" class="form-control"> <option data-label="&nbsp;"> </option> </select> </div>
This happens because the value attribute of f:selectItem is ignored, seems like the code is based on a quite old version of PrimeFaces.
value
f:selectItem
The text was updated successfully, but these errors were encountered:
Thanks for reporting and fixing the bug!
Sorry, something went wrong.
NicolaIsotta
No branches or pull requests
Consider this code:
Bean:
The generated HTML is:
This happens because the
value
attribute off:selectItem
is ignored, seems like the code is based on a quite old version of PrimeFaces.The text was updated successfully, but these errors were encountered: