Position of the element, no focused

In my login page, I have the username and password elements and a background image.
the elements of user name and password are not centered, how to change their display position?

I have placed them in #REGION_POSITION_08 #, (using the theme 15). No matter what region, I chose, they are all not centered horizontally.

Instead of:

---------------------------------------------username------------------------------------------------

It displays:

-------------------username--------------------------------------------------------------------------

Thanks for any help,
Yivon

Create a copy of a region in your templates / type of region. Change the model by adding the following to this part of the html template:

#BODY #.

Apply this model of region in your area on your login page. Your items will be placed in the center of the region.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • Position of the element Animate incorrect edge in Chrome

    I've created an animation on board animate that worked well in the beginning and now is not rendered properly in Chrome. The animation works well, the problem is in the position of the element. Is - it maybe a bug on board animate? For any idea or suggestion would be greatly appreciated.

    Rendering of Firefox, opera and IE 11.

    decibel-correct.JPG

    Rendering of chrome.

    decibel-incorrect.JPG

    You have applied the new update that came out today - get your update to animate the edge, addressing problems of compatibility with Chrome 36 ' Adobe Edge leading Team Blog »

    Darrell

  • Position of the element in the array of Boolean

    Hello

    I have an array of Boolean, whose elements are initialized to false. For example,.
    private boolean array[] = new boolean[10];
    Subsequently, I put an element of the array to true. Let's say that
    array[5] = true;
    My question is how can I get the position of the whole of the element whose: value (s) was/is real? Is there a method that does this? I looked in the class of paintings, but could not find anything.

    Thanks in advance.

    There is no built-in function. Just write the code yourself, it is not difficult. Simply iterate on the table and when you find a true value, you have found your index.

  • Position of the element on the page

    Hi - I'm still pretty new to LiveCycle so hopefully it'll be easy.

    I produce a PDF and I am trying to get information on each element to put in bookmarks XML so that I can bookmark the PDF dynamically.

    I found that I can use xfa.layout.page (this) in the script of layout: ready to get the page number of each article, but I can't work, how to get the position of each element on the page.  All I can find are this.x/this.y and xfa.layout.x (this) / xfa.layout.x (this), but those will be 0,0 - which I think is because the element is located at the top left of the element that contains.

    Does anyone know how to get the position of an element on the page?

    Thank you

    Dan

    Hi Dan,.

    John Brinkman has x, y of the samples on his blog: http://blogs.adobe.com/formfeed/category/transpromo

    I have here a sample that accesses the x, y position of the objects and mouse, which can help.

    http://cookbooks.Adobe.com/post_Moving_Objects_Around_a_Form-16519.html

    and

    http://assurehsc.IE/blog/index.php/2010/05/moving-objects-around-a-form/

    You are right that the coordinates are based on the top/left of the container. When you work with coordinates I tend to set the container of the Page master at 0,0, so that all objects are then based on this.

    Good luck

    Niall

  • Dynamically change the position of the element

    I am a beginner on flex, sorry if the question seems obvious.
    I have a label and a button:
    < mx:Label x = "10" y = "9" text = "this is my message text" id = "myMessage" / >
    < mx:Button label = "My button" left = "109" top = "9" id = "myButton" width = "72" / >

    The label text changes dynamically from actionscript. How can I change the position of the button to always be AFTER the text of the label and not at the point of intersection?

    Thank you

    Great!

    Everything works fine now, using HBox and automatic layout.

    Thank you

  • Position of the element of text apex

    Hello

    Pursuant to the apex, I have a text field in a region that I entered some 'Form HTML attributes element': style = "do-size: 20px;" "height: 50px" but I can't focus this text (I tried to align: Center etc)

    How can I do this?

    Best regards.

    Capture.PNG

    2731660 wrote:

    Pursuant to the apex, I have a text field in a region that I entered some 'Form HTML attributes element': style = "do-size: 20px;" "height: 50px" but I can't focus this text (I tried to align: Center etc)

    How can I do this?

    The CSS property is text-alignnot align.

    Please update your forum profile with a real handle instead of '2731660 '.

  • Get the position of the element

    How can I get the position of an XML element?

    Output should be:
    11 - 1
    12 - 1
    21 - 2
    22 - 2


    WITH s AS (SELECT "< ROOT > < SET > < EL v = '11' / > < EL v ="12"/ > < / SET > < SET > < EL v = '21' / > < EL v = '22' / > < / SET > < / ROOT > ' x FROM dual")
    SELECT element_nr
    set_nr
    S
    , xmltable (' for $i to $a in / root)
    for $j in $i / SET
    for $k in $j / EL
    Returns the r element {$i / SET}
    ,$k}'
    by the way of XMLTYPE (x)
    path of columns element_nr varchar2 (100) "EL/@v."
    path of varchar2 (100) set_nr ' SET/position') I
    2.1 ORDER;

    Thank you very much
    Jan

    A few solutions:

    WITH s AS (SELECT '' x FROM dual)
    SELECT element_nr
         , set_nr
    FROM s
       , xmltable('for $i in /ROOT
                     for $j at $a in $i/SET
                      for $k in $j/EL
                      return element r {attribute pos {$a}, $k}'
                    passing XMLTYPE(x)
                    columns  element_nr  varchar2(100) path 'EL/@v',
                             set_nr      number        path '@pos') i
    ;
    

    If, in fact, the XML is stored in an XMLType column, then the drawback of the above method is that most of the time (always?) the use of a variable positional ("$a") causes a functional assessment of the XQuery (no optimization of SQL) function.

    It's probably faster (once again, if you are using an XMLType column):

    WITH s AS (SELECT '' x FROM dual)
    SELECT x2.element_nr
         , x1.set_nr
    FROM s
       , XMLTable('/ROOT/SET' passing xmltype(x)
           columns set_nr for ordinality
                 , el_coll    xmltype path 'EL'
         ) x1
       , XMLTable('/EL' passing x1.el_coll
           columns element_nr varchar2(100) path '@v'
         ) x2
    ;
    
  • What parameter sets the position of the elements in the viewfinder?

    Sort my files and folders have changed the setting that "affects" a place on the viewfinder screen and allow me to move them automatically.

    I remember that there is a setting for it, but can't find it.

    Thank you

    Don

    Open the view in the Finder menu, click Sort by, and turn it off.

    (143327)

  • Problem updated to a position of the element using javascript style.top estate version 4.6

    I develop a scrolling of content when the user clicks on an item, the program triggers the event and moves the content, it works perfectly in a device with the 5.0 version of the software, but in devices with software version 4.6 doesn't work

    No trigger that any error just doesn't work

    Here's him sew:

    var pag1 is document.getElementById ('page1');.

    function that removes "px" for the calculation

    function quitapx (str) {}
    return str.replace('px',"")
    }

    function that moves the item (pag1) upwards or downwards

    mueve function (o) {}
    var dir = o.dir;
    posT = Number (quitapx (pag1.style.top))
    If (dir =-1) {}
    If (posT<>
                    PAG1.style.top = posT + 64 + 'px ';
    }
    }
    If (dir = 1) {}
    If (posT > program) {}
                   PAG1.style.top = posT - 64 + 'px '.
    }
    }
    } //mueve1

    clues?

    I already found the problem.

    The first time that the user clicks to move the content, the pag1.style.top property is set to null, in the browser with version 5.0 software ignores and starts running, but in the browser with version 4.6 software detect zero and stop the script.

    the solution I use is

    If (pag1.style.top! == null) {}
    posT = Number (quitapx (pag1.style.top));
    } else {}
    posT = 0;
    }

    And work! Here is a picture.

  • Detect when the element loses focus?

    Hi all

    I'm expanding a text box when someone clicks in and you try to resize again when they interact elsewhere.e.g.,.

    < mx:TextInput x = "403" y = "16" width = "21" id = "txt_busy" click = "expand_b.end (); expand_b.play (); "backgroundAlpha ="0.5"/ >
    < mx:Resize id = "expand_b" target = "{txt_busy}" LargeurPour = "120" / >
    < mx:Resize id = "contract_b" target = "{txt_busy}" LargeurPour = "21" / >

    But I can't find anything on the detection of a "losefocus" or similar?

    Thanks for your help!

    Use the Focusout/focusouthandler() event.

  • Problem to find the Position of the cursor by using Java Script for an input TextField

    Hello

    I have a problem to find the position of the cursor in a field inputText component.

    The following code of java script to achieve. The same functionality works fine if I run in a simple html page. But when it is used the same javascript inside the jsff does not the position of the cursor.
    var adfComponent = AdfPage.PAGE.findComponentByAbsoluteId("r1:1:it3");
    var adfComponentClientId = adfComponent.getClientId();
    var div = document.getElementById(adfComponentClientId + '::content');
    div.focus();
    var docSelectionRange = document.selection.createRange();
    
    docSelectionRange.moveStart ('character', -div.value.length);
    
    var iCaretPos = docSelectionRange.text.length;
    
    alert("iCaretPos --> "+iCaretPos);  ---> This statement always returning '0'. Instead, i want the cursor position inside the text box.
    Please let me know what I'm missing.

    For your reference, sending the sample page html that works fine with the same kind of code.
    <html>
     
     <body style="font-family: tahoma; font-size: 8pt;">
     
      <script language="JavaScript">
     
       /*
       **  Returns the caret (cursor) position of the specified text field.
       **  Return value range is 0-oField.length.
       */
       function doGetCaretPosition (oField) {
     
         var iCaretPos = 0;
              alert(oField);
         if (document.selection) { 
     
           // Set focus on the element
           oField.focus ();
     
           // To get cursor position, get empty selection range
           var oSel = document.selection.createRange ();
     
           // Move selection start to 0 position
           oSel.moveStart ('character', -oField.value.length);
     
           // The caret position is selection length
           iCaretPos = oSel.text.length;
         }
     
         // Firefox support
         else if (oField.selectionStart || oField.selectionStart == '0')
           iCaretPos = oField.selectionStart;
     
         // Return results
         return (iCaretPos);
       } 
      
     
     
      </script>
     
      <form name="blah">
     
       Text Field: <input type="text" name="nameEdit" value="">
       <input type="button" value="Get Caret" onClick="document.getElementById('where').value=doGetCaretPosition (document.forms[0].elements[0]);">
    <input id="where">
      
     
      </form>
     
     </body>
     
    </html>
    Thank you and best regards,
    Kiran kristelle

    Published by: Kiran kristelle on February 6, 2012 12:00

    ... had the chance to look at the source code of the sample. ADF Faces renders text as HTMLTextArea fields when the value of the rows property. The JavaScript code used in the example of client works differently for FF and IE if the input is a text box. This could be a problem in IE or just used JavaScript code. The rows back to a single line (remove) property makes the text as HTML input feldworking with the JavaScript for IE and FF.

    Frank

  • Firefox Inspector not to focus on the element by click on inspect.

    The new firefox for developers is out, I downloaded and used as your primary browser.
    However, I discovered that the Inspector not to focus or show the direct element that I inspected. He just open the inspector window & show the tag of the whole body.
    Is this something new to Firefox? or from the Add-ons of mine?

    This happens to you all the time or only in specific cases?

    This can happen if the elements are no longer present if the focus is removed from the web page that will happen if you try to inspect the item via the context menu.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • positioning of the region and elements in apex 5.0

    Hello

    I have 1 Brabant in the elements of this region in 3 columns.

    For example

    Point 1 column 1, column of article 2, item 3, column 3

    Article 4 column 1...

    I want to place the region to the left on the screen and position various components

    For example

    Section 1, column 1, point 2, column 2 to column 1, point 3 Column3 twice larger than column 2

    Article 4 column 1 bigger than column1 + column 2, point 5, on the position of the point 3 so there are only 2 items on line 2 and line 3 maybe 4 items

    All the elements are in the 1 table. I don't want to display more than 1 record in this region.

    I think I have to set the position of each element and the region maually. How can I do this?

    I tried in the attributes of the region: style = "left: 320; bottom: 50; »

    and the same thing in the attributes of the element

    What I did wrong

    Kind regards

    Siegwin

    Hi Siegwin

    I assume that you are working on 5 Apex and universal theme.

    I think you have to play with column spans.

    I hope this will help you to Apex 5 theme universal problem with text boxes

    Concerning

    Mahmoud

  • setting the positions for the fixed field elements

    Hello

    I have a form that several elements on the position of the column 1, 2 and 3. One of the elements is a text box, surrounded by fields of normal text on the position of column 1.

    The problem im having is I want the length of the text box to span more than two columns (resizing), but in doing so it moves the other elements on the page, making it very broad :-(

    Any help will be appreciated.

    Kind regards

    Pirate wrote:

    I have a form that several elements on the position of the column 1, 2 and 3. One of the elements is a text box, surrounded by fields of normal text on the position of column 1.

    The problem im having is I want the length of the text box to span more than two columns (resizing), but in doing so it moves the other elements on the page, making it very broad :-(

    This seems to be a use case attributes , such as the colspan to order form available. The element of page stop and start of the HTML Table layout may also be of interest.

    See + {: identifier of the thread = 2199163} + for a pretty laborious effort to solve what looks like a similar problem.

    If it is not the same problem, you need to provide a detailed description of the problem, preferably to reproduce the problem on apex.oracle.com and include the following information:

  • Full version of APEX
  • Edition and the full version of DB
  • (EPG, SST or APEX listener) Web server architecture
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/item (s)

  • How to position the element nested Repeater

    Hello

    I am trying to create a mx:Canvas element that has mx:Repeater element inside this loop around the element of external data mx:Panel. After several attempts, I realize that the attribute is not available in the mx:Panel. If I still want the function contains a sort of loop as such in the attached code, how can I have the attribute is to be enabled I can dynamically place the items according to the value of y, that I assigned to in my HTTPService?

    I welcome any kind of advice on that.

    Alice

    "alice_data" wrote in message
    News:gb58u1$G6R$1@forums. Macromedia.com...
    > Sorry, I should have been more explicit.
    >
    > I have an element mx:Canvas with elements of mx:Label followed by the
    > mx:repeater element, which contains the signs based on the
    > results
    > http. The position of the mx:Panel elements are supposed to
    > be
    > in line with individual attributes values are according to the
    > constraints. The main problem is that it seems that when I pulled out the
    > result.
    > do the attribute value there, despite the fact that it had been promulgated.
    > not
    > appear as they are. For example, if y is 44, he is always on the top of the
    > the
    > screen, that's why I question if the attributes are supported in
    > mx:Panel
    > elements or mx:repeater, depending on who can go wrong.
    >
    > Thanks in advance.
    >
    > Alice
    >
    >
    >
    >
    >
    >
    >
    > dataProvider = "{event_abc.lastResult.mydata.arr}" > "
    >
    > label = "{repeater1.currentItem.label}" "
    > = "{repeater1.currentItem.y}" / > "
    >
    >

    It works exactly as expected, then maybe you can look at and see how it is
    different from yours:

    http://www.Adobe.com/2006/mxml"layout ="absolute">

    0

    100

    200

    300


    dataProvider = "{repeaterSource.children ()}" > "


    title = "{panelRepeater.CurrentItem.label}" "

    x '20' = y = "{panelRepeater.currentItem.y}" / > "

Maybe you are looking for