Put button(s) in a CFGRID populated by a Query?

Hi,
I am trying to replace these boring html tabluar grids I
built and use <cfgrid format="html">
It seems to work fine, except I want to put two <cfinput
type="button"> in the first two cells of each row in the grid.
The docs state cfgridrow tags are ignored if the grid is
populated by a query which mine is, so how can I insert buttons in
the cfgrid, one in each cell?
So it would look like this
Edit Client | Manage Offices | ABC Company | 123 Main St
So the Edit Client and Manage Offices would each be an html
input button inside a given row.
Hope that makes sense.
-Westside

How about using links instead?
select id,companyName, companyAddress, 'Manage Offices' as
ManageButton, 'Edit Client' as EditButton from yourDB
cfgridcolumn name="EditButton" header="Edit Client"
href="edit.cfm" hrefkey="id" select="No" display="Yes"
cfgridcolumn name="ManageButton" header="Manage Offices"
href="manage.cfm" hrefkey="id" select="No" display="Yes"
something like that

Similar Messages

  • Putting buttons at the end of each row of a report

    Hi
    Was wondering if anyone new of a way to put buttons on the end of each row of a report. Basically i want a button and a LOV box next to the end of each row so that the user could set the value of the LOV box click the button and that would update just that row. Obviously i want to give them the option of batch processing it as well but for now i just want them to be able to update one row at a time.
    This does not nessacary need to be with a LOV box it could also work with radio buttons to specifiy the value to update.
    If anyone knows a way of doing this or any information where i can read about it then please let me know as i would be very interested.
    Or can you make report fields eidtable so that i can just run a massage update on the using all the values in the report?
    Thank you for your time
    Daniel Stead
    Message was edited by:
    Dan Stead

    No such luck a tabluar updat form shows all the rows for that table. I only want the user to be able to update their rows in the table.
    This is bascally what i want to do.
    I have two reports that only show records that are realted to the current user that is logged in.
    The first report shows all records in the table for the current user where the supervisor (the current user) type is set to confirmed.
    The second reprot shows all the records in the table for the current user where the supervisor (the current user) type is set to requested.
    That is what i have acheived so far.
    I want to be able to make the superviosr type in the second report editable with a list of values requested, rejected and confirmed. The user can then select what he would like the type to be for the specific record in the report and then press a button that updates all the reocrds (or a button at the end of each row that updates each row). If the row is confirmed it moves to the first report, if it is still requested it stays in the second report and if it is set to rejected then it will be in neither report.
    Therefore my question is if i make the supervisor type eidtable how can i link it to the id of that row so that it updates it?
    If this is not clear please state to me which part i have not made clear.
    Thank you for your help.
    Daniel Stead

  • Adobe Dreamweaver CS3 "PUT" Button

    Hi,
    I just created a basic home page using adobe dreamweaver cs3,
    and have already created an ftp link with my website server. But
    how come the "put" button was in gray, and I can't click it?
    Thanks,
    Jimster

    Steve is right on target here. Do not use FTP & RDS when
    you create a site
    definition without checking with either of us first.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dooza" <[email protected]> wrote in message
    news:fmnbou$2am$[email protected]..
    > Jimster1218 wrote:
    >> Yes, I did that. But the "put" button is still in
    gray.
    >
    > It sounds like you have chosen "FTP & RDP", this
    isn't what you wanted to
    > do, you wanted to create a "SITE". Delete your site
    definition and create
    > a new one, but this time select "SITE".
    >
    > When you use "FTP & RDP" you are working live on the
    files on the server,
    > that is why there is not PUT.
    >
    > When you use "SITE" you have a local site, and your
    remote site. For more
    > information use F1 and have a read.
    >
    > Steve

  • Putting buttons on JPanel

    Hey
    I want to put buttons (JButton) on a panel(JPanel)
    in a way that they will cover each other like in cards game for example.I dont want that a button will hide all the other button, but i want it to cover part of the other button.
    I tried to use the setLocation function, and to give it position in the panel. But, the program ignored me, and put them in the deafult layout.
    When i set null layout, nothing was drawen on the panel.
    does any one here can help me please????
    Thanks
    Na'ama

    class MyPanel extends JPanel {
    public MyPanel() {
    setLayout(null); //IMPORTANT!!!
    JButton[] buttons = new JButton(10);
    for(int i = 0; i < buttons.length; i++) {
    buttons[i] = new JButton("Button" + i);
    buttons.setSize(25,15);
    buttons[i].setLocation(x * 20, 0);
    add(buttons[i]);

  • Having Trouble with Get & Put buttons

    I am trying to set up my first web site. I have finished
    placing my first page on line. But now I would like to amend the
    first page slightly by "getting" the page back so that I can change
    it. When I select the full files page and select "get" nothing
    seems to happen. I would assume the page or part of it would appear
    somewhere so that I can work on it. As it is at the moment, when I
    hit "get" nothing seems to happen. Can anyone help me?
    Bussoboy

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Most likely #4 is your problem.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "sandyberry1" <[email protected]> wrote in
    message
    news:fn270d$92t$[email protected]..
    > thanks for the tips. I have the FPT site defined. Excuse
    me if I word
    > this
    > wrong as I am not a computer guru. NOW the "put" button
    is not grayed
    > out.
    > Thank you, thank you. Now I have a new problem. When I
    click "put" it
    > tries
    > to connect & then I get the following error & I
    have no idea what this
    > means or
    > how to fix it.
    >
    > While executing receiveArguments in site_File.htm, the
    following
    > javascript
    > error occured
    > ---------------------------
    > At line 30 of file
    >
    C:/ProgramFiles/Macromedia/DreamweaverMX2004/Configuration/Manus/MM/Site_File.js
    > "; exception thrown in native function.
    >
    > Sandy
    >

  • Download to Excel - I need to put button to get data from iView to excel

    Can anyone help me by telling an easy way to download the contents of iViews to Excel. As the fields are in different Nodes and components I am not able to get all the fields in standard application. Is there any easy approach to download the data from iview itself? Please help me on this.

    Hi Simon,
    Thanks a lot for the solution.
    But the problem I have is : I have put a button on Excel to download, on click of button the RFC is triggered and data will be pulled for download. But I need the data from iview with out database intraction as it has been already fetched to display in iView so the data must be stored some in portal. As far as I have analysed I found that fields are from different Components so when I go for all fields it is almost like complete customization which is not recommended, I need a data pool where the data is available so that I can download all at a strech. Is it possible to download the iview as such.

  • AS3 Putting Buttons Inside Movie Clip

    I am practicing AS3 (after years of AS2) and am having trouble having a button inside a movie clip talk to another movie clip on the main timeline. Here is the code:
    OneButton.addEventListener(MouseEvent.CLICK, OneButtonClicked);
    function OneButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(1);
    MovieDescription.gotoAndStop("One");
    TwoButton.addEventListener(MouseEvent.CLICK, TwoButtonClicked);
    function TwoButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(2);
    MovieDescription.gotoAndStop("Two");
    The code above works, but if I put OneButton and TwoButton inside a movie clip, I know longer can target MovieTarget and MovieDescription. The reason I want to put OneButton and TwoButton inside it's own MC is so I can dim each button after it is clicked by toggling the playhead inside that MC. Help? Thanks!

    Start over from the begining
    press  f8 and chose movieClip then draw your untoggled button call the movie button then create another movie and create your toggled button or greyed out button and call it greyedButton.  Go to main stage add 2 button instances and 2 greyedButton instances( just drag from library).  you have 4 instances on stage.  give call instance names and place one them on top of each other so u can only see 2 buttons on stage.  put the greyed button under the button.
    now with action script
    button1.addEventListener(MouseEvent.CLICK, OneButtonClicked);
    function OneButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(1);
    MovieDescription.gotoAndStop("One");
    button1.visible = false; //  here the greyed button will show
    button2.addEventListener(MouseEvent.CLICK, TwoButtonClicked);
    function TwoButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(2);
    MovieDescription.gotoAndStop("Two");
    button1.visible = true; // here button1 will go back to its orignal state
    button2.visible = false // here the greyed button will show

  • Put button in select screen

    hello experts
    How can I put a button into a select screen,beside parametres and select option?
    I know that is possible with screen painter, but in this case I can't use variant?
    and I need variant for my program.
    what is the solution
    I need help

    Try with this code:
    REPORT  ZTEST_NP.
    tables: sscrfields.
    include <icon>.
    SELECTION-SCREEN:
        PUSHBUTTON 2(10)  but1 USER-COMMAND cli1,
        PUSHBUTTON 12(30) but2 USER-COMMAND cli2
                               VISIBLE LENGTH 10.
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
        WHEN 'CLI2'.
      ENDCASE.
    initialization.
      but1 = 'Button 1'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name   = icon_information
          text   = 'Button 2'
          info   = 'My Quickinfo'
        IMPORTING
          RESULT = but2
        EXCEPTIONS
          OTHERS = 0.
    Regards,
    Naimesh Patel

  • Can I put buttons on top of a slideshow?

    My client has asked the latest cover of their magazine to have a slow crossfade of about 5 images as the background, with elements such as logos & links to articles over the top.
    I thought this would be easy since the Slideshow » Crossfade feature is simple to control, but I run into trouble as soon as I put anything on top of it—the slideshow appears on top of everything else in the preview, even if it's an interactive element.
    Am I missing a step somewhere? I feel like this should be a relatively simple thing to do—but it's been about 6 months since my last DPS project so I'm a little rusty, and a lot has been updated in the meantime.
    My other option would be to do the crossfade in Photoshop and import as an image sequence, but I suspect I'd run into the same problem (correct me if I'm wrong!).
    Or I could do the animation in Edge Animate and import as an HTML object. Would either of those options give me better results? They seem a little more complex for essentially the same end product.

    Yep, they're buttons.
    So far I've only added one button, for initial testing. It's the client's logo as a placed Illustrator file. In Buttons and Forms, it's type is a Button, I've named it and On Release or Tap it has a Go To URL action. It has no rollover or click states and it is not Hidden Until Triggered. I feel like I'm missing a step somewhere there...
    Putting the buttons into each state of the MSO works fine, but is less than ideal since they'll change many times before the final version. Updating 5 versions of the same thing each time will get a bit tedious! That's the only way I can get it to work for now though, so I'll keep going like that.
    Adding a text frame with scrollable content works fine - it appears on top of the slideshow.
    Adding another slideshow on top works as well... but my buttons don't!
    EDIT: And yes, I mean in Adobe Content Viewer. It displays the same on the desktop version and on my iPad.
    Message was edited by: Luke-CYB

  • Site Put button greyed out in CS4

    i am attempting to migrate from MS front page to dreamweaver.
    as i try to publish one of my sites using the Site>Put command,
    i'm finding that it is greyed out, along with many other menu
    items. the ftp settings/server connection seem to be testing just
    fine so i'm at a loss. thanks.

    in the dreamweaver Files Panel, when this site is open, is
    the icon next to
    the site folder a folder icon, or a network icon?
    If a network icon, it is an RDS edit live remote site. There
    is no "put"
    make a new site definition, and this time pick "site" and not
    "RDS"
    > i am attempting to migrate from MS front page to
    dreamweaver. as i try to
    > publish one of my sites using the Site>Put command,
    i'm finding that it is
    > greyed out, along with many other menu items. the ftp
    settings/server
    > connection seem to be testing just fine so i'm at a
    loss. thanks.
    >
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Button Display, putting buttons on new line?

    I have four buttons at the bottom of a page and am trying to be able to "stack" the buttons so that there are two lines of two. Using items there is the start on new line, but not for buttons. Is there a way to stack buttons, or get some to start on a new line without creating a new region?
    Ethan

    Buttons can be displayed by position (above or below), but this will not let you stack them. You can display buttons in "template positions". So you can control #EDIT#, #CREATE# positions in region templates, and you can assign buttons to display in the the template positions. Thus with the template you can get exact control.

  • Putting Button in action?

    I have this assignment from our teacher to make a calculator, I have made the interface, with text box at the top and buttons under it with numbers and simple maths operation.
    I do not know how to make button work i.e., when I click on any of the buttons, it should perform the respective action.
    Thanx in advance!
    Aleem

    import java.awt.event.*
    public class MyClass extends JFrame implements ActionListener
    // add listeners to your buttons
    button1.addActionListener(this);
    button2.addActionListener(this);
    // define method ActionPerformed
    public void ActionPerformed(ActionEvent e)
    // determine the source of the event
    if (e.getSource() == button1)
    System.out.println("Button 1 pressed");
    if(e.getSource() == button2)
    System.out.println("Button 2 pressed");
    // for your purposes you could create an array of button for the digits 0-9
    for (jnt counter =0; counter <=9; ++ counter)
    if(e.getSource() == buttonName[counter]
    // add the relevant digit to your textfield
    myTextField.append(counter.toString());
    // code here for youyr other buttons

  • Virtual Characteristic value not populating in the query output

    Hi Experts,
    I am new to BAPI and I am using this to populate the values of virtual characteristics.
    I wrote the below code to populate if an order status got some status value then i need to populate the flag y if not n.
    I got the order value in the reprot. I need to go to order master data and should get the status and then i have to do the comparision and populate the flag zww_teco in the report.
    The below is the compute method of my implementation class.
    FIELD-SYMBOLS :
    <fs_0cs_order> TYPE ANY,
    <fs_zww_teco> TYPE ANY,
    <fs_status>  TYPE ANY.
    if p_cha_0cs_order > 0.
      ASSIGN COMPONENT p_cha_0cs_order OF STRUCTURE C_S_DATA to <fs_0cs_order>.
    endif.
    if p_cha_zww_teco > 0.
      ASSIGN COMPONENT p_cha_zww_teco OF STRUCTURE C_S_DATA to <fs_zww_teco>.
    endif.
    Select single /BIC/ZSYSTATUS
        from /BI0/PCS_ORDER into <fs_status>
       where CS_ORDER = <fs_cs_order>.
    if <fs_status> CP 'TECO'.
      <fs_zww_teco> = 'Y'.
    else.
        <fs_zww_teco> = 'N'.
    endif.
    But I am not sure why the values are not populated. But when i debug , i could see the values for
    P_cha_0cs_order = 35
    p_cha_zww_teco = 54
    But i could get the values of <fs_0cs_order>, <fs_zww_teco> after assign component statement.
    And it is firing me a dump in select statement. Also when I click c_s_data i am getting S____274, S____505 fields like that in the structure but i could see p_cha_0cs_order
    Can you please guide where i am missing ...
    Thanks
    Vamsi
    Edited by: vamsi talluri on Nov 9, 2011 6:14 PM

    Hi Sushant,
      RSRT --> Enter Query Name
    Click on Technical Information --> If " Virtual Char./Key Figures " = Y
    In my case , even then i clciked generate report,
    even after that P_CHA_0CS_ORDER = 35
    and after assign component P_CHA_0CS_ORDER of structure c_s_data to <FS_0CS_ORDER>.
    the <FS_0CS_ORDER> is nothing , here i should get the value of cs_order value of that record but it is coming empty which i am not able to rectify. How should i change or i need to put any other setting to get the value populated into my <FS_0CS_ORDER>.
    Can you please guide me .
    Thanks
    Vamsi

  • Virtual Key Figures its not populated when execute query

    Hi All
    I did a BADI for populate a Virtual Key Figure, I follow the instructions of link
    Link:[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?quicklink=index&overridelayout=true]
    In addition I add the code section of data declarated on example of: CL_EXM_IM_RSR_OLAP_BADI section define: IF_EX_RSR_OLAP_BADI~DEFINE, only information that said:
      DATA: l_s_chanm   TYPE rrke_s_chanm,
            l_kyfnm     TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
            <l_s_chanm> TYPE rrke_s_chanm.
    I test the query on RSRT and the virtual Key Figure is "0.00" this look like if the virtual key figure is not populated.
    I did other things like:
    Set a Break Point on COMPUTE section of my BADI, I saw that the value is assigned, but I don't know how I can continue reviewing the pass of this value to result of query.
    I generate again the query on RSRT.
    My code is:
    IF_EX_RSR_OLAP_BADI~DEFINE
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      data: L_S_CHANM   type RRKE_S_CHANM,
            L_KYFNM     type RSD_KYFNM.
      field-symbols:
            <L_S_CHANM> type RRKE_S_CHANM.
      case I_S_RKB1D-INFOCUBE.
        when 'ZGTO_OB2'.
          append 'ZVIRTKF' to C_T_KYFNM.
      endcase.
    endmethod. 
    IF_EX_RSR_OLAP_BADI~COMPUTE
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
      field-symbols <FS_ZVIRTKF> type any.
      P_KYF_ZVIRTKF = 16.
      assign component P_KYF_ZVIRTKF of structure C_S_DATA
      to <FS_ZVIRTKF>.
      <FS_ZVIRTKF> = 10 .
    endmethod.
    I will appreciate your recommendations, Thanks in advanced.
    Al

    Thank you very much Sanganya
    I saw this:
    I put a break point on P_KYF_ZVIRTKF = 16., then I saw that P_KYF_ZVIRTKF obtain value 16.
    Then on sentence: assign component P_KYF_ZVIRTKF of structure C_S_DATA
    to <FS_ZVIRTKF> , when the system pass this line, I review the sy-subrc and is equal 4, as I understood the ASSIGN sentence did not be complete, the value shoul be 0.
    Then when the system try to run the sentence: <FS_ZVIRTKF> = 10  the system send an Execution error that say:  GETWA_NOT_ASSIGNED...
      Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32780).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Exactly the line selected with error is:
    >>>>    <fs_zvirtkf> = '10.0'.
    I will appreciate your help
    Thank you
    Al

  • Include Button that executes PL/SQL procedure to SQL query based region

    I would like to add two columns to a SQL query region.
    These columns would not be sourced from the query, but rather would be used to execute a PL/SQL procedure.
    For example, I would like to have a manager approve or deny adding an additional employee to the department.
    There would be one button for APPROVE. And, one button for DENY.
    The PL/SQL procedure would execute to perform the required DML based upon the selected action (either APPROVE or DENY).
    A sample output would look like this:
    <APPROVE>, <DENY>, John Doe, Accountant
    <APPROVE>, <DENY>, Jane Doe, Accountant
    Is there any way to add a button to a SQL Query based report region where that button executes a stored proc? If so, what is the basic process for doing this?
    Thanks!
    -Reid

    Is there any way to add a button to a SQL Query based report region where that button executes a stored proc? If so, what is the basic process for doing this?Conditional page item? You can associate processes with buttons on a page

Maybe you are looking for

  • How do I stop iSync from attempting to sync to a phone that no longer exists?

    I recently graduated to an iPhone 4S.  I use iTunes excusively for syncing to that phone. My previous phone was a Sony Ericsson k850 (very similar to W850) and I was able to use iSync somewhat successfully. Now, whenever I do a sync through iTunes fo

  • PMS: Creation of new filter values

    Dear Reader, I am working on a PMS implementation where one particular appraisal template has multiple appraisers. The only way I can attach and identify between multiple appraisers is by creating new filters in table T77HAP_FLT_SEL. I plan to then u

  • New to sessions

    i need to open a session in first servlet and use its values in the second one... but i cant find really useful sample and .... i did it this way: ////////////////////in first servlet////////////////////////////////// HttpSession session = req.getSes

  • Very, very slow performance

    Lightroom's performance on my computer has become, at times, intolerably slow.  After rebooting my iMac and not opening any other programs or browsers, it just took about eight minutes to import 23 files, and a few more minutes to build 1:1 previews.

  • System locking up - trying to pin down why.

    Recently my Lenovo SL 500 has been locking up completely using Arch x86_64 running kernel 2.6.31-ARCH. Its complete system hang, not just X. In fact, the laptop actually flashes the capslock LED when it happens. So far, I have not been able to pin it