Wouldn't say it's a bug.  Reading through the O'rielly "Programming
Cold Fusion MX" book, and they make several references to maintaining
proper caps in javascript functions.

Chad
who doesn't really know what he's talking about, but feels good about
himself anyways, which should get him a good grade from the southern
Californian academic system

On 5/4/05, Peter Tilbrook <[EMAIL PROTECTED]> wrote:
> Here was my problem:
> 
> ColdFusion MX 7 (HF2) - Verity "Query" collection with "categories". Output
> to a CFFORM with CFGRID. Click on link to pass the Verity returned "key" in
> the URL.
> 
> Result:
> 
> Key=undefined
> 
> Ben suggested changing:
> 
> <cfgrid name="SearchResults" rowheaders="no" gridlines="no"
> colheaderbold="yes" query="SearchSite"
> onchange="getUrl('index.cfm?fuseaction=Home&Key=' +
> SearchResults.dataProvider[SearchResults.selectedIndex]['Key']);">
> 
> To:
> 
> <cfgrid name="SearchResults" rowheaders="no" gridlines="no"
> colheaderbold="yes" query="SearchSite"
> onchange="getUrl('index.cfm?fuseaction=Home&Key=' +
> SearchResults.dataProvider[SearchResults.selectedIndex]['KEY']);">
> 
> (Note UPPERCASE 'KEY' at end of this codeline)
> 
> And it works! Does not work if key is 'key' however. A J2EE case issue?
> 
> If anyone else has the same issue give that a go. Revised code is as
> follows:
> 
> <cfform name="SearchResultsList" accessible="yes" gridlines="no"
> colheaderbold="yes" format="flash" action="dsp_search_results.cfm"
> height="600">
> <cfformgroup type="accordion" label="Search Results">
> <cfformgroup type="page" label="Search Results" enabled="yes">
> <cfformitem type="text">Found <cfoutput>#Information.Found#</cfoutput>
> possible matches from <cfoutput>#Information.Searched#</cfoutput>
> records.</cfformitem>
> <cfgrid name="SearchResults" rowheaders="no" gridlines="no"
> colheaderbold="yes" query="SearchSite"
> onchange="getUrl('index.cfm?fuseaction=Home&Key=' +
> SearchResults.dataProvider[SearchResults.selectedIndex]['KEY']);">
>        <cfgridcolumn name="Key" header="Key" width="50">
>        <cfgridcolumn name="Rank" header="Rank" width="50">
>        <cfgridcolumn name="Category" header="Category" width="100">
>        <cfgridcolumn name="Title" header="Title">
>        <cfgridcolumn name="Custom2" header="Date" width="100">
>        <cfgridcolumn name="Summary" header="Summary">
>        <cfgridcolumn name="Score" header="Score" width="50">
> </cfgrid>
> <cfformgroup type="panel" label="Search Summary">
> <cfformgroup type="horizontal">
> <cfformitem type="text" width="120">Record(s) Searched:</cfformitem>
> <cfformitem type="text"
> width="50"><cfoutput>#Information.Searched#</cfoutput></cfformitem>
> <cfformitem type="text" width="110">Record(s) Found:</cfformitem>
> <cfformitem type="text"
> width="50"><cfoutput>#Information.Found#</cfoutput></cfformitem>
> <cfformitem type="text" width="80">Time Taken:</cfformitem>
> <cfformitem type="text" width="70"><cfoutput>#Information.Time#</cfoutput>
> (ms)</cfformitem>
> <cfformitem type="text" width="80">Keyword(s):</cfformitem>
> <cfformitem
> type="text"><cfoutput>#Form.SearchCriteria#</cfoutput></cfformitem>
> </cfformgroup>
> </cfformgroup>
> </cfformgroup>
> <cfinput name="ViewCurrent" type="submit" value="Return to
> #Request.ApplicationTitle# home page">
> </cfformgroup>
> </cfform>
> 
> Thanks again Ben! Legend!
> 
> Have CC'd other Macromedian's in case they encounter others with this
> seemingly minor "bug?".
> 
> Peter Tilbrook
> ColdGen Internet Solutions
> Manager, ACT and Region ColdFusion Users Group
> PO Box 2247
> Queanbeyan, NSW, 2620
> AUSTRALIA
> 
>     WWW 1: http://www.coldgen.com/
>     WWW 2: http://www.actcfug.com/
> Telephone: +61-2-6284-2727
>   Mobile: 0432 897 437
>   E-mail: [EMAIL PROTECTED]
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to