You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Graeme Steyn <g....@cqu.edu.au> on 2008/07/23 07:37:10 UTC

[Trinidad] tr:table range navigation only works after row selection

Hi,

I am experiencing a strange problem with the range navigation in
tr:table.  The range navigation only works if a row selection has been
made.  For the following table, you need to make a selection first,
before using the range navigation drop-down list.  If no selection is
made, it is possible to observe the PPR request using firebug, but the
range displayed always remains at 1 - 10 of x.  Any pointers would be
greatly appreciated.

				    <tr:table
                                id="results"
 
binding="#{programSelection.offeringsTable}"
                                value="#{sessionScope['offeringList']}"
                                var="offering"
                                rowSelection="single"
                                rowBandingInterval="1"
                                horizontalGridVisible="true"
                                verticalGridVisible="true"
                                emptyText="#{bundle.crseNoResults}"
                                rows="10"
                                shortDesc="#{bundle.crseSelectionTable}"
>

					etc.

Note: programSelection managed bean is in request scope.

Thank you.

Graeme.


RE: [Trinidad] tr:table range navigation only works after row selection

Posted by Graeme Steyn <g....@cqu.edu.au>.
Hi,

My apologies for this.  I had a validator interfering with the table.
By setting the immediate property to true on the table, the validator no
longer interfered with the PPR for the range selection.

Regards,

Graeme.

> -----Original Message-----
> From: Graeme Steyn 
> Sent: Wednesday, 23 July 2008 3:37 PM
> To: MyFaces Discussion
> Subject: [Trinidad] tr:table range navigation only works after row
> selection
> 
> Hi,
> 
> I am experiencing a strange problem with the range navigation in
> tr:table.  The range navigation only works if a row selection has been
> made.  For the following table, you need to make a selection first,
> before using the range navigation drop-down list.  If no selection is
> made, it is possible to observe the PPR request using firebug, but the
> range displayed always remains at 1 - 10 of x.  Any pointers would be
> greatly appreciated.
> 
> 				    <tr:table
>                                 id="results"
> 
> binding="#{programSelection.offeringsTable}"
>
value="#{sessionScope['offeringList']}"
>                                 var="offering"
>                                 rowSelection="single"
>                                 rowBandingInterval="1"
>                                 horizontalGridVisible="true"
>                                 verticalGridVisible="true"
>                                 emptyText="#{bundle.crseNoResults}"
>                                 rows="10"
> 
> shortDesc="#{bundle.crseSelectionTable}"
> >
> 
> 					etc.
> 
> Note: programSelection managed bean is in request scope.
> 
> Thank you.
> 
> Graeme.