Drawing Frames on forms

Dear all
First of all I would like to Thank Engineer Francois Degrelle for his great efforts. Francois has created a java bean that draw frame on forms on runtime. this is the demo
http://www.4shared.com/file/qAowkMhD/frames.html
the demo contains a form and jar file
the demo works fine in case the direction of the form is LEFT_TO_RIGHT
my application form is Bi lingual. User can modify the Direction on runtime to be RIGHT_TO_LEFT
the X position of the frame is not correct when changing the Form direction on runtime.
this is my form
http://www.4shared.com/file/mBHI0UQN/TESTTITLE.html
Can any one help me.
Thanks in advance

Hello and thank you,
<p>Concerning the Java Beans grouped on this site, please do not ask questions on this forum. Send an email at [email protected] or ask the question on the dedicated forum</p>
Anyway, I have to confess that none of the beans I have created and stored on this site are tuned to work with Right to Left orientation :(
Francois

Similar Messages

  • How do you make JSF draw frame in browser w/o JSP & HTML ?

    Hi all,
    I already have small web application which uses HTML & JSP and I want to convert it to JSF based application.
    I've read O'Reilly JSF books written by Hans Bergsten and in Chapter 15 he states that you can use pure Java classes only (without JSP & HTML) in your web application.
    My web application contains some frames. Since I only want to use pure Java classes using JSF what component should I use to draw frame ?
    I use MyFaces implementation of JSF.
    Any advice would be greatly appreciated.
    Best Regards,
    Setya

    I don't know anything about myFaces, but as far as I know, there is no component to draw frames. The JSF book you read is correct to a degree... It's possible to write completely with JSF tags, but it can be cumbersome sometimes.
    To output frame tags using a JSF tag, you can use one of two methods.
    First, you can use the outputText tag with escape attribute set to false.
    <h:outputText value="<FRAMESET blah blah blah>" escape="false" />The second way is to just wrap HTML in f:verbatim tags.
    <f:verbatim><FRAMESET blah blah blah></f:verbatim>If using the second method, be careful not to have any other JSF tags inside the f:verbatim tags.
    Hope this helps,
    CowKing

  • Top and bottom margins to be inside the frame and form should less cluster

    Hi All,
    In my application we have created nearly 10 regions and for each region i have created sub regions with No templates. Here are the deatils below.
    I need to display two regions side by side with borders, so what i have done is
    1. Created a region as #Region Start with No template with Display point as "Page template body (1. items below region content) and Header and footer i have
    given as <table border="1"><tr><td>
    2. Followed by region as #What with Wizard region as "Page template body(1. items below region content) and nothing given under header and fotter.
    3. Followed by reagion as #Region Middle with No template with Display point as "Page template body (1. items below region content) and Header and footer i
    have as </td><td>
    4. Followed by region as #where with Wizard region as "Page template body(1. items below region content) and nothing given under header and fotter.
    5. Folowed by region as #Region End with No template with Display point as "Page template body (1. items below region content) and Header and footer i have
    given as </td></tr><tr><td>
    Simiallry followed by rest of regions by creating dummy regions and placing the <tr> and <td> in Header and Footer.
    Now users are asking me to have insde the frame and form shoul dbe less cluster.
    Can suggestiosn on this who we need to achieve.
    Thanks,
    Anoo..

    'File' > 'Page Setup' is used to alter the page margins when you need to print the email. It is not used to create a Template email nor to change the overall theme used in the Thunderbird user interface.
    To add a theme to the overall Thunderbird window, you can choose
    * either a Windows theme via Control Panel > Personalization >Theme
    * or download a theme Add-on, there is a huge range here: https://addons.mozilla.org/en-US/thunderbird/themes/
    such as : https://addons.mozilla.org/en-US/thunderbird/addon/balloons/?src=ss
    If you are looking to create a Template email, then you open a new Write message, design the email, enter a Subject so that you can easily locate the email and click on 'File > Save as > Template or click on Save button and choose 'Template' from the options. then the email is saved in the Templates folder. To use, you click on Templates folder and double click on the email to open in a new Write message. then compose and send as normal. The original email will be saved in Templates folder for reuse.

  • Frames on form

    Hi All,
    What I am trying to do is create a frame on form so that its look likes all related or same group fields are together. For example “Internet option” windows in IE
    Sagar

    It would help if you could provide more information on what you want to do.
    You would normally use the &lt;fieldset&gt; element to group related items in an HTML form. If all the related items are in a single APEX region and you just want the kind of appearance you describe in the IE window, you can use a region template that wraps the form in a fieldset.
    However, if you're talking about grouping items within a region, note that APEX does not (yet?) allow developers fine granular control over the HTML elements used to lay out form items - the engine only generates form elements using a table-based model. There's a relevant discussion about using fieldset in this way in enhancement request apex 4.0: fieldset. I've been looking at the Display As Text item workaround described here: there appear to be problems with it generating invalid HTML.

  • Draw 'box' in FORM?

    Hi,
    Is it possible to draw a box, using lines and NOT BOX?
    I have one MAIN window, and in element END_OF_DOCUMENT I want to draw a box. But if I use BOX, then I have to define POSITION.
    The problem is that element END_OF_DOCUMENT has not the same position every time FORM is been printed.
    So I would like to draw a BOX using lines or something?
    Adnan.
    Adibo A

    Hello,
    I have handle a similar situation with box.That is drawing dynamically based on no of items.
    If there are 2 items,the box height for 2 items will be displayed and if there are 10 itmes then box height for 10 items will be displayed.
    Only thing is u have to calculate the no of records and multiply with some sutable constant.Pass this content into varible declared in character format and use it in in box command as height.
    BOX XPOS '0' CM WIDTH '18.5' CM HEIGHT &G_F_COUNT20& CM FRAME 2 TW
    Here G_F_COUNT20 is varible.
    Try this way and let me know if u face any problem.
    If useful reward.
    Regards
    Vasanth

  • Draw frames in smartforms

    Hi all,
    Is it possible to use some costomized frame other than the predefined frame-pattern in SMARTFORMS? I just want to draw some frame like what can be done in standard report.
    Thanks & Regards,
    Chen Chang

    Hello Chang,
    NO it is not poosible to use custom frames.
    Work around could be to create a BMP and uplaod in background (Yes, it will only work if it is a template i.e STATIC).
    Rgds,
    Mano Sri

  • Bilingual title frame in forms 6i

    I want title frame in french when the user speak french and title frame in english when the user speak english. I can have bilingual label for item and windows without problem, I use the set property. For the frame I don't find any set property command. I use field for the frame, the problem I have is when I want to display that field, I want to have the same color then the frame behind the field (something like transparent), I cannot use color background for the field because some users have dark blue frame and others users have light blue frame. How can I do it? Thanks for help.

    Gordon, I'm pretty sure this is actually outside the realms of Forms since the Window Manager is controlled by the O/S and so the only way you can set this is via the PC desktop (there is nothing exposed in Set_Window_Property that can do this).
    Hope this helps.
    Regards
    Grant Ronald
    Forms Product Management

  • Trying To Draw The Wav Form of captured audio

    hi all , im trying to get into audio proccessing at j2me platform
    as a start , i made an application that records audio through the phones microhone and after that drawing the bytearray with its wave form on the canvas.
    i used the following capture encoding:
    "capture://audio?encoding=pcm&rate=8000&bits=8&channels=1"
    the application worked great on the emulators...
    after i tried the application on my mobile (motorola E-1000)
    i realized that my mobile does not support PCM encoding as for audio capturing the device only supports AMR to capture audio :|
    so my question what am i suppose to do to draw the WAveForm of the recorded audio if its stored in bytearray encoded as AMR??
    do i need to convert it to wav?
    is there any other techinque?
    any info will be highly welcome!
    thanks in advance.

    Did u manage to draw waveform of amr file? I've the same task and i 've the same questions: "do i need to convert it to wav? is there any other techinque?"

  • Error due to  trigger in OA fram work form

    we need to copy one column to other in data base trigger but we are getting error in iproc form
    in 11.5.10.
    BEFORE UPDATE ON PO_REQUISITION_LINES_ALL
    REFERENCING NEW AS NEW OLD AS OLDFOR EACH ROW
    BEGIN
    :NEW.unit_price := TO_NUMBER(:NEW.attribute11);
    END;
    Error
    Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user. \nAction: Cancel the transaction and re-query the record to get the new data.
    With Regards
    Nehal Murtaza

    we need to copy one column to other in data base trigger but we are getting error in iproc form
    in 11.5.10.
    BEFORE UPDATE ON PO_REQUISITION_LINES_ALL
    REFERENCING NEW AS NEW OLD AS OLDFOR EACH ROW
    BEGIN
    :NEW.unit_price := TO_NUMBER(:NEW.attribute11);
    END;
    Error
    Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user. \nAction: Cancel the transaction and re-query the record to get the new data.
    With Regards
    Nehal Murtaza

  • Creating PDF forms in Frame (switch from  Word?)

    Here's another "can I switch from Word" question. I am an old (5.5) Frame ACE now in a new job where we use Word. Frame would be a much better choice in many ways, for many reasons.
    I could use some help figuring out whether Frame creates forms that convert easily to PDF. As an end product, what we need is a PDF form with a large number of fixed-length text fields; users must be able to download the form and fill it in at their leisure, either all at once or in stages, saving their work as they go.
    These files are currently constructed in Word out of tables. They are a terrible mess and must be recreated from scratch. If Frame handles forms well, we can start that work fresh in Frame and dump Word completely. (This is a question I could answer for myself in a few minutes if I could download a trial. Bad timing.)
    Can somebody with a current copy of Frame tell me how it handles forms and whether it's possible to use Frame to create PDF forms with plenty of fixed-length text fields, some of them quite long?
    Your help is much appreciated. Thank you!
    V. B. Beck

    Thank you, Sheila.
    Users are most likely to simply have Adobe Reader.
    Sorry to be asking for so much help--it is rather maddening not to be able to download the trial and take a quick look for myself.
    Are form fields defined directly within Frame, or is it necessary to hack the PDF? If within Frame, how is length of input defined--by number of characters? Or, as with LiveCycle Designer, can you "limit length to visible area"?
    Thanks as always and in advance for the help.

  • Using jump menu in one frame to open page in another frame - works in IE but not Firefox

    Hi,
    I'm a beginner designer. I've been working to create a template for a website in which there is a banner in a frame across the top and three frames beneath - left for navigation and middle and right for content that can be compared.
    I have created two jump menus in the left frame using Dreamweaver's option for it (insert/forms/jump menu): one menu to load pages in the middle frame (in the code this is 'left') and one menu to load pages in the right frame (in the code this is 'right'). Both menus use a go button.
    Using Internet Explorer and allowing active content to run it works fine. In Firefox clicking 'go' does nothing however I have links in this navigation that will open a page in the middle or right ('left' and 'right') frames and if I use these the jump menus will now work.
    How can I get it to work straight off?
    Any feedback is welcome (except regarding not using frames!).
    Ian
    Code for this navigation page is below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    function MM_jumpMenuGo(objId,targ,restore){ //v9.0
      var selObj = null;  with (document) {
      if (getElementById) selObj = getElementById(objId);
      if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0; }
    //-->
    </script>
    </head>
    <body>
    <h1>Navigation</h1>
    <p><a href="../Something/Pages_One/Alabama.html" target="left">Example</a></p>
    <p><a href="Left Frame 01.html" target="left">Left Frame 1</a></p>
    <p><a href="Left Frame 02.html" target="left">Left Frame 2</a></p>
    <p><a href="Right Frame 01.html" target="right">Right Frame 1</a></p>
    <p><a href="Right Frame 02.html" target="right">Right Frame 2</a></p>
    <p>Select a page to view in the left frame</p>
    <form name="form" id="form">
      <select name="jumpMenu" id="jumpMenu">
        <option value="Left Frame 01.html">Left frame 01</option>
        <option value="Left Frame 02.html">Left frame 02</option>
        <option value="Left Frame 03.html">Left frame 03</option>
      </select>
      <input type="button" name="go_button" id= "go_button" value="Go" onclick="MM_jumpMenuGo('jumpMenu','parent.frames[\'left\']',0)" />
    </form>
    <p>Select a page to view in the right frame</p>
    <form name="form2" id="form2">
      <select name="jumpMenu2" id="jumpMenu2">
        <option value="Right Frame 01.html">Right frame 01</option>
        <option value="Right Frame 02.html">Right frame 02</option>
        <option value="Right Frame 03.html">Right frame 03</option>
      </select>
      <input type="button" name="go_button2" id= "go_button2" value="Go" onclick="MM_jumpMenuGo('jumpMenu2','parent.frames[\'right\']',0)" />
    </form>
    <p> </p>
    </body>
    </html>

    Geronimo23 wrote:
    Given that it doesn't work initially in Firefox then it does once I load a page in the destination frame I decided to create a page with a link to the frameset. Using the link to get to the frameset the jump menu now works perfectly. Must be one of the wonders of using frames. Well I guess that's solved but out of curiosity, any ideas for why it wouldn't work when the frameset is loaded on its own?
    It might be due to the fact that you're using XHTML 1.0 Transitional, a DOCTYPE that does not support framesets. Try converting to HTML 4.01 Transitional or HTML 4.01 Frameset if you do not need or understand XHTML. Or use XHTML 1.0 Frameset if you really need XHTML.
    Refs: http://www.w3.org/TR/html401/present/frames.html ; http://www.w3.org/TR/xhtml1/#h-A1 ; http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Frameset
    Mark A. Boyd
    Keep-On-Learnin' :-)

  • CSS Problem working with Frames

    Hi guys! I'm repairing a client's website that includes a
    shopping cart. When the site is first visited, I have the view cart
    button hidden:
    ============= Frame One ================
    html code:
    <a id="viewcart" href=#>View Cart</a>
    CSS code:
    a#viewcart { visiblity: hidden;}
    ============= Frame Two ================
    <FORM><INPUT TYPE="HIDDEN" NAME="product[]"
    VALUE="Here Today Gone Tomorrow">
    <INPUT TYPE="HIDDEN" NAME="price" VALUE="14.95">
    <INPUT TYPE="SUBMIT" value="Add to Cart" name="B1">
    </FORM>
    I would like to turn the button on whenever an add to cart
    button has been pressed.
    If I were working within the same page, I think I could get
    away with something like:
    CSS Code:
    form submit:active, a#viewcart { visiblity: visible;}
    Am I thinking in the right direction or am I screwing up.
    HELP!!!

    To affect Frame one by a button in frame two you are going to
    have to reload
    the whole frameset, which could cause you problems. If the
    top frameset is
    only to hold this link then there is little point in using it
    over having
    all the code on the same page and controlling it via CSS as
    you have.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "WebXperience" <[email protected]> wrote in
    message
    news:eildvv$l57$[email protected]..
    > Hi guys! I'm repairing a client's website that includes
    a shopping cart.
    > When
    > the site is first visited, I have the view cart button
    hidden:
    > ============= Frame One ================
    > html code:
    > <a id="viewcart" href=#>View Cart</a>
    >
    > CSS code:
    > a#viewcart { visiblity: hidden;}
    >
    >
    > ============= Frame Two ================
    > <FORM><INPUT TYPE="HIDDEN" NAME="product[]"
    VALUE="Here Today Gone
    > Tomorrow">
    > <INPUT TYPE="HIDDEN" NAME="price" VALUE="14.95">
    > <INPUT TYPE="SUBMIT" value="Add to Cart"
    name="B1">
    > </FORM>
    >
    > I would like to turn the button on whenever an add to
    cart button has been
    > pressed.
    > If I were working within the same page, I think I could
    get away with
    > something like:
    >
    > CSS Code:
    > form submit:active, a#viewcart { visiblity: visible;}
    >
    > Am I thinking in the right direction or am I screwing
    up.
    >
    > HELP!!!
    >
    >

  • Need to play video inside forms applet window

    Hi,
    I need to call a video inside oracle forms (10g), This can be acheived through Client_host() or by web.show_document. But the problem is that both methods opens the video in new browser window. Where as my target is to play the video inside specific frame of forms. I hope this is possible through java beans. Can anybody suggest a solution for this?
    Regards,
    Naveed

    Hello,
    <p>Here is one Java Bean</p>
    It needs the Sun Java plug-in, so it won't work with the JInitiator.
    Francois

  • How to create dynamic 'rack drawings' with Oracle forms

    Hallo, I work for a telecom company.
    We have used Oracle Forms and Reports from the beginning and we are now on version 10.2 but upgrading til 11.2.
    I got a request to make  'dynamic rack drawings' to display what equipment are located in what racks.
    The suggestion is to calculate coordinates(position, height) and send it to our GIS-system to do the dynamic drawing bit.
    The 'drawing' is just simple boxes with various height with a name in it to mark different types of equipment.
    So my question is... How should we draw these boxes dynamically to display our racks including the equipment installed there?
    Something like this With a header and a footer.
    1          XXXXXX-12                         1
    2                                                  2
    3         yyyyyy-32                          3
    4                                                  4
    5           zzzz-11                           5
    6                                                  6
    40                                               40

    I wouldn't do the drawing part in Forms. Luckily there are Java Beans available in Webforms which you could use to visualize your data in a more complex way.
    For more informations on Java Beans and how they are used in Forms google gives you a good impression
    https://www.google.at/search?q=oracle+forms+java+bean
    or if you are stuck don't hesitate to ask
    cheers

  • FRM - 30085 (Chart in Oracle 9i Forms)

    I need to display charts based on conditions. but after i draw a chart and select the data block, X Y coordinates, when i try to compile it says FRM - 30085. problem with block based chart and cannot generate form. Please help on how to draw charts in forms 9i and display.

    Hello Frank,
    I was thinking the same but while going through the documentation related to 9i forms i came across folowing description.I have copied it from the 9inewfeatures.pdf,see below.
    Using FBEAN, you can programmatically register a JavaBean at runtime, get and
    set properties and execute methods, all from within PL/SQL, without having to
    write any extra Java code! Even if your JavaBean is complex and uses data types
    that cannot readily be translated from the basic PL/SQL types, the FBEAN
    interface is extensible using Java and can be tailored to your requirements.
    Now after going through this i tried to find out how it can be tailored for our requirements.but i could not find any explaination anywhere.
    I posted he query thinking if any one who has worked on this earlier, could guide me ,it would be realy nice.
    thanks for the reply
    Regards
    Sachin

Maybe you are looking for