You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Pahne <an...@googlemail.com> on 2008/12/01 22:52:56 UTC
[T5] Grid cell labels can't be overridden
I am using T 5.0.17 and trying to override cell labels of the Grid
component.
I am trying like described here:
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
see section "UserList.properties"
The labels defined in the properties file og my page are not used to
label the cells.
I searched JIRA but found no related issue.
Does anybody have the same problem?
Andy
TaskList.properties:
--------------------------
title-label=Titel
TaskList.tml
--------------------------
<t:grid t:id="tasks"
row="task"
exclude="id"
reorder="module,title,status,type,resolution"
add="edit"
inPlace="true"
pagerPosition="bottom"
rowsPerPage="25">
<t:parameter name="editcell">
<a href="#"
t:type="PageLink"
page="administration/task/editTask"
context="task.id">edit</a>
</t:parameter>
</t:grid>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] Grid cell labels can't be overridden
Posted by SergeEby <sd...@hotmail.com>.
Hi,
As a workaround, maybe this example could help:
http://code.google.com/p/tapestry5-appfuse/source/browse/trunk/src/main/java/org/appfuse/webapp/pages/admin/UserList.java
/Serge
Andy Pahne-6 wrote:
>
>
>
> https://issues.apache.org/jira/browse/TAP5-395
>
>
>
> Howard Lewis Ship schrieb:
>> BeanModel / BeanModelSource do not do this today, but there's no
>> reason why they should not. Please add a JIRA "enhancement" issue.
>>
>> On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne <an...@googlemail.com>
>> wrote:
>>
>>> I am using T 5.0.17 and trying to override cell labels of the Grid
>>> component.
>>>
>>> I am trying like described here:
>>> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
>>> see section "UserList.properties"
>>>
>>> The labels defined in the properties file og my page are not used to
>>> label
>>> the cells.
>>>
>>> I searched JIRA but found no related issue.
>>>
>>> Does anybody have the same problem?
>>>
>>>
>>> Andy
>>>
>>>
>>>
>>>
>>> TaskList.properties:
>>> --------------------------
>>>
>>> title-label=Titel
>>>
>>>
>>>
>>> TaskList.tml
>>> --------------------------
>>>
>>> <t:grid t:id="tasks"
>>> row="task"
>>> exclude="id"
>>> reorder="module,title,status,type,resolution"
>>> add="edit"
>>> inPlace="true"
>>> pagerPosition="bottom"
>>> rowsPerPage="25">
>>> <t:parameter name="editcell">
>>> # > t:type="PageLink"
>>> page="administration/task/editTask"
>>> context="task.id">edit
>>> </t:parameter>
>>> </t:grid>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/-T5--Grid-cell-labels-can%27t-be-overridden-tp20781389p20784011.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] Grid cell labels can't be overridden
Posted by Andy Pahne <an...@googlemail.com>.
https://issues.apache.org/jira/browse/TAP5-395
Howard Lewis Ship schrieb:
> BeanModel / BeanModelSource do not do this today, but there's no
> reason why they should not. Please add a JIRA "enhancement" issue.
>
> On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne <an...@googlemail.com> wrote:
>
>> I am using T 5.0.17 and trying to override cell labels of the Grid
>> component.
>>
>> I am trying like described here:
>> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
>> see section "UserList.properties"
>>
>> The labels defined in the properties file og my page are not used to label
>> the cells.
>>
>> I searched JIRA but found no related issue.
>>
>> Does anybody have the same problem?
>>
>>
>> Andy
>>
>>
>>
>>
>> TaskList.properties:
>> --------------------------
>>
>> title-label=Titel
>>
>>
>>
>> TaskList.tml
>> --------------------------
>>
>> <t:grid t:id="tasks"
>> row="task"
>> exclude="id"
>> reorder="module,title,status,type,resolution"
>> add="edit"
>> inPlace="true"
>> pagerPosition="bottom"
>> rowsPerPage="25">
>> <t:parameter name="editcell">
>> <a href="#"
>> t:type="PageLink"
>> page="administration/task/editTask"
>> context="task.id">edit</a>
>> </t:parameter>
>> </t:grid>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] Grid cell labels can't be overridden
Posted by Howard Lewis Ship <hl...@gmail.com>.
BeanModel / BeanModelSource do not do this today, but there's no
reason why they should not. Please add a JIRA "enhancement" issue.
On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne <an...@googlemail.com> wrote:
>
> I am using T 5.0.17 and trying to override cell labels of the Grid
> component.
>
> I am trying like described here:
> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
> see section "UserList.properties"
>
> The labels defined in the properties file og my page are not used to label
> the cells.
>
> I searched JIRA but found no related issue.
>
> Does anybody have the same problem?
>
>
> Andy
>
>
>
>
> TaskList.properties:
> --------------------------
>
> title-label=Titel
>
>
>
> TaskList.tml
> --------------------------
>
> <t:grid t:id="tasks"
> row="task"
> exclude="id"
> reorder="module,title,status,type,resolution"
> add="edit"
> inPlace="true"
> pagerPosition="bottom"
> rowsPerPage="25">
> <t:parameter name="editcell">
> <a href="#"
> t:type="PageLink"
> page="administration/task/editTask"
> context="task.id">edit</a>
> </t:parameter>
> </t:grid>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org