Hi,
I am trying to implement a table which supports the concept of having a
selected row. We have this functionality in our existing homegrown
framework which I have inherited, and I need to mimic while
incrementally replacing it with Tapestry. They just put an onClick
event on the table row.
I have tried to enhance the Tablerows component, specifically by
changing the informal component from the type Any, to AnySubmit.
Here is the code
<component id="informal" type="AnySubmit"
inherit-informal-parameters="yes">
<inherited-binding name="element"
parameter-name="element"/>
<binding name="class" expression="rowClass"/>
<binding name="listener" expression="listeners.changeRow"/>
</component>
However, when I render the screen, I get the following error.
You have clicked on a stale link.
Rewind of form BatteryS2/form expected only 15 form elements, but an
additional id was requested by component
BatteryS2/queryComponent2.queryTable.tableRows.informal.
This is most likely the result of using your browser's back button, but
can also be an application error.
You may continue by returning to the application's home page
<http://localhost:8080/suncor/app?service=home> .
Any help much appreciated.
Craig