Different control of Page Apex element formatting

Hi all

I am aware that it is very very dump question and well silly but...!

I tried to format n align the link below to watch good and attractive, if anyone can help with links of good example that would be great.

[http://apex.oracle.com/pls/otn/f?p=16569:18]

Or if someone can show me examples of different ways to format in alignment.


Thank you


Deep

Published by: user11086173 on May 20, 2009 03:36

Hi Jim,.

It is not actually a 'feature' Apex or 'function' - not to put disabled issues is actually a browser thing.

Using an HTML button is insufficient - it depends if #LINK # is illustrated in the model of button. If there is, especially if it is in the HREF attribute, it would probably cause problems that he would be replaced by the doSubmit() function call. That's why I use a model of separate button specifically for the execution of the javascript calls. Ideally, what you want, it's your button attributes to insert in an A tag and its HREF attribute to be set on ' # '.

Andy

Tags: Database

Similar Questions

  • Commas distort the setting of data in page APEX elements

    I have a form with several fields - Px_ITEM1, Px_ITEM2, Px_ITEM3, etc..

    I want to create a new record in which I want to automatically assign the new record with the values of the elements 1, 2 and 3 of the current record.

    I do this with a button which redirects the page to itself, and then each element affect the value in the current record. It works fine as long as there is no comma in one of the elements. If there is a comma in, for example, item1 (for example "MY COMPANY, INC."), then the values after the decimal point (here ' INC') will be placed in item2 and the value set to go in item2 will go into item3, etc..

    How can I treat this problem so that commas do not cause this inaccurate transfer to occur?

    Published by: Doug on April 10, 2012 09:40

    Hi Doug,.

    You can define a calculation of load on page to the inversion to commas. The tricky part will make the initial substitution when the page is redirected. I might try a calculation of page after the presents and see if it works, but I think this may not occur since you make a redirect and not a shipment.

    If you redirect right on the same page it is possible to delete any page clearing cache, and then you won't have to pass the items on the page at all, simply adjust the items that already exist on the load calculations.

    A third option would be to adjust your page to submit instead of redirect, using conditions on any process page on submit that you do not want to run.

    Aaron

  • Page APEX control items are displayed using the APPS user!

    Hi friends,

    I am running an Apex Application of the Apps (E Business suite-> link to Application). When the user clicks on this link without asking the login of the APEX, the application is open based on credentials Apps. Now my problem is the customer requests to restrict the display of the elements of the page (i.e. buttons) in the Application of the Apps user login and accountability-based APEX.

    I know how to show the result as normal button: APP_USER = "ADMIN" for example. But I don't know how to control from APPS. As I am new to both I need help from you guys to get this functionality.

    I need the faster response because it is very urgent for me.

    Thank you
    Stéphane.

    When you call page APEX-separated values, you can set the Variable of APEX with comma

    For Ex.

    f? p = 102:1:F102_ORG_ID, F102_GL_SET_OF_BKS_ID, F102_RESP_ID, F102_USERID, F102_HOME_URL:' | vOrgId | ',' || vSobId | «, » || vRespId | «, » || vUserId | vURL

    Alternatively, you can pass these parameters as Cookies.

    Let me know if you need something more.

    HTH

    Dinesh

    Published by: DineshS on February 20, 2009 02:08

  • Page control is displayed in Word format

    Hello

    I try to control the pages displayed in MS Word by jumping at them. I can jump to the previous and next, but I can't go to a page I want.

    I know I'm doing something wrong with the invoke node (see below, the full code attached), but I don't know what because I don't know the syntax (if that's the right word, please correct me if I'm wrong).

    I tried almost everything, but he doesn't like it!

    The macro command is:

    Selection.GoTo What: = wdGoToPage, which: = wdGoToNext, name: = "2".

    Thank you

    Andy

    Hi Andy,.

    Use the constant "wdGoToPage', as you do for other functions.

    See the attached picture.

    You can connect the new page as a string.

    Mike

  • HP 4630: I am wanting to scan several pages in PDF format that I I use a HP4630

    I am wanting to scan several pages in PDF format I can do, but I want to print a copy at the same time? Is this possible.  I use a HP4630?

    Hello

    No, they are two different functions.

    Kind regards.

  • Export pages specified in format jpg to set resolution

    Hello inDesign community-

    I have a script that allows me to export the specified pages in a quick dialog as jpg with a specific resolution (500px wide).

    It's great to take pictures, but she uses the dimensions of the page in the active document to define the formula for resolution.

    This works unless there are pages of different sizes, how you get different size jpg.

    How you can use the dimensions of each page that is exported individually.

    I suppose there's a way to get a jpegExportPreferences.pageString table that can then be completed.

    Thanks in advance

    the pages to export

    var pagesToExport

    jpg final demensions

    var myLargeWidth = 500;

    var myLargeHeight = 500;

    Create a variable for the current active document

    var app.activeDocument = docRef;

    Delete ententions of the way to the end of the file

    myFilename = docRef.name.replace (/ \.) [ ^\.] +$/, '');

    Set the variable to save the file in the same directory as the current document

    myFolder = docRef.filePath;

    a document measurments points and redefined sovereign source

    docRef.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;

    docRef.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

    docRef.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;

    docRef.zeroPoint = [0,0];

    defines the unit of measure (number or string) readonly array limits Page, in the format [x 1, x 2, y2, y1].

    find the width of the page

    var myCurrentWidth = app.activeWindow.activePage.bounds [3] - app.activeWindow.activePage.bounds [1];

    find the height of the page

    var myCurrentHeight = app.activeWindow.activePage.bounds [2] - app.activeWindow.activePage.bounds [0];

    function exportJPG() {}

    export jpg

    If (myLargeWidth > 0) {}

    Calculate the percentage of scale

    var myResizePercentage = myLargeWidth/myCurrentWidth;

    var myExportRes = myResizePercentage * 72;

    exportResolution is accurate to 1 decimal, so round

    }

    else {}

    Calculate the percentage of scale

    var myResizePercentage = myLargeHeight/myCurrentHeight;

    var myExportRes = myResizePercentage * 72;

    }

    percentage of caluclated serve resolution

    app.jpegExportPreferences.exportResolution = myExportRes;

    Export jpg in MyAccount Add .jpg at the end.

    docRef.exportFile (ExportFormat.JPG, File(myFolder+"/"+myFilename+"-500px.jpg"));

    back to inches

    docRef.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.inches;

    docRef.viewPreferences.verticalMeasurementUnits = MeasurementUnits.inches;

    }

    var myName = myInput ();

    rest of the script

    myInput () function

    {

    var myWindow is new window ('dialogue', 'Pages to export to JPG');.

    var myCommentGroup = myWindow.add ('group');

    myCommentGroup.add ('statictext', undefined, 'export to jpg files', {multiline: true});

    myCommentGroup.maximumSize.width = 200;

    var myInputGroup = myWindow.add ('group');

    myInputGroup.add ('statictext', undefined, ' Pages: (1-3, 8, 10) ');

    var myText = myInputGroup.add ('edittext', not defined, '1');

    myText.characters = 20;

    myText.active = true;

    var myButtonGroup = myWindow.add ('group');

    myButtonGroup.alignment = 'right ';

    myButtonGroup.add ('button', undefined, 'OK');

    myButtonGroup.add ('button', undefined, 'Cancel');

    If (myWindow.show () == 1)

    return myText.text myText.text = pagesToExport;

    on the other

    exit ();

    }

    preferences to export jpg

    app.jpegExportPreferences.exportingSpread = false;

    app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.HIGH;

    app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.EXPORT_RANGE;

    app.jpegExportPreferences.pageString = pagesToExport;

    app.jpegExportPreferences.embedColorProfile = false;

    app.jpegExportPreferences.jpegColorSpace = JpegColorSpaceEnum.RGB;

    app.jpegExportPreferences.antiAlias = true;

    exportJPG();

    perform a function

    Hello

    1. you must insert function exportJPG() myCurrentWidth & calculation of height and run it for each page.

    2. This function suppose to be tested in each selected page and the different exportPreferences;

    3. If you need to split a string pageToExport in table variable collection separate pages.

    Like this:

    // which pages to export
    var pagesToExport;
    // final jpg demensions
    var myLargeWidth = 500;
    var myLargeHeight = 500;
    
    // create a variable for current active document
    var docRef = app.activeDocument;
    
    // remove ententions from end of file path
    myFilename = docRef.name.replace(/\.[^\.]+$/, '');
    
    // set variable to save file in same directory as active document
    myFolder = docRef.filePath;
    
    // set document measurments to points and reset ruler orgin
    docRef.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    docRef.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    docRef.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
    docRef.zeroPoint = [0,0];
    
    function exportJPG(cPage) {
    // export large jpg
    //bounds    Array of Measurement Unit (Number or String)    readonly    The bounds of the Page, in the format [y1, x1, y2, x2].
    // find width of page
    var myCurrentWidth = cPage.bounds[3]-cPage.bounds[1];
    // find height of page
    var myCurrentHeight = cPage.bounds[2]-cPage.bounds[0];
    if (myLargeWidth > 0) {
    // Calculate the scale percentage
    var myResizePercentage = myLargeWidth/myCurrentWidth;
    var myExportRes = myResizePercentage * 72;
    // exportResolution is only accurate to 1 decimal place, so round
    }
    else {
    // Calculate the scale percentage
    var myResizePercentage = myLargeHeight/myCurrentHeight;
    var myExportRes = myResizePercentage * 72;
    }
    // use caluclated percentage as resolution
    app.jpegExportPreferences.exportResolution = myExportRes;
    app.jpegExportPreferences.pageString = cPage.name;
    // export jpg in myfolder add .jpg to end.
    docRef.exportFile(ExportFormat.JPG, File(myFolder+"/"+myFilename + "_" + cPage.name + "-500px.jpg"));
    }
    // SUI Dialog
    myInput ();
    // jpg export preferences
    app.jpegExportPreferences.exportingSpread= false;
    app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.HIGH;
    app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.EXPORT_RANGE;
    app.jpegExportPreferences.embedColorProfile = false;
    app.jpegExportPreferences.jpegColorSpace= JpegColorSpaceEnum.RGB;
    app.jpegExportPreferences.antiAlias = true;
    
    // run function (loop through chosen pages)
    var b, c, d, stop;
    b = pagesToExport.split(",");
    while (c = b.shift() ) {
      d = c.split("-");
      stop = parseInt(d[0]);
      while (stop <= parseInt(d[d.length-1]) ) {
           exportJPG(docRef.pages.item(stop-1));
           stop++;
           }
      }
    // reset back to inches
    docRef.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.inches;
    docRef.viewPreferences.verticalMeasurementUnits = MeasurementUnits.inches;
    // rest of the script
    function myInput ()
    {
      var myWindow = new Window ("dialog", "Pages to export as JPG");
      var myCommentGroup = myWindow.add ("group");
      myCommentGroup.add ("statictext", undefined, "export some jpgs", {multiline:true});
      //myCommentGroup.maximumSize.width = 200;
      var myInputGroup = myWindow.add ("group");
      myInputGroup.add ("statictext", undefined, "Pages: (1-3,8,10)");
      var myText = myInputGroup.add ("edittext", undefined, "1");
      myText.characters = 20;
      myText.active = true;
      var myButtonGroup = myWindow.add ("group");
      myButtonGroup.alignment = "right";
      myButtonGroup.add ("button", undefined, "OK");
      myButtonGroup.add ("button", undefined, "Cancel");
      if (myWindow.show () == 1)
      return pagesToExport = myText.text;
      else
      exit ();
    }
    

    Note that different page sizes can lead to proportions different width/height.

    In this case jpg is always different. (in height)

    Jarek

  • Muse supports advertising of "taking control of page?

    Hi all

    Is it possible to produce an ad Busters page on our site of Muse?

    We had an investigation this morning and I I'm not whatever this is turned up during the search.

    Thank you very much

    Tom

    Hi Tom

    You can try Tooltip to create creative elements on the page, used to be exactly the same as the element of control of page but users will be able to click on the content.

    Or you can use custom code to achieve this goal, some explained here:

    http://designcareer.WordPress.com/2012/06/25/designing-full-page-takeovers-101/

    http://StackOverflow.com/questions/10989463/creating-takeover-page

    http://betaprogrammer.com/content/?p=89

    Thank you

    Sanjit

  • How to ACCEPT values on page APEX sent by external APEX through POSTmethod

    Hi people,

    How can I accept the values in my page APEX which are send to my page through the POST method from outside of my application?

    Sample test:
    Of non-apex application (simple html page), I would like to post 2 fields (field "Par1" and the field "Par2") in my APEX page. On my apex page I defined the areas P102_PAR1, P102_PAR2.
    <html>
    <HEAD>
      <TITLE>Tester</TITLE>
    </HEAD>
    <body>
         <h1>Test to POST form values into APEX page</h1>
         
         
         <form action="[my_url???]" method="POST">
              <table>
    
                   <tr>
                         <td>Par1</td>
                         <td>
                              <select name="Par1">
                                  <option value="OPTION1">Option 1</option>
                                  <option value="OPTION2">Option 2</option>
                                  <option value="OPTION3">Option 3</option>
                              </select>
                        </td>
                   </tr>
                   <tr>
    
                         <td><label for="Par2">Par2</label></td>
                         <td><input type="TEXT" name="Par2" id="Par2" size="30" value="123"></td>
                   </tr>
              </table>
              <input type="SUBMIT" value="send">
         </form>
    </body>
    </html>
    How can I define action URL in top shape, so once you press the "SUBMIT" button it will fill both fields in my apex page?
    My APEX (p102) page is a blank page, with only 2 fields P102_PAR1, P102_PAR2 text at the moment.

    Thank you very much
    Tomas


    ===========
    If I put above url to: ' http://cit-dev-as5:7780 / pls/he/f? p = 700:102:1659258057907233' (stright to my page & session sharing) and press "SUBMIT" button, then I recive below error message:
    f: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: PAR1,PAR2
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM: 
    
      DAD name: he
      PROCEDURE  : f
      URL        : http://cit-dev-as5:7780/pls/he/f?p=700:102:1659258057907233
      PARAMETERS :
      ===========
      P:
       700:102:1659258057907233
      PAR1:
       OPTION1
      PAR2:
       123

    Tomas:

    Treat the input of an external application that needs to be passed to an APEX application is to create a procedure from pl/sql intermediary who will receive the input of the external source and then format this entry as required by the syntax of the URL of the APEX and then re - direct the user to this URL APEX format.
    Using the example you provided you have the pl/sql procedure as follows

    Create or replace  procedure extinput(par1 in varchar2,par2 in varchar2) is
    l_apex_url varchar2(4000;
    begin
    l_apex__url:=
      'http://myhost:myport/apex/f?p=700:102::::P_102_PAR1,P_102_PAR2:' ||
       par1 ||','||par2;
    
    owa_util.redirect_url(l_apex_url);
    end;
    

    The names of parameters in your procedure must match the names of the fields of the POST.

    CITY

  • Cannot control the sequence of elements in the poster, using JDev 10.1.3.4

    Who who know or have known the same front:

    I use JDev 10.1.3.4 to develop my application. I interspersed with JSF, and ADF elements in my pages the elements of the model. Sometimes I managed to work around this problem, sometimes it can control just not it. Here is an excerpt from a page:
    <p>Some text before the radio buttons</p>
    
    <h:selectOneRadio binding="#{backing_student_doValidation.selectOneRadio1}"
            id="selectOneRadio1">
    <f:selectItem itemLabel="I Agree" itemValue="agree"
            binding="#{backing_student_doValidation.selectItem1}"
            id="selectItem1"/>
    <f:selectItem itemLabel="I Disagree" itemValue="disagree"
            binding="#{backing_student_doValidation.selectItem2}"
            id="selectItem2"/>
    </h:selectOneRadio>
    
    <p>Please click the Submit button to Continue.</p>
    
    <h:commandButton value="Submit"
            binding="#{backing_student_doValidation.commandButton1}"
            id="commandButton1"/>
    But the page does not appear in this order:
    Some text before the radio buttons
    
    
    
    Please click the Submit button to Continue.
    
    O I Agree    O I Disagree
    [Submit]
    Note that option buttons ignore paragraph down to retreat with the submit command button.

    I choose to use .jsp to my pages. It seems that the problem occurs when the ADF is involved in the page. I deliberately avoid using jspx and adf panelPage because panelPage restricted menu bars and facets etc which I did not need and it is impossible to remove. I use therefore with jsp pages and html jsp tags to make the pages simple and clean. But I have to use elements of the data control palette; and once everything is drag-and - drop to the design of the page editor, adf tags tab will be automatically added to the page and two troubling things are happening: one is that the elements of the model are no longer visible in the Design tab of the page editor; the other is the problem shown above.

    Are there ways to get around the problem?

    Thank you very much!

    Newman

    Newmann,

    This happens because you mix HTML markup with the JSF tags (which you shouldn't do). You could try surrounding the pure html markup with f: tags verbatim or using JSF tags to generate your static output.

    John

  • Disk utility seems different in El Capitan - how to format a Seagate HDD to my MacBookPro which now operates under El Capitan?

    Disk utility seems different in El Capitan - how to format a Seagate HDD to my MacBookPro which now operates under El Capitan?

    There is a sharing on the top button. Select the Seagate to reformat.

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

  • A different ways of the spreadsheet file format

    Is it possible to have several methods for writing custom Spreadhseet formatting? As if I had a picture I want to have columns specific to the format in different ways. Or can you format only the entire file spreadhseet go?

    Thank you

    Konrad

    Joined a VI that does exactly what you want. It is implemented in the easiest way possible, write data to the disk a line at a time. If you have more than a few thousand lines, you want to do it more effectively. Let me know if you need this change.

    The code is in LabVIEW 2011.

  • When I try to scan a document it chops of a page in 8 different documents 1 page.

    2210 HP all-in-one desktop

    Windows Vista

    When I try to scan a document it chops of a page in 8 different documents 1 page.

    Hello.

    A new analysis of the HP Solution Center and check the settings of scanning as follows:

    1. Launch the HP Solution Center.
    2. Click Scan photo
    3. Select your shortcut to scan you want to use, and then click Advanced image properties.
    4. Be sure to select scan an image unique to file or Scan the scanner glass all.
    5. Click OK.
    6. Click on save a shortcut to save the settings of scanning for future use.

    Now, you should avoid all automatic splitting of the work of scan and get the desired results.

    Please let me know of any problems,

    Shlomi

  • Could not save the different string value to each element of the array

    I have a configuration of VI to read several channels Veristand project.  The entrance is a table 1 d of channels, (an element for each channel, I want to read).  The channels have different names, each of the elements in the chain must be different.  I am able to edit each item and run the VI, and it works fine.  However, if I save, close and reopen the VI, all elements show the same value (what happens to the value of the last element for which I defined a default value).  Is this behavior planned, or have I missed a configuration setting which would allow different string values?  Please notify.  Thank you.

    GSinMN

    Make sure that you select the table and not only one item when you right click-> set by default on the front panel.

  • whenever I open a page, a security box appears telling me the page contains elements safe and secure, that I want to display the non secure items?

    original title: problem pop up safety box

    A couple of months, my daughter opened a video on utube.  The screen on my laptop turned blue with white writing and the volume went crazy.  Had to hold the close button.  Since then, whenever I open a page, a security box appears telling me the page contains elements safe and secure, that I want to display the non secure items?  I used for the display of this box on occasion, now it is on each page.  I ran windows security and norton scans and both find nothing.  Anyone have any ideas on how to solve this problem, because it drives me crazy.  Thanks in advance

    Hello Michelle,.

    You have a virus, here's what you need to do. Download and install malwarebytes of: http://malwarebytes.org/products/malwarebytes_free, be sure to update before running a full scan. If you cannot run the program at all, you will need to download a few programs of this site: http://www.bleepingcomputer.com/combofix/how-to-use-combofix it, you should get back on track.

    Also, you may have a browser redirection problem. Go to your IE tools--> internet options--> Connections tab, then click lan setting and make sure that the only box to checked in it is automatically detect settings.

    Let me know if it works,

    Jim

Maybe you are looking for

  • Satellite L855D can not find my CD/DVD drive

    Hello! I don't know what happened to my computer, but it finds no more CD/DVD drive.I guess I could have removed some necessary player, but not the goal anyway. Is it possible to get it back?I tried RmvFltrs which I found on some Toshiba Google searc

  • Intermittently, impossible to stream videos online.

    Original title: program compatibility Application Applications App Apps game games Legacy Crash crashes Hang hangs OK, you see reading in flash and silverlight sometimes just doe not stops it time and so yes I tried deleted the Cookie deleted tempora

  • touchscreen frozen to officejet pro 8500 a910

    Recently, the front touch screen on my 8500 has stoped responding in the bottom right of the area where the 'Ok' button normally appears.  All other functions work fine, but I can't delete messages and returning to the home screen to fucntions as a c

  • SmartWatch errors

    Hellofirst of all, I want you to know I love all Sony products but right now I have a problemI have Sony Xperia Z1 Compactand SmartWatch 2they worked fine, but after updateing my Android to be compact z14.4.4 build number 14.4.A.0.108 There is error

  • C4580: Wireless printing

    Hello I have a laptop HP G70-468NR and a HP Photosmart C4580 all in one printer/scanner/copier. Originally implemented on Windows Vista, I used to have the printer works wirelessly. However, I upgraded the computer to windows 7, and now I can print i