[FX.php List] Dealing with a found set
Dale Bengston
dbengston at preservationstudio.com
Tue May 15 20:25:27 MDT 2007
I'm not a big fan of the split-screen list and details myself, but
it's certainly another way to derive details from a list without
losing the context of the list. I would use AJAX to page through
details as well as re-sort the list view and all that stuff. I love
AJAX.
Dale
On May 15, 2007, at 7:24 PM, Alex Gates wrote:
> Hi Dale -
>
> Would you (or anyone else who is feeling generous) mind showing a
> snippet of code you use to do this?
> I think seeing the code would help me visualize this a little
> better - it would be a great thing to know.
>
> Do you prefer this method to, say, a LAJAX method - where you have
> the found set at the top and click the links to show the details on
> the bottom?
>
> Dale Bengston wrote:
>> Hi Bob,
>> I generally store the record keys of the found set "list view" in
>> a session array. Then when your client clicks through to the
>> details, you can use the relative position of the current detail's
>> record key to display a link to the previous and next records.
>> Dale
>> On May 15, 2007, at 6:34 PM, Bob Patin wrote:
>>> I have a client whose site does basic searches of a database; for
>>> the found set, I have 3 "detail" links that show various details
>>> for each of the records in the found set.
>>>
>>> Today the client told me that she'd like to be able to go to one
>>> of these detail screens and then scroll through the found set
>>> from the detail screen.
>>>
>>> So here's my question:
>>>
>>> Let's say the search returned 17 matches. I'd like to be able to
>>> go to one of the 3 detail screens and then click a button to
>>> "scroll" through the 17 records in the found set.
>>>
>>> What would be the easiest way to do this? Assuming the found
>>> array is $searchResult, can I store $searchResult in a session
>>> variable?
>>>
>>> Thanks,
>>>
>>> Bob Patin
>>> Longterm Solutions
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>>
>>> CONTACT US VIA INSTANT MESSAGING:
>>> AIM or iChat: longterm1954
>>> Yahoo: longterm_solutions
>>> MSN: tech at longtermsolutions.com
>>> ICQ: 159333060
>>>
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list