Cfbind within a cfselect - How to have multiple values in display propery?

I am binding a cfselect tag to a CFC, it's working as expected but I want to have more than one value populating the display="" part of the 2nd cfselect.The CFC returns a query of company information based off of the activty_id sent in.
This is what I currently have (roughly):
<cfajaxproxy cfc="mysite.templates.cfc.companies">
(this is working fine)
<cfselect name="activity_id" bind="cfc:mysite.templates.cfc.companies.fncActivity()" display="activity_name" value="activity_id" bindonload="yes" />
Here's where I want to display more than one value. This works as shown below but I want display="company_name company_city company_state" in the cfselect instead.
<cfselect name="company_id" bind="cfc:mysite.templates.cfc.companies.fncCompany({activity_id})" display="company_name" value="company_id" />
In debugging the CFC I am getting this returned:
Bind failed for select box company_id, columns matching the value or  display attributes specified on the cfselect tag are not present in the  query
Is this possible?

The display attribute can only reference a single column. Concatentate the values together under a single column in your query. Then use the new column name in your bind.

Similar Messages

  • How to implement multiple Value Helps within the same Application ??

    Dear Experts,
    I want to implement multiple value helps in the same view.For that I have declared exporting parameters of type 'wdy_key_value_table.' within the component controller for each of the value helps.While I do activate and test the application I get the following error :
    The following error text was processed in the system HE6 : A row with the same key already exists.
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 4 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: IF_PO_VIEW1~VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: WDDOINIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    I dont know how to implement multiple value helps.Need your help on this.
    Regards,
    Mamai.

    Hi
    Hint is : A row with the same key already exists it means , It is assigning the same value/Key to row and you are calling it at WDDOINIT  so it giving error at the time of initialization .
    Better way to do the coding at some event in view OR if not possible than just execute the first value help in wddoinit later clear all the value before gettig the other Value help. Code it at WdDoModify View to get its run time behaviour.
    BR
    Satish Kumar

  • How to have multiple images on the same screen? like in the movies where you see several actions at

    how to have multiple images on the same screen? like in the movies where you see several actions at the same time ....
    i don't find  a tutorial in adobe tv....
    thanks !!

    The short answer is that you'll put the source clip(s) for each inset on a different video track, all stacked up. Then use the Scale and Position effects (under "Motion" on the Effect Controls panel) to reduce their size and place them where you want.
    If the content of an inset will involve edited content (where you're cutting among various clips or just trimming out unwanted content from a single clip), then you'll probably find it easier to do all those edits in one sequence, then nest that sequence in the master sequence, where you apply the Scale and Positioning effects. That will save the step of applying the scale and position effects to each edited track item.

  • How to have multiple orders for a single contract

    Hi all, my question is:
    How to have multiple orders with respect to a contract which is valid for many years? The orders are given periodically over the lifetime of the contract. Once the order is given, the order quantity needs to be confirmed and then the order needs to be billed.
    Thanks in advance.

    Hi Bappaditya,
    To get multiple orders from a contract, you can either create an order as a follow up document from the contract
    Or
    Maintain the contract determination settings.
    In such a case, everytime you create an order the contract determination happens, for the particular business partner and product.
    For this to happen you need to maintain the customizing settings:
    1. Copy Control between contract and order
    2. Contract determination setting in the order transaction type
    The qunatity confirmation can be done by standard setting at itme category level.i.e. If the quantity is more than that stated in the contract an error is raised.
    For billing of order you will have to maintain the billing setings like billing type, biliing item category, billing item determination.
    Hence every time your order is created it comes in the billind due list from where you can create the blling document.
    Wish the information is helpful.
    Regards,
    Shalini Chauhan

  • How to use multiple values in an IF condition in RTF

    Hi,
    I have a scenario as mentioned below.
    IF column value in ('A','B')
    display C;
    end if
    IF column value not in ('A','B')
    display D;
    end if
    My query is how to provide multiple values in an IF condition.?
    Thanks,
    Anand

    But suppose "x.jar" needs a library from "y.jar". How do you put another JAR on the classpath of an applet in a Web page?
    <applet code="z.class" archive="a.jar,b.jar,c.jar">

  • How to select multiple values from a listbox

    Hi,
    I have a list box on my UI which is not allowing me to select multiple values
    I want to use multi select list box .. When i go to source of UI component and change that to select many listbox my page is not rendering it is giving error
    When i drag & drop the component i am unable to drop it as a multi select list box that option is not coming.
    I am working on Jdev 11.1.1.3 and I am using ADF/BC components
    How to select multiple values from a listbox ?
    Thanks,

    Hi,
    I want to use multi select list box .. When i go to source of UI component and change that to select many listbox my page is not rendering it is giving errorank
    And what is the error ?
    Frank

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • How to get multiple values using HttpSession.getAttribute(java.lang.String)

    Hey Guys
    I'm trying to find a way to get multiple values using the following method
    HttpSession.getAttribute(java.lang.String)
    Here's the scenerio. Its a already written application and now i'm trying to make some changes. earlier in the jsp page a combo box was used and value was retrieved in the servlet using the getAttribute method of Session. Now I'm using a html multiple selection list and have to retrieve all the values selected in the list in the servlet. Can anyone please suggest me how to do that. HTTPRequest class has a method getParameterValues which will let me do that but i have to do is using HTTPSession.
    Thanks for your time to read this

    I'm not sure what you are trying to do. You can only use session.getAttribute to retrieve something that has already been stored in the session with a previous setAttribute. If you need to store multiple values under one attribute name using setAttribute, you can store an array, or an ArrayList or whatever type of Collection you want. The request.getParameterValues method is the only way you can retrieve form parameters than can have multiple values. If the servlet hasn't already processed these parameters and put them into the session for you, you have to use request.getParameterValues.

  • How to select multiple values from the parameters in BI Publisher report

    How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...

    Hi kishore,
    I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
    Iam able to get the results when I am selecting one value..
    and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
    ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
    1.Single selection.
    2.Multiple selection.
    3.'ALL' Values.
    4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
    Ex:
    Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
    Expected Output on the report:ACCOUNT,HR,SALES
    reply to this would be much appreciated....
    thanks,
    manoj

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • How to assigne multiple value in key of read table

    Hi gurus,
    I want read table xxxx with key field1 = ' xxx' or field1 = 'yyy'.
    how to assign multiple value as key for the same field while reading internal table.
    Regards
    sagar

    Hi ,
    You can loop the internal table like
    loop at  <table xxxx> where field1 = ' xxx' or field1 = 'yyy'
    or you can write two read statements to read the internal table in wrk area.
    read table   <table xxxx> with key field1 = ' xxx'.
    if sy-subrc <>0
    read table   <table xxxx> with key field1 = 'yyy'.
    if sy-subrc = 0
    endif.
    else.
    do your data processing.
    endif.
    Thans.

  • How to have multiple VideoMASTER devices

    I currently have an application that makes color bar measurements.  This VI (seen below) was quickly written just to see how well it does a color bar measurement.  One thing that I realized is that I can't programmatically select a different video analyzer.  Our test setup will actually have multiple video analyzers (PXIe-1491s) in one PXIe chassis and I will need to run VMS functions on different devices.  From what I'm seeing is that there is no way.  In case you are wondering why I just simply don't use an HDMI switch is because we are already one but we have time requirements that need us to test X amount of units per time.
    Attachments:
    NI VMS Color Bar.vi ‏37 KB

    I tried the VI what I have previously posted to acquire 2 images simultaneously from a different device and I saw this error, "niMMT Manager - Handle Repository.vi, possible reason: niMMT Manager error: niMMT handle has become invalid. This could be because the first niMMT caller has stopped execution."  I get the impression that the VMS LabVIEW API can't handle simultaneous calls. 
    I have attached a screenshot as well as the VI.
    Attachments:
    Acquire HDMI Image.vi ‏42 KB

  • How to have multiple windows of same app under JSF 1.1

    I know this has been addressed in JSF 1.2, but does anyone have a good solution in JSF 1.1 concerning how to allow multiple application instances to be opened in different browser windows at the same time? I work for a large financial services company and we have multiple instances of the same application up when working with more than one customer or account at the same time.
    We�ve figured out a way to use a custom variable resolver and property resolver to provide an application instance scope that works with managed beans; however, we are struggling with how to handle the JSF component tree. We can replace the StateManager or ViewManager, but we will be running under a vendor implementation of JSF and do not want to outright replace their implementation. We wanted to simply define our own manager, decorate the viewId with additional information, and then pass it on to the default manager. The big issue is that while the restoreView methods take the viewId, the writeState methods do not. This seems like a pretty big show stopper to us. If we have to wait until JSF 1.2, it will be a long wait. Any ideas?
    Thanks.

    The way I'm thinking of doing this is to use nested beans. So for example, I'd have an "AccountBean" written as a JSF managed bean, but this is not what I'd declare in faces-config. Instead, I'd have an "AccountMgr":
    <managed-bean>
    <managed-bean-name>acctMgr</managed-bean-name>
    <managed-bean-class>AccountManager</managed-bean-class>
    </managed-bean>AccountManager would have a map of AccountBean objects. In my pages, I'd reference the acctMgr:
    #{acctMgr.accts[acctEditor.acctId].firstName}If anyone has a better idea, I'd love to hear about it.

  • How to have multiple inputs for a Pic Ring?

    Alright, I've got this program in which there is a pic ring with multiple pictures on a tab page on the Front Panel. And on the Block Diagram the Pic Ring receives a number through a numeric indicator. There are multiple boolean variables set up and depending on which one is true that dictates which number the indicator pushes on to the Pic Ring. However, I can only connect one boolean up to the indicator at a time. If I connect mutliple wires to the indicator the wires become broken immediately. I have a screen shot depicting the setup in the Block Diagram.
    Anyway, my question is basically how to setup a numeric indicator for a Pic Ring to have multiple inputs?
    Attachments:
    PicRing Multiple Inputs.jpg ‏319 KB

    Shogun,
    You will probably need some sort of case structure to determine your input.
    It looks to me like you are searching a common string for whether it contains Valve1, Valve2, Valve3 and so on.  Depending on which one it finds you are outputting that picture.  I would need more information as to what exactly you were doing, but I might look in the string for "Valve" then a number and feed that output into a case structure.  For instance if you find Valve3 in the string you send the input corresponding to Valve3 into the picture ring
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • How to have multiple movies show in same window on same web page

    Hi folks,
    Here's what I mean: I have a web page with several pix on left side, and an embedded QT player window on the right. I want my users to click on one of the pix, and the associated quicktime movie shows up in the player window and starts playing (see player code below--pretty standard).
    So far, the only way I can think of to do this is to have multiple identical pages, the only difference being each one of them has a different movie in the "embed source" tag (so when you click on one of the pics it takes you to the new page, but to the user it will appear as if it's the same page).
    But for ease of modifying this page in the future (which I'll be doing a lot), I'm looking for a more elegant solution. Anyone know of a way to do this, using scripting or...??
    Thanks in advance for any suggestions.
    player code:
    object codebase="http://www.apple.com/qtactivex/qtplugin.cab" name="movietitle" alt="quicktime movie player" width="320" height="256">
    <param name="controller" value="true" />
    <param name="autoplay" value="true" />
    <param name="pluginspage" value="http://www.apple.com/quicktime/download/" />
    <embed src="movies/light1qt6.mov" width="320" height="256" name="movietitle" controller="true" autoplay="true" pluginspage=" http://www.apple.com/quicktime/download/"></embed>
      Mac OS X (10.3.9)  

    This is beyond anything I have ever tried. But I think I know what you have in mind, and you should be able to do it using JavaScript. I did it with still images on this page:
    http://capital2.capital.edu/admin-staff/dalthoff/adventures/tr2005/ohfair2.html
    You would need to give the movie container a name so that you can access it from JavaScript, and you have the added problem of needing to control the QuickTime object from JavaScript. Have a look at the QuickTime JavaScript API; it might be helpful:
    http://developer.apple.com/documentation/quicktime/Conceptual/QTScripting_JavaSc ript/index.html
    In spite of the code on that gallery page I linked above, I really don't speak JavaScript, and I barely understand how my own code works. But I think JavaScript will allow you to do what you want to do, and you can probably even write a custom controller for the movie right into your web page.
    --Dave Althoff, Jr.

Maybe you are looking for

  • Certificate not Trusted Exception

    Hi, I am trying to invoke Axis soap call from webshpere (my requirement is to trust all certificates), but getting certificate not trusted exception. Appreciate any suggestions for fixing this issue. Code: public String transport(String strMessage, S

  • Full Backup

    Help me understand. What is considered a Whole backup? Is a Whole backup the same as a full backup... the same as a cold backup? If I have different drives, should I backup everything on each drive or should I only backup certain files? If only certa

  • Missing printer drivers - can't add new drivers

    I printed without any problems yesterday. Last night, I applied the latest drivers via Software Update (a lengthy list that just came out within the last week, including 10.4.8) and now all my printer drivers are gone. I have 2 printers connected dir

  • NFL Mobile on DINC2

    I just got the DINC2 and I'm wondering what parts of nfl mobile are free and what parts i have to pay for? i know i have to pay for live games but other videos seem to be free, there was no promp to pay for those. (this is a 3g phone)

  • Blue screen, or Green screen - which is less problematical

    Setup: Canon HV20, FCP6.1, MBPro 2.33 I have a Blue screen and am considering getting a Green screen. The Blue, being pretty dark, seems to cause problems for the camera, esp. with contrast with the actor that make for tricky lighting. Just curious i