I have cryptic events in my code. Here's a snippet from a bean:
public List<HelpContentsFrag> getCFrags() { return cFrags; } public void setCFrags(List<HelpContentsFrag> frags) { cFrags = frags; }
Here is a snippet from my view code (tag file)
cFrags:[${topic.cFrags}]
where the theme is an object of type bean.
Here's the error:
javax.el.PropertyNotFoundException: Property 'cFrags' not found on type com.company.beans.BeanClass
Another thing to consider. There is a subtle difference in the creator created by the eclipse. Apparently, he did not like the name cFrags. The field name is cFrags, and with each other setter I get a parameter with the same name as the field, and it is set using the agreement this.fieldName = fieldName
. You will notice that the eclipse was not associated with this installer.
FYI: all this works fine when I change the getter to getContentsFrag()
and refer to it .contentsFrag
.
source share