logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Robert Garand
    • Posted on Mon 1 Jul 2002

    If you read my previous feedback, I was having difficulty using $$ViewTemplateDefault to search only the view that was currently being displayed.

    I found a solution that works in my environment. Add this line before the OpenDbRelativeURL -->

    viewName = (window.location.pathname.split('.nsf/'))[1]

    and modify the OpenDbRelativeURL to -->

    openDbRelativeURL(viewName + "?SearchView&Query=" + escape( str ) + "&start=1");

    (Replace the 'All' view from Jake's code to use the viewName variable)

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: