Dynamically loaded data in Auto Suggest

I'm loading data from the server with PHP for the AutoSuggest
Widget. Everything works great (and fast!).
Is there a way to add an additional URL parameter to the one
that is created for the AutoSuggest Widget (by default "prd")?
It obviously won't work when I add the URL parameter to the
data set constructor because it conflicts with the URL parameter
that is created by the Auto Suggest Widget's urlParam.
In other words, this wouldn't work:
new
Spry.Data.XMLDataSet("products.php?id=23,"products/product");
I tried to add it to the urlParam in the AutoSuggest
constructor script below the markup:
urlParam: "id=23&prd"
I was hoping that the above would create the following URL
parameter sting:
?id=23&prd=e (assuming that the first typed letter
would be "e")
since prd alone produces
?prd=e
But that doesn't seem to work either. Do you have any
suggestions?
Thanks!

Update:
I just found the solution:
It works when I'm not using the entity name but the actual
ampersand "&" in the URL parameter like this:
urlParam: "id=23&prd"
Obviously, I also have to set loadFromServer to 'true' to
correctly filter the record set (I forgot that at first).
Thanks for the great widget!

Similar Messages

  • How to dynamically load data from DB in an HTML control present in jsp

    Hi Friends,
    Can anyone help me with this problem:
    I am working on a portal application. My requirement is to dynamically load data in an HTML control present in my JSPs. The controls are combo-boxes, text-fields, list-boxes etc. . Also, the events to load the data are like On Form load, On selecting a value from the combo-box, on clicking on a text-field etc.
    If any one can help me with a code snippet, than that would be highly appreciable. If not then the approach to achieve this will also be helpful.
    Thanks and Regards,
    Gaive.

    Refer
    http://www.developer.com/db/article.php/3384201
    http://www.developer.com/db/article.php/10920_3399331_1

  • Srollpane scrolls when loaded data from XML, not when loaded data from ASP

    Hi,
    I load into scrollpane a swf, which has a dynamicly loaded
    data. If I use the XML file, it works (the scrollbar is visible),
    but if I use a asp file, which creates xml, it doesn't work (the
    scrollbar is not visible). Any ideas?

    Hi,
    let say I have a A.swf and a B.swf. In A.swf I have a
    scrollpane in to wich the B.swf is loaded. Below is the code in
    B.swf. If I load the data from a asp file, the scrollbar in the
    scrollpane is not visible, but if I use the xml file, the scrollbar
    is visible.
    What I've meant is that I think that Flash gets the same form
    of data, no matter if I use the asp or xml, because the asp creates
    the same xml form as I use in the xml file. I hope this makes any
    sense.

  • Mass change of LOADING DATE on Sales orders

    Hi
    Does anyone know how we can MASS CHANGE  the LOADING DATES on SALES ORDERS with MANY LINE ITEMS  - ALL WITH Different DELIVERY DATES
    So basically we are wanting to over-ride the loading dates which SAP suggests - which relates to the ROUTE
    I am aware that you can use EDIT > Fast change > delivery date  - but this would put all of the delivery dates then to be the same
    Your help would be much appreciated, as the Operatives are doing this line by line, order by order at the moment
    Many thanks
    Tony

    Dear Tony,
    Won't You able to change the same Via LSMW (or through BDC-Program)?
    Just check whether the T. Code: MASS, could be useful
    Best Reagrds,
    Amit

  • How to load data dynamically into target tables using files as a source

    Hi ,
    My scenario needs a single interface to load the data of 5 different files into five target tables using a single interface. All target tables have the same structure. It is possible to point to variable source files using ODI. But the same approach is not working with Database tables. I am getting errors while trying to make my target /source table as a dynamic one.
    Can anybody suggest anything. The last option would be writing a dynamic PL/SQL block in the KM. Any other suggestions friends ?
    Regards,
    Atish

    After creating a pair of identical source and target tables, I have carried out the following steps:
    I am trying just keeping the target as variable
    a)created a one to one interface,
    b)tested that it is running.
    c)created a variable(type =text),
    d)used the variable as #v_name in the resource of the target table datastore.
    e)in a package used the variable in a set variable step (first step).
    f) used the interface as the second step.
    g)executed the same in my context.
    the <project_code>.variable_name is not getting substituted in the sql_code that is generated by the KM. My KM is SQL Control Append and following is the code that it generates in the Insert into I$ step:
    /* DETECTION_STRATEGY = NOT_EXISTS */
    insert /*+ APPEND */ into HR.I$_JOBS_COPY1
         JOB_ID,
         JOB_TITLE,
         MIN_SALARY,
         MAX_SALARY,
         IND_UPDATE
    select      
         JOBS.JOB_ID     JOB_ID,
         JOBS.JOB_TITLE     JOB_TITLE,
         JOBS.MIN_SALARY     MIN_SALARY,
         JOBS.MAX_SALARY     MAX_SALARY,
         'I' IND_UPDATE
    from     HR.JOBS JOBS
    where     (1=1)
    and not exists (
         select     'X'
         from     HR.#PLAYGROUND."v_tab_name" T
         where     T.JOB_ID     = JOBS.JOB_ID
              and     ((JOBS.JOB_TITLE = T.JOB_TITLE) or (JOBS.JOB_TITLE IS NULL and T.JOB_TITLE IS NULL))
              and     ((JOBS.MIN_SALARY = T.MIN_SALARY) or (JOBS.MIN_SALARY IS NULL and T.MIN_SALARY IS NULL))
              and     ((JOBS.MAX_SALARY = T.MAX_SALARY) or (JOBS.MAX_SALARY IS NULL and T.MAX_SALARY IS NULL))
         )

  • I keep getting the following message every time i plug in my Iphone to Itunes on my windows vista computer  Itunes was unable to load data class information from sync services. reconnect or try again later.  any suggestions pls  Mario

    I keep getting the following message every time i plug in my Iphone3gs to Itunes on my windows vista computer
    Itunes was unable to load data class information from sync services. reconnect or try again later.
    any suggestions pls
    Mario

    The article says that I should upgrade to the latest iTunes. I am on the latest iTunes version.
    If you could read just a tiny little bit further, under the "Additional Information" section immediately after that, it says:
    If you are still experiencing this issue when syncing, or have not installed Xcode 4 and get this alert:
    Follow the troubleshooting steps in Mac OS X v10.5, v10.6: Resetting the SyncServices folder.
    If the issue is still unresolved, follow steps in Sync Services: Advanced troubleshooting for contact and calendar syncing.
    Have you tried those measures?

  • ........ Expert  suggestion needed for Loading Data in DB

    Hi all
    The current requirement we have is to Load data from Excel File to oracle Databases.
    The Excel file has around 30 Sheets , each corresponds to a table, ( means 30 tables in the database) .
    Currently we are using sqlldr commands to load data from CSV files to the Oracle Database. The only problem is that sometime the DBA has to go out or is busy workign on somthing else, so May i kindy get some expert suggestions on how to automate this DataLoading Task.
    Somebody has suggested to My Manager ( who is not aware of oracle and IT at all) that data can be loaded via ODBC. It is suggested to him that all we need to do is to place the CSV files on the Server at a particular folder and Oracle will do the rest.
    I am not that proficient in Data loading methods.. so may i know any technique which will simplify/automate the Task.
    I mean how can we automate so that every time , the the sql loader scripts run at command promt. I think data base ( Oracle ) as nothing to do with command promt i feel. isnt it ..
    Kindly have ur expert./experienced suggestions.
    I would be highly grateful to all
    Regards

    To automate sqlldr scripts, you would usually write a OS script file that will periodically looks for files in a given directory and run the sqlldr commands:
    - on Windows: .bat or .wsh files to be scheduled with "at" command or windows scheduled tasks tool
    - on Unix: a script shell in the crontab.
    Much more complicate but without any OS script:
    - write a PL/SQL code to read, parse the file to be loaded using UTL_FILE
    package
    - this PL/SQL code must also generate INSERT statements and process errors ...
    - this PL/SQL code can be scheduled with DBMS_JOB package to run a periodic intervals.
    Message was edited by:
    Pierre Forstmann

  • Dynamic loading tree and data grid

    Hi All,
    I new to java as well as JSF. I am very impressed with the jsf and Sun Java Creator IDE. I made a sample project.
    Now I want to load tree and data grid with dynamic values how can I achieve this.
    Please help to find out some examples.
    Also I need to know who I can use SOAP call using JSF.
    Thanks
    CSCS

    To dynamically load a Basic Table (ui:table) from a database, see http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents.html
    To dynamically load a Basic Table from other sources of data that are loaded into an array or such, see http://blogs.sun.com/roller/page/divas?entry=table_component_sample_project
    To dynamically CREATE a Basic Table, see http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/createTableDynamically.html and http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/add_component_to_table.html
    To dynamically create an HTML table on the fly, see section 7.5 in Chapter 7 of the Field Guide at http://developers.sun.com/prodtech/javatools/jscreator/learning/bookshelf/index.html
    To dynamically create a tree, see Dynamic Tree example at http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp.
    A tutorial for dynamically creating a tree from a database is work in progress.
    Hope this helps,
    Chris

  • Downloaded my iTunes library to a new computer.  Trying to sync my new iPad to the new computer. get err msg "unable to load data class info from sync services".  Any suggestions?

    I donwloaded my iTunes library to a new computer.  Trying to sync my new iPad to the new computer.  I get an error message "iTunes unable to load data class inormation from sync services."  Any suggestions from anyone?  Thank you.

    In the course of your troubleshooting to date, have you worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Loading data dynamically to XML file

    Hi ,
    1) in my project i need an xml file that loads data
    dynamically,i will get data using HttpService,
    How to do this ?Please Help me its urgent.
    2)Can i create an xml file that loads data dynamically using
    Flex???

    Just need to clarify if you mean to load your data FROM an
    XML file, which is relatively straightforward, or if you're saying
    you want to WRITE an XML file based on something that's happened in
    your application and store it on a server somewhere.

  • Create sql loader data file dynamically

    Hi,
    I want a sample program/approach which is used to create a sql loader data file.
    The program will read table name as i/p and will use
    select stmt will column list derived from user_tab_columns from data dictionary
    assuming multiple clob columns in the column list.
    Thanks
    Manoj

    I 'm writing clob and other columns to a sql loader dat file.
    Below sample code for writing clob column is giving file write error.
    How can I write multiple clobs to dat file so that control file will handle it correctly
    offset NUMBER := 1;
    chunk VARCHAR2(32000);
    chunk_size NUMBER := 32000;
    WHILE( offset < dbms_lob.getlength(l_rec_type.narrative) )
    LOOP
    chunk := dbms_lob.substr(l_rec_type.narrative, chunk_size, offset );
    utl_file.put( l_file_handle, chunk );
         utl_file.fflush(l_file_handle);
    offset := offset + chunk_size;
    END LOOP;
         utl_file.new_line(l_file_handle);

  • SprySuggest fails in IE with dynamic server data

    When using SprySuggest with dynamic server xml suggestions,
    the suggestions are never displayed in IE, if the XML response does
    not have the correct content-type. Code in SpryData.js attempts to
    handle this situation, but it did not work in my configuration,
    until I made the change shown below in bold.
    Spry.Data.XMLDataSet.prototype.xhRequestProcessor =
    function(xhRequest)
    // XMLDataSet uses the responseXML from the xhRequest
    var resp = xhRequest.responseXML;
    var manualParseRequired = false;
    if (xhRequest.status != 200)
    if (xhRequest.status == 0)
    // The page that is attempting to load data was probably
    loaded with
    // a file:// url. Mozilla based browsers will actually
    provide the complete DOM
    // tree for the data, but IE provides an empty document node
    so try to parse
    // the xml text manually to create a dom tree we can use.
    if (xhRequest.responseText && (!resp ||
    !resp.firstChild))
    manualParseRequired = true;
    else if ( (!resp) || (!resp.getElementById))
    // The server said it sent us data, but for some reason we
    don't have
    // an XML DOM document. Some browsers won't auto-create an
    XML DOM
    // unless the server used a content-type of "text/xml" or
    "application/xml".
    // Try to manually parse the XML string, just in case the
    server
    // gave us an unexpected Content-Type.
    manualParseRequired = true;
    if (manualParseRequired)
    resp = Spry.Utils.stringToXMLDoc(xhRequest.responseText);
    if (!resp || !resp.firstChild || resp.firstChild.nodeName ==
    "parsererror")
    return null;
    return resp;
    };

    Hi John,
    it is a known IE browser behavior for the files that don't
    have the content-type set on xml, that will not get be interpreted
    as text. So if you want to have your page working ok, you must
    assure that the server response contained an xml and not other
    content-type.
    Diana

  • Load data from URL

    Hello, i'm building my first pdf with Adobe Designer, in order to include dynamic documents to our existing application.
    My purpose is to load data from a url.
    My iis webserver show me an xml contaning user informations, grace to the windows integrated authentication.
    Here is an example node :
    I would like to load these informations in my dynamic pdf document, in order to auto-fill administrative documents for printing.
    Any idea or suggestion ?
    Best Regards

    Hello,
    try the following:
    http://sourceforge.net/projects/csvjdbc/
    or this one:
    https://xlsql.dev.java.net/
    Istvan

  • Load Data from a table on one server's database, to the same table structure in multiple server databases

    Hi,
    I have a situation where i have to load data from one server/database table to multiple servers/databases.
    Example:
    I need to load data from dbo.TABLE_A  (on Server: Server_A & Database: Database_A)  to the same table on the list of server databases like
    Server: Server_B , Database: Database_B
    Server: Server_C , Database: Database_C
    Server: Server_D , Database: Database_D
    Server: Server_E , Database: Database_E
    Server: Server_F , Database: Database_F
    Server: Server_G , Database: Database_G
    Server: Server_H , Database: Database_H
    so on and so forth on 250 such server database combinations.
    The table structure is the same on all the servers.
    If i make the source or destination dynamic, it throws an error while mapping ?
    I cannot get Linked server permissions and SQL Server Config thing doesn't work as well.
    Please suggest on how to load data from one source to multiple server/databases.
    Thank you.

    I just need to transfer one table's data. its like i have to use a query to pick data for
    the most recent data. So i use something like, select A, B, C, D from dbo.table where ETL_TIMESTAMP > (the max(etltimestamp) in the destination on different server). There are no foreign key relationships and the data should not be truncated. it just had
    to append the new records.

  • Need to load data from source .CSV files to oracle target database.

    Hi,
    This is the my scenario
    I have .CSV files in ftp folder and need to load the data into target tables.
    For that i need to create package and load the data into daily basis.
    But some time .csv file name will vary daily basis.
    can you any one suggest me???
    Thanks in Advacne.
    Zakeer

    Dear Roy,
    Thanks for your response
    Now I am able to extract the .zip file OdiUnZip (file). and loading data into target this is chapping in static way
    and my scenario is that some time i will get .zip files with different names with different .csv files
    i need to dynamically find the new .zip file and extract it and load the data into target.
    Please advice me..
    Thanks in advance
    Zakeer

Maybe you are looking for

  • How do I add an objectclass

    I am attempting to use OIM to sync values from AD. I am recieving the SAMAccountName and UserPrincipalName from AD and I want to push them into my newly provisioned user in OID. I am capturing the value into the core OIM user, however in my xel.log I

  • HTML Code for CD Distribution

    I have a number of folders (20) that contain subfolders with "x" number of pdf files in side each folder. I want to create a browsable list like a web site. I have created a site on the development machine which houses the files. Is there a easy way

  • Can't download JUNIT extension via "check for updates"

    Hi, since a few weeks (with jdev 11.1.1.1.0 and jdev 11.1.1.2.0) I can't download e.g. JUNIT extensions via "check for updates". I have to enter a password but authentication is not possible. Even when I reset the passord (via "find password") it doe

  • Prompt dependant on the other prompt

    Hi All, I have prompts which has year and quarter on the top and after 2 sections which has reports we again have a day prompt for the remaining 2 reports.How can I make day prompt to be dependant on year and quarter.My requirement is not to place th

  • Interest in develop DBMS

    i am about to start in develop' a simple dbms, and i hope there are dev's interested in this subject, and whom could make this old idea a new one with something special. in my way, i guess with xml there's something that can be done, hihi. I am waiti