Changeset 423

Show
Ignore:
Timestamp:
05/12/09 17:54:03 (9 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/app/controllers/explorator_controller.rb

    r415 r423  
    1818       
    1919  end 
    20    
     20  
    2121  def resourcefilter 
    2222    @resourceset =  Application.get(params[:uri])   
     
    9696  def reload   
    9797    #return a specific set of resource considering an offset. 
    98     @resourceset= session[:application].get(params[:uri]).setWithOffset( params[:offset])     
     98     @resourceset= session[:application].get(params[:uri]).setWithOffset( params[:page])     
     99        
    99100    #render the _window.rhtml view 
    100101    render :partial => params[:view]  , :layout=>false 
     
    111112  #This method is called by the Execute method, being passed as a parameter by the interface. 
    112113  def refresh(uri,view=:subject_view, filter='')    
    113     @resourceset= session[:application].get(uri).setWithOffset(0)     
     114    @resourceset= session[:application].get(uri).setWithOffset(1)     
    114115    @filter=filter 
    115116    #render the _window.rhtml view