You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Truong <pt...@visionmax.com> on 2005/11/04 17:07:20 UTC
TableView
Hi All,
I was wondering if anyone can tell me exactly how to implement the low level table components. Basically i want to put a second page navigation tool at the bottom of my table.
Any help is appreciated.
Thanks
Peter
________________________________
From: Paolo Donà [mailto:paolo.dona@gmail.com]
Sent: Fri 11/4/2005 11:05 AM
To: Tapestry users
Subject: Re: Friendly urls with a custom IEngineService
Thanks Kent, it works with before="*" too.
Paolo
On 11/4/05, Kent Tong <ke...@cpttm.org.mo> wrote:
>
> Paolo Donà <paolo.dona <at> gmail.com <http://gmail.com>> writes:
>
> > I'm getting a RuntimeException "Unknown encoder dependency 'excel' (for
> > 'report')"...
> > basically I don't know what I should type for my 'before' attribute.
> > I put the service name but obviously it's wrong.
> > I really cannot figure out what's wrong...
>
> Just don't set the "before" attribute if you don't mind the ordering
> of your service encoder.
>
> --
> Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: TableView
Posted by Mind Bridge <mi...@yahoo.com>.
Hi,
To me this would be an indication that some part of the code references
'membersTableView' as a _name_. Some examples:
'ognl:components.membersTableView', getComponent("membersTableView"), a
Javascript that references an object with the name membersTableView, etc.
That will clearly only work if there is _one_ membersTableView component
in the page. A second one would get a name 'membersTableView$0' (or
something like that).
Multiple Tables can work on one page without a problem -- see the Table
tab in the workbench for example. I guess the error is somewhere in the
code that uses Table.
Jason Suplizio wrote:
> Let me clarify: the TableView only worked using "membersTableView" as the
> id. Also, "I have since..."
>
> On 11/7/05, Jason Suplizio <su...@gmail.com> wrote:
>
>> Jesse,
>> We've experience some anomalous behavior with the Contrib:TableView
>> component. Until just today, we've been unable to reference the TableView
>> using only "membersTableView" - two 2 different developers working
>> independently experienced this. I have sense retested to try to replicate
>> this error, and now apparently I can refer to a TableView using any name.
>> Now, I'm going to test using multiple (and different) instances of the
>> TableView component and let you know if it works for me.
>>
>> Thanks!!
>> Jason
>>
>> On 11/7/05, Jesse Kuhnert <jk...@gmail.com> wrote:
>>
>>> Any component can be duplicated on a page. <component id="someid"
>>> copy-of="your other component"/>.
>>>
>>>
>>>
>>> On 11/7/05, Jason Suplizio <suplizio@gmail.com > wrote:
>>>
>>>> Andy,
>>>> Does your component FilteringTable allow customizing table (column
>>>>
>>> widths,
>>>
>>>> the sorting arrow gifs, placement of page navigation, etc) ...most
>>>> importantly, can I use 1+ instances of your component on the same
>>>>
>>> page?
>>>
>>>> If anyone knows of a component like TableView that allows 1+ instances
>>>>
>>> of
>>>
>>>> the component on a single page, I'd appreciate hearing about it.
>>>>
>>>> Thanks!
>>>> Jason
>>>>
>>>>
>>>> On 11/5/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
>>>>
>>>>> Αρχικό μήνυμα από Kent Tong < kent@cpttm.org.mo>:
>>>>>
>>>>>
>>>>>> Peter Truong <ptruong <at> visionmax.com <http://visionmax.com> <
>>>>>>
>>> http://visionmax.com> <
>>>
>>>> http://visionmax.com>> writes:
>>>>
>>>>>>> I was wondering if anyone can tell me exactly how to implement
>>>>>>>
>>> the
>>>
>>>> low
>>>>
>>>>>> level
>>>>>>
>>>>>>> table components. Basically i
>>>>>>> want to put a second page navigation tool at the bottom of my
>>>>>>>
>>> table.
>>>
>>>>>> Use a TableView and put your navigation tool in it.
>>>>>>
>>>>> Also, take a look at the FilteringTable of http://tapfx.sf.net (and
>>>>>
>>> grab
>>>
>>>>> the
>>>>> source).
>>>>> The demo page is
>>>>> http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
>>>>>
>>>>>
>>>>>
>>>>>> --
>>>>>> Author of a book for learning Tapestry (
>>>>>>
>>>> http://www.agileskills2.org/EWDT
>>>>
>>>>> )
>>>>>
>>>>>>
>>>>>>
>>> ---------------------------------------------------------------------
>>>
>>>>>> To unsubscribe, e-mail:
>>>>>>
>>> tapestry-user-unsubscribe@jakarta.apache.org
>>>
>>>>>> For additional commands, e-mail:
>>>>>>
>>> tapestry-user-help@jakarta.apache.org
>>>
>>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>>
>>>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>>> For additional commands, e-mail:
>>>>>
>>> tapestry-user-help@jakarta.apache.org
>>>
>>>>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: TableView
Posted by Jason Suplizio <su...@gmail.com>.
Let me clarify: the TableView only worked using "membersTableView" as the
id. Also, "I have since..."
On 11/7/05, Jason Suplizio <su...@gmail.com> wrote:
>
> Jesse,
> We've experience some anomalous behavior with the Contrib:TableView
> component. Until just today, we've been unable to reference the TableView
> using only "membersTableView" - two 2 different developers working
> independently experienced this. I have sense retested to try to replicate
> this error, and now apparently I can refer to a TableView using any name.
> Now, I'm going to test using multiple (and different) instances of the
> TableView component and let you know if it works for me.
>
> Thanks!!
> Jason
>
> On 11/7/05, Jesse Kuhnert <jk...@gmail.com> wrote:
> >
> > Any component can be duplicated on a page. <component id="someid"
> > copy-of="your other component"/>.
> >
> >
> >
> > On 11/7/05, Jason Suplizio <suplizio@gmail.com > wrote:
> > >
> > > Andy,
> > > Does your component FilteringTable allow customizing table (column
> > widths,
> > > the sorting arrow gifs, placement of page navigation, etc) ...most
> > > importantly, can I use 1+ instances of your component on the same
> > page?
> > >
> > > If anyone knows of a component like TableView that allows 1+ instances
> > of
> > > the component on a single page, I'd appreciate hearing about it.
> > >
> > > Thanks!
> > > Jason
> > >
> > >
> > > On 11/5/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > > >
> > > > Αρχικό μήνυμα από Kent Tong < kent@cpttm.org.mo>:
> > > >
> > > > > Peter Truong <ptruong <at> visionmax.com <http://visionmax.com> <
> > http://visionmax.com> <
> > > http://visionmax.com>> writes:
> > > > >
> > > > > > I was wondering if anyone can tell me exactly how to implement
> > the
> > > low
> > > > > level
> > > > > > table components. Basically i
> > > > > > want to put a second page navigation tool at the bottom of my
> > table.
> > > > >
> > > > > Use a TableView and put your navigation tool in it.
> > > >
> > > > Also, take a look at the FilteringTable of http://tapfx.sf.net (and
> > grab
> > > > the
> > > > source).
> > > > The demo page is
> > > > http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
> > > >
> > > >
> > > > >
> > > > > --
> > > > > Author of a book for learning Tapestry (
> > > http://www.agileskills2.org/EWDT
> > > > )
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> >
>
>
Re: TableView
Posted by Jason Suplizio <su...@gmail.com>.
Jesse,
We've experience some anomalous behavior with the Contrib:TableView
component. Until just today, we've been unable to reference the TableView
using only "membersTableView" - two 2 different developers working
independently experienced this. I have sense retested to try to replicate
this error, and now apparently I can refer to a TableView using any name.
Now, I'm going to test using multiple (and different) instances of the
TableView component and let you know if it works for me.
Thanks!!
Jason
On 11/7/05, Jesse Kuhnert <jk...@gmail.com> wrote:
>
> Any component can be duplicated on a page. <component id="someid"
> copy-of="your other component"/>.
>
>
>
> On 11/7/05, Jason Suplizio <su...@gmail.com> wrote:
> >
> > Andy,
> > Does your component FilteringTable allow customizing table (column
> widths,
> > the sorting arrow gifs, placement of page navigation, etc) ...most
> > importantly, can I use 1+ instances of your component on the same page?
> >
> > If anyone knows of a component like TableView that allows 1+ instances
> of
> > the component on a single page, I'd appreciate hearing about it.
> >
> > Thanks!
> > Jason
> >
> >
> > On 11/5/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > >
> > > Αρχικό μήνυμα από Kent Tong <ke...@cpttm.org.mo>:
> > >
> > > > Peter Truong <ptruong <at> visionmax.com <http://visionmax.com> <
> http://visionmax.com> <
> > http://visionmax.com>> writes:
> > > >
> > > > > I was wondering if anyone can tell me exactly how to implement the
> > low
> > > > level
> > > > > table components. Basically i
> > > > > want to put a second page navigation tool at the bottom of my
> table.
> > > >
> > > > Use a TableView and put your navigation tool in it.
> > >
> > > Also, take a look at the FilteringTable of http://tapfx.sf.net (and
> grab
> > > the
> > > source).
> > > The demo page is
> > > http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
> > >
> > >
> > > >
> > > > --
> > > > Author of a book for learning Tapestry (
> > http://www.agileskills2.org/EWDT
> > > )
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
>
Re: TableView
Posted by Jesse Kuhnert <jk...@gmail.com>.
Any component can be duplicated on a page. <component id="someid"
copy-of="your other component"/>.
On 11/7/05, Jason Suplizio <su...@gmail.com> wrote:
>
> Andy,
> Does your component FilteringTable allow customizing table (column widths,
> the sorting arrow gifs, placement of page navigation, etc) ...most
> importantly, can I use 1+ instances of your component on the same page?
>
> If anyone knows of a component like TableView that allows 1+ instances of
> the component on a single page, I'd appreciate hearing about it.
>
> Thanks!
> Jason
>
>
> On 11/5/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> >
> > Αρχικό μήνυμα από Kent Tong <ke...@cpttm.org.mo>:
> >
> > > Peter Truong <ptruong <at> visionmax.com <http://visionmax.com> <
> http://visionmax.com>> writes:
> > >
> > > > I was wondering if anyone can tell me exactly how to implement the
> low
> > > level
> > > > table components. Basically i
> > > > want to put a second page navigation tool at the bottom of my table.
> > >
> > > Use a TableView and put your navigation tool in it.
> >
> > Also, take a look at the FilteringTable of http://tapfx.sf.net (and grab
> > the
> > source).
> > The demo page is
> > http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
> >
> >
> > >
> > > --
> > > Author of a book for learning Tapestry (
> http://www.agileskills2.org/EWDT
> > )
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
Re: TableView
Posted by Andreas Andreou <an...@di.uoa.gr>.
Jason Suplizio wrote:
>Andy,
>Does your component FilteringTable allow customizing table (column widths,
>
>
I think that Column widths can be customized using css (even in
contrib:Table).
The generated html is
<th class="CountryColumnHeader">...</th> <th
class="LanguageColumnHeader">...</th>
so you just have to style those classes.
In a similar component I once built for .Net, I had allowed a widths
property,
to be used like widths="20% 10% 40% 30%", but this is not implemented
for FilteringTable.
>the sorting arrow gifs,
>
Again, as in contrib:Table, there are arrowUpAsset and arrowDownAsset
parameters to allow such customization.
>placement of page navigation,
>
Currently contrib:Table puts in on top and FilteringTable puts in both
on top and on the bottom. Maybe this could be
parametrized. In FilteringTable however, the navigations are inside a
span class="top" and span class="bottom" so you can
hide any of them with a css rule.
> etc) ...most
>importantly, can I use 1+ instances of your component on the same page?
>
>If anyone knows of a component like TableView that allows 1+ instances of
>the component on a single page, I'd appreciate hearing about it.
>
>Thanks!
>Jason
>
>
>On 11/5/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
>
>
>>Αρχικό μήνυμα από Kent Tong <ke...@cpttm.org.mo>:
>>
>>
>>
>>>Peter Truong <ptruong <at> visionmax.com <http://visionmax.com>> writes:
>>>
>>>
>>>
>>>>I was wondering if anyone can tell me exactly how to implement the low
>>>>
>>>>
>>>level
>>>
>>>
>>>>table components. Basically i
>>>>want to put a second page navigation tool at the bottom of my table.
>>>>
>>>>
>>>Use a TableView and put your navigation tool in it.
>>>
>>>
>>Also, take a look at the FilteringTable of http://tapfx.sf.net (and grab
>>the
>>source).
>>The demo page is
>>http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
>>
>>
>>
>>
>>>--
>>>Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT
>>>
>>>
>>)
>>
>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>--
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: TableView
Posted by Jason Suplizio <su...@gmail.com>.
Andy,
Does your component FilteringTable allow customizing table (column widths,
the sorting arrow gifs, placement of page navigation, etc) ...most
importantly, can I use 1+ instances of your component on the same page?
If anyone knows of a component like TableView that allows 1+ instances of
the component on a single page, I'd appreciate hearing about it.
Thanks!
Jason
On 11/5/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
>
> Αρχικό μήνυμα από Kent Tong <ke...@cpttm.org.mo>:
>
> > Peter Truong <ptruong <at> visionmax.com <http://visionmax.com>> writes:
> >
> > > I was wondering if anyone can tell me exactly how to implement the low
> > level
> > > table components. Basically i
> > > want to put a second page navigation tool at the bottom of my table.
> >
> > Use a TableView and put your navigation tool in it.
>
> Also, take a look at the FilteringTable of http://tapfx.sf.net (and grab
> the
> source).
> The demo page is
> http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
>
>
> >
> > --
> > Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT
> )
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: TableView
Posted by an...@di.uoa.gr.
Αρχικό μήνυμα από Kent Tong <ke...@cpttm.org.mo>:
> Peter Truong <ptruong <at> visionmax.com> writes:
>
> > I was wondering if anyone can tell me exactly how to implement the low
> level
> > table components. Basically i
> > want to put a second page navigation tool at the bottom of my table.
>
> Use a TableView and put your navigation tool in it.
Also, take a look at the FilteringTable of http://tapfx.sf.net (and grab the
source).
The demo page is http://andyhot.di.uoa.gr/tapfx/app?service=page/FilteringTable
>
> --
> Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: TableView
Posted by Kent Tong <ke...@cpttm.org.mo>.
Peter Truong <ptruong <at> visionmax.com> writes:
> I was wondering if anyone can tell me exactly how to implement the low level
> table components. Basically i
> want to put a second page navigation tool at the bottom of my table.
Use a TableView and put your navigation tool in it.
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org