How to display Frame Dynamically

Hi friends,
Plz tell me How to Display / Hide or Frame Dynamically in Oracle Forms.
I am Using Oracle Forms 6i
Thanks

thanks Francois......but i need to hide only one small frame dynamically......
Do you have any other Option...other than using a frame.....or a Frame alike.....
Thanks

Similar Messages

  • How to display  servlet dynamically generated image ?

    Hi,
    How to display servlet dynamically generated image ?
    I have a servlet generating a buffered image in the doGet. I want to display the image in a jsp page with other information. I'm not able to get it properly displayed.
    **Try n# 1 **************************************************************
    This displays my image but nothing elle :
    ServletOutputStream sos = pResponse.getOutputStream();
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
    encoder.encode(img);
    **Try n# 2 ****************************************************************
    I tried also :
    In the servlet :
         request.setAttribute("renderedImage", img);
    and in the jsp page :
         BufferedImage image = (BufferedImage) request.getAttribute("renderedImage");
         <img src="<%=ImageIO.write(image,"jpeg",response.getOutputStream())%>" width="300" height="280"/>
    This last try draws big crap in the jsp page, thank you in advance.
    Nelson

    Call another servlet from the IMG tag. Have the servlet stream out the image using ImageIO (instead of writing HTML).

  • How to display a dynamic image file from url?

    Hey,I want to display a dynamic image file from url in applet.For example,a jpg file which from one video camera server,store one frame pictur for ever.My java file looks like here:
    //PlayJpg.java:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    public class PlayJpg extends Applet implements Runnable {
    public static void main(String args[]) {
    Frame F=new Frame("My Applet/Application Window");
    F.setSize(480, 240);
    PlayJpg A = new PlayJpg();
    F.add(A);
    A.start(); // Web browser calls start() automatically
    // A.init(); - we skip calling it this time
    // because it contains only Applet specific tasks.
    F.setVisible(true);
    Thread count = null;
    String urlStr = null;
    int sleepTime = 0;
    Image image = null;
    // called only for an applet - unless called explicitely by an appliaction
    public void init() {
                   sleepTime = Integer.parseInt(getParameter("refreshTime"));
              urlStr = getParameter("jpgFile");
    // called only for an applet - unless called explicitely by an appliaction
    public void start() {
    count=(new Thread(this));
    count.start();
    // called only for applet when the browser leaves the web page
    public void stop() {
    count=null;
    public void paint(Graphics g) {
    try{
    URL location=new URL(urlStr);
    image = getToolkit().getImage(location);
    }catch (MalformedURLException mue) {
                   showStatus (mue.toString());
              }catch(Exception e){
              System.out.println("Sorry. System Caught Exception in paint().");
              System.out.println("e.getMessage():" + e.getMessage());
              System.out.println("e.toString():" + e.toString());
              System.out.println("e.printStackTrace():" );
              e.printStackTrace();
    if (image!=null) g.drawImage(image,1,1,320,240,this);
    // called each time the display needs to be repainted
    public void run() {
    while (count==Thread.currentThread()) {
    try {
    Thread.currentThread().sleep(sleepTime*1000);
    } catch(Exception e) {}
    repaint(); // forces update of the screen
    // end of PlayJpg.java
    My Html file looks like here:
    <html>
    <applet code="PlayJpg.class" width=320 height=240>
    <param name=jpgFile value="http://Localhost/playjpg/snapshot0.jpg">
    <param name=refreshTime value="1">
    </applet>
    </html>
    I only get the first frame picture for ever by my html.But the jpg file is dynamic.
    Why?
    Can you help me?
    Thanks.
    Joe

    Hi,
    Add this line inside your run() method, right before your call to repaint():
    if (image != null) {image.flush();}Hope this helps,
    Kurt.

  • How to display the dynamic region in full size

    Hi,
    I'm not able to display the dynamic region in full size.
    In my page, i attached a dynamic region which refers a page fragment. This dynamic region contents are showing as small (scroll is there but i want to display fully).
    How to do this?
    Thanks in advance,
    Sundar

    More than likely it has something to do with your parent layout element. I'd suggest putting your region in an af:panelStretchLayout or similar container that stretches its children. Some of the elements can be a little tricky though, such as af:panelTabbed. It has an attribute that must be set to stretch its first child.

  • How to display the dynamic text in the selection screen

    Hi All,
    I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
    EX: If i have the date of today 31st  it has to show message like " today date is 31 like some thing "  when i execute the report .
    Could any one face this sort of requirment, Please let me know.
    Thanks in advance.
    Reagrds,
    Bharani

    Where would you like this dynamic text being displayed? As an "message" or in some parameter field?
    If first
    parameters date type d.
    data: text type string.
    at selection-screen.
       concatenate 'Today is' date into text.
       message text type 'I'.
    If second
    parameters pa_text type c length 50.
    at selection-screen on date.
      if date is not initial.
        concatenate 'Today is' date into  pa_text.
      enidf.
    at selection-screen output.
       "show it as read only
       loop at screen.
        if screen-name = 'PA_TEXT'.
               screen-input = abap_false.
              modify screen.
        endif.
       endloop.
    Regards
    Marcin

  • Hi all.... how to display tables dynamically in a JSP page

    im trying to display the list of tables in MYSQL datbase into a JSP.... i have a database name link on the page.... once i click on that the list of tables should be listed dynamically in the page as a link...Also is it possible to click on each table link and go to see the table details ...if so how.... please some one help me ...its very urgent........

    im trying to display the list of tables in MYSQL
    datbase into a JSP.... i have a database name link on
    the page.... once i click on that the list of tables
    should be listed dynamically in the page as a
    link...Also is it possible to click on each table
    link and go to see the table details ...if so how....DatabaseMetaData has a method (look in the documentation) to get the list of tables. It also has methods to get information on specific database objects
    please some one help me ...its very urgent........It's even urgent that you look in the documentation.

  • How to display iviews dynamically

    Hi all,
    I am making iView and attaching them to pages, however the iView is displayed with fixed size. Is there any option to display the height dynamically.
    Could you please send details or documentation on how to control the size of the iview within a page...
    your help is appreciated.
    dev

    Hi Devara,
    There is an option to control height of iview in page. Open the iView in property editor and in Appreance-size property category you will find property called height type change it to automatic.
    PS: IF helpful awards points
    --Deepak

  • How to display content dynamically base on the menu selection?

    I have only one XML file to populate my menus and display the
    content base on the menu selection.
    If I select anything by name on the menus, example Math all
    the the Math products will display on the dsFeatures region.
    I use istinctOnLoad: true, distinctFieldsOnLoad:['name']
    function to remove duplicate rows from the data set when it loads.
    So far so good.
    Once I try to select from the grades menu this does not
    display anything.
    I'll need to dynamically change the dsFeatures.setPath when I
    click on the menus some how.
    dsFeatures.setXPath("products/product[grade =
    '"+???+"']/features/feature");
    Below is my code.
    XML used to create the menus and the display the content.
    <products>
    <product>
    <name>Math</name>
    <category>Life Math</category>
    <grade type="grade">Grade 6 - 8</grade>
    <subject>Life Math Grade 6 - 8</subject>
    <image>images/math_icon.png</image>
    </product>
    <product>
    <name>Math</name>
    <category>Division</category>
    <grade type="grade">Grade 5</grade>
    <subject>Life Math Grade 5</subject>
    <image>images/math_icon.png</image>
    </product>
    <product>
    <name>Science</name>
    <category>Life Math</category>
    <grade type="grade">Grade 6 - 8</grade>
    <subject>Life Science Grade 6 - 8</subject>
    <image>images/science_icon.png</image>
    </product>
    <product>
    <name>Social Studies</name>
    <category>Studies</category>
    <grade type="grade">Grade 5</grade>
    <subject>Social Studies Life Grade 5</subject>
    <image>images/social_icon.png</image>
    </product>
    <product>
    <name>Language Arts</name>
    <category>Life Arts</category>
    <grade type="grade">Grade 3 - 4</grade>
    <subject>Life ArtsGrade 3 - 4</subject>
    <image>images/language_icon.png</image>
    </product>
    </products>
    // Get all the products data and use distinct() to filter the
    names.
    var dsProducts = new
    Spry.Data.XMLDataSet("included/d_products.xml",
    "/products/product", { useCache: false, distinctOnLoad: true,
    distinctFieldsOnLoad:['name']});
    // Get the menu by grade using distinct()
    var dsByGrade = new Spry.Data.XMLDataSet(null,
    "/products/product/grade", { useCache: false, distinctOnLoad: true,
    sortOnLoad: "grade", distinctFieldsOnLoad:['grade'] });
    // Create the dsFeatures data set, pass a null for the URL
    parameter so that it doesn't load
    var dsFeatures = new Spry.Data.XMLDataSet(null,
    "/products/product[name = '{dsProducts::name}']/features/feature",
    { useCache: false });
    // Define a function that to register as an observer on
    dsProducts.
    function updateCategoriesAndFeatures(notificationType,
    notifier, data)
    // Interested in "onPostLoad" notifications.
    // If it is any other notification, just bail.
    if (notificationType != "onCurrentRowChanged" &&
    notificationType != "onPostLoad")
    return;
    // Received an "onPostLoad" or "onCurrentRowChanged
    notification
    // from dsProducts! Ask it for its XML document. If it has
    one, tell
    // dsFeatures to extract its data from that document.
    var doc = dsProducts.getDocument();
    if (doc)
    if (notificationType == "onPostLoad")
    dsByGrade.setDataFromDoc(doc);
    dsFeatures.setDataFromDoc(doc);
    // Register the function as an observer on dsProducts.
    dsProducts.addObserver(updateCategoriesAndFeatures);
    Menus:
    Display by names:
    <ul spry:region="dsProducts" id="nameRegion">
    <li class="product" spry:repeat="dsProducts"
    spry:setrow="dsProducts" spry:select="selected" spry:hover="hover"
    >{name}</li>
    </ul>
    Display by grades:
    <ul spry:region="dsByGrade" id="gradeRegion">
    <li class="grade " spry:repeat="dsByGrade"
    spry:setrow="dsByGrade" spry:select="selected" spry:hover="hover"
    >{grade}</li>
    </ul>
    Content.
    Display the features content:
    <ul spry:region="dsFeatures">
    <li spry:repeat="dsFeatures">{subject} <br />
    {image}</li>
    </ul>
    Any idea on how to go about this or pointer to an example
    would be appreciated.
    ~Cheers

    Does anybody have idea?

  • How to display frame on stage?

    I want to be able to see the frame number of a movieclip as it plays.  Once I have found the current frame number, how can I display it on the stage?

    Download this .ziped Fla for the solution
    http://www.flexflashforum.com/download/file.php?id=2

  • How to display  dates dynamically in tabular form title

    Hi,
    I have a requirement of displaying dates of the week as title of each column heading in the tabular form dynamically (or) Is there a way to display the dates for each week as the titles for each column dynamically?Could anyone suggest me on this requirement?
    Thanks & Regards,
    Balaji.P.K.

    Hi Balaji,
    if you want to be very generic than create a report based on a "PL/SQL Function returning SQL Query" and set the Report Column Headers to "PL/SQL" and specifiy a function returning the Header Titles.
    brgds,
    Peter
    get Syntax Highlighting for the Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON:ABOUT:0:::::
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • How to display graphics dynamically in JSP

    I use JSP to call a servlet to get the output . The output is in svg format. I do not hope to create a svg file to store the output from servlet. I wope to embed the svg dynamically in the jsp page
    Anybody knows the solution. Many thanks in advance
    Cheers,
    .

    Because the output from Servlet is in text format not binary.
    So the tag <IMAG></IMAG> does not work .
    the output is similar as
    <svg viewBox="0 0 360 270">
    <style type="text/css"><![CDATA[
    .aS{ font-family: monospace; text-anchor: middle;
    font-size: 35px; stroke: Blue; fill: Red; }
    ]]></style>
         <g>
    <text x="60" y="90">+2%</text>
    <polyline points=" 110,80 110,80 210,80 210,80" />
    <text x="60" y="180">-2%</text>
    <line x1="110" y1="170" x2="210" y2="170" />
    <line x1="110" y1="120" x2="210" y2="120" />
    <text x="280" y="130">4:0</text>
    <text x="160" y="200">1</text>
    <text x="110" y="150">-</text>
    <text x="185" y="50">Sample - Name</text>
    <text x="185" y="240">Minutes/km (2003/1/7)</text>
         </g>
    </svg>
    If I keep the output as a **.svg file. then embed it in jsp. it is OK.

  • How to display records dynamically by columns of the table?

    hi to all,
    i'm trying to figure out quite a long time now. is it possible to populate html table with records via columns? (because most of us are familiar with rows up to the last record) i do have a pseudocode below:
    print ('<table>');
    while (!eof) {
    if (cnt % 4 == 0)
    // breakline w/c means let's have another row since
    // we displayed the records 4x now so we need
    // another row to continue
    else
    // continue column generation
    cnt++
    print ('</table>');
    i don't know if this is quite clear... but i do hope you know what my goal is... i have an app that i need to display (like live.com in searching images) to display all the searched items (and then onmouseover it will get big some sort)... but since the records i have are the ff:
    CREATE TABLE "ERA_DB"."PARTS"
    (     "PARTID" VARCHAR2(15 BYTE) NOT NULL ENABLE,
         "PARTNAME" VARCHAR2(75 BYTE) NOT NULL ENABLE,
         "RETAILPRICE" NUMBER NOT NULL ENABLE,
         "COSTPRICE" NUMBER NOT NULL ENABLE,
         "ACTIVE" NUMBER DEFAULT 1,
         "CATEGORY" VARCHAR2(2 BYTE) DEFAULT 'NA',
         "DESCRIPTION" VARCHAR2(255 BYTE),
         "TYPE" NUMBER DEFAULT 1 NOT NULL ENABLE,
         CONSTRAINT "PARTS_PK" PRIMARY KEY ("PARTID") ENABLE
    i need to display like the ff:
    partname
    partid
    image
    description
    price
    these are inside a box w/ borders (the concept is like live.com in their image search)
    thanks so much!

    This was written for pear::db but I think it should go pretty similar for ADODB.
    $result = $db->query ("SELECT PRODUCT FROM INVENTORY WHERE COMPANY='$_SESSION[company]'");
    while ($data1 = $result->fetchRow(DB_FETCHMODE_ASSOC))
    $data2 = $result->fetchRow(DB_FETCHMODE_ASSOC);
    $data3 = $result->fetchRow(DB_FETCHMODE_ASSOC);
    $data4 = $result->fetchRow(DB_FETCHMODE_ASSOC);
    $rows .= " <tr>\n";
    $rows .= " <td width=150 align=right>".$data1[PRODUCT]."</td>\n";
    $rows .= " <td width=150 align=right>".$data2[PRODUCT]."</td>\n";
    $rows .= ' <td width=150 align=right>".$data3[PRODUCT]."</td>\n";
    $rows .= " <td width=150 align=right>".$data4[PRODUCT]."</td>\n";
    $rows .= " </td>\n";
    $rows .= " </tr>\n";
    }

  • How to display text dynamically

    hello,
                                  i am working in dialog programing i need to display text which is save in a file and i want that whenever each new call screen i should display a text message from my flat file on the new screen ..... is there is a funda of xml?

    If the text is same for all the screens then copy it into a string or variable type c and write it on all the screens

  • How to add a frame dynamically in a jsp page.

    Hai all,
    In my application, in a particular jsp page i had the 3 links namely add.edit and delete. When click on add button, it is pointing to another jsp page where i can enter user details. But what i want now is when i click add button, the form in which we fill the user details should be added to the current page itself dynamically i.e., it should not go to another page when i click add button and that form should be displayed in the current page in a new frame dynamically.
    The same should happen when i click n edit or delete options. everything should be diaplayed in the same page in different frames.
    Can anyone suggest me about how to add a frame dynamically.

    You create a frameset with two frames. One frame you give 100% of the rows and run the JSP in this frame. The other frame you give 0% of the row so that it is hidden. In the JSP you use a JavaScript funtion to submit the form. This function will call the parent frameset to reset the row values to 50%/50% which will make the bottom frame visible and then submit the form request with the bottom frame as teh target.
    It is not so much as creating frames as using JavaScript to hide and display frames.

  • How to display Two frames in HTML....

    Hi,
    Can someone please advice me on how to display two frams on one page without using FrameSet...
    Thanks,

    Hi,
    Thank you for your reply...
    I already have something that i did in Applet but i don't want to use Applet....
    The problem with frameset is that i will be adding documents Types Dynamically in HTML List and after clicking the Document Type I want to display Image depending on what Document Type is clicked...
    Both the DOCUMENT TYPE and IMAGE, I want to create DYnamically. I don't want to create Two HTML Files (one for Image and One for LIST) and then open it from Another HTML Which contains FrameSets...
    I hope you get my point....
    Is there any other ways i can do this....
    Any help will be greatly appreciated...

Maybe you are looking for

  • Dynamic conifguration

    Hi I have worked on the dynamic configuration from weblog, /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 its working fine but i want to make that as dynamic this function dynamic enough s

  • Envelope widths and centering

    Hello, hoping someone has run into this issue before... I have an image of whats going on and can post more visuals if needed. I have an automated situation where text in an envelope gets changed out depending on a list of names. I modified my origin

  • JDBC Ack Issue: CO_TXT_ROUTING_BACK_ERROR

    Dear Experts, I have a SAP>XI>DB scenario. The record is succesfully inserted into the DB; but in RWB I am getting additional entries which failed. It seems to be some sort of Ack, which is not supported right now by my XI system. In SXMB_MONI; I am

  • Sales before Purchase

    At one of my client side, sales is done before purchase.. in that case gross profit  shown will be 100%. but that is not correct and also the inventory level goes in negative.. Is there any way to handle this sceneario?

  • Generate and Save PDF / Append Filename with Username

    When you select a row to download as PDF in FormsCentral response table, and Save As dialog box appears, it would be nice if it appended the filename so we don't have to do this ourselves everytime.  If you forget to append the filename it will use t