Hi,

Should be fairly easy to do, at least the following is what worked for us, 
here in pseudo notation:

<tr:table .. 
rangeChangeListener="#{yourController.yourRangeChangeListener}" .. > .. 
</tr:table>

and in yourController:

public void yourRangeChangeListener(RangeChangeEvent event) {
  // do something with it
}

The other issue regarding the connection between both components I suppose 
is to be done with PPR i.e.
the nav igation would be your PPR source and the tr:table the PPR 
listener. I have not tried it myself though,
so that's the theory.. ;)

Best wishes,
Wolfgang.




Sutapa Dey <sutapa...@gmail.com> 
24.05.2010 10:32
Bitte antworten an
"MyFaces Discussion" <users@myfaces.apache.org>


An
MyFaces Discussion <users@myfaces.apache.org>
Kopie

Thema
Re: Bottom Pagination in Trinidad Table






Hi All,

Is there any link which has an example how to implement
rangeChangeListener....

Kindly share with me.

Regards,
Sutapa

On Mon, May 24, 2010 at 12:03 PM, Sutapa Dey <sutapa...@gmail.com> wrote:

> Hi Ricardo,
>
> Thanks a lot for the reply. But now the problem I am facing is how to 
use
> it.
> I mean I have a tr:table, if i use tr:selectRangeChoiceBar is the 
following
> way it does not work.
> <tr:table>
> </tr:table>
> <tr:selectRangeChoiceBar></tr:selectRangeChoiceBar>
> It renders the tr:selectRangeChoiceBar but does not navigate.
> I think I need to some how connect the tr:selectRangeChoiceBar with
> tr:table. But am not sure how to do it.
> Please help.
>
> Sutapa
>
>
> On Fri, May 21, 2010 at 10:51 AM, Ricardo Rog 
<ricardo....@softproject.de>wrote:
>
>> Hi Sutapa,
>>
>> try using tr:selectRangeChoiceBar
>>
>>
>> 
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectRangeChoiceB

>> ar.html<
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectRangeChoiceB%0Aar.html
>
>>
>> Greetings
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Sutapa Dey [mailto:sutapa...@gmail.com]
>> Gesendet: Freitag, 21. Mai 2010 04:53
>> An: users@myfaces.apache.org
>> Betreff: Bottom Pagination in Trinidad Table
>>
>> Hi All,
>>
>> Is there a way to include the pagination at the bottom of a tr:table in
>> myfaces trinidad.
>>
>> Regards,
>> Sutapa
>>
>>
>



PTA Programmier-Technische Arbeiten GmbH
Seckenheimer Str. 65-67, 68165 Mannheim
Amtsgericht Mannheim, HRB 1139
USt-IdNr.: DE 143 839 368
Geschaeftsfuehrer:
Dipl.-Ing. Peter Fischer
Dr. Harald W. Busch
Dipl.-Kfm. Knut Fischer

Reply via email to