Hi

in a TableBox, I have a TableView and a PushButton with an action that populates
the table.
The action needs a reference to the table in order to populate it. My wtkx file
looks like this:

<TableView wtkx:id="view">
....
</TableView>
<PushButton buttonData="Load">
    <action>
      <loadAction:LoadAction table="$view" />
    </action>
</PushButton>
This worked fine. But now, I want the button to be displayed on top of the
table, so I declared it in the wtkx file before the table and now following
exception is thrown:
org.apache.pivot.beans.PropertyNotFoundException: Property "table" does not
exist or is read-only.

I could work around this problem with a custom TableView class, but I 'd like to
know if there is another way to do it ?
Thanks
Anton

Reply via email to