Cfselect not showing cfc bound data

I have a CFC that works fine. I can access it directly and get data etc. I even have it working find on another server with the same datasource. I am binding the cfc to a cfselect like so.
<cfform>
<cfselect name="category" bind="cfc:cfc.GetCategory.getCategory()" bindonload="true"></cfselect>
</cfform>
My cfc is located in a directory name cfc. The name is GetCategory.cfc and the method is getCategory. I an access it fine by goign to the URL as so.
http://siteurl/cfc/GetCategory.cfc?method=getCategory
It displays the data fine.
However when I try to look at the page the cfselect is on it shows me an empty drop down box with no selections. I can see using the cfdebug in the url that the cfc is being executed properly and returning data. It is just not showing up in the drop down. I have been banging my head against this one for a few days now so any outside eyes would be helpful. Anybody else run into this issue where the cfc works fine but does not appear to be binding to the cfselect for whatever reason? Keep in mind this code is working fine on another CF9 machine with a very similar setup.

Hedge-nfylYo wrote:
Ok I found something else interesting. I don't know what it means but maybe somebody here does. Here is a screenshot from both sites.
The one that is NOT working.
I noticed on the one that is working there is an additional checkbox at the bottom of the debugger screen for bind (I circled it in red) and on the site where the controls do not appear to be binding there is no such checkbox. I would think this leads weight to my idea that for whatever reason on the top screenshot the data is not being binded to the cfselect controls for some reason. The code is exactly the same. The databases are exactly the same. The only difference here is servers. Does this give any ideas?
The data appears to be coming in, so this should work. Furthermore, I see that the data represents an array of dimension [n][2], which is equivalent to a two-column result set, hence equivalent to a query. That's yet another reason why it should work.
Take a look at the following modified version of the example I gave earlier. It might contain themes relevant to your case.
Employee.cfc
<cfcomponent output="false">
<cffunction name="getEmployee" access="remote" output="false" returntype="array">
<cfset var getAllEmployees = queryNew("","")>
<cfset var arr = arrayNew(2)>
<cfquery name = "getAllEmployees" dataSource = "cfdocexamples">
    SELECT Emp_ID,  FirstName || ' ' || LastName as Name
    FROM Employees
</cfquery>
<cfloop query="GetAllEmployees">
<cfset arr[currentrow][1]=emp_id>
<cfset arr[currentrow][2]=name>
</cfloop>
<cfreturn arr>
</cffunction>
</cfcomponent>
selectEmployee.cfm
<cfform>
<cfselect value="emp_id" display="name" name="employee" bind="cfc:Employee.getEmployee()" bindonload="true"></cfselect>
</cfform>

Similar Messages

  • LOV does not show newly added data in the same session

    Hi guys,
    I work with JDeveloper 11g Release 2. We use Oracle ADF to develop our web app.
    In a page we have a LOV (say the page name is "a"). The related data for that LOV is inserted to the db in another page ( say the page name is "b").
    When new data is added in the page "b" and goes directly to the page "a" the LOV does not show newly added data. But if the user log out and log in again
    LOV shows newly added data correctly.
    Is there a way to show the newly added data in the same session without logging out? Please help.
    Regards !
    Sameera.

    Add the following method in your ViewRowImpl base class:
    public void refreshLOVAccessorQueries() {
        List lovs = getViewDef().getListBindingDefs();
         if (lovs != null) {
             for (Object obj : lovs) {
                getListBindingRSI((ListBindingDef)obj).getRowSet().executeQuery();
                 ListBindingDef lbd = (ListBindingDef)obj;
    Export that method to the Row Client interface, add him to the pageDef, and invoke in the executables section of the pageDef:
        <executables>
    <invokeAction Binds="refreshLOVAccessorQueries" id="callRefreshLOVs"
    RefreshCondition="#{!requestContext.postback and empty bindings.exceptionList}"/>
       </executables>

  • Iphone 4 Calendar date not showing the write date

    I just upgraded to the ios 5.1.1 from 4.2.1. I have a Iphone 4. After the upgrade, my iphone's Calendar date is not showing the right date. in order for the right date to show, I either have to re-start my iphone or I have to go into settings/general/date&time and turn off the set automatically off than on in order for it to show the right date. I didn't have this problem before the upgrade. I hope someone can help?

    I had a similar problem and then found that my calendar was not set for the right date and year.  Check that first.

  • BI publisher report is not showing all the data

    Hi All,
    I have created a report using BI Publisher in R12. The report is not showing all the records.
    I have checked the result XML it is also not having all the data. My query returns 846 rows but my report only has 662 rows.
    what might be the issue.please give me some idea to resolve this issue.
    Thanks in advance.
    Regards,
    P.Kalidoss

    Hi Arun,
    In the following code: public SelectItem[] getAllPrinters() {
    if (allPrinters == null) {           // allPrinters is not defined. what type of object it is
    PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
    allPrinters = new SelectItem[printers.length];
    for (int i = 0; i < printers.length; i++) {
    SelectItem printer =
    new SelectItem(printers.getName(), printers[i].getName());
    allPrinters[i] = printer;
    return allPrinters;;;
    Variable allPrinters is not defined. what type of object it is?
    And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
    value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
    id="soc1"
    autoSubmit="true">
    <f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
    </af:selectOneChoice>.
    Thanks.

  • Imported sealed Management Pack and its not showing up in Data Warehouse Job MPSyncJob

    Hello,
    When i try to Import a sealed Management Pack (with defined new Dimensions for Data Warehouse) it works fine, and it shows up under Management Packs under the Administration Pane. But its not showing up in the Data Warehouse Job "MPSyncJob".
    No errors in the Eventlog on the DW Management Server and cant see any errors in failed Data Warehouse Jobs either.
    I imported the MP three Days ago and still nothing.
    Now what?
    /Maekee

    I have a smaller SCSM Lab that i can import this MP in and the classes are created in the DW. Now is the question why its not working in my PreProd env and why i dont get any errors in the Event Log? Anyone that can Point me in the right direction for
    this?
    /Maekee

  • SAP workload monitor is not showing for particular date in Total Option

    Hi,
    In t. code ST03N (Work Load Monitor) data is not showing in option total for particular date but it is showing in all the instances.
    Please support
    Regards
    Ganesh Tiwari

    Hi Mamtha
    Does the same navigation work directly in the backedn? In RSRT?
    Pls try that, will halp narrow down your problem. WHether it is a data issue, whetehr it is a BW issue or whether it is a display issue.
    Regards
    Rajesh

  • LSMW - Read Data not showing in Converted Data

    Hi,
    I am using LSMW to load data from a flat file (via recording).  I have it working except I have one issue.  When I display the data in read data all fields are showing.  No errors popup when I select convert data.  When I select display converted data the last few fields are missing.  Any ideas why or how to fix this?
    Any help is appreciated as I do not know how to proceed.
    Thanks,
    Annette
    Edited by: Annette Ameel on Dec 4, 2008 5:37 PM

    HI Bush,
    Currently I am also facing the same problem. In "display read data" it is showing all the field values. No error msg in "convert data". But only 2 fields are displaying in "display converted data". not showing any values in rest of the fields. Kindly suggest me how you fixed this problem

  • Citadel 5 universe not showing under Historical Data

    I am trying to extract report for the History for Pump turn on/off point as well as history for the tank levels.  I was told to go to Lookout top line menu, select "Options", then "Historical Data Viewer", then click the Plus sign to the left of the "Historical Data" to show "Citadel 5 Universe".  Unfortunately "Citadel 5 Universe" does not show.  As a matter of fact, there is nothing shown when clicking on the Plus sign to the left of the "Historical Data".  Any suggestions?

    Lookout 5.1 was the last to use Citadel 4, it has a different procedure.
    This was a close a procedure I could find on the KB for NI:
    http://digital.ni.com/public.nsf/allkb/F35AE1A4A30ACED886257833005C4601
    Forshock - Consult.Develop.Solve.

  • BI page does not show me latest data..

    Hi,
    I have an application which continously updating the database which BI is referreing to.
    And I am observing my BI page, I dont see the updated data. It always shows me old data. The latest data gets reflected only when I do "Update row count" in Admin tool for rpd.
    Please help in resolving this.
    thanks
    Shubha

    This is a generic comment. Always have a caching strategy in place. BI EE is one of those unique toolsets that gives you wonderful caching mechanisms. But again if this is not properly used it can be a bane for most systems. So, if you are reporting out of a real-time transactional system where data changes in real time and also if you want to see ( as a report end user) these changes then disable the caching as Chino and Elio said. But if you are reporting out of a data warehouse where data changes after a weekly or a nightly cron job then just have caching in place for that period of time. You can purge the cache on a daily basis. Check my blog entry here http://oraclebizint.wordpress.com/2007/12/18/oracle-bi-ee-101332-scheduling-cache-purging/ for purging the cache. That should give you an idea. But again as always careful planning has to go through before deciding on the type of caching you would need.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Health app not showing heart rate data?

    The built-in Health app is not showing data from my heart rate monitor (HRM).
    I'm using a bluetooth 4.0 HRM (Wahoo Blue HR) on my iPhone 5S (iOS 8.3) The HRM shows as "Connected" in my Bluetooth settings and shows my heart rate within the Digifit and Wahoo Utility apps, so I know the HRM is working correctly. I've enabled Heart Rate Read/Write data for the Digifit and Nike+ Running apps within the Health app.
    The heart rate data never shows up in the Health app's Dashboard (or anywhere else in the Health app). Since it doesn't show up in the Dashboard, the data doesn't flow over to the Nike+ Running app, so my heart rate is blank there too. The Digifit app is set to write the heart rate data in the Health app, but that is not happening.
    How can I get the Health app to receive my HRM data?

    I take it you have already gone into the Health app and set up your Medical ID card, correct?
    The Medical ID card will show up on the Lock Screen password entry screen when Emergency option on the bottom left-hand side of the screen is clicked.
    It does not show up anywhere if you do not have a passcode lock on the screen.
    Cheers,
    GB

  • Date modified/Date Created/Date Added(timestamp) - not showing the actual date?

    In finder, none of the date info seems to be accurate.
    By example, I just downloaded a new app from a website (onyx in this case), todays date is Nov 13th and when I install the new app (i.e. drag and drop into Apps folders) in finder the Date modified says Nov. 1st, Date created says October 31. Should one of these columns not reflect the true date that the app actually got onto my mac? I understand that one of these clumns probably relfects the info contained within the downloaded app, but surely one column can tell me that I installed this app on November 13! The "Last opened" columns is the only "accurate" date column I have. (as I write this however, i've noticed that the 'Date Added column does say "Today").
    I gues my question is what columne reflect what the file itself has imbedded in it, and what relfects the actions i've done (I.e. installed the app on Nov 13)
    Any help would be very much appreciated. Note sure if this is somehting more worrisome or not, but i've had it for a while with no major issues other than frsutration of not understanding this. i'm on 10.7.2

    The Date Modified column for the Applications folder itself will reflect the actual installation date. The others aren't supposed to.
    (61530)

  • 1099 forms in SAP - not showing all the data

    Hello ,
    I exceuted  RFIDYYWT , it created the 1099 MISC form . However , some details are not showing up on the form like Payer's details , Fed ID number .
    It is only showing me, Recipients name and adress details and ID number.
    Would it be helpful if an ABAP'er would look into this.
    Please let me know , I am doing this for the first time .
    Thanks in advance.

    HI,
      Abaper should be able to help you in this. Give him the details from where he needs to get the details .
    1.Payer details (BUKRS ) from t001
    2.Address details for Payer from ADRC
    3. Payer's TIN from t001Z
    Thanks,
    Praneel.

  • Mini Calendar does not show the correct date

    Hi there ,
    in iCal on the bottom left side of the window is the mini Calendar, when I switch between months in this mini Cal,it does not show the correct month anymore and even the button "Today" can not revert the day back ( for example we are now in September, when I open iCal it shows it correctly but after going to next or previous months using the triangles on this mini Cal, the problem comes up ! )

    Maybe it wasn't receiving the correct info from your carrier. You're supposed to turn your phone off once in a while so the carrier can update stuff. I had originally heard that you should do it once a day but I never did that.

  • The percentage completed UI is not showing the correct data

    Hi All,
    I have received complaints from one of my larger customers that a very long form we have created is not showing the correct % completed at the bottom. They get to the penultimate page (the last page only have three text boxes on) and it state that only 41% of the form has been completed.
    It looks to me like the UI is not updating as the questions are being completed. Rather it waits until you move to the next page.
    This is what makes our form look rubbish - you are being told that you have only completed 41% of the form only to move on to the next page and bam, you only have three more boxes to complete.
    Can somebody help me out here.
    Thanks,
    Bill

    Hi Bill;
    I can take a look at your form but you are right that only the pages are accounted for in the percentage and not the form fields so it can be far off from reality.  If there is skip logic in a form that can make it vary more.  It is likely that it is working "correctly" (considering how we calculate) in your form but if you send me the link to your form at [email protected] I can see if it is not.
    Thanks,
    Josh

  • Custom attributes are not showing up the data

    Hi,
    I added couple of custom fields in UWL.
    I followed the following blog .
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/20379
    It is showing up the columns but there is no field values(data). It is with ECC system EHP4 and portal on EHP1.
    I used the business objectZBUS2078(copied from BUS2078).
    I tried to use the wizard too. Same problem. I tried to retrieve existing standards fields too (Description, priority kind) still  the values are not getting populated. But standard fields are working. The same standard fields when I tried to use as custom they are showing blank.
    Any Ideas. Am I missing any thing.
    Regards
    Mark

    Hi DIAdemUser1,
    This feature was indeed removed.  R&D felt like it caused more confusion than benefit, and I agree.  I do apologize to you and others who liked the feature that has now disappeared.  When DIAdem 9.0 released the custom properties in the Data Portal showed their data types, but that feature was also removed in favor of simplicity.  I often miss that feature, but it's for the greater good.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for

  • After 10.4.3 upgrade, problems resuming from standby

    I have a Powerbook G3 Pismo 400 MHz with 576 MB RAM. After upgrading to 10.4.3, every time I open the lid to resume from standby, the powerbook freezes, even when no programs are open. It shows the desktop as it was previously, but the mouse will not

  • Video plays on iPhone 3G, but not iPhone 2G or iPod Touch 1st Gen

    Hi all, We're creating videos to be played on iPhones and iPod touch's. The videos are working fine on my iPhone 3Gs but won't play on my iPod touch 1st gen or a 2G iPhone. I've had a look and the supported video list is exactly the same on all iPhon

  • Web Service API v.3 overview

    Post Author: yura.tkachenko CA Forum: Nsite There are a lot of calls available in Web Service API v.3, here is list of functions: login (create WS API session which is valid 15,30,60 minutes - actually depends of company settings). Return back to use

  • Can the Organization Type attribute be customized?

    Hi, all, I'm wondering if the OIM 11g "organization entity" can be customized so that its out-of-the-box "organization type" attribute can display more/different values. The out-of-the-box values are: Company, Branch, or Department. I need things lik

  • Nakisa OrgChart 3.0 SP1- Staged extracting only active employee

    Hi Experts, We have OrgChart 3.0 SP1 Staged environment. It extracts only active employees. Itu2019s not extracting other employee having other employment status (say inactive- employee who are on maternity leave for example). How we can set extracti