CFgrid, href and cfgridkey

We have a current application in Mach-ii that is over 100,000
lines and would like to use CFgrid in CF8. What we don't want to do
is to go back and touch perfectly good code, in multiple places,
just to accommodate the url "cfgridkey". We want to use the proper
variable in the URL.
I thought I had seen a description of using a JavaScript
function to do this but now I cant find it.
Can anyone Help?
thanks,
Sam

I "dont" want the cfgridkey term in the URL. I want something
like ...index.cfm?my_id=7
Not ...index.cfm?cfgridkey=7

Similar Messages

  • Cfgrid href and cflayout tab

    Thanks in advance
    I have a cflayout tab with two layoutareas each has a cfgrid with html format
    each cfgrid has a column with href.
    My problem is the hyperlink shows only on the grid in the first tab
    here is my code
    <cfquery name="sectionList" datasource="#application.dsn#">
    select * from sp.section
    </cfquery>
    <cfquery name="semesterList" datasource="#application.dsn#">
    select * from sp.semester
    </cfquery>
    <CFAJAXIMPORT TAGS="cflayout-tab,cfform,cfgrid">
    </cfajaximport>
    <CFFORM>
    <cflayout type="tab" name="Courses">
                <cflayoutarea title="Enrolled" name="Enrolled" >
                  <cfgrid query="sectionList"  name="grid1" FORMAT="html"  highlighthref="yes" >
                   <cfgridcolumn name="SectionID"  header="ID"  href="testing2.cfm" hrefkey="SectionID"   >
                   <cfgridcolumn name="SectionName" header="Name">
                   </cfgrid>
                </cflayoutarea>
                <cflayoutarea title="Instructed"  name="Instructed" selected="yes" >
                  <cfgrid query="semesterList"  name="grid2" FORMAT="html"  highlighthref="yes" >
                   <cfgridcolumn name="SemesterID"  header="ID1"  href="testing2.cfm" hrefkey="SemesterID"  >
                   <cfgridcolumn name="SemesterName" header="Name1">
                   </cfgrid>
                </cflayoutarea>
                <cflayoutarea title="Subscribed"  name="Subscribed"  >
                   <cfgrid query="sectionList"  NAME="GRID3" FORMAT="html"   highlighthref="yes" >
                   <cfgridcolumn name="sectionID"  header="sectionID" display="no"  >
                   <cfgridcolumn name="courseID"  header="courseID" href="sectionPage.cfm" hrefkey="courseID" >
                   <cfgridcolumn name="sectionName" header="Name" >
                   </cfgrid>
                </cflayoutarea>
      </cflayout>
    </CFFORM>

    I "dont" want the cfgridkey term in the URL. I want something
    like ...index.cfm?my_id=7
    Not ...index.cfm?cfgridkey=7

  • JavaFX and Netbeans set homepage href and codebase attribute

    Hi everyone.
    Is there a option in netbeans to set the _browser.jnlp attribute "homepage href" and "codebase". so that when I start the Build Project everytime is set right. and i dont have to change it manually ?
    regards

    Hi. thanks for your advise with the javafxpackager help, I found the option -appCodebase.
    with this option everything work fine. (codebase and hompage href url is set)
    I have now this option in the netbeans project property as additional fx packager option.
    Thank you!
    p.s. with the private.property i haven't any success
    Greez drab17

  • Is possible to use href= and onclick=Ajax.request to track outgoing link?

    Hi,
    I´m new in Oracle Apex and i'm trying now to track outgoing links on my Apex 3.2.1 application.
    When the user clicks on a link of my application that redirects to an outgoing site, I want them to be taken to the site (href) and I also want a background script that register in a oracle table this "click".
    For example, i have this link in an APEX page:
    When user cliks in this link, i would like to execute in background an oracle procedure, with a parameter. Let´s call this procedure, for example:
    SP_REGISTRA_ACESS_LINK(:P19_COD_TOPICO).
    This procedure insert a record in a table called BAC_ACESS, storing in it the SYSDATE and the value of ":P19_COD_TOPICO".
    Is it possible to link to a new site and call an AJAX request at the same time?
    Could some one give me a example of how i can do it? How i can implement it in my Apex 3.2.1 application?
    I´m working with Apex 3.2.1 and RDBMS 9i. I can not upgrade none of these releases, cause Apex is installed in a production database that can be upgrade now to 10g/11g.
    Best regards,
    Sergio Coutinho

    Jari,
    Very interesting. I didin´t know that this APEX_UTIL exists...
    Although that, i developed a customized access control to specific "media itens" of my application, for example:
    - Download of documents or programs;
    - Play of videos;
    - Play of audios;
    - Acess of CLOB records of a table, that were displayed as a kind of HTML page;
    - Outgoing links;
    I do not want to control all the Apex application as, for example, tabs, report pages, charts, forms, etc.
    All these media itens are stored on oracle tables, and where displayed in apex reports. Customer clicks on a link of this report and the media is displayed to the user.
    I have sucess to control quite all the medias display.
    The only one i could not have success to control are these outgoing links. These links were stored in a oracle table and were displayed in a apex interactive report.
    I would like to know if i can implement my custom rutine to register these access. I think that i could to it with Ajax scripts.
    Best regards,
    Sergio Coutinho

  • Confirm delete in a report using href and img

    Hi,
    Found lots of references to this for buttons on a page, and a couple of others that are close - but my implementation of it just doesn't work for some reason.
    I'm presenting a user with a long list of items in an sql report, and against each line give them a delete option within the report. They want a confirm delete popup, so I have tried a few variations on:
    select
    '<a onFocus=''if (confirmDelete("Delete?")) location.replace("f?p=&APP_ID.:2:&SESSION.:DEL_EMP:::P2_DEL_EMP_ID:' ||emp_seq_num|| '");''
    href="f?p=&APP_ID.:2:&SESSION.:DEL_EMP:::P2_DEL_EMP_ID:'||emp_seq_num||'"><img src="/i/wdrop.gif"></a>' DEL,
    The message pops up, but the delete doesn't kick in.
    I've tried slight variations according to posts on the forum that result in it deleting even if cancel is selected, and yet others where the cancel and delete work, but if the button is clicked again - the delete just happens without a message.
    Not much hair left on the head at the moment.
    TIA.

    David,
    I have an example here:
    http://apex.oracle.com/pls/otn/f?p=31517:15
    However, this is not working for guest users. The code is on the page.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Cfgrid hiding and showing columns dynamically

    I am trying to get my grid and some checkboxes to integrate
    with each other in order to show and hide different columns through
    actionscript. I am using the code found at this website:
    http://www.asfusion.com/blog/entry/mxna-reader-built-with-cfforms
    and I have been having no luck in trying to implement it. I
    would like to do away with the .as files that come along with this
    code but I can't get it to work with or without it. Does anybody
    know how to do this, I am at a loss and I need to get it working
    soon.
    Thanks in advance!
    Jeff
    Here's the code I have been working with:
    <cfformitem type="script">
    <!---
    function _global.hideColumns()
    _global.postColumns = [];
    for(var i =0; i< contactList2.columnCount; i++)
    _global.postColumns.push(posts.getColumnAt(i));
    contactList2.removeColumnAt(6);
    contactList2.removeColumnAt(5);
    contactList2.removeColumnAt(4);
    contactList2.removeColumnAt(3);
    function _global.setColumn(target, col)
    if(target.value)
    contactList2.addColumn(_global.postColumns[col.index]);
    contactList2.spaceColumnsEqually();
    contactList2.getColumnAt(0).width = 0;
    else
    for(var i = 0; i< contactList2.columnCount; i ++)
    if(contactList2.getColumnAt(i).columnName == col.data)
    contactList2.removeColumnAt(i);
    </cfformitem>
    <cfform action="#cgi.script_name#" method="post"
    name="form" preservedata="true" preloader="yes" format="flash"
    height="605" width="765" skin="haloblue"
    style="themeColor:##56A1E1; marginRight:0;
    background-color:##7B8DA1;">
    <cfgrid name="contactList2" query="GetActivity"
    rowheaders="false" height="365" colheaderalign="center"
    colheaderfontsize="12" colheaderbold="yes"
    onchange="getUrl('act_view.cfm?ActivityID=' +
    contactList2.dataProvider[contactList2.selectedIndex]['ActivityID']);">
    <cfgridcolumn name="ActivityID" display="no">
    <cfgridcolumn name="Title" header="Activity Title"
    width="150">
    <cfgridcolumn name="Details" header="Details">
    <cfgridcolumn name="SiteArea" header="Site Area"
    width="70">
    <cfgridcolumn name="Mission" header="Mission"
    width="70">
    <cfgridcolumn name="Date" header="Activity Date"
    mask="mm/dd/yyyy" width="95">
    </cfgrid>
    <cfformgroup type="horizontal" height="14">
    <cfinput type="text" name="columns" visible="no"
    label="Check here to show columns:" width="0">
    <cfinput type="checkbox" name="chktitle" checked="true"
    label="Title" onClick="_global.setColumn(chktitle, {index:1,
    data:'title'})">
    <cfinput type="checkbox" name="chkdetails" checked="true"
    label="Details" onClick="_global.setColumn(chkdetails, {index:2,
    data:'details'})">
    <cfinput type="checkbox" name="chkSite" checked="false"
    label="SiteArea" onClick="_global.setColumn(chkSite, {index:3,
    data:'siteArea'})">
    <cfinput type="checkbox" name="chkMission"
    checked="false" label="Mission"
    onClick="_global.setColumn(chkMission, {index:4,
    data:'mission'})">
    <cfinput type="checkbox" name="chkDate" checked="true"
    label="Date" onClick="_global.setColumn(chkDate, {index:5,
    data:'Date'})">
    </cfformgroup>
    </cfform>

    Hmm. Perhaps the problem is that when these columns are hidden or shown, the data is cleared out so there is nothing visible in any column.  Still, shouldn't the width stay static according to the width I specified for each column?  It seems like a bug, really, but I'm not sure why it seems uncommon.
    Unfortunately an upgrade to Flex 3 isn't possible at the moment, I don't think.

  • Href and target tags tutorial/help needed for use with an existing website

    I have a website, (built through iweb), and an intro movie. I have spent a lot of time trying to understand the proper tags and how to use them without much luck. My goal is to have the homepage associated with my domain name load in a browser while at the same time have my intro movie open in a Quicktime Player window, play, and automatically close leaving the webpage visible. If anyone can point me to a tutorial or walk my through the process I would appreciate it.

    Poster movie style. Requires QuickTime Pro:
    Create an image (or a frame from your movie). This becomes the "poster". You could add text to it (Click to Play) in a graphic editor app to help your viewers or add text to the page under the image with these instructions.
    Save this new file as poster.mov
    It becomes the src="poster.mov" (source tag in the html code). Set its dimensions to fit your page layout.
    Your "intro movie" will be your href="intro.mov" (href tag in the html code).
    Open it with QuickTime Pro and then open the Movie Properties window. Click on the Presentation tab to see the choices. Automatically close option will close the QuickTime window. Automatically quit option will quit the running QuickTime Player app. This would be a better option as the browser should come back as the "front" application. You also want to check "auto play".
    Use Save As (preserves fast start feature) and name this file intro.mov
    In your html code for the QuickTime files you need to set target="quicktimeplayer" (this launches the QuickTime Player app instead of using the browser plug-in). It may also help if you use the full URL to both files in each tag (http://myserver.com/foldername/intro.mov).
    One of mine as an example. It uses automatically close window:
    http://homepage.mac.com/kkirkster/mycareerfuture/
    View the source code to see the tag structure. My page uses javascript instead of the older object/embed tag code.
    More useful links:
    http://developer.apple.com/internet/ieembedprep.html
    http://www.qtbridge.com/pageot/pageot.html

  • Href and applet

    Hi,
    I would like to find out whether can href be used to link to an applet? My problem is this, I want to run the applect only when I click on a hotlink in the webpage. How can I do that?

    Not really, no. The applet can only exist in a web page. The applet can be 1 x 1 pixel, and can be positioned using CSS off the display area of the page, and the applet can open the JFrame. But the applet and the page it's on must still be in the browser, cuz as you see when you leave the page, the JFrame goes away. There is no way around that, and for good reason. If there was, people would be putting applets out there that when you leave the page, these stupid frames would linger, and they would of course be set up to disable the close button so you couldn't close them. It would be a mess.
    So, either you have the applet page with a message to people not to go anywhere, or you have a frame set with 1 frame (maybe 1 pixel at the top or bottom) with the applet and have all other navigation in the "main" frame.

  • Cfgrid bind and bad folder name

    This is going to sound totally wierd... I have a cfgrid that
    binds to a cfc and it works perfectly except when the cfc is placed
    in a folder with the name "helpdekspro" any other folder name works
    fine.
    Does anyone have any idea why?

    Mikey D. wrote:
    > This is going to sound totally wierd... I have a cfgrid
    that binds to a cfc and
    > it works perfectly except when the cfc is placed in a
    folder with the name
    > "helpdekspro" any other folder name works fine.
    >
    > Does anyone have any idea why?
    >
    >
    >
    >
    > <cfgrid format="html" name="grid01" pagesize="25"
    sort="true"
    >
    bind="cfc:helpdeskpro.a.getData({cfgridpage},{cfgridpagesize},
    > {cfgridsortcolumn},{cfgridsortdirection})"
    selectMode="row">
    >
    is helpdeskpro a folder you created or was it created bu some
    app
    installed on your server?
    are you on a win or nix server?
    did you check cf's permissions to the helpdeskpro folder?
    just some things off the top of my head...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Action or href and expression language

    Hi
    I have the following table:
    <td>${unit[0]}</td>
    <td>${unit[1]}</td>
    <td>${unit[2]}</td>
    <td>${unit[3]}</td>
    If a cell is clicked, my servlet should know which cell was chosen...
    Now I have two questions:
    -can I use ACTION or should I use href to call my servlet?
    -how can I return the value form the cell (unit[x])?
    Thank you
    Tom

    Here is how one poster did it:
    http://forum.java.sun.com/thread.jspa?threadID=678194&messageID=3957105#3957105

  • Cfgrid and href attribute issue

    HI Gang-
    I'm building a relatively simple query driven cfgrid, read-only for the most part but I need one of the columns to be a href value that will serve as a drilldown. Everything working fine except that the name/value pair I need appended to the url is being persnickety.
    The url I'd like to build and have effected in the cfgrid is something like "index.cfm?action=drilldown&orderid=#dynamicValue#"
    I finally got it to work, but not as I would like. Turns out both cfgrid and cfgridcolumn tags each have the "href" and the "hrefkey" attributes, which made for a confusing 45 minutes of trial and error.  The closest I could eventually come to my target url of:
    index.cfm?action=drilldown&orderid=#dynamicValue#
    is actually
    index.cfm?action=drilldown&CFGRIDKEY=#dynamicValue#
    Not what I wanted but I can deal for now.
    Has anyone gotten a hold of building out hrefs in cfgrid using custom name/value pairs dynamically? Would love to know how you did it. Code postings would be even better!
    Many thanks,
    Rich

    Quite a challenge, that one. You can run the following example directly. Have a look at my use of the lastName column. You could also have a look at the ext library.
    <html> 
    <head> 
         <title>Grid URL Demo</title> 
         <script type="text/javascript"> 
         function init(){ 
             var grid = ColdFusion.Grid.getGridObject("ArtistGrid"); 
             grid.addListener("rowclick",onRowClick); 
         function onRowClick(g,rowIndex,e){
           var lastName = ColdFusion.getElementValue("ArtistGrid", "artistGridForm", "lastName");
           var url = "index.cfm?action=drilldown&lastName="+lastName;
           ColdFusion.navigate(url);    
         </script>     
    </head> 
    <body> 
         <cfquery name="getArtists" datasource="cfartgallery"> 
         SELECT artistId, firstname, lastname, address, city, state, postalcode, email 
         FROM Artists 
         </cfquery> 
         <cfset args = structNew()> 
         <cfset args.name = "ArtistGrid"> 
         <cfset args.format = "html"> 
         <cfset args.query = "getArtists"> 
         <cfset args.stripeRows = true> 
         <cfset args.selectColor = "##D9E8FB"> 
         <cfset args.width = 600> 
         <h1>Artists Grid</h1>       
         <cfform name="artistGridForm" id="artistGridForm"> 
            <cfgrid attributeCollection="#args#"> 
               <cfgridcolumn name="artistid" display="false"> 
               <cfgridcolumn name="firstname" header="First Name"> 
               <cfgridcolumn name="lastname" header="Last Name"> 
               <cfgridcolumn name="email" header="Email Address"> 
               <cfgridcolumn name="address" header="Address"> 
               <cfgridcolumn name="city" header="City"> 
               <cfgridcolumn name="state" header="State"> 
               <cfgridcolumn name="postalcode" header="Zip"> 
            </cfgrid> 
         </cfform>  
         <cfset ajaxOnLoad("init")>      
    </body> 
    </html>

  • Getting the parameters in url using cfgrid to cfc....

    please help!!!
    passing parameters to cfc using the cfgrid bind...
    im using the cfc bind if u hard coded the query in the cfc its works but if u need to pass a parameters in cfc bind its not working...
    for example...
    my url with parameter is http://localhost/index.cfm?empid=123&start_date=2009/05/01
    <cfform>       
                <cfajaxproxy bind="javascript:todetail({maingrid.id@change},{maingrid.firstname@none},{maing rid.lastname@none})" />
                <cfgrid format="html"
                    name="maingrid"
                    bind="cfc:#request.cfcpath#users.getGridas({cfgridpage},{cfgridpagesize},{cfgri dsortcolumn},{cfgridsortdirection})"
                    preservepageonsort="true"
                    appendkey="no"           
                    selectonload="false"
                    width="750"                           
                    style="clear:both;" colheaderalign="center"
                    >
                    <cfgridcolumn name="id" display="no" />
                    <cfgridcolumn name="datatime" header="DATE" width="100"/>               
                </cfgrid>
            </cfform>
    my query in cfc file:
    select * from hrd_emp
    WHERE 0=0
                <cfif arguments.id NEQ "">AND (id='#arguments.id#')</cfif>
                <cfif arguments.whereClause NEQ "">AND (#preserveSingleQuotes(arguments.whereClause)#)</cfif>
                AND (EmpNo = '#######')   =====> i need to put the empid=123 from the url  http://localhost/index.cfm?empid=123&start_date=2009/05/01
    PLEASE HELP!!!

    Pam, here's how I solved this one. Note the order of the bindings and the order of the bindings in the CFC must be the same as well. Hopefully this helps:
    <!--- create cfgrid with results from url.CFGRIDKEY variable --->
    <cfform name="getUsers">
           <cfgrid format="html" name="displayUsersActive" autowidth="yes" selectmode="row" striperows="yes" pagesize="13" bind="cfc:getUsers.SPActiveUsers({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgrid sortdirection},'#url.CFGRIDKEY#')" width="700" height="360">
                <cfgridcolumn name="intfkclassid" display="no">
                <cfgridcolumn name="txtLName" header="Last Name" headerbold="yes" width="20">
                <cfgridcolumn name="txtFName" header="First Name" headerbold="yes">
                <cfgridcolumn name="startdate" header="Start Date" width="30" headerbold="yes">
                <cfgridcolumn name="enddate" header="End Date" headerbold="yes">
                <cfgridcolumn name="classno" header="Class No" headerbold="yes" hrefkey="intfkclassid" href="allEnrolled.cfm" >
            </cfgrid>
        </cfform>
    <!--- getUsers.cfc ----------->
    <cfcomponent>
        <!--- METHOD: List Active users method --->
        <CFFUNCTION NAME="SPActiveUsers" access="remote" RETURNTYPE="struct">
            <cfargument name="gridpage" type="numeric" required="true" />
            <cfargument name="gridpagesize" type="numeric" required="true" />
            <cfargument name="gridsortcolumn" type="string" required="true" />
            <cfargument name="gridsortdirection" type="string" required="true" />
            <cfargument name="cfgridkey" required="false" type="string" default=""/>
         <cfif arguments.gridsortcolumn eq "">
                <cfset arguments.gridsortcolumn = "txtLName" />
                <cfset arguments.gridsortdirection = "asc" />
            </cfif>
             <!--- get user's info --->
                 <cfquery datasource="#application.dsn#" name="getUsers">
                        select a.intuserid,
                                a.txtFname,
                                a.txtLname,
                                b.intfkclassid,
                                c.intclassid,
                                convert(varchar,c.dtstartdate,106) as startdate,
                                convert(varchar,c.dtenddate,106) as enddate,
                                right('00' + convert(varchar,c.intclassyr),2) + '-' + right('00' + convert(varchar,c.intclassno),2) as classno,
                                c.intclassNo,
                                c.intclassyr
                        from tblusers a, tblenrollment b, tblclasses c
                        where a.intuserid = b.intfkuserid and
                                b.intfkclassid = c.intclassid
                                <cfif arguments.cfgridkey NEQ "" and isnumeric(arguments.cfgridkey)>
            and c.intclassid = #arguments.cfgridkey#
                                <cfelseif arguments.cfgridkey NEQ "" and arguments.cfgridkey EQ "active">
                                and c.blnIsActive = 1
                                <cfelseif arguments.cfgridkey NEQ "" and arguments.cfgridkey EQ "inactive">
                                and c.blnIsActive = 0
                                <cfelse>
                                and 1 = 1
                                </cfif>
                        order by #arguments.gridsortcolumn# #arguments.gridsortdirection#
                        </cfquery>
              <CFRETURN queryconvertforgrid(getUsers, gridpage, gridpagesize)>
        </CFFUNCTION>
    </cfcomponent>

  • How can I create a href with cfgridrow

    Basically I am using cfgrid to display a list of computer from a query.  I would lke to be able to; when I click on the first colum in any row to display a cfm page that will be able to display relevant information to a specific computer.  I will be passing parameter with theurl parameter.  Theses parameter are generated by my original query.
    here is the code i am trying to use.  I didn't include the href.
    This code works OK.  The 2 variables I am trying to send via URL are #machine# which is created from a query and URL.Hotel which is was send thru the URL when I opened this page. (the cfoutput tag were remove )
    <!---<table border="1"
      <TR>
        <TD> PC Name </TD>
        <TD> IP Address </TD>
        <TD> User Name </TD>
      </TR>
      <cfoutput query="listRet">
      <tr>
        <td><a href="ListApp.cfm?pc=#URLEncodedFormat(Trim(Machine))#&hotel=#URL.hotel#">#Machine#</a></ td>
        <td>#IPAddress#</td>
        <td>#Description#</td>
      </tr>
      </cfoutput>
    </table>--->
    Now can I do the same with a cfgrid and cfgrid row
    <cfform format="flash">
    <cfgrid
      query="listRet"
      name="gridPc"
      height="400"
      width="1000">
      <cfgridcolumn name="Machine" header="PC Name" headerbold="true" headertextcolor="blue" width="120">
      <cfgridcolumn name="Description" header="User Name" headerbold="true" headertextcolor="blue" width="250">
      <cfgridcolumn name="IPAddress" header="IP Address" headerbold="true" headertextcolor="blue" width="120">
      <cfgridcolumn name="SystemName" header="Model" headerbold="true" headertextcolor="blue" width="275">
    </cfgrid>
    </cfform>
    Thanks

    You can just use the HREF attribute of CFGRID directly, and it'll automatically pass a row-specific value. You won't be able to specify the exact URL attributes that will be passed - it'll pass a single attribute called "cfgridrow" if I recall correctly.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.

  • Menu and sub-menu

    Hi,
    Is anyone knows where to find an example for creating the menu and sub-menus in coldusion?
    thanks
    kt

    here is a simple example using cfmenu:
    <cfmenu name="menu" type="horizontal"
             fontsize="14"  font="Verdana, Arial, Helvetica, sans-serif"  bgcolor="##ff9f40;"
            selecteditemcolor="##dd6b04" selectedfontcolor="##FFFFFF" menustyle="border: 1;">
        <cfmenuitem name="cfdiv" href="test1.cfm" display="Test1" />
        <cfmenuitem name="cfdiv2"  href="test2.cfm" display="Test2"/>
        <cfmenuitem name="JavaScripts"  display="JavaScripts">
            <cfmenuitem name="test3" href="test3.cfm" display="test3"/>   
            <cfmenuitem name="test3a" href="test3a.html" display="test3a"/>   
        </cfmenuitem>
        <cfmenuitem name="Examples"  display="Examples" >
            <cfmenuitem name="cfgrid" href="cfgrid.cfm" display="CFGrid"/>   
            <cfmenuitem name="cfgridwin" href="cfgridwindow.cfm" display="CFgrid in Popup Window"/>                   
            <cfmenuitem name="monthDay" href="ymd.cfm" display="day base on month selected"/>                                
        </cfmenuitem>
        <cfmenuitem name="cfmenu" href="http://tutorial16.learncf.com/demo/16" display="cfmenu on the fly"/>
    </cfmenu>
    hope it helps.

  • Href in CF FLASH FORM

    I'm having some problems with my Rich Form using Flash Forms
    built into ColdFusion8. When I add the href and ran the site, when
    you click on the column and item under that column nothing happens.
    What is missing here?
    <cfform name="myForm" format="flash" width="400"
    height="300" skin="haloorange">
    <cfformgroup type="panel" label="Current Accounts">
    <cfformgroup type="horizontal">
    <cfinput type="text" name="forInput" width="120"
    onchange="#actionFilter#" label="Filter by:">
    <cfselect name="column" label="in:"
    onchange="forInput.text=''" width="90">
    <option value="Account_Type">Account
    Type</option>
    <option
    value="ID_Company_Community">Community</option>
    <option value="LastLogin">Last Login</option>
    </cfselect>
    </cfformgroup>
    <cfgrid name= "data" query="memberList" height="200"
    rowheaders="false" selectcolor="##FFFFCC">
    <cfgridcolumn name="Account_Type" header="Account Type"
    href="test.cfm">
    <cfgridcolumn name="ID_Company_Community"
    header="Community">
    <cfgridcolumn name="LastLogin" header="Last Login"
    mask="MMMMM-DD-YYYY">
    </cfgrid>
    </cfformgroup>
    </cfform>
    When you click on an item under that column shouldn't it take
    you to test.cfm????
    --------- UPDATE --------
    I see that the href IS NOT supported in the FLASH format. Is
    there way to accomplish the task without href? How can I make a
    column a href and redirect the user to a details page for that
    selected listing? Thanks
    Thanks for your anticipated response.
    Todd Warne

    Hi-
    I copied your form code and submitted the variables back to
    that page, and got no error, for what that's worth. My guess is
    that the prob. might be in the page you're submitting to rather
    than in the form itself?

Maybe you are looking for