predict the scrollbar inside af inputtext: column align middle

Dear all,

I use JDev 12 c.

My requirement is to display the content inside the column with center aligned. When I use outputText inside the column, it is fine.

But I have to provide the text of scrollbar if the content is too large.

To do this replaced OutputText with InputText in all simplicity and 'true' readOnly attributes to behave like text output. and provided lines = '3' to get the scroll bar if the content is too large. I have 2 problems with this approach.

1. the content is lining up the beginning. But I wanted to align in the middle if the content is a single or 2 line.

2. If the content is too large, I'm making the scroll bar, but some times even if the space is available (vertically, horizontally it is push) the InputText does not stretch to the maximum. I think it's because of lines = 3. is it possible that I can get the scroll bar without the number of lines of hard coding.

Please suggest.

Thank you

Try to set the size of lines under certain conditions, that is if the content is short equal zero, if the content is too concert then set 3. You can give in EL expression so its very simple to manage.

Thank you

Fouzia

Tags: Java

Similar Questions

  • How can I get the chart inserted with "Senior officer" at the center inside a table column?

    I'm trying to insert graphics into the columns of the table using 'Frame' above, but the inserted chart, don't Center not within the column, such as the text of paragraph. Horizontal alignment settings seems to be ignored for the chart.

    I can solve this problem by changing the image containing the graph in the reference page, alternatively by changing the margins of cell parameter in the paragraph designer but neiter of these solutions is really good. I would like a solution that really centers the chart in the column of table not only simulates, as I like it to be compatible with the design of future changes in master pages, etc. of lika.

    Is there a nice way to fix this?

    It seems rather as if senior / lower frame is always aligned to the left. This isn't just a problem of Table. It does the same thing in ordinary text blocks.

    I worked in a store, at home, we knew as our column width (which was constant) and controlled the placement of art in affecting the graphic block of reference Page at the address named full column width, then precisely position the art to the breast.

    Were I faced with columns or cells of variable thickness, I had probably not use FA/FB, but rather a framework anchored in graphic design, anchored at the point of Insertion, to a specific tag para (say CellAnchor), which is centered. The NextPgfTag would be CellBody.

  • image align = middle

    now that I can actually post my question...

    I want to have a picture on the left of a few lines of text with text vertically aligned in the middle of the image. If I < img align = "middle" >, it doesn't line up to the first line of text and puts the rest under the image. It has been awhile, but I could have loaned oath I've done this before and had all the text lines up next to the image, not only the first line (of course, I could think of another program or something), but now I can't seem to find a way to do it.

    I know that I can get all the text next to the image if I align = left, but there is an empty space under the text and I'd rather have lined up in the middle of the image, because it would just look better in this case. I also know that I can put the margins or padding on the text, but I don't know how much I put pass in the middle (I'm sure it would be just a little trial and error until I got it looking right), or if she wishes to law in all the different browsers.

    so, my question is basically this: what is the best way to get more than one line of text to align vertically in the middle of an image? so far, I just had recourse to the use of an array of two cells with each other vertically-aligned way. and that could be the best way to do it, as far as I know! I just want to know if there is a better way before that I continue to do it as I am.

    Thanks in advance for any help!

    -courtney

    Show us your code, Courtney, please.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    'c h n' wrote in message
    News:fdr6me$Q05$1@forums. Macromedia.com...
    > now that I can actually post my question...
    >
    > I want to have an image on the left of a few lines of text with the text
    > vertically aligned in the middle of the image. If I do<>
    > align = "middle" >, he
    > only aligns the first line of the text and puts the rest under the image.
    > she
    > been awhile, but I could have sworn I did this before and all had
    > of
    > line of text up next to the image, not only the first line (of course, i).
    > may
    (> be thought of another program or something), but now I can't seem to
    > find a way to do it.
    >
    > I know that I can get all the text next to the image if I
    > align = left,
    > but there is an empty space under the text so I'd rather have aligned
    > to
    > in the middle of the image because it would just look better in this
    > individual
    > instance. I also know that I can put the margins or padding on the text, but I
    > don't know how much I need to go in the middle (I'm
    > sure it
    (> would be just a little trial and error until I got it looking right), or
    > If it wants that right in all the different browsers.
    >
    > so my question is basically this: what is the best way to get more than
    > a
    > line of text to align vertically in the middle of an image? so far, I have
    > just
    > resorted to a table of two compartments with each one vertically
    > aligned way. and
    > could be the best way to do it, as far as I know! I just want to know
    > If
    > there is a better way before that I continue to do it as I am.
    >
    > thank you in advance for any help!
    >
    > - courtney
    >

  • To make the text inside inputText disappear at the click

    Hello
    I use jdev 11.1.1.6. How to make the text inside inputText disappear at the click using af:clientListener?

    Hello
    Use clickEvent.getSource ().setValue(""); instead of clickEvent.getSource ().setSubmittedValue("");
    Following the code works for me

    
    
      
        
      
      
        function onClick(clickEvent) {
           // clickEvent.getSource().setSubmittedValue('');
            clickEvent.getSource().setValue("");
        }
      
    
    
  • How to reset the position of the scrollbar when the updating of the jsff?

    Hello

    I have a panelGridLayout that shows the horizontal scroll bar when the content does not fit the available horizontal space.

    In the panelGridLayout I have items that I can drag and drop, and after release, I'm refreshing the grid to display the new data.

    Sometimes to show the last item I have to scroll using the horizontal scroll bar. Now when I drag and drop the last element when updating of the grid, it resets the bar to scroll to the start position and it is very annoying for the user.

    How can I reset the position of the scroll bar after reloading the page.

    Here are the things I've tried:

    1. for the the jsff pageDef file has added a new custom controller class. Inside the method refreshRegion of the class controller added the java code to run a javascript method which will set 'scrollLeft' of the div of the panelGridLayout position. The javascript method is get called (since I put an alert statement in for tests), but the scroll position bar does not. If I run the same code in javascript by a button then it works fine (so no problems in the javascript method).

    2 created an outputText component and visible value = false and clientComponent = true, and the value property value to a method of beans like this #(pageFlowScope.ratingBean.getscrollBarTextValue). Inside of the get accessor method to new call to the same javascript method but no help.

    3 tried to refresh only the gridCell inside the panelGridLayout, but since the gridCell is created by a grid cell single component af:iterator is getting updated. I need all the cells of the grid to be refreshed.

    It is a very annoying problem for our users and is reviewed by our Mgmt. Any help is appreciated.

    Thank you

    Rajesh.

    I could solve this problem.

    Here is the solution.

    Using a panelGroupLayout (scroll) as the component root to display the horizontal scroll bar and to display vertical scrollbars for columns panelGridLayout inside it.

    Set the height of the components inside the panelGroupLayout based on the height of the browser.

    Gets the height of the browser javascript using the af: clientListener of type "load" for root af:document.

    Also register a listener for the resized window event that will perform the ppr and refresh the height of the components.

    When I drag and drop I update just the panelGridLayout of the child when only resets do not bar (which is shown by the parent PanelGroupLayout) scrolling position.

    To provide a specific code, if anyone is interested.

    Thank you

    Rajesh.

  • Change the text aline of the part of the label of af: inputText

    Hello

    I want to change the text aline of the part of the label component af:inputText to "right". So I put the

    AF | inputText::label
    {
    text-align: right;
    }

    inside my css file, but it does not work. If I put

    AF | inputText:disabled:label
    {
    text-align: right;
    }

    It works for disabled inputText components, but I want to "text-align: right" to apply to all of the components of af: inputText. You have an idea?

    Thank you
    Will do

    Do, please always tell us your version jdev as the solution may depend on it!

    Depending on where you put the inputText you nee on the skin for example

    af¦panelFormLayout::label-cell{
        text-align: left;
    }
    

    Timo

  • Extract the value between the xml tags in the XML inside the BLOB field

    Hello

    I have a table that contains a BLOB column, this XML file to store column that received from an external source. Now for one of my needs. I need to read that value is the specific XML tag and create the entry in the database.

    Column name DataType
    IDNumber
    RecordBLOB OBJECT

    This is the XML code that is stored in the file inside the BLOB field format. XML below, I need go get AMC1234 there is after < itemName > text < / itemName > I thought to use XMLTYPE, but unfortunately my DBA team does not XML database, I now use UTL_RAW. CAST_TO_VARCHAR2 and recovery entire string, but I am not able to read actual result it takes. Can someone help me remove AMC1234.

    <? XML version = "1.0"? >

    <! DOCTYPE importFile SYSTEM "xyz.dtd" >

    -< importFile >

    -< importResult >

    < mode status = "DΘFINIR" > general failure < / status >

    < statusCode > 1 < / statusCode >

    invalid < errorMsg > list and holiday component < / errorMsg >

    -< returnInfo >

    < itemName > PRQ < / itemName >

    < Valeurelement > CBA < / Valeurelement >

    < / returnInfo >

    -< returnInfo >

    < itemName > LMP < / itemName >

    < Valeurelement > CBA < / Valeurelement >

    < / returnInfo >

    -< returnInfo >

    < itemName > KEY < / itemName >

    < Valeurelement > 9999 < / Valeurelement >

    < / returnInfo >

    -< returnInfo >

    < itemName > text < / itemName >

    < Valeurelement > AMC1234, FIXED_ALL, RED < / Valeurelement >

    < / returnInfo >

    < / importResult >

    < / importFile >


    Thank you

    Without

    Without - try something like...

    with t as (select"

    -

    -

    General failure

    1

    component and invalid vacation list

    -

    PRQ

    ABC

    -

    LMP

    ABC

    -

    KEY

    9999

    -

    Text

    AMC1234, FIXED_ALL, RED

    "the double pass."

    )

    Select Replace (regexp_substr (col,'([^<>']) itemName))

    , replace (regexp_substr (col,'([^<>""]) Valeurelement))

    t

    connection of level <=> ');

  • Select the distinct value of a column in the collection in bulk.

    Hi all

    Collecting the data of a query to a variable of type table. I need to select a separate of a perticular column value in the collection.

    Collection has followiing values inside.
    Col(c).articleid,
    Col(c).userkey,
    Col(c).origin,
    Col(c).addnlorigindata,
    Col(c).avdest,
    Col(c).dispfmt,
    Col(c).sourcecode,
    Col(c).success_ind,
    Col(c).error_code,
    Col(c).entry_createddate,
    Col(c).createdby,
    Col(c).filenumber,
    Col(c).linenumber,
    Col(c).acctnum,
    Col(c).assetkey,
    Col(c).autocompletedterm,
    Col(c).accessionnumber,
    Col(c).requestdatetime,
    Col(c).requestorip,
    Col(c).articleordinal,
    Col(c).userinitiatedind,
    Col(c).captchastatus
    I need to select distinct column values (for example: Col (c) .sourcecode) collection and the need to insert in the table if the value in this column does not exist in the table.

    Say, Col (c) .sourcecode has the value XYZ, ABC. If the "XYZ" value does not exist in the table, so I need to insert in the table and if "ABC" exists in the tables then don't insert it. (something like fusion) after seecting to the distinct values in a column in the collection.

    Thanks n regards
    Nana Akkivalli.

    The collection must be inserted before you can use this topic.

    In the Begin block, you have to collect a loose and insert inside: something like

    SELECT *
    BULK COLLECT INTO l_array
    FROM ALL_USER
    ...CONDITIONS...
    
  • [JS] [CS6] To access the scrollbar of an EditText properties

    Is it possible to access the properties of the scrollbar of an edittext? I'm trying to set the value of the scroll bar. And, possibly, having the edittexts scroll simultaneously. Under code doesn't seem to work, but it does not launch a mistake either. The only solution I can think of is a panel scroll bar, but that would work not to edittexts it?

    var l = new Window ("range");

    w.Group = w.add ("group {alignment: 'center'} '");

    var e1 = w.group.add ("edittext", [0,0,150,100], undefined, {multiline: true, wantReturn:true});} ")

    var e2 = w.group.add ("edittext", [25,0,175,100], undefined, {multiline: true, wantReturn:true});} ")

    var s = w.group.add ("scrollbar", [0,0,20,100]);

    E1. Text = "Lorem ipsum dolor sit amet, 195kgs adipisicing elit, sed eiusmod tempor storage developed and pain ut magna aliqua. Ut enim ad minim veniam, quis nostrud ullamco laboris nisi ut aliquip ex ea commodo computer practice. DUIs dolor gibbed IGH in SMF in voluptate total essecillum pain had price nulla pariatur. Excepteur sint occaecat cupidatat nonproident, sunt in culpa which served deserunt weakens anim id is laborum. « ;

    E2. Text = "Lorem ipsum dolor sit amet, 195kgs adipisicing elit, sed eiusmod tempor storage developed and pain ut magna aliqua. Ut enim ad minim veniam, quis nostrud ullamco laboris nisi ut aliquip ex ea commodo computer practice. DUIs dolor gibbed IGH in SMF in voluptate total essecillum pain had price nulla pariatur. Excepteur sint occaecat cupidatat nonproident, sunt in culpa which served deserunt weakens anim id is laborum. « ;

    E2.stepdelta = 50;

    E2. Value = 50;

    s.stepdelta = 50;

    s.Value = 50;

    w.Show ();

    You do not have access to an edittext scrolling bar, and there is no other way to scroll the text in an edittext control. I don't think that you are (nice) the idea of a single scroll bar to scroll through multiple controls will work.

    Peter

  • Center the text inside a Label component

    How can I Center text inside the element Label AS3?

    PD: Don't Center not the component Label but centering the text inside the label cmponent.

    Thank you

    Edwin

    Try...

    var myTF:TextFormat = new TextFormat();
    myTF.align = TextFormatAlign.CENTER;

    labelName.setStyle ("textFormat", myTF); substitute the labelName according to needs

  • Using the Evaluate function as source columns in presentation services.

    Can we use Evaluate function to get values from a data source (Oracle DB in my case) and to act as a column.
    I have custom DB function in oracle DB, it takes the input string parameter and returns a string. I am directly call this Evaluate function in the formula of change for any column in my sector of activity:

    EVALUATE ('FUNC_NAME (%1)', 'ABC')

    It gives following error.

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 14027] The browser cannot process the following query containing only constants: evaluate (FUNC_NAME (%1), 'ABC') as c1. (HY000)
    Publ. SQL: SELECT EVALUATE ('FUNC_NAME (%1)', 'ABC') saw_0 OF XXX ORDER BY saw_0

    Can use us the function Evaluate directly call and receive the value of the underlying database? We need to have a column from presentation services? Is there another way to do this?

    Regardless of the generation EVALUATE expression (using the constant only) in the DPR MDB logical column or simply in the responses there are a few rules:

    1. the RPD and answers
    If you want to query just EVALUATE expression without another column, then it must do (example):

    Column1:
    CASES where 1 = 2 then. Another EVALUATE PROD_CATEGORY ('TO_CHAR (%1)' as char, 100) end

    Evaluate uses only constant. We place the presentation inside the case attribute to make the browser to handle this request.

    2 responses
    You can only use EVALUATE ('TO_CHAR (%1)' as char, 100) in the expression column of answers but only in combination with another attribute of presentation, is not only EVALUATE ('TO_CHAR (%1)' as char, 100) in the query.

    Column1: PRODUCTS. PROD_CATEGORY
    Column2: EVALUATE ('TO_CHAR (%1)' as char, 100)

    Concerning
    Goran
    http://108obiee.blogspot.com

  • How to highlight the minimum value in a column?

    I need to highlight the lowest value in each column in my spreadsheet. I try to use the conditional nail, but I can't find a function to work as I need.

    One way would be to calculate the minutes in a cell of a footer row, select the cells in the body of the column and apply conditional highlighting like this:

    You must click on the chip address first, and then select the comparison cell, A8 here, then be sure to keep the row and column.

    The A8 from the example formula is = MIN (A).

    The result is a bold 2 (not shown in the screenshots).

    SG

  • How can I enlarge the letter of 'Postvak In' column, not emails

    I'm working on an Apple and the Thunderbird with Postvak In column, Verzonden etc., is such a small lettertype it costs energy to focus. If I can enlarge always be fine. The email itself is not a problem. It's easy, but it's the entourage.
    Hope you can help.

    This add-on: https://addons.mozilla.org/en-us/thunderbird/addon/theme-font-size-changer/ allows you to change the font used in menus and screens of Thunderbird.

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • It is difficult to see how to change the color of the scrollbar in gray on gray background?

    It is difficult to see how to change the color of the scrollbar in gray on gray background?

    I think you should probably use an extension or theme to replace the default colors.

    If you are not interested in all the changes that might come with a new theme, is the next extension compatible with Linux?

    https://addons.Mozilla.org/firefox/addon/noiascrollbars/

Maybe you are looking for

  • My stored user names and passwords are removed several times each time the computer restarts. ______

    My "XP Home Edition' Service Pack 3 > stored user names and passwords are removed several times each time the computer restarts. Please check the LINK for the process that I'm going through, but nothing helped. http://www.box.NET/shared/zcokjesxx3 Th

  • How do I open picture it! mix files in windows vista?

    I saved the picture on my last laptop on a disc using windows xp, from microsoft picture it! When I put the disc in my new laptop which is running vista, he said: I can't open mix files and to choose another program to open them, but which?

  • How to make the screen on my smaller screen I can see all this?

    I don't know how and don't can not find the answer on the web or on my computer. How can I change the size of my monitor screen so I can see everything and will be able to use the back button, minimize, max, buttons etc.?

  • Unable to download Gimp 2

    When I download Gimp 2, it opens to the Brush tool instead of the console. Vista users on Gimp discussion forums have noted problems to download this program. Does anyone have a solution? Thank you-

  • BlackBerry Smartphones Blackberry BIS 4.1

    Hi all Does anyone know when this new BIS 4.1 will be pushed to all businesses. My carrier is VZW and I would just know what to expect. There are different graphics, faster web, display column... etc? Thanks for the help...