Print Page | Close Window

What is the difference between the SearchPageView and the SearchAndResultsPage?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=343
Printed Date: 25-Mar-2025 at 2:58pm


Topic: What is the difference between the SearchPageView and the SearchAndResultsPage?
Posted By: Linguinut
Subject: What is the difference between the SearchPageView and the SearchAndResultsPage?
Date Posted: 31-Jul-2007 at 11:14am
These are described in the Cabana Reference doc on p. 30.  Each view (SmartPart) is found in the CabanaLib solution: IdeaBlade.Cab.Net in the Views\Layout folder.
 
Thanks!



Replies:
Posted By: Bill Jensen
Date Posted: 31-Jul-2007 at 3:09pm
You seem to have found the answer to your question. 
 
In:
    CabanaLib solution,
         IdeaBlade.Cab.UI project,
              PageControllers folder
 
you'll find the page controllers for these two pages.  These contain descriptions of the page layouts.
 
Thanks,
Bill Jensen


Posted By: Linguinut
Date Posted: 31-Jul-2007 at 3:26pm
Thanks for pointing out the location of the controllers.  So, one displays search results in a grid, but the other displays search results in a grid and tabs with details of the selected entity?  Is that right?
 
As a module developer, would I need to know when to use one or the other?
Just trying to piece this all together.
 
Bill


Posted By: Bill Jensen
Date Posted: 31-Jul-2007 at 7:06pm

Yes, the SearchAndResultsPage typically provides a search view over a grid showing the resulting entities.

The SearchPage includes a Searcher at the top that may include a grid showing the results of the search.  Below is a "SummaryView" -- typically a control view summarizing the currently selected entity.  Below that is a TabWorkspace that can show various detailed aspects of the selected entity.
 
The choice of page layout and content should be driven by application use case requirements.  I'm sure there must be stuff written about this, but I haven't seen a lot.  Any suggestions for codifying this process would be greatly appreciated.
 
Thanks,
Bill



Print Page | Close Window