INDEX parameter of contrib:table unusable
-----------------------------------------
Key: TAPESTRY-1684
URL: https://issues.apache.org/jira/browse/TAPESTRY-1684
Project: Tapestry
Issue Type: Bug
Affects Versions: 4.1.2, 4.1.3
Environment: all
Reporter: Kenneth William
INDEX parameter of contrib:table unusable.
I am trying to operate the index parameter as documented in the
contrib:table docs.
Can someone help clarify this for me?
Here is the documentary...
INDEX: If provided, the parameter is updated with the index of the loop on
each iteration.
Can someone elaborate on what the definition of 'If Provided" means?
So far I have tried this...
MyTable.jwc
<inherited-binding name="index" parameter-name="index"/>
MyTable.java
<at> Parameter(required = false, cache = true)
public abstract Object getIndex();
public abstract void setIndex(Object index);
Then I tried this...
MyTable.jwc
<inherited-binding name="index" parameter-name="index"/>
<binding name="index">index</binding>
MyTable.java
<at> Parameter(required = false, cache = true)
public abstract Object getIndex();
public abstract void setIndex(Object index);
I tried mixing/matching but still no luck.
If anyone could elaborate on this usage I would appreciate.
Here is my template usage...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]