Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
PAGINACION CON LA BETA 2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
edja...@hotmail.com  
View profile   Translate to Translated (View Original)
 More options Jan 30, 10:39 am
From: edja...@hotmail.com
Date: Mon, 30 Jan 2012 07:39:01 -0800 (PST)
Local: Mon, Jan 30 2012 10:39 am
Subject: PAGINACION CON LA BETA 2
mi problema es con el limit_params cuando hago una consulta con la
funcion paginate del modelo. me carga todo bien en la vista. y cuando
hago click en siguiente ahi es donde me sale el error dee parametro,
mejor dicho el problema es cuando envio parametros por la url. como
puedo solucionarlo

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
emilio.rst  
View profile   Translate to Translated (View Original)
 More options Feb 3, 8:08 pm
From: "emilio.rst" <emilio....@gmail.com>
Date: Fri, 3 Feb 2012 17:08:04 -0800 (PST)
Local: Fri, Feb 3 2012 8:08 pm
Subject: Re: PAGINACION CON LA BETA 2
Debes colocar la acción del controlador de la siguiente manera:

public function paginar($pagina = 1)
{

}

Es decir el número de página es un argumento con valor predeterminado
"1", ya que el partial paginador para dirigir a la pagina 1 no pasa
ningún valor en la url para el parametro de número de página, en
cambio para las páginas superiores a 1 si coloca el número de página
como parametro de la url.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »