How can create one iterator binding to the page

i like fill one table in a page with the result for the store procedure my code is:
public void callStoredProcedure2(String message) {
java.sql.CallableStatement cstmtObject = null;
java.sql.ResultSet rulesObject = null;
String rulename=null;
try{
String conStr = "jdbc:oracle:thin:@10.2.2.111:1521:ora920";
String user = "ora1";
String pass = "oracle";
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
java.sql.Connection conn = (java.sql.Connection)DriverManager.getConnection(conStr,user,pass);
System.out.println("connected");
String sqlquery = "{call prc_miguel(?,?)}";
cstmtObject = conn.prepareCall(sqlquery,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
cstmtObject.setString(1,message);
cstmtObject.registerOutParameter(2,OracleTypes.CURSOR);
cstmtObject.execute();
rulesObject = (java.sql.ResultSet)cstmtObject.getObject(2);
System.out.println("resultset type="+rulesObject.getType());
ViewObject vo = getDeptView1();
while(rulesObject.next())
Row fila=vo.createRow();
rulename = rulesObject.getString("ename");
System.out.println(rulename);
fila.setAttribute(1,rulename);
vo.insertRow(fila);
conn.close();
}catch(SQLException e){System.out.println(e);}
this is one find and this method is the client interface in a MyAppModule, i want to return the rows in a page, somebody helpme please.

You should be able to just drag the method from the data control onto the adfc-config.xml. This should insert the necessary elements.
Timo

Similar Messages

  • How can i print logo in all the page

    i've created a form(SAP script) which have  five page.pls can anybody tell me how can i print logo in all the five page?

    hi,
    u can try this in
          windows
    change window type as CONST or MAIN.
    cheers,
    sam

  • How can I name files separate from the page titles on the menu options?

    Ok, this is so much of a pain. I use a unix based web-server so the content is very case sensitive, and having spaces in the file names is just unmanageable. So.. how can I have pretty menu titles but have real world filenames?
    Presently I have to generate the pages, drop to vi and edit every frickin file to change the spaces to '_' characters and stuff. Depending on how many pages I have takes quite a long time.
    Anyone figured out a way to get around the stupid apple file naming convention ??
    /bk

    Thanks, I was afraid that was the case. So to have normal filenames that work cross platform I've got to manually tweak the pages once they are done. I suppose I was just hoping there was some 'expert' edit mode where I could have names for the files, vs names for the pretty menu items. Oh well, its not that bad I suppose it takes me say a day to manually code up a multi page site by hand, so if I can blow out a muliti page iWeb site in under an hour and then take another hour to tweak the code its still a win.
    Thanks again!!

  • How can I put an image in the page header so that it will be repeated on every page?

    Hi to everyone!
    I want to create a Pages template with the logo of our company in the page header.
    I'd like to put that image (logo) in the page header so that it will be repeated on every page but it will not modify the content of the page.
    Anyone know how to achive this, or something similar without have to copy-paste that image every time we add a page to the document?
    Thanks in advance

    Takashi,
    Turn off the Page Headers (not absolutely necessary, but since you don't need it, why not)
    Put your Graphic on the page and make the following settings:
    Then Insert > Text Box and make the same settings as for the graphic.
    Place your "Header text" in the text box and arrange the box and graphic as you want them. Move both to Section Master using the Arrange menu.
    Jerry

  • On a page change, GIFs in the orignating page stop animating - how can I keep them animating until the page actually changes?

    On some pages in my application I put up a mask and a loading dialog when changing page. This dialog has a GIF as a background image as a loading/waiting indicator. This GIF plays one or two frames and stops when the pages begins its redirection to the target page.
    Page change initiated using javascript: location.href ...
    FF 19 MAC OSX

    You can render the ebook on an instructional application called Zankura. Not only can you control the screen scrolling, but all the students can freely annotate with their stylus. www.zankura.com.

  • How can I trim shapes that overlap the page?

    I am working on a 270 page holiday brochure. I usually work with Photoshop, but I know this isn't ideal for brochures, so have been working along side another designer with InDesign. I've picked up nearly everything to get me going which is great. However, I am stuck on the best practice for the background.
    The idea is that every page with a hotel will have the same background style, which is made up of a couple of circle shapes that are slightly different shades. The circles go off the edges of the page, to basically just form a curve across the page. Each different destination will have these shapes in different colours, so the client would like to be able to change the colours around once I hand the brochure over to them.
    I can work with what I have now, but it is looking a bit ugly having huge circles exiting the edges of the page in "Normal" view.
    Is it possible to cut off the rest of the shape which isn't inside the bleed?

    And: you need a group inside a rectangle to drag something new inside of the rectangle from outside using the Layers Panel (as shown in my post #7). So the advice Peter has given is a essential one.
    Even if you currently need one single object inside the main rectangle, I would suggest adding a group first.
    A second object could be a tiny rectangle without a fill and a stroke color. So later you can add other objects inside by using the Layers Panel and dragging objects to that group.
    Removing the second object from the group when inside the rectangle will be no good idea, because the groupness will be destroyed in the same moment you remove an object in a two-object-group. You will bot be able to add another object by dragging.
    Said that, by scripting we could generate a single-object group by having two objects in a group using the following script snippet code (ExtendScript/JavaScript). Just select one object or more and run the following code:
    //ExtendScript (JavaScript)
    //Remove all selected objects:
    //DESCRIPTION:By selecting all objects in a group BUT a single one, the remaining object will stay as part of a group!
    //Uwe Laubender
    if(app.selection.length === 0){
        alert("Nothing selected. Try again.");
        exit();
    for(var n=app.selection.length-1; n>=0; n--){
        app.selection[n].remove();
    alert("All selected objects removed.");
    Before running the script snippet:
    After running the script snippet:
    As you can see the rectangle that is left remains inside a group. What we have here is a single object "group".
    And you can always drag objects inside that "group".
    Uwe

  • How can I get Firefox to open the page of a link I've clicked on in an email?

    Every time I click on a link, in an email (or in Facebook), unless a Firefox page is already open, I usually get my home page first. Then I have to go back to the email window to access the link again to get the page I wanted from the link. Is there a workaround?
    == This happened ==
    Every time Firefox opened
    == Not sure... maybe some months ago?

    That is this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=531552 - Firefox 3.6b opens two windows when opening external links
    please do not comment in bug reports

  • How can create room in icloud for the time machine on the mac

    I don't like to be carrying a time capsule around. Just need some space in the icloud for the Time Machine. Is that too hard to do?

    vcngu wrote:
    Backing up a Macpro in icloud shouldn't be rocket science or is it?
    No, it is very simple really, iCloud does not back up from Time Machine, or any other OSX program come to that. iCloud IS NOT an OSX backup system.

  • I have "Load Images Automatically" disabled. How can I load images for ONLY the page I am currently viewing?

    I have intentionally disabled "Load Images Automatically" so that it is easier to view my desktop remotely via VNC or Remote Desktop. Animations and other graphics kill the performance of these remote viewing apps. However, when I reach a desired web page (the one I really intend to read in full), I want to load all the images ***for that page only***.

    I don't think Firefox has that features. It views loading images as a permissions issues toggled on a site-by-site basis rather than a performance issue toggled on a page-by-page basis.
    Maybe an add-on would give you a better balance of features? These two popped up in a quick search:
    [https://addons.mozilla.org/en-US/firefox/addon/image-block/ Image Block :: Add-ons for Firefox]
    [https://addons.mozilla.org/en-US/firefox/addon/imglikeopera/ ImgLikeOpera :: Add-ons for Firefox]
    If you try either of these, let us know what you think.

  • How can I put a diagram (contains the pages I always visit ) in new tab??

    I want my new tab show directly the last pages I have visited

    Some add-ons that may be of use:
    * Auto Dial - https://addons.mozilla.org/firefox/addon/auto-dial
    * Speed Dial - https://addons.mozilla.org/firefox/addon/speed-dial
    * Fast Dial - https://addons.mozilla.org/firefox/addon/fast-dial-5721

  • How can I combine multiple deliveries of the same address to one shipment.

    Hello Friends,
    My client is sending multiple deliveires with multiple shipments to the same customer. His cost is increasingm therefore I am lookign to help him to combine all the deliveries to one shipment and one delivery.
    How can I combine multiple deliveries of the same address to one shipment.
    Please help me.
    Regards

    Of course, you can combine several deliveries into one shipment. You can set your own selection variant to select deliveries with the same ship-to party.
    You cannot combine several deliveries into one delivery. The combination of deliveres is possible only when creating deliveries in VL10*.
    Edited by: Harry Wu on Jun 21, 2010 4:30 AM

  • How to Create one more SOA-INFRA under the same domain in weblogic server

    Hi All,
    Can anybody can guide how to create one more soa-infra under the same domain. In order to maintain my composites to be deployed into
    different domains, I need to create one more soa-infra and deployed all the composites under that one.
    Please let me know if any demo is available for this activity to be gets completed.
    Regards,
    CH

    Hi Vijay,
    There are several composites which needs to be deployed and maintained in the server. So, we I'm trying to maintian
    by deploying composites into 3 different SOA-INFRA's so if one is not accessible, we can look into it and others can access the
    composites from another SOA-INFRA instead of creating domains.
    Let me know what will be feasible way to perform this activity.
    Regards,
    CH

  • How do I create both endnotes and footnotes in same doc in Pages? I have iWork 2008. I understand how to create one or the other, but not both.

    How do I create both endnotes and footnotes in same doc in Pages? I have iWork 2008. I understand how to create one or the other, but not both.

    You have to select one or the other.
    Try making two documents and see if you can merge the .pdfs, but their will be problems with page flow, making the pages shift. Can't see it working really.
    Pages is not the only solution out there or the best for most jobs (let alone the safest). Try Word for Mac, LibreOffice (free) or any App that has the features you need.
    Peter

  • How can I sum up raws? the sum function seems to work for columns only and right now I have to create a separate formula for each raw

    How can I sum up raws? the Sum function seems to work only on columns. Right now I have to create a separate formula for each raw

    Hi dah,
    "Thanks, but can I do one formula for all present and future raws? as raws are being added, I have to do the sum function again and again"
    You do need a separate formula for each group of values to be summed.
    If the values are in columns, you need a copy of the formula for each column.
    If the values are in rows, you need a copy of the formula for for each row.
    If you set up your formulas as SGIII did in his example (shown below), where every non-header row has the same formula, Numbers will automtically add the formula to new rows as you add them.
    "Same formula" in this context means exactly the same as all the formulas above, with one exception: the row reference in each formula is incremented (by Numbers) to match the row containing the formula.
    Here the formula looks like this in the three rows shown.
    B2: =SUM(2)
    B3: =SUM(3)
    B4: =SUM(4)
    That pattern will continue as rows are added to the table.
    Also, because the row token (2) references all of the non-header cells in row 2, the formula will automatically include new columns as they are added to the table.
    Regards,
    Barry

  • I recently brought a new HP laptop and I downloaded the newly updated iTunes on it; however I have an old Aver laptop with iTunes version 10.7 on it or the one before iTunes 11 came out. How can I transfer my movies from the old version to the new one?

    I recently brought a new HP laptop and downloaded iTunes 11 on it. My old laptop which is a Acer has iTunes version 10.7, I believe. I wanted to know, How can I transfer 18 movies from the old iTunes onto my new Itunes? It only shows the most recent two movies when I look at the purchases in my account. I had a lot of moves downloaded last year from the old version and would like some assistance on how to get all those movies into my iTunes 11 library. Thank you.

    you should starting with copying the iTunes folder from your old laptop to the new one.
    the iTunes folder is in your user profile Music folder.
    it should go to the same location on the new laptop.
    Provided that you have your media, music and movies in the default location, and you sign in to your apple ID and authorize your new computer (all in iTunes)
    you should have all intact.
    Post if any problems.

Maybe you are looking for