You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by in...@innflow.com on 2006/09/08 18:23:35 UTC

i8n of text displayed by datascroller

Hello,

the datascroller outputs by default sth like:

"5 entries found, displaying..."

To show the information in another language I ve probably 
to edit my message bundle. What are the keys for the texts 
used by the datascroller?

Regards
René

Re: i8n of text displayed by datascroller

Posted by Mike Kienenberger <mk...@gmail.com>.
If you do something like this, you can determine your own output:

				<t:dataScroller id="scroll_information"
						for="searchResultsDataTable"
						rowsCountVar="rowsCount"
						displayedRowsCountVar="displayedRowsCountVar"
						firstRowIndexVar="firstRowIndex"
						lastRowIndexVar="lastRowIndex"
						pageCountVar="pageCount"
						pageIndexVar="pageIndex"
						>
					<h:panelGrid
						columns="1">
						<h:outputFormat value="{0} records found, displaying {1}
records, from {2} to {3}. Page {4} / {5}" styleClass="standard" >
							<f:param value="#{rowsCount}" />
							<f:param value="#{displayedRowsCountVar}" />
							<f:param value="#{firstRowIndex}" />
							<f:param value="#{lastRowIndex}" />
							<f:param value="#{pageIndex}" />
							<f:param value="#{pageCount}" />
						</h:outputFormat>
					</h:panelGrid>
				</t:dataScroller>



On 9/8/06, innflow-guenther@innflow.com <in...@innflow.com> wrote:
> Hello,
>
> the datascroller outputs by default sth like:
>
> "5 entries found, displaying..."
>
> To show the information in another language I ve probably
> to edit my message bundle. What are the keys for the texts
> used by the datascroller?
>
> Regards
> René
>