Unfortunately, yes.
What I did was an "abstraction of getters/setters", for example with AddColumn that I needed to use "defaultValue" with Expression Language:
I had to create a AddColumnExt class with has:
- an attribute called instance, that is the original AddColumn object;
- getter that returns instance.getDefaultValue();
- void setter(String value) that calls instance.setDefaultValue passing value as parameter.
Using that approach, I can use expression language normally, like:
<h:inputText value="#{myBean.addColumnField.defaultValue}" />
And when it's possible to bind, I do:
<h:inputText value="#{myBean.addColumnField.instance.someField}" />