TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
247 stars 102 forks source link

b:remoteCommand snake-case "action-listener" is not working #1105

Closed sebsoftware closed 1 month ago

sebsoftware commented 4 years ago

JSF treats snake-case property "action-listener" as a standard value, passed to setValueExpression. Due to the fact that Mojarra expect action-listener as 'methodBindingActionListener'" with type MethodBinding inside state properties it is not recognised by jsf.

The actionListener attribute, which is working, is handled special by applyRule from ActionSourceRule, which only handles camelCase properties "action" and "actionListener".

I don't think it is possible to fix this easily, so maybe it's the best to fix the documentation for it, and remove "action-listener" from the properties list.

geopossachs commented 4 years ago

@TheCoder4eu is there a possibility that all action-listener will not work? I tested comandButton with the same result

stephanrauh commented 1 month ago

I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it.