I have a contrib:tableRows component that binds the EvenOdd class like this:
<component id="tableRows" type="contrib:TableRows">
<binding name="class" expression="beans.evenOdd.next"/>
<binding name="row" expression="currentRow"/>
However the evenOdd class was never getting instantiated/processing on each row in the table.
I looked into my .html page and noticed that I had something like this:
<tr jwcid="tableRows" class="odd">
but when I took the class attribute out of my html the evenOdd bean got instantiated and processing. So it looks like there is an issue of binding a bean to an attribute if it already exists in a .html page. This page is part of an app I am migrating from 3.0, in which the evenOdd bean processed properly with the class attribute in the .html page.
Is this an issue with contrib:tableRows or bindings in general if you attempt to bind to an html attribute that is already set?
|Field||Original Value||New Value|
|Fix Version/s||4.1.2 [ 12312202 ]|
|Resolution||Invalid [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Jesse Kuhnert [ jkuhnert ]|
|Workflow||jira [ 12322306 ]||Default workflow, editable Closed status [ 12569058 ]|
|Workflow||Default workflow, editable Closed status [ 12569058 ]||jira [ 12592064 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|596d 20h 22m||1||Jesse Kuhnert||04/Mar/07 17:54|