-
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 converter not working #797
Comments
i have created a test in https://github.com/chongma/test. it is in the menu under |
Where did you deploy your test project? For me it was not possible to startup in Wildfly 10. |
TomEE. i used the same pom dependencies as the BootsFaces showcase. @stephanrauh had the same problem running it last time maybe he remembers how he did it |
i updated the project https://github.com/chongma/test with tomee maven plugin. after clone you only need to run at the command line |
I'm lost: it has to do with |
I realised that b:selectOneMenu doesn't have a converter attribute. So I tried f:converter but still nothing happens |
…rted, but didn't show in the autocomplete list
Actually, |
did anyone manage to run my test project using tomee maven plugin? it would be good if someone can confirm the issue. also any idea what would i be looking for in the code regarding converter support? |
I didn´t look further.... think this will be resolvable but your dependencies of your test project seem to be broken
|
@cljk I didn't find out how to load dependencies simultaneously from the Maven Central Release repo and from the Maven Central Snapshots repo. The only workaround I've found so for is to run mvn install, deactivate the snapshot repo, and to run mvn install again. This ways, every dependency is stored local. Also see #369. |
@chongma I believe I've found something. Unfortunately, it's a bug that happens only when the select model is a hash map. Which is not exactly your scenario. If you've got a spare minute, can you have a look at my commit, please? |
…r was used and the select model is a hash map
@stephanrauh i haven't been using hashmap but maybe it helps for all scenarios? is it available in 1.2.1-SNAPSHOT? @cljk it works on mine but maybe because the packages are already locally available in my .m2 repository. i guess because sonatype is defined in the pom.xml under repositories it is trying to pick everything up from there. you can either comment out the whole repositories section and change BootsFaces to 1.2.0, or add maven central to the list of repositories |
Yes, I've uploaded a new developer snapshot. But my bugfix is very specific for hash maps. I'm just afraid it breaks the other cases :). |
@chongma Yes, I didn´t have a look in the pom. I think it contains a SNAPSHOT-repo and is missing the central repo ... so the prod-releases cannot be downloaded. Minor issue but had no time to elaborate |
@cljk I have updated the test project pom.xml to include maven central. if you have the time please pull and retry as it would be great if you can reproduce the same bug your end funnily enough i got the instructions to add maven central repos from https://maven.apache.org/guides/introduction/introduction-to-the-pom.html which is the introduction to using a pom (which i have never read before) and it specifies that a basic pom should always contain maven repos. you learn something every day! |
#919 fixes this converter issue |
in some cases i am using h:selectOneMenu with a converter which selects an object. if i switch to a b:selectOneMenu it doesn't seem to work the same
The text was updated successfully, but these errors were encountered: