Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default One Page or Many?

    I am helping our librarians create pages for access electronic journals from
    our intranet. Instead of a simple Search button and a Browse All link, the
    librarians want to set up alphabetic links using this:

    A | B | C | D | etc | Browse All

    Each letter becomes a link to a page showing all the ejournals that begin with
    that letter.

    Is there an easy way to setup a single process page rather than creating a
    separate process page for each letter of the alphabet?

    I suspect that this is a CFC solution, but I know very little about CFCs right
    now. Is there a good CFC tutorial somewhere where I can figure out how to do
    this?

    Thanks.

    HMOKeefe

    HMOKeefe Guest

  2. Similar Questions and Discussions

    1. Splitting or separating 1 multi page pdfdocument into individual page documents
      I am looking for any product that will take a multi page pdf file and burst or separate it into individual pdf files created from each page. Mac...
    2. Trouble loading administrator/index.cfm page--i am askedto save the page
      Please help....i've been stuck for days on this problem... Basically, I installed coldfusion and at the end of the installation, it told me that...
    3. Accessing Values of local variables in previous page when using custom error page
      Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all...
    4. Prevent 'Page has expired' when a client hits back to return to a search page
      I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I...
    5. Calling a html page from an asp page then returning to the next statement on the original asp page
      Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are...
  3. #2

    Default Re: One Page or Many?

    You don't need CFC. Check out the code below.

    <A HREF="results.cfm?letter=A">A</A>
    <A HREF="results.cfm?letter=B">B</A>
    <A HREF="results.cfm?letter=C">C</A>
    <A HREF="results.cfm?letter=D">D</A>
    etc.

    <!--- here's results.cfm --->
    <CFQUERY NAME="getJournal" ... >
    SELECT journalName, title, author FROM catalog WHERE title LIKE
    ('#URL.letter#%')
    </CFQUERY>

    <CFOUTPUT QUERY="getJournal">
    #journalName# #title# #author#<BR>
    </CFOUTPUT>

    jdeline Guest

  4. #3

    Default Re: One Page or Many?

    This is a perfectly simple solution...thank you! The single results page works perfectly!
    HMOKeefe Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139