How do i implement dynamic feature like arraylist in an array

how do i implement dynamic feature like arraylist in an array

funny
but can u realy give me that code

Similar Messages

  • Best Practices for highly dynamic features like Search

    For a project I need to implement a "Search" Component which will most probably use lucene that is built into CQ5. Since most of the other content on the site is dynamic and cached on dispatcher my concern is regarding the load such a dynamic feature will create for the publish instance.
    What are the best practices to minimize the load on publish instance for such a scenario?

    One option is to have your search results display via AJAX rather than a full page request. That way most of the page is cached in dispatcher and only the AJAX request with the search results is dynamic.

  • How can I implement a datagrid like this

    I would like to implement a datagid as the attached picture. This datagrid will have some money columns and I would like to summary of money at the last row. Just only the last row.
    Thank you very much

    refer
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=11471
    http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Advanced_DataGrid
    http://www.onflex.org/ted/2007/06/flex-3-wednesday-components-and-sdk.php

  • How would you implement a page like this?

    Hello
    When you look at www.autoweek.nl you see a little down 6 tab pages (Alle Rubrieken - Autonieuws etc.)
    My question is about the way you could implement the contents of one tab page.
    Would the content be several html regions (one for every message), or would it be a report? Or even something else?
    I'm struggling with the number of items. When I choose a html region for every news item I have a fixed number of HTML regions, which is not flexible.
    A report gives me this flexibility but is not that easy to layout?
    See also: http://www.autoweek.nl/nieuwsindex.php
    Any suggestions appreciated!
    Regards Erik
    Edited by: Erik Trip - Darwin IT on Nov 5, 2010 9:04 AM

    I would say a region per Tab and inside the Tab it is a report.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to add "On Top" feature

    Hello,
    How can I add on top feature in my desktop application?
    Also, how can I add a feature like this, It runs and cover entire background, all other application will run above it but it will remain as a background on desktop.
    Thanks in advance.
    Regards,
    Amit

    Are you try to replace the explorer.exe in win system.

  • Dynamic tabs like the one on Developer Center

    I'm looking to learn how to build the dynamic tabs like on
    the link below:
    http://www.adobe.com/devnet/
    When you hit each tab the content comes up on the same html
    document....layers maybe?
    thanks for helping,
    Sasha

    Try this:
    http://www.fourlevel.com/product/ipanel/index.htm
    I have it. Just deployed it on a new site. I love it and 4
    Level's support
    is top notch.
    Walt
    "Sasha is in d house" <[email protected]>
    wrote in message
    news:er9rjt$9ql$[email protected]..
    > I'm looking to learn how to build the dynamic tabs like
    on the link below:
    >
    http://www.adobe.com/devnet/
    >
    > When you hit each tab the content comes up on the same
    html
    > document....layers maybe?
    >
    > thanks for helping,
    >
    > Sasha
    >

  • How can I implement the connection pool in my java stored procedure

    my java stored procedures (in database 'B') have to connect to another oracle database ,let's say 'A'. And how can I implement the behavior like the so-called connection pool in my java stored procedure in 'B', as below.
    1. database B, has 2 java stored procedures sp1 and sp2
    2. both sp1 and sp2 connects to databse 'A'
    whatever I call the sp1 and sp2 and the database 'A' always only one connected session from sp1 and sp2 in database 'B'.
    THANKS A LOTS...

    my problem is I have a lots of java stored procedures need to cnnect to the remote oracle db, and I hope the remote db can only have a connected session from my java stored procedures in my local db. I try as below
    class sp{
    static Connection conn=null; //the remote db connection,
    public static void sp1(){...}//procedure 1, using conn
    public static void sp2(){...}//procedure 2, using conn,too
    I can 'see' the 'conn' variable if I invoke the sp1() and sp2() from the same client application(maybe sqlplus). But if I invoke the sp1() from client 'A' and invoke sp2() from client 'B' then the sp1() and sp2() can not see the 'conn' variable for each other. I think it's because the two clients cause oracle to create two instances of the class 'sp' and the sp1() and sp2() located in different instance seperately. Thus the sp1() and sp2() can not see 'conn' for each other. They can only see its own 'conn'.
    To connect to the remote db from the java stored procedure is easy but is it possible to connect to the remote db via database link from the java stored procedure at my local db ? If so, then I also archive my goal .
    BTW , thanks a lots...
    andrew :-)

  • How sessions are implemented on server

    Hi All,
    Can anyone please tell me how sessions are implemented on server like JRun, WebLogic, WebSphere or in general ?
    Thanks & Regards,
    Kumar.

    A common way to implement sessions in web servers would be something along the lines of...:
    1) When a browser accesses the webserver, the webserver sends a cookie with a session id to
    the browser.
    2) The webserver creates an instance of some proprietary class that implements the
    javax.servlet.http.HttpSession interface (comes with J2EE)
    3) The webserver stores the session instance in a java.util.Map instance using the session id as the key.
    4) When the browser hits the web server again, the cookie containing the session id is also sent, and
    the web server knows which session instance to use when processing this request.
    5) If the browser doesn't have cookies enabled, URL rewriting can be used. URL rewriting means that
    the webserver adds the session id as a parameter to every link in the web application. Thus, whenever
    the browser accesses the server again, the session id will be part of the URL, and the web server will
    know what session instance to use when processing the request.
    6) The webserver has a thread checking the session instances regularly to see if they are still valid,
    meaning if their timeout limit hasn't been passed since the last request. If a session has expired it will
    be removed. If a browser accesses a server with an old session id, the server will send a new cookie
    with a new session id to the browser.
    7) If the web server is part of a cluster, the session instance must be stored in a central database so all
    web servers can access it, or the session must be replicated from the current server to all other servers in the cluster, whenever the values in the session instance changes.
    Though I'm not an expert on Java web servers, I believe the, or variations of the above of course, will be how it's done.
    Hope this gives you an idea.
    Jakob Jenkov
    www.jenkov.com

  • What do you need to do in your bean for implementing dynamic QL?

    Do I need to add an import for QueryHome? Also, what is query home?
    I got the bottom code for dynamic QL on a bea website, but it doesn't work in
    giving me problem for QueryHome (can not resolve symbol). How do I implement dynamic
    QL in weblogic 7.0.
    InitialContext ic = new InitialContext();
    RolesHome rHome = (RolesHome)ic.lookup("");
    QueryHome qh = (QueryHome)rHome;
    String ejbQL = "SELECT DISTINCT OBJECT(o) FROM users AS o," + " IN(o.forRoleID)
    AS r" + " WHERE r.iD = " + getID() +
    filter + orderBy;
    Query query = qh.createQuery();
    Thank you
    Ronak Parekh

    Hi,
    How are you doing?
    Try the following:
    o Let's try a very simple query such as: SELECT OBJECT(o) from users o
    o Next, try query.find(ql) instead of query.find(ql, properties)
    Best regards,
    -Bart Simpson
    "Ronak" <[email protected]> wrote:
    >
    Bart,
    Thanks for the help.
    This is the code that I am trying to implement:
    Object[] arguments;
    Properties myProp = new Properties();
    for(int i = 0; i < arguments.length; i++)
         myProp.setProperty(String.valueOf(i), String.valueOf((arguments)));
    InitialContext ic = new InitialContext();
    RolesHome rh = (RolesHome)ic.lookup("RolesHome");
    QueryHome qh = (QueryHome)rh;
    String weblogicQL = "SELECT DISTINCT OBJECT(o) FROM users AS o," + "
    IN(o.forRoleID)
    AS r" + " WHERE r.iD = " + getID() + filter + orderBy;
    Query query = qh.createQuery();
    return query.find(weblogicQL, myProp);
    This is the error that I am getting:
    compile:
    [javac] Compiling 9 source files to C:\anttest\myapp\myejb\classes
    [javac] C:\anttest\src\java\com\software\business_component\RolesBean.java:160:
    cannot access weblogic.ejb.QueryProperties
    [javac] file weblogic\ejb\QueryProperties.class not found
    [javac] return query.find(weblogicQL, myProp);
    [javac]
    1 error
    I can not find the class weblogic.ejb.QueryProperties. Am I doing the
    right thing.
    Please do let me know.
    Thanks
    Ronak Parekh
    "Bart Simpson" <[email protected]> wrote:
    Hi,
    How are you doing?
    What version of WLS are you using? Dynamic Queries are support in 7.+
    You also need to enable dynamic query. Use <enable-dynamic-queries>
    tag in weblogic-ejb-jar.xml
    Best regards,
    -Bart Simpson
    "Ronak Parekh" <[email protected]> wrote:
    Do I need to add an import for QueryHome? Also, what is query home?
    I got the bottom code for dynamic QL on a bea website, but it doesn't
    work in
    giving me problem for QueryHome (can not resolve symbol). How do I
    implement
    dynamic
    QL in weblogic 7.0.
    InitialContext ic = new InitialContext();
    RolesHome rHome = (RolesHome)ic.lookup("");
    QueryHome qh = (QueryHome)rHome;
    String ejbQL = "SELECT DISTINCT OBJECT(o) FROM users AS o," + " IN(o.forRoleID)
    AS r" + " WHERE r.iD = " + getID() +
    filter + orderBy;
    Query query = qh.createQuery();
    Thank you
    Ronak Parekh

  • How to implement dynamic form?

    Hi, all
    Currently, I am using XPAAJ to merge xml data sent from Flex side and the pdf template in the server side which is designed by LiveCycle Designer.
    But now my question is that my form is dynamic, like the rows of table. How could I implement such kind of functionality?
    Thanks
    Alan Ji

    And actually, the exact requirement is that user should enter values in Flex pages and click "View as PDF", data will be sent back to merge with PDF template.
    Under this situation, how could the form be dynamic?
    Thanks for any help.

  • How can I implement a Digital I/O counter with a maximum source frequency of 80 MHz (like 6602 board) using CompactRIO?

    How can I implement a Digital I/O counter with a maximum source frequency of 80 MHz (like 6602 board) using CompactRIO? It appears as if the Digital I/O modules for CompactRIO are much slower than this.
    Thank you,
    --Ray

    Hi Ray,
    The highest frequency input we offer for C Series modules is 20 MHz if you are doing LVTTL and 10 MHz for 5 V TTL.  These modules are the 9402 and 9401, respectively.  Unfortunately, there is no 80 MHz input on this form-factor.
    Regards,
    Chris E.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How to implement dynamic sql in owb

    Hi everybody,
    I am new to OWB and hence i want to know how i can implement the following dynamic sql statement in owb...
    Declare
    Cursor C_tab_col is
    Select cat from tbl_cat_edesc_1 ;
    Vcat varchar2(240);
    Cursor C_edesc_col is
    Select edesc from tbl_cat_edesc_1 ;
    Vedesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_Tab_col;
    Fetch C_tab_col into vcat;
    Open C_edesc_col;
    Fetch C_edesc_col into vedesc;
    loop
    V_Command := 'update upd_catseg_1 c set c.'||vcat||'=';
    V_Command := V_Command||'(select d.sales from TEST_catseg d' ;
    V_Command := V_Command||' where edesc = '||''''||vedesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_tab_col into vcat;
    Exit when c_tab_col%notfound;
    Fetch C_edesc_col into vedesc;
    Exit when c_edesc_col%notfound;
    end loop;
    commit;
    end;
    Thanks a many

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to use DPS features like Folio Overlays while exporting to SWF?

    I'm creating an interactive magazine in InDesign, it's been decided that the magazine will be exported to SWF and uploaded to our company website for viewing by the public. I want things like slideshows and scrollabe text frames. I saw that InDesign had an update to include some DPS features like the Folio Overlays, so I applied a Slideshow overlay and a Scrollable Frame overlay but neither of them seem to work after I export to SWF. I still want to have slideshows and scrollable frames, how can I still have them while exporting to SWF?

    DPS is for mobile devices through Adobe’s Digital Publishing Suite. The reason SWF is dead is because it’s pretty much incompatible with mobile devices. If you want to go to the web and keep things interactive you really need to be looking HTML5 / CSS3 type of websites. In5, which I mentioned in my earlier response will give you quite bit of help in going from InDesign to web, but I would strongly suggest you take a look at Muse if you’re not comfortable with HTML and CSS.

  • How to implement Dynamic SQL in DataService ??

    Hi,
    Is there any way in ALDSP to implement Dynamic SQL in Dataservice ?
    My scenario is "based on set of optional fields i need to join different tables.If the optional field is not there then i don't have to join with the corresponding table."
    Thanks

    Ah yes, I thought that looked familiar. It's same question from July 12.
    There is no way to generate Dynamic SQL in DSP XQuery. There is one query plan for each query. The query plan does not change based on the inputs.
    Using a FilterXQuery on top of a query actually generates a new query. You can play with that if you like, but it is not particularly suited to changing joins. Go with the ad hoc query.

  • How can we implement product key feature while installing AIR application?

    How can we implement product key feature while installing AIR application?

    Hello,
    Could you try using /Q or /QS parameter?
    http://msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • Oracle Apps Forms

    Hi, I am trying to build a form using the bean area to display the records in the form of a grid. Instead of using the multirecord block I am using the bean area to display the records in the form of a grid table. I have a jar file that I have used a

  • EAP-TLS authentication failed

    I have recently purchased the E71 and am trying to connect to my WLan at work. It uses 802.1x authentication and I have now installed the correct security certificate. It seems that no matter what EAP plugin I use, TLS TTLS PEAP FAST etc I get an aut

  • Change domain name

    Robert5205 wrote: "Hello, IT? I'm trying to log in and it won't take it. I'm doing the same thing I've always done. No, I didn't read the email. What? Oh. What was my email address again?" Haha, yes I will get that...  I have a couple problem users/G

  • Shared Data Control

    Dear All, I often find myself reading documents regarding shared data control and transaction in taskflow but I often scratch my head what does it mean? I googled about it but cant find a good resource othat explains the relevance of the topic in ADF

  • Struggling with charts

    I read the “charts are driving me nuts” thread and I feel the guy’s pain, for sure. I’ll start with my questions and then expand on the problems I'm encountering> How do I extend alternating row colors into a header column? Why does Numbers not ‘see’