Accessing CFC in a different folder - no mappings

Hello, everyone,
I've got a project that I'm working on that has (basically) the following folder structure:
/       (webroot)
-main
----qry
----disp
-org
----qry
----disp
I've got a form in /org/disp that has a CFSELECT that I need to bind to a CFC in /main/qry.  I've tried "cfc:main.qry.cfcName.functionName(param)", and "cfc:/.main.qry.cfcName.functionName(param)", and I keep getting the "component cannot be found" error message.  How can I get this to work?
V/r,
^_^

Okay.. no one, here, told me that application.cfc is loading a variable for the web root, so using that did find the component.
HOWEVER, I am having another issue, now.
When the page loads, the select (which is supposed to populate based upon the value of another select) isn't populating, and F12 shows that there is an issue with a throw being uncaught.  The throw is NOT part of the try/catch in cfajax.js, apparently.  Is there a fix for this?
V/r,
^_^

Similar Messages

  • How to access beans from different folder

    hi guys,
    currently i have different folders in the webapps folder found in Tomcat 4.1. I was asked to centralised the codes(that is used in all JSP file) so that it will be easier for future maintainence. After realising that I cant use the jsp:include tag, I have plan to use JavaBean so that whenever the jsp page is called it will access the JavaBean to retrieve the arguments. I cannot retrieve the arguments from the URL directly because the JSP files are embedded in a portlet.
    So is there any way I can read the JavaBean when my jsp file is in the different folder???
    *Each folder in the webapps directory is a seperate context/web application.
    Any help is greatly n deeply deeply appreciated.

    As u have said i have to write myself (store data
    accessed across applications). Wat do you mean by
    that? Isit I have to store the values in a table
    first?Yes, that's the general idea. You will have to setup a db and
    some tables for shared data across applications (say one user signs
    on to one application and his credentials should be carried over when
    he accesses the other application via a link in the first). The
    implementation is very dependent on what it is that needs to be shared
    and other requirements around it (like, if its required to have a timeout
    value and so on). I have never done such stuff myself, but know of
    projects which do so quite succesfully.
    cheers,
    ram.

  • Servlet Accessibility on browser with servlet running on a different folder

    Hello everybody,
    I have all these executed on Tomcat Server 4.1 version.
    I have a servlet, say HelloServlet. I put it under the examples directory and execute it from the browser there is no problem.
    the path : http://localhost:8080/examples/servlet/HelloServlet.
    However, if I copy the same servlet to a different folder and try to execute it, I get a HTTP 404 error.
    Can I have an idea as to how the servlet that is available in a different folder be executed.
    here the url is
    http://localhost:8080/docprime/servlet/HelloServlet, wherein docprime refers to my folder where I have the servlet.
    Is there anything I should do with the web.xml file or properties file to do anykind of mapping.....etc..
    I have been struggling with this since yesterday, but not making any kind or progress..
    Kindly help..
    Thanks n regards,
    Sajiv
    Chennai, India.

    You would have add the vitual path in your server.xml. You could find this file under toplink config folder. Search for it in the toplink installation folder.
    Add a <context> tag with proper inofrmation such as the path etc. Check out the document http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html.
    HTH.

  • Archiving  file in different folder in sender file adapter

    Hi,
    I have a requirement in witch i have to pick 7 different file from seven different folder.
    for this I am using advance selection tab and defining all the other folder path.
    but my problem is I have to archive the different file in different folder .
    For exm..
    /folder1/file1.txt need to be archive in /archive_filder1/file1.txt
    /folder2/file2.txt need to be archive in /archive_filder2/file2.txt
    /folder3/file3.txt need to be archive in /archive_filder3/file3.txt
    can any one tell me that how to  define the dynamic  archive folder path??.
    regards,
    Navneet

    Hi Navneet
    In File Access parameters --> Target Directory
    Use this type of Directory name
    \XIDEV_STORES\%store%\sapoutbound
    here %store% will be changed accordingly
    e.g. if file will come for store 001 then this %Store% will be replaced by 001 and file will be placed in this 001 folder and if file will come for store 002 then this %Store% will be replaced by 002 and file will be placed in this 002 folder over FTP.
    For to achieve this Go to Advanced tab 
    For Variable Substitution check mark Enable
    Now speciofy the parameter values for Variable Name and Reference
    Under Vriable name specify = store
    Under Reference specify = payload:WP_PLU02,1,IDOC,1,EDI_DC40,1,RCVPRN,1     -
    You have to give full path name here that where this store variable is located into IDOC.
    Hope this example will help you
    Regards
    Dheeraj Kumar

  • Start webserver in different folder

    I've developed a compiled VI (Smarts-Net.exe) that was built to run in a specific folder (\Smarts-Net), and enabled the webserver to show the Smarts-Net.html page in that same folder.  So far, so good.
    The application received real-time data generated from another of our programs and generates graphics to show 'what's going on'.
    My customers would like to run multiple instances of my program for their customers, but want to isolate their Customer 'A' from Customer 'B' so that they can't view each other's data.  I can start up my applicaiton using different IP ports so that I can have multiple views, but I'd like to further isolate the end-customer's data into different folders.
    I've made a 'manager' program that will create a sub-folder from my main application's folder (\Smarts-Net) so that it would appear like '\Smarts-Net\JobA', and copies all files from the main folder into the new sub-folder.  I then modify the Smarts-Net.ini file with the new folder path and the new port number like this:
    [Smarts-Net]
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.servic="My Computer/VI Server"
    server.vi.propertiesEnabled=True
    WebServer.DirectoryIndex="index.htm"
    WebServer.LogEnabled=True
    WebServer.LogPath=C:\Smarts-Net\Logs\Smarts-Net.log
    WebServer.MimeTypes= (LOTS of Mime types in here ... I left out for this post)
    WebServer.Port=9501
    WebServer.Enabled=True
    WebServer.RootPath=C:\Smarts-Net\JobA
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=False
    After modifying the .ini file, I start up the application (Smarts-Net.exe) from the new folder.
    This is where I need some help.  If I try to view the VI from another computer using an address like http://snape:9600/JobA/Smarts-Net.html, I get a 'HTTP 404 - File not found' error.  But, if I try it at http://snape:9600/Smarts-Net.html, I get the VI's panel!
    So, it appears that I can change the Port in the .ini file, but not the RootPath.  Does anyone know of a way to get the html to load from a different folder than the one specified when I built the application?
    Solved!
    Go to Solution.

    I'm very glad if I was helpful.
    A word of caution:
    Nothing we have talked about here is a security mechanism. If you have two web servers on different ports they will still be available to anyone. In fact if they serve up the same document root then all web pages will be available at either port. Don't count on this as a way to keep one customer from accessing another customer's pages.
    For example:
    Lets say you set up one instance of your application for customer A. The document root is C:\Smarts-Net. The URL to customer A's page is http://computer:APort/jobA/A'sPage.html.
    Customer B also has a separate instance of the application but it us using the same document root, C:\Smarts-Net. Customer B's URL is http://computer:BPort/jobB/B'sPage.html.
    You have two web servers running on two different ports but since they are serving the same document root all the same pages are available. Customer A could navigate to the URL http://computer:APort/jobB/B'sPage.html.
    If you really need security you will have to setup something a little more sophisticated than just using a different port.
    Nathan
    Message Edited by NathanK on 02-19-2009 02:02 PM

  • Can i store vedios in different folder from my system in ipod nano 7G

    I copied vedios but all are coming in same place, please suggest ipod nano 7G, does it support placeing vedios in different folder, if then how i can do.

    Best advice: use two libraries in separate accounts and then use iPhoto Sharing to share the pics:
    For iPhoto 09 (version 8.0.2) and later:
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    Tha advantage to the above is that it's really safe, especially for new users. However...
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

  • Can any one tell me how can I move to a different folder pictures, that I've cloned, without them staying aggregated? They all come together to the other folder and I don't want that- thanks

    Can any one tell me how can I move to a different folder pictures, that I've cloned, without them staying aggregated? They all come together to the other folder and I don't want that… thanks

    There's more to it than that.
    Folders in Aperture do not hold Images.  They hold Projects and Albums.  You cannot put an Image in a Folder without putting it in a Project or an Album inside that Folder.
    The relationship between Projects and Images is special:  every Image must in a Project, and can be in only one Project.
    Images can be in as many Albums you want.  Putting an Image in an Album does not move it from the Project that holds it.
    You can make as many Versions from a Master as you want.
    What you want to do may appear simple to you, but it still much adhere to how Aperture works.  I still can't tell exactly what you are trying to do (specifically: Images don't live in Folders; moving an Image from a Folder is non-sensical).
    It can be very confusing (and frustrating) to get going with Aperture -- but it does work, and can be enormously helpful.  If you haven't, take a look at the video tutorials on Apple's Aperture support site.
    I feel as though I haven't helped you much -- but we need to be using the same names for interface items in order to get anything done -- and my sense is that you still haven't learned the names of the parts.

  • APEX Application accessing data from two different databases

    Hi All,
    Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
    I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
    Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
    Is it possible to configure this scenario?
    The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
    Thanks
    Nil

    1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
    2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
    3. I mean create synonyms on DB1 for reports VIEWS in DB2.
    Hope all is clear!

  • How do I set a different folder than the Windows MyDocuments/Downloads folder? I do not use 'My Documents' at all, all my saved files go to other hard drives for storage, and I do not want to bother with the My Docs route. I used to have downloads set to

    I want to set a different folder from the My Documents/Downloads folder for Firefox to put everything I download, like I used to have it. I recently rebuilt my computer and reinstalled everything from WinXP to security software to Firefox, and I cannot find any options anywhere to set a different folder like I used to have it... with the same software, other than it being a newer iteration of Ff. So tell me, am I losing my mind so bad that I just can't remember how I did it before, or have things changed so much that what I want is no longer possible? Please, someone tell me how to set it to do what I want, I can't stand to have what I do on my computer dictated by programmers who only think that they know what people want. If that sounds a little angry, I apologize with the disclaimer that I suffer from Post Traumatic Stress Disorder and therefore cannot handle frustration... and this kind of thing frustrates me to the point of rage.

    Tools > Options - General tab = Downloads
    Set your preferences there.

  • Heap dump file - Generate to a different folder

    Hello,
    When the AS Java iis generating the heap dump file, is it possible to generate it to a different folder rather than the standard one: /usr/sap// ?
    Best regards,
    Gonçalo  Mouro Vaz

    Hello Gonçalo
    I don't think this is possible.
    As per SAP Note 1004255;
    On the first occurrence (only) of an OutOfMemoryError the JVM
    will write a heap dump in the
    /usr/sap/ directory
    Can i ask why you would like it in a different folder?
    Is it a space issue?
    Thanks
    Kenny

  • In Organise Bookmarks/Search I want to move a search result bookmark into a different folder, but it "copies" rather than "moves" - how can I "move" it?

    Having got a list of bookmarks as the result of a Search in "Organise Bookmarks", I want to move one of the resulting bookmarks to a different folder.
    If I move the bookmark into a folder on the left hand pane - it copies it.
    If I hold the shift key down and move it - it copies it.
    If I hold the control key down and move it - it copies it.
    If I hold both the control and shift key down, the icon does change from a "+" sign to an arrow, but - you guessed it - it still copies it.
    All I want to do is a simple move!
    I'm probably doing something daft. Please let me know what it is!
    I'm using Firefox 17.0.1 if that's of any relevance.

    Hello mara1618, go from Firefox button > Bookmarks, touch the folder and when expand all folder bookmarks, drag the bookmark you want to another folder.
    thank you

  • My download are going to a different folder. They usually went to a folder named 'Downloads' and now they go to a folder named 'Temp', Why is this?

    Usually when i download something it goes to a folder named 'Download', however, now they go to a folder named 'Temp'.

    Get info on the drive.  What format?  FAT drives may be behave erratically for heavy-duty use of the kind you are doing. It's okay to leave a flash drive FAT formatted for light use but for heavy-duty file transfer I think you can encounter issues.
    iTunes does not look at files directly.  It maintains a database (library.itl) of the files in its collection.  When you play a track it looks up where that file is located and goes and plays the file in that location.  If you manually move a file or folder used by iTunes that database is no longer correct and you get broken links ( ! ).  If you want to move files or folders with iTunes you have to let iTunes do it.  Since iTunes is organizing your library there isn't much flexibility in what you can do other than move the whole collection to a different folder by changing the media location preference in preferences.
    Lion - Disk Utility - https://discussions.apple.com/message/16925522 - repairing your drive using Disk Utility on Lion's recovery partition.

  • How to save camera image in different folder (other than Camera Roll) in Ios?

    I am developing an App where I am taking pictures from the Camera but all the pictures get stored in the Gallery. I would like to store all the pictures taken in this app to be stored in a different folder so that when users view the pictures in the app, it should show only the pictures taken using the app. Currently, all the pictures of the Gallery are being displayed which I do not want.
    I want to create a folder, store camera pictures taken using the app in this folder then display all the images of the folder in the app.
    Any suggestions would be appreciated.
    Thanks in advance.

    Hi,
    try freshplanet/ANE-ImagePicker · GitHub.

  • How to generate & publish  webhelp html files in different folder than default folder

    Hi All,
    I am new to robo help. I have a requirement to generate & publish webhelp html files in a different folder than default folder.
    Could anyone please tell me the steps to change the folder
    Thanks
    Rashmi

    You change the generate folder and filename in the first field on the first page of the wizard. It must be a folder on your hard disk.
    You change the publish folder in the last page of the wizard. Anywhere you like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Archiving/zipping to different folder

    Hello
    Normally the Finder Archive function (accessible e.g. from contextual menu in Finder) archives to a .zip archive in the same folder as the original object being archived.
    The Finder Archive function use BOMArchiveHelper, which is in:
    /System/Library/CoreServices/BOMArchiveHelper.app/Contents/MacOS/BOMArchiveHelpe r
    So the same archiving can be achieved in an AppleScript by the following statement:
    do shell script "/System/Library/CoreServices/BOMArchiveHelper.app/Contents/MacOS/BOMArchiveHel per" "theUnixname"
    where theUnixname is the Unix name of the file or folder being zipped. This works.
    My question is the following: Is there any option to BOMArchiveHelper that permits the resulting file to be in a different folder than the original file or folder? This would permit archiving directly to another disk, e.g. an external hard disk, without first copying the uncompressed files or without using disk utility to make a compressed disk image.
    (The reason I would like to use the zip files is that they are more universal than the compressed disk images. And I want to use BOMArchiveHelper rather than another ZIP program such as ZipIT because the Macintosh structure with resource forks is preserved by BOMArchiveHelper in a way that still permits the ZIP archive to be opened on e.g. a Windows or Linux machine, which is not the case for the MacBinary implementation in ZipIt).
    Thanks in advance

    I think you can use a shell-like command in an AppleScript.
    In this command you could use gzip "sourcefile" > "targetfile"

Maybe you are looking for

  • Actual screen and Print preview are different.

    Good afternoon, I am trying to make a spreadsheet, and have inserted numerous check boxes.  On the screen itself, look great - but when I print preview it is like the text moves and the check boxes are in the middle of the words. I am using Excel 201

  • SSL with RNIF2.0 adapter

    Has anyone out there setup SSL and used it with the RNIF 2.0 adapter? I have setup SSL, got my server private and public key. I have added the certs provided by the other side in my own view of the keystore for organization purposes. I have some ques

  • How to get Page Count of pdf in Document library in EventHandler

    Hi, How to get Page Count of pdf in Document library once uploaded has been done and i would like to update the page count value in document library column of the corresponding file. I should achieve it in Event handler. Which even should i use, eith

  • Is it possible for a saved path to open a folder where the user can select the file to open?

    I would like to retieve a link via database that would open a folder of drawings, word documents, pdf files, excel files etc., where the user can select which file they want. Selected files would open in which ever format they were with programs that

  • N80 new firmware 5.0719.0.2

    does it fix the previous bugs? does it support EAP-LEAP/PEAP, finaly?