-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
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
<b:selectOneMenu> and <f:selectItems> #942
Comments
which version are you using? converters should be working in 1.2.0+ |
I am using 1.2.0. converter attribute is not recognised. I am trying to migrate an already existing code. This will be lot of work. It is better to give support to native <h:selectOneMenu> and add features as PF. Thanks. |
Oops - it might have something to do with the annotation As a workaround, you can use the |
might be related to this issue...i have just noticed that if the bean has a List of SelectItem e.g. List<SelectItem> myObjectList = new ArrayList<>();
for (MyObject myObject : myObjectDao.selectObjects()) {
myObjectList.add(new SelectItem(myObject, myObject.getName()));
} with an example object like: public class MyObject {
private Long id;
private String name;
...getters setters
@Override
public String toString() {
return "MyObject [id=" + id + "]";
}
} then <select name="j_id_9w:j_id_a7" size="1">
<option value="MyObject [id=35]">Name35</option>
<option value="MyObject [id=39]" selected="selected">Name39</option>
</select> whereas <select name="j_id_9w:j_id_a7" size="1">
<option value="1">Name35</option>
<option value="2" selected="selected">Name39</option>
</select> for additional context i am trying to use |
@dguna I'd like to hear from you. Did our clues help you? In particular, did you add the |
Sorry for the late reply. Converter is working but when I use |
i can't see a |
|
could be related to #939 ? does the noSelectionOption usually result in a |
…notation like @FacesConverter(forClass=Some.class)
…nverters defined with an annotation like @FacesConverter(forClass=Some.class)
Hi Srephan, |
Hi Stephan, I am getting the following error: both userGroupsList and groupsList are String list. Thanks in advance |
Hello,
I just started working with Bootsfaces. I ran into problem with
<b:selectOneMenu>
with<f:selectITems>
.The behavior is much different than
<h:selectOneMenu>
, the converter class is not at all called. I don't see the converter option as well.Here is my simplified code:
The bean code is as follows
Please help me to solve this issue.
Thanks in advance
The text was updated successfully, but these errors were encountered: