Working with cascading list in jdevloper 10.1.2

hi all:
i followed this tutorial for cascading lists
http://www.oracle.com/technology/products/jdev/tips/mills/cascading_lists.html
my browser is javascript enabled still the two lists won't be updated unless i added a submit button,i want the lists be updated automatically,can anyone help...

I don't have a canned solution but a quick google search turned out this:
http://www.mail-archive.com/[email protected]/msg78319.html
You might want to check with the guys who are forcing you to use the old 10.1.2 if they are aware of the fact that 10.1.3 has hundreds of new features and that it too can deploy applications to OAS 10.1.2.

Similar Messages

  • Sharepoint list dataheet view error "Cannot connect to the server at this time. You can continue working with this list, but some data may not be available"

    I have a List which is having around 14000 items in it.while opening that list in datasheet view it is giving error .
    Below is a summary of the issue:
    After selecting datasheet view beow error occurs:
        "Cannot connect to the server at this time.  You can continue working with this list, but some data may not be available."
        "Unable to retrieve all data."
        The item counts displays say 100 out of 14000 items.
    Exporting List to excel is giving only 2000 records out of 14000 records.
    Other Observations   -  
    This is happening to only one list on the site .There are other lists in the site whose no. of records is equal to 8000 to 9000.They are working absolutely fine without any error.
    Also, If I am saving this list as a template and creating another list with it ,then it is working absolutely fine with 14000 records,so the issue does not seem to be related with no. of records as the template list is working fine.
    I have checked the Alternate access mapping setting ,its fine.
    It should not be related to lookup,datefield or any other column as the list created from it template is working fine with all these columns.
    I checked below links also ,but doesn't seem to work in my case.
    http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/974b9168-f548-409b-a7f9-a79b9fdd4c50/
    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/thread/87077dd8-a329-48e8-b42d-d0a8bf87b082
    http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneral/thread/dc757598-f670-4229-9f8a-07656346b9b0

    I have spent two days to resolve this issue. Microsoft has released two KBs with reference to this issue...but are not appearing in search results at the top.
    I am sharing my finding.
    1. First install the
    KB2552989 (Hopefully you might have already installed it. The KB detetcts it and informs the user.)
    2. Then update registry by adding new key for data fetch timeout as mentioned inKB2553007
    These two steps resolved the issue in our environment. Hope it might help others as well.
    Pradip T. ------------- MCTS(SharePoint 2010/Web)|MCPD(Web Development) https://www.mcpvirtualbusinesscard.com/VBCServer/paddytakate/profile

  • Data Sheet View - Cannot Connect to Server at This Time. You can continue working with this list, but some data may not be available

    After a couple of years of trouble free operation, one of the lists in our SharePoint Foundation site suddenly (overnight) started presenting the error against Datasheet views on lists.
    The view returns a large number of items when working correctly c.6K - however Throttling Settings have been adjusted accordingly some time ago without detrimental affect on SharePoint users and network in general. As admin and therefore throttling at 20k
    items the error message still presents.
    The view was working fine at 4:30pm Wednesday 27/3, but was returning the error at 8:30am the next morning. To my knowledge very few items (if any) had been added to the list between those times and no system level changes had been made (SharePoint,
    SQL Express, or virtual Windows 2008R2 server).
    The problem is most apparent on 2 lists in SharePoint. I've checked that the settings within SharePoint admin are set to deal with queries that should accommodate the
    number of rows that are returned by the views associated with that list. It is still possible to create new items to the list and access data via 'standard views' that are presented with groups that are collapsed.
    Items in Documents Libraries on other parts of SharePoint and within the same subsite can be accessed at what feels like pretty normal speed -though small query size
    may mean the problem is masked to a large extent.
    More Specific
    The lists still open in Standard View -though much more slowly than was the case before the above error started to present.
    List Details
    Referrals Tracker (10,442 items) -the list was 10,420 something items on Wednesday when all was working fine.
    LD Tracker (4,390 items)
    Both lists have grown incrementally over the period of a couple of years rather than by adding a block of data to the list. Items are added/ updated one at a time using the associated
    form or directly into cells within a datasheet  view.
    That it is also experienced against the smaller list suggests to me that the number of items in the Referrals Tracker is not the main factor here.
    In attempting to resolve the issue I have managed to get datasheet views working that deliver 100 items and c2k items. Both views present much more slowly than we would normally expect.
    Throttling Settings
    List view limit - 12K items - has been this high for some time without damaging SharePoint performance across the company.
    Actions Taken So Far (no improved performance seen)
    The SharePoint Foundation WSS Content DB did was closer to the 10GB SQL Express limit earlier this month, however a clear down and rationalisation of versioning settings
    was undertaken to ensure that did not become a problem going forward.
    We did a Shrink on Thursday (the day the issue started presenting) to rationalise whitespace as all indicators were that this was where the problem may lie, but this has
    not resolved the problem.
    The WSS Content DB now sits at c5.5GB.
    What I Need to Know
    1) I'd like to understand what is causing the problem?
    2) What the fix is? or,
    3) How I might go about diagnosing the problem further to arrive at a fix.
    With all the above, I'm part wondering if the problem is related to the virtual server or poss SQL Express related rather than being a 100% SharePoint issue?

    Hi
    afearn,
    More often this is related to columns which are not editable by user, some columns are not editable in datasheet view. Please check if there is any new column addition and then you started getting this issue.
    Also datasheet view displays all items on same page so definitely it takes little long time then load in standard view.
    Let us know your results, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Problem while working with shuttle lists in APEX 3.2

    Hi all,
    My requirement is to populate a table whose SQL DDL is:
    CREATE TABLE "C_BIA_MOD_PROD_LINE_VER_REL"
    (     "PRODUCT_LINE_VERSION" VARCHAR2(100) NOT NULL ENABLE,
         "MODULE_CODE" VARCHAR2(100) NOT NULL ENABLE,
         CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_PK" PRIMARY KEY ("PRODUCT_LINE_VERSION", "MODULE_CODE") ENABLE
    ALTER TABLE "C_BIA_MOD_PROD_LINE_VER_REL" ADD CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_FK1" FOREIGN KEY ("MODULE_CODE")
         REFERENCES "C_BIA_MODULE" ("MODULE_CODE") ENABLE;
    ALTER TABLE "C_BIA_MOD_PROD_LINE_VER_REL" ADD CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_FK2" FOREIGN KEY ("PRODUCT_LINE_VERSION")
         REFERENCES "C_PRODUCT_LINE_VERSION" ("PRODUCT_LINE_VERSION") ENABLE;
    Now in the CREATE form of C_BIA_MODULE, I have added a region and an item, of "Shuttle list type" for PRODUCT_LINE_VERSION. For the button CREATE, I have prepared the PL/SQL as:
    DECLARE
    prodlinever_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
         prodlinever_selected := APEX_UTIL.STRING_TO_TABLE(:P4_PRODUCT_LINE_VERSION);
         FOR i IN 1..prodlinever_selected.count
         LOOP
              INSERT INTO C_BIA_MOD_PROD_LINE_VER_REL (MODULE_CODE, PRODUCT_LINE_VERSION)
                   VALUES (:P4_MODULE_CODE, prodlinever_selected(i));
         END LOOP;
    return true;
    END;
    The question is where to use this PL/SQL? The "Conditions" column under "Edit Page Buttons" SHOULD not have this. Also, the "database action" options are not sufficient to populate by selections in a table other(C_BIA_MOD_PROD_LINE_VER_REL) than the current table page (C_BIA_MODULE) . Any other approach? Please help. Insufficient info given in user guide.
    Thanks
    -Bhavesh
    Edited by: Bhavesh Agarwal on Jul 14, 2009 12:26 AM
    Edited by: Bhavesh Agarwal on Jul 22, 2009 10:08 PM

    Thanks Varad it worked, with the debug output is:
    0.00: A C C E P T: Request="CREATE"
    0.00: Metadata: Fetch application definition and shortcuts
    0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -05:00
    0.02: Fetch session state from database
    0.03: ...Check session 3821879497713545 owner
    0.03: ...Check for session expiration:
    0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 19562, page 21
    0.03: ...Validate item page affinity.
    0.03: ...Validate hidden_protected items.
    0.04: ...Check authorization security schemes
    0.04: Session State: Save form items and p_arg_values
    0.04: ...Session State: Saved Item "P21_MODULE_CODE" New Value="bhavesh"
    0.04: ...Session State: Saved Item "P21_MODULE_NAME" New Value="bhavesh test"
    0.04: ...Session State: Save "P21_MODULE_DESCR" - saving same value: ""
    0.04: ...Session State: Save "P21_INSTALLED_FLAG" - saving same value: ""
    0.04: ...Session State: Save "P21_CREATED_BY" - saving same value: ""
    0.04: ...Session State: Save "P21_CREATION_DATE" - saving same value: ""
    0.04: ...Session State: Save "P21_LAST_UPDATED_BY" - saving same value: ""
    0.04: ...Session State: Save "P21_LAST_UPDATE_DATE" - saving same value: ""
    0.05: ...Session State: Save "P21_LAST_UPDATE_LOGIN" - saving same value: ""
    0.05: ...Session State: Saved Item "P21_PRODUCT_LINE_VERSION_CODE" New Value="SBL80:SBL811"
    0.05: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.05: Branch point: BEFORE_COMPUTATION
    0.05: Computation point: AFTER_SUBMIT
    0.05: Tabs: Perform Branching for Tab Requests
    0.05: Branch point: BEFORE_VALIDATION
    0.05: Perform validations:
    0.05: Branch point: BEFORE_PROCESSING
    0.05: Processing point: AFTER_SUBMIT
    0.05: ...Process "Process Row of C_BIA_MODULE": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:C_BIA_MODULE:P21_MODULE_CODE:MODULE_CODE|IUD
    0.05: ...Do not run process "reset page", process point=AFTER_SUBMIT, condition type=, when button pressed=DELETE
    0.05: ...Process "Process Shuttle of C_BIA_MODULE": PLSQL (AFTER_SUBMIT) DECLARE prodlinever_selected APEX_APPLICATION_GLOBAL.VC_ARR2; BEGIN prodlinever_selected := APEX_UTIL.STRING_TO_TABLE(:P21_PRODUCT_LINE_VERSION_CODE); wwv_flow.debug('Count=' || prodlinever_selected.count); --DELETE FROM C_BIA_MOD_PROD_LINE_VER_REL w
    0.05: Count=2
    0.05: Adding..SBL80
    0.05: Adding..SBL811
    0.05: Branch point: AFTER_PROCESSING
    0.06: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: (Unconditional)
    0.06: ...Unconditional branch taken
    0.01:
    0.01: S H O W: application="19562" page="20" workspace="" request="" session="3821879497713545"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.03: ...Setting session time_zone to -05:00
    0.03: NLS: Language=en-us
    0.03: Application 19562, Authentication: CUSTOM2, Page Template: 839820919892290442
    0.03: ...Session ID 3821879497713545 can be used
    0.03: ...Application session: 3821879497713545, user=BHAVESH
    0.03: ...Determine if user "BHAVESH" workspace "711335503583907939" can develop application "19562" in workspace "711335503583907939"
    0.03: ...Check for session expiration:
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 19562, page 20
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.04: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: Processing point: BEFORE_HEADER
    0.04: Show page template header
    0.04: Computation point: AFTER_HEADER
    0.04: Processing point: AFTER_HEADER
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Report on C_BIA_MODULE
    0.04: using existing session report settings
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Report on C_BIA_MODULE
    0.04: using existing session report settings
              Rows                    
    * Select Columns
    * Filter
    * Sort
    * Control Break
    * Highlight
    * Compute
    * Aggregate
    * Chart
    * Flashback
    * Save Report
    * Reset
    * Help
    * Download
         Create      
    Edit
    select
    null as apxws_row_pk,
    "MODULE_CODE",
    "MODULE_NAME",
    "MODULE_DESCR",
    "INSTALLED_FLAG",
    "LAST_UPDATED_BY",
    "LAST_UPDATE_DATE",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select "MODULE_CODE",
    "MODULE_NAME",
    "MODULE_DESCR",
    "INSTALLED_FLAG",
    "CREATED_BY",
    "CREATION_DATE",
    "LAST_UPDATED_BY",
    "LAST_UPDATE_DATE",
    "LAST_UPDATE_LOGIN"
    from "#OWNER#"."C_BIA_MODULE"
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    0.05: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
    0.06: Printing rows. Row window: 16-30. Rows found: 15
    0.06: Computation point: AFTER_BOX_BODY
    0.06: Processing point: AFTER_BOX_BODY
    0.06: Computation point: BEFORE_FOOTER
    0.06: Processing point: BEFORE_FOOTER
    0.06: Show page tempate footer
    0.06: Computation point: AFTER_FOOTER
    0.06: Processing point: AFTER_FOOTER
    0.06: Log Activity:
    0.07: Execute Count=88
    0.07: End Show:
    Can you please tell me what is wwv_flow.debug ???
    Also, now when this is done, I want to come to my second doubt i.e.
    when I click EDIT on the C_BIA_MODULE report, I would like to show my right side of shuttle being populated from the associated PRODUCT LINE VERSIONS (info present in C_BIA_MOD_PROD_LINE_VER_REL), how can I do that, I have tried writing a process for fetching the rows under Page Rendering section, but it didn't work. As C_BIA_MOD_PROD_LINE_VER_REL has two columns MODULE_CODE, PLV_CODE both Foreign keys, so combination of them is a PK here, so while creating a process, I input these two columns in primary and secondary key column values. On the right side of shuttle, it shows me the values I associated last time on this page (so have to delete this cache element also)
    Thanks Varad

  • Not able to get ADF select many checkbox working with binding lists

    Hi,
    I have 2binding lists: list A that holds the selected choices and list B for all the choices. When the user opens the page, a list of checkbox should be displayed all the choices from list B with the saved ones pre-checked from list A. When the user changes the selection, the binding list A should be updated.
    I tried to use ADF select many checkbox but could not get it working for this.
    There are 2 big issues:
    1, can get all the choices from binding list B displayed but not able to pre-check the ones from list A.
    2, when the selection changed, not able to updated list A with the new choices
    I find some sample but it is talking about saving the selected choices into the managed bean not into binding object and using valueChangeListener. How to implement this in ADF? Please help.
    Thanks,
    Helen

    Helen,
    I don't think you can do this with a select many checkbox. This component works on one list whereas you want to handle two. You may archive this if you use a managed bean and handle all the list manipulation in java.
    Your use case more looks like a select many shuffle (http://docs.oracle.com/cd/E18196_01/11.1.2.0.0/lovs.html).
    Timo

  • Working with Large List in sharepoint 2010

    Hi All
    I have a list with almost 10k records in my sharepoint list and based on some business requirement i am binding (almost 6k records) the data to asp.net grid view and this will visible on the home page of the portal where most of the users will access. Can
    someone please guide the best method to reduce the performance inorder the program to hit the SP list everytime the page loads...
    Thanks & Regards
    Rakesh Kumar

    Hi,
    If you are Working with large data retrieval from the content database (SharePoint list), the points below for your reference:
    1. Limit the number of returned items.
    SPQuery query = new SPQuery();
    query.RowLimit =6000; // we want to retrieve2000 items
    query.ListItemCollectionPosition = prevItems.ListItemCollectionPosition; // starting at a previous position
    SPListItemCollection items = SPContext.Current.List.GetItems(query);
    2. Limit the number of returned columns.
    SPQuery query = new SPQuery();
    query.ViewFields = "";
    3. Query specific items using CAML (Collaborative Markup Language).
    SPQuery query = new SPQuery();
    query.Query = "15";
    4.Use ContentIterator class
    https://spcounselor-public.sharepoint.com/Blog/Post/2/Querying-a--big-list--with-ContentIterator-and-multiple-filters
    5. Create a Stored Procedure in Database to get the special data, create a web service to get the data, when create a web part to show the data in home page.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Working with 2 list boxes in a tableview

    Hai Friends,
    I have a table view in which the first column is a dropdown listbox and second column is also another dropdown list box.
    Case1: I am working with first row of the tableview
    I am selecting a value say 'Q' in the the first dropdown and its corresponding values say (Q1,Q2,Q3.....) which has to be populated in the second dropdown of the same row.
    Case2: I am working with second row of the tableview.
    I am selecting another value say 'D' in the the first dropdown and its corresponding values say (D1,D2,D3.....) which has to be populated in the second dropdown of the same row.
    I am now coming to the problem that i am facing now.
    Note: i have selected Q in the first row and its corresponding values is Q1,Q2....!
    When i am selecting 'D' in the second row ( D1,D2,D3...) i am getting D1,D2,D3 in the second dropdown <b>in both rows</b>.
    Actually i have to keep Q and corresponding values Q1,Q2... in the first row as i have selected 'Q' in the first row allready. when i am selecting another value value D in second row , first row values should be kept as such with Q and corresponding values Q1,Q2....., and second row should be D with D1,D2,D3.....
    Now i am getting
    Q                              D1,D2,D3
    D                              D1,D2,D3
    Actually it should be
    Q                               Q1,Q2,Q3
    D                               D1,D2,D3
    Problem i am facing is in the iterator class method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START
    when 'secondfield'.
    Here i am getting values from cookie that i have set in the do_handle_event of the controller.
    Given, code that i have written in iterator class method.
    WHEN 'ETYSHT'.
    **************dropdownlist box**************************************
    IF p_edit_mode IS not INITIAL.
            DATA: etysht TYPE string.
            etysht = m_row_ref->etysht.
            p_replacement_bee = cl_htmlb_textview=>factory( text = etysht ).
            dropdownlistbox = cl_htmlb_dropdownlistbox=>factory( id = p_cell_id ).
            CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
              EXPORTING
                name                  = 'COURSEGROUP_TO_COURSETYPE'
                application_namespace = application_namespace
                application_name      = application_name
                username              = sy-uname
                session_id            = session_id
                data_name             = 'COURSEGROUP_TO_COURSETYPE'
              CHANGING
                data_value            = itl_cstypenew.
            GET REFERENCE OF itl_cstypenew INTO m_locid_ref.
            dropdownlistbox->table     = m_locid_ref.
            dropdownlistbox->nameofkeycolumn   = 'ETYID'.
            dropdownlistbox->nameofvaluecolumn = 'ETYSHT'.
            dropdownlistbox->selection = m_row_ref->etyid.
            dropdownlistbox->onselect          = 'click'.
            p_replacement_bee = dropdownlistbox.
          ENDIF.
    Looking forward for your valuable suggestion.
    Thanks & Regards,
    Renju.

    Hi Renju,
    I see that you retrieving your drop down values from a cookie but I do not see any code where you are actually selecting the data that you need for second drop down box...
    I mean when Q is selected in the first row...you should be reading only values related to Q in the firs dropdown and then popualte them. Similarly when user is on the second row and selecting D - the you should read values realting to D only (in this case D1, D2, D3). This should help you in keeping the values of the first row and second row as expected. Let me know if this works.
    Cheers

  • Getting null returned when working with Linked Lists

    Ok, i'm having the same problem with a couple of methods that deal with linked lists, and i was hoping someone could lend me a hand. First off, the specifications for one of the methods:
    An iterative procedure smallElements
    PARAMETERS: a ListItem reference, ls
    an integer n
    RETURN VALUE: a new list identical to the given list, except
    that it contains no occurrences of numbers greater than n.
    for example, given input list ( 3 2 6 3 4 ) and 3,
    the return value would be the list ( 3 2 3 )
    And here is my code:
    ListItem smallElements(ListItem ls, int n){
    ListItem small = null;
    ListItem result = small;
    if(ls == null)
    return null;
    else{
    while(ls!=null){
         if(ls.number <=n){
         result = new ListItem(ls.number, null );
         result = result.next;
         ls = ls.next;
    return small;
    Like the topic says, i keep getting null returned as a value. I have tried setting small= new ListItem(ls.number, null), and that actually returns the correct list, except that the first number is repeated twice. I would greatly appreciate any assistance.

    I am not sure I understand your code. What exactly are those ListItems? It seems to me that you are dealing with single List elements, while the specification says that you are supposed to return a List.
    But the main error is that you have two ListItem objects there, which seems to fill the same purpose - only that you use one, and return the other. 'small', which is the one you return, never get set to anything else than null.
    I think you should do something like this: make a new, empty list to return
    for element in parameterlist
        if number is smaller than n
            add this element to returnlist
    return returnlist

  • Performance issues when working with huge lists

    I’ve got a script that reads a large CSV spreadsheet
    and parses the data into a list of the form [[A1,B1,C1],
    [A2,B2,C2], [A3,B3,C3]] and a second list of the form
    [#A1:B1,#A2:B2,#A3:B3] etc… The actual spreadsheet is about
    10 columns x 10,000 rows. Reading the file string goes fast enough,
    the parsing starts off fast but slows to a crawl after about 500
    rows (I put the row count on the stage to check progress). Does
    anyone know if the getaProp, addProp, and append methods are
    sensitive to the size of the list?
    A sample of one of the parsing loops is below. I’m
    aware all interactivity will stop as this is executed. This script
    is strictly for internal use, it crunches the numbers in two
    spreadsheets and merges the results to a new CSV file. The program
    is intended to run overnight and the new file harvested in the
    morning.

    > Does anyone know if the getaProp, addProp, and
    > append methods are sensitive to the size of the list?
    Is this a trick question? Sure they are. All of them.
    Addprop and append are quite fast (due to the list object
    scalable
    preallocating memory as required), so i doubt that they are
    the cause of
    the problem.
    GetAProp will search each item in the list, therefore, if you
    are
    searching for the last item, or if the item is not in the
    list, the more
    the items, the slower the command.
    Didn't go through all your code but I noticed
    - this: repeat with rowCount = 2 to file2string.line.count
    Big no-no! Line counting is a very slow operation for it to
    be a
    evaluated in a loop.
    - and this: myFile2data.append(myLineData)
    String operations like this require memory reallocation, and
    therefore
    are very slow. If you do conclude that such an operation
    causes the
    problem, consider using a preallocated buffer (create a big
    string in
    advance) and then use
    mydata.char.[currentoffset..(currentoffset+newstr.length)]=newstr
    This can make code run even hundreds times faster, compared
    to the
    append method.
    Applied CD wrote:
    > I?ve got a script that reads a large CSV spreadsheet and
    parses the data into a
    > list of the form [[A1,B1,C1], [A2,B2,C2], [A3,B3,C3]]
    and a second list of the
    > form [#A1:B1,#A2:B2,#A3:B3] etc? The actual spreadsheet
    is about 10 columns x
    > 10,000 rows. Reading the file string goes fast enough,
    the parsing starts off
    > fast but slows to a crawl after about 500 rows (I put
    the row count on the
    > stage to check progress). Does anyone know if the
    getaProp, addProp, and
    > append methods are sensitive to the size of the list?
    >
    > A sample of one of the parsing loops is below. I?m aware
    all interactivity
    > will stop as this is executed. This script is strictly
    for internal use, it
    > crunches the numbers in two spreadsheets and merges the
    results to a new CSV
    > file. The program is intended to run overnight and the
    new file harvested in
    > the morning.
    >
    > writeLine("File 2 Data Parsing" & RETURN)
    > myOrderColumn = myHeaders2.getOne("OrderNum")
    > myChargesColumn = myHeaders2.getOne("Cost")
    > myFile2data = []
    > mergedFedExCharges = [:]
    > repeat with rowCount = 2 to file2string.line.count
    > myLineData = []
    > repeat with i = 1 to
    file2string.line[rowCount].item.count
    > myItem = file2string.line[rowCount].item
    > if i = 1 then
    > myItem = chars(myItem,2,myItem.length)
    > end if
    > myLineData.append(myItem)
    > end repeat
    > if myLineData.count = myHeaders2.count then
    > myFile2data.append(myLineData)
    > myOrderSymbol = symbol("s" &
    myLineData[myOrderColumn])
    > myCurrentValue =
    getaProp(mergedFedExCharges,myOrderSymbol)
    > if voidP(myCurrentValue) then
    > mergedFedExCharges.addProp(myOrderSymbol,0.00)
    > end if
    > mergedFedExCharges[myOrderSymbol] =
    mergedFedExCharges[myOrderSymbol] +
    > value(myLineData[myChargesColumn])
    > writeUpdate(myLineData[1])
    > else
    > writeError("file 2 : " & string(myLineData) &
    RETURN)
    > end if
    > end repeat
    >

  • JEditorPane working with Cascaded Style Sheets

    I am using a JEditorPane to display HTML pages and having difficulty getting CSS files to work. The CSS file is an external file and is being picked up by the JEditorPane and displaying the CSS information for HTML.Tags.
    But it is ignoring any user defined tags, e.g. span.productName { font-family: Arial Black; font-size: 12pt }.
    With the HTML code generate being: <P>The <span class="productName">test</span> asks you to identify your name</P>
    Has anyone gotten this to work? Is user defined tags not supported? Or am I not setting something up correctly?
    The code fragments are below.
    Thanks in advance,
    Roy
    I am creating aJEditorPane by:
    myHelpText = new javax.swing.JEditorPane();
    myHelpText.setName("HelpText");
    myHelpText.setEditable(false);
    myHelpText.setEditorKit(myHelpText.getEditorKitForContentType("text/html"));
    I have also setEditorKit( geHTMLEditorToolKit) ).
    private HTMLEditorKit getHTMLEditorKit(){
    if( myHTMLEditorKit == null){
    myHTMLEditorKit = new HTMLEditorKit();
         try{
    StyleSheet ss = getStyleSheet("help/flighttrainer.css");
    editorKit.createDefaultDocument();
    editorKit.setStyleSheet(ss);
    }catch(Exception e){
         e.printStackTrace();
    return myHTMLEditorKit;

    Hi Roy,
    the SPAN tag is not supported in Java so far. To use it in JEditorPane you would have to subclass JEditorPane, HTMLDocument and HTMLDocument.HTMLReader (if you like to save HTML files including SPAn tags, subclass HTMLWriter too).
    My application SimplyHTML gives an example of how to do this. Please visit http://www.lightdev.com/dev/sh.htm for details.
    Ulrich

  • Excel Services with SharePoint List Data in SharePoint 2013 - Chart is not refreshing automatically

    Hi Everyone,
    This is My req: I m going to display pie chart and Bar chart in share point 2013.
    Steps I have follwed:
    1. Export the list to excel.
    2.Using the Power Pivot table I have done the chart.
    3. Uploaded into document Library.
    4. Added into the web part. 
    Chart are displaying. But When ever user added the data into the list chart is refreshing.
    Is there any option to refresh the data in chart? Waiting for valuable replies.
    Regards, Manoj Prabakar

    SharePoint lists as data sources in Excel Services is not supported.That's the reason refreshing is not working. There are some work around you can use  -
    Export as Data Feed - Export your SharePoint list as Data Feed , use this data feed to a PowerPivot for Excel workbook and publish this PowerPivot using Excel Services.
    User-defined functions  - write UDF in C# and extend the Excel Services functionality to work with SharePoint lists.
    https://msdn.microsoft.com/library/bb267252(office.12).aspx#Office2007ExcelServicesUnlimited_SharePointLists
    Web Services API -
    The Web Services API can be used to push data from a database and then refresh the data in a SharePoint Server list by using Excel Services.
    JavaScript Object Model - The JavaScript Object Model for Excel Services in Microsoft SharePoint Server 2010 provides many solutions for Excel Services.
    More details  - 
    https://technet.microsoft.com/en-us/library/gg576960.aspx
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Can't get my Ea65000 to work with my harddisccase

    Can't get my router to reognize my usb3.0 ssi 1359ru raid kabinett.
    Is there no support for that kind of device?
    i'm on version 1.1.28.XXXX version

    It might not work since the router will be confused which drive to read. It may work though if the drive is configured as one large disk. You may also want to check the list of hard drives tested to work with EA6500: List of tested USB hard drives and printers for the Linksys Smart Wi-Fi Router, EA6500.

  • Is there a way to view/work with cookies outside the Firefox browser?

    Hi! I am looking for some help with understanding more about the cookies.sqlite file. I use to add/remove cookies in bulk to the exceptions list when I used the cookies.txt file however now that I am unable to use a text pad to quickly paste the names of cookies, I am finding trying to modify my exception list has become quite tedious. I was wondering if I would be able to use another method to view/work with the list of cookies outside of the Firefox browser? Thank you in advance for your help!

    You would need an SQLite manager program to open the cookies.sqlite file and inspect it.<br />
    However exceptions are no longer stored in the cookies.sqlite database, but in one permissions.sqlite database file.
    You can give it a first try with the SQLite Manager extension if you don't have one yourself yet.
    *SQLite Manager: https://addons.mozilla.org/firefox/addon/sqlite-manager/
    *ExExceptions: https://addons.mozilla.org/firefox/addon/exexceptions/

  • Problem with "Row-specific or Cascading Lists in Table Layout"

    Hello, friends!
    I have read article "Row-specific or Cascading Lists in Table Layout" written by Steven Davelaar. I have maked several table layouts with this technique and it worked fine.
    But now I have one problem, and this problem is very strange. One of VOs for which I use this table layouts throw exception after commit changes on first LOV attribute (Deptno). First time it was error
    (oracle.jbo.ReadOnlyAttrException) JBO-27008: for atribute mgrList
    at oracle.jbo.AttrValException.<init>(AttrValException.java:112)
         at oracle.jbo.ReadOnlyAttrException.<init>(ReadOnlyAttrException.java:40)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:815)
         at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
    Then I setted updateable property of MgrList attribute to always and now i have this error:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:java.util.List with value:[{}]
         at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:721)
         at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:85)
    I don't know why, but all worked fine yestarday. And same code works fine for another VOs. And article Test application works fine too.
    Help me, please.
    Thank you.

    <table id="OsnovaniyaPrikazEnd" model="${jhsTableBindings.OsnovaniyaPrikazEnd_1B}" detailDisclosure="${uix.eventResult.detailData}" partialRenderMode="multiple" partialTargets="messageBox _uixState " proxied="true" alternateText="${nls.NO_ROWS_FOUND}" width="50%" rendered="${bindings.newGroup_end2Iterator.findMode!='true'}">
    <tableFormat tableBanding="rowBanding"/>
    <contents>
    <formValue value="${uix.current.rowKeyStr}" name="rowKeyStr" id="${ui:concat('OsnovaniyaPrikazEnd:rowKeyStr:',uix.current.tableIndex)}"/>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'Id')}" text="Id" required="yes"/>
    </columnHeader>
    <contents>
    <messageTextInput id="${ui:concat('OsnovaniyaPrikazEnd:Id:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.newGroup_end2Id)}" text="${uix.current.OsnovaniyaPrikazEndId}" name="Id" promptAndAccessKey="&Id" rows="1" maximumLength="1" columns="1">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </messageTextInput>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'IdPrikaz')}" text="IdPrikaz"/>
    </columnHeader>
    <contents>
    <messageTextInput id="${ui:concat('OsnovaniyaPrikazEnd:IdPrikaz:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.newGroup_end2IdPrikaz)}" text="${uix.current.OsnovaniyaPrikazEndIdPrikaz}" name="IdPrikaz" promptAndAccessKey="&IdPrikaz" rows="1" maximumLength="1" columns="1">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </messageTextInput>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'IdOsnovanie')}" text="&#1053;&#1072; &#1086;&#1089;&#1085;&#1086;&#1074;&#1072;&#1085;&#1080;&#1080;"/>
    </columnHeader>
    <contents>
    <messageChoice id="${ui:concat('OsnovaniyaPrikazEnd:IdOsnovanie:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.IdOsnovanie)}" name="IdOsnovanie" promptAndAccessKey="&IdOsnovanie" selectedValue="${uix.current.newGroup_end2IdOsnovanie}">
    <contents childData="${jhsTableBindings.Osnovaniya_not_viewVO_1T.rangeSet}">
    <option value="${uix.current.Id}" text="${uix.current.Text}"/>
    </contents>
    <primaryClientAction>
    <firePartialAction event="whenListChanged" formSubmitted="true" unvalidated="true" targets="${ui:cond(uix.current.isNewRow,'OsnovaniyaPrikazEnd', 'OsnovaniyaPrikazEnd')}"/>
    </primaryClientAction>
    </messageChoice>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'IdMoves')}" text="IdMoves"/>
    </columnHeader>
    <contents>
    <messageChoice rendered="${uix.current.ListLength>'1'}" id="${ui:concat('OsnovaniyaPrikazEnd:IdMoves:',uix.current.tableIndex)}"
    model="${ui:cond(uix.current.isNewRow,null,uix.current.OsnovaniyaPrikazEndIdMoves)}" name="IdMoves" promptAndAccessKey="&IdMoves"
    selectedValue="${uix.current.newGroup_end2IdMoves}">
    <contents childData="${uix.current.MovesList.inputValue}">
    <option value="${uix.current.Id}" text="${uix.current.Fam1}"/>
    </contents>
    </messageChoice>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" columnDataFormat="iconButtonFormat"/>
    <columnHeader>
    <text text="&#1059;&#1076;&#1072;&#1083;&#1080;&#1090;&#1100;?"/>
    </columnHeader>
    <contents>
    <checkBox name="deleteRow" value="ok"/>
    </contents>
    </column>
    </contents>
    </table>
    Thank you.

  • Cascading List Item does not work proprely

    In HTMLDB 2.0
    I have two list item
    The first one: :P7_TYPE (select list with branch to page)
    The second: :P7_PERIOD (select list)
    The Query of the :P7_PERIOD use a where clause on :P7_TYPE
    There is also two button at the bottom of region that will work once the two list (P7_TYPE and P7_PERIOD) are filled.
    Note: Both Query are based on shared compenent LOV.
    So I would like the page refreshed once the P7_TYPE values is choosed so the P7_PERIOD show only the valid values.
    The problem is when I select from the P7_TYPE List, the page is refresh but instead of displaying the page 7 again, it display another page of the application.
    I realise it always display the page number according to the value of the P7_TYPE.
    For exemple, if in P7_TYPE is choose (type desc 4, value 4) then the page 4 is displayed.
    I want the page 7 to be resfresh, not another page. So I can have a cascading list that work with P7_PERIOD.
    ??

    Ok, I change the list for list with submit instead and it work.

Maybe you are looking for