[
http://issues.apache.org/jira/browse/TAPESTRY-234?page=comments#action_12370125
]
Matt Raible commented on TAPESTRY-234:
--------------------------------------
I updated branches/4.0 and compiled. However, my column block doesn't override
anything. The following worked with my 3.0.3 patch.
<table jwcid="[EMAIL PROTECTED]:Table" class="list userList" id="userList"
rowsClass="ognl:beans.evenOdd.next" row="ognl:row"
columns="user.username:username, user.firstName:firstName,
user.lastName:lastName, user.email:email, user.enabled:enabled"
source="ognl:users" initialSortColumn="username"
arrowUpAsset="ognl:assets.upArrow" arrowDownAsset="ognl:assets.downArrow">
<tr jwcid="[EMAIL PROTECTED]">
<a jwcid="@DirectLink" listener="ognl:listeners.edit"
parameters="ognl:row.username">
<span jwcid="@Insert" value="ognl:row.username"/>
</a>
</tr>
<tr jwcid="[EMAIL PROTECTED]">
<a jwcid="@Any" href="ognl:+'mailto:'+row.email">
<span jwcid="@Insert" value="ognl:row.email"/>
</a>
</tr>
</table>
> contrib:Table can't render column blocks when column name has period in it
> --------------------------------------------------------------------------
>
> Key: TAPESTRY-234
> URL: http://issues.apache.org/jira/browse/TAPESTRY-234
> Project: Tapestry
> Type: Improvement
> Components: Contrib
> Versions: 4.0.1
> Reporter: Matt Raible
> Assignee: Jesse Kuhnert
> Fix For: 4.0.1
> Attachments: AbstractTableColumn.patch, SimpleTableColumn.patch
>
> I'm using the following column attribute in my contrib:Table:
> columns="user.username:username, user.firstName:firstName,
> user.lastName:lastName, user.email:email"
> If I try to override one of the column with an @Block, an error gets thrown.
> It'd be nice if periods were allowed, possibly converted to underscores or
> something for the @Block element. I'll attach a patch to SimpleTableColumn
> that makes this work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]