Text entry in the Table, height of automatic resizing to insert content

I have a table with a variety of components inputText several rows, most of them with the attribute @row the value 2.

However, one of these fields has sometimes wordy content. Is it possible to configure the component InputText AutoSize himself (and line) at a height that displays the entire contents without scroll bars? In other words, is there a way to set the text box/column/table, so that the height of the text in each line box auto-tailles to display all content.

I am aware of a brute force method to set line attribute of the 10 inputText; However, since most of the time the text can be inserted into the 2 or 3 rows, assigning 10 wastes a lot of real estate.

Have tried to define different properties without luck anl - this is the current definition of the InputText and the column that contains:

<af:column sortProperty="Definition" sortable="true"
                         headerText="#{bindings.NamesBatchApproveVO1.hints.Definition.label}"
                         id="c9" width="450" inlineStyle="height:inherit;">
                <af:inputText value="#{row.bindings.Definition.inputValue}"
                              label="#{bindings.NamesBatchApproveVO1.hints.Definition.label}"
                              required="#{bindings.NamesBatchApproveVO1.hints.Definition.mandatory}"
                              columns="#{bindings.NamesBatchApproveVO1.hints.Definition.displayWidth}"
                              maximumLength="#{bindings.NamesBatchApproveVO1.hints.Definition.precision}"
                              shortDesc="#{bindings.NamesBatchApproveVO1.hints.Definition.tooltip}"
                              id="it4"
                              rendered="#{row.bindings.Definition.inputValue != null}" simple="true"
                              wrap="soft" rows="3">
                  <f:validator binding="#{row.bindings.Definition.validator}"/>
                </af:inputText>
              </af:column>
Using 11g.

Thanks for your help.

Published by: user757151 on November 15, 2012 11:12

See that Frank's article: https://blogs.oracle.com/jdevotnharvest/entry/gotcha_when_using_javascript_in

AP

Tags: Java

Similar Questions

  • 'Lines' of the table does not automatically extend as added content?

    This is a table of Storyboard, built with a simple table.  Three columns: one for the images, one as a spacer, a text.

    I did the storyboard to the origin in the Pages, and then converted in Word to work with a partner, now converted to Pages yet.  It seems to be OK except for one thing:

    Before, when I would write in the text of the text column... the line would extend automatically as the text was written, at least in the size of a page.

    Now, I think lines are somehow "locked" and does not (at least one page), extend this text and images, are "hiding" because the line is not normally develop as she would have.

    Is there some click preferably a place that keeps my lines to a constant size, any content is in every cell?

    Or maybe it's a corruption caused by going to Word and back?

    All ears,

    Ben

    V4.3 Pages ' 09, or permit Pages v5.6.2 splitting a line beyond the limits of the page, so limit the content of text in a cell a to a single page. I just copy and paste a page full of text and he dropped in the first row, cell 3. It is automatically extended to the bottom of the page and not details. There is no hidden settings in Pages that will be substituted for this limitation.

  • Setting a different value to a text entry in the table of the adf conditionally

    Hi guys

    I work in Colombia - British ADF and ADF Faces.I have a table of adf upadable in which a text input is there in every page row.when is loading the input text is filled with-1 (i.e., the value of one of my columns in a table in the database). My goal is to make this entry blank when text the value retrieved is - 1 for this line. Entering text except-1 data will remain as it is.

    We set the value of this text of entry through inputtext2.setValue("") conditionally to the support of this page bean. But even if a given line is - 1, it contains the definition of the data of all the empty lines.

    Can anyone suggest me how to do this please?

    Put a transient attribute in your view object and use that one instead of the actual column.

    In the accessor get for the transient, did return null if the value of the real column is - 1

    In the setter, just delegate to the true Set accessor.

    John

  • Can I hide a book or entry in the table of contents, based on a parameter?

    Hi all. I am currently using RH 11.  Is there a way in which I can hide a book or entry in the table of contents, based on a parameter passed in the URL?

    Rh10 introduced dynamic content to the user, otherwise known as categories of content-centric. In an SSL, you can create different outputs. The idea is that aid is open with a drop down menu where the user can select a category. If you look in the output folder, there is a folder for each category and you can open this assistance to a specific category. However, the user can then select other categories.

    The method is described in the HR visit to my site and the projects in the sample have a SSL showing the method.

    To open a specific category, point you to the start page for the category, the name of the category. So the TypeA category can be open from TypeA.htm.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • To insert a text entry on the Common Language RunTime programmatically

    Scenario is,

    I want to add a text on my page programmatically. That is to say when I press the button or press on enter into a text input, it automatically inserts the Code below in the Page Source File (XML file)

    < h:inputText id = "it6" style = "height: 15px;" Width: 40px; "/ >

    This code is generated when we add the HTML page JSPX type input text.

    How can I generate this code or insert text of entry program? Thanks in advance

    You can create and add components to the page when running, but it is not part of the xml source jspx, it will appear on the page, and you can create binding and validator for this according to your requirement

    Check this blog post -http://www.awasthiashish.com/2013/08/creating-dynamic-layout-form-and-ui.html

    Hope this will help you

    Ashish

  • Conversion tables and the entries in the table

    I'm working on a conversion table for our former products of FM unstructured to DITA. I understand the basic concepts, but I'm having a problem with the table cells.

    I have P:CellBody in my conversion table, in the first row, mapped at the entrance with a cellbody qualifier.

    I also TC mapped at the entrance.

    The same applies to P:CellHeading, and Th.

    Therefore, my text is wrapped in two input elements. The context tab to show the item says:

    entry

    entry

    line

    TBODY

    tgroup

    Table

    body

    NoName

    NoName

    I'm sure it should be the same as above with the input only one element (and of course with the fixed NoNames which I think I know how to do; I just have not had here yet).

    How to avoid get my cells wrapped in two input elements?

    Thanks in advance,

    Marsha

    Marsha,

    I don't understand what you're trying to do, or what is exactly in your conversion table. Be aware, however, that FrameMaker will always create elements for the basic elements that occur in your tables. The table of conversion that you give little control of how these items will be marked, but not question whether elements will exist.

    If your conversion table contains lines such as:

    P:CellBody entry cellbody
    TC: entry

    You will get the nested input elements. External is the cell of the table itself and inside is the paragraph. FrameMaker does not have a valid document to use the tag of the element itself to a cell and a container, so aside from the results is not what you wanted, they are not correct in FrameMaker.

    If your table cells contain simple paragraphs and you don't want the elements for cells and paragraphs, your conversion table didn't even need to mention paragraph CellBody and CellHeading tags. Indeed, if your table formats using CellBody as paragraph format for cells in the body of a table and CellHeading as the paragraph format for the cells in the table, your ESD header didn't even apply the paragraph formats.

    Another alternative is to include a paragraph tag in a table row of conversion for a table cell by combining TC: and P: to match table cells containing such paragraphs. For example:

    TC: P:CellBody entry

    creates items named cell entry of table cells containing paragraphs tag CellBody. The paragraph in such a cell is not encapsulated in an extra element.

    One final note is that TH: in a conversion table refers to the position of the entire table. his children are header lines. The analogue of table of TH body: to:, not TC.:

    -Lynne

  • When I print a table (multiple pages) the text box under the table seems to be moving under the table and prints with the table of this overlap. My only solution is to push the text box further down the page before printing... Any advice?

    Im having problems shaped a text box so that my table does not print right on top of it. I want it inside of my table (it's 'tems and conditions' budget)

    Any advice would be great.

    I face the same problem as well. Would like to know if there is a better way to get the text box to move with the table instead of the effect that overlap. Have to manually adjust the layout, whenever I want to get a reasonable print of a document (or export it to PDF) seems counterintuitive, especially when it causes the document seem ill-disposed on screen.

    I am running version 3.6.2 of the numbers in the case where that matters.

  • Find maximum in the entries in the table

    Dear all,

    I would like to find and replace the highest value among a set of values being interviewed.  Only, I managed to find the highest value, if I compare the new value with the old value by using a shift with a single value (element) register only.

    Currently, if I deal with entries in table instead of a single value, how can I do?

    Example:

    New entry 1 = [5

    4

    3

    2

    1]

    Entry 2 = [4

    3

    5

    3

    [3]

    The answer should therefore x = 5

    4

    5

    3

    [3]

    So if another new table of entry has higher values x, the answer will change again. The values are compared against the row of each element in the table. The final answer should be in a table.

    Can anyone help this? Thank you very much!

  • How to get the text formatting in the tables

    Dear experts and aid

    For my project, I import an RTF file and then read the data into 3 tables. It works fine when just using the contents of the string of paragraphs. However, the final script should be able to read and to replace the text formatted...
    Why use intermediate tables? Because otherwise I need to swap between two fm-documents (and you can be a part of the book).

    The imported file starts with a certain number of lines separated into two parts by a TAB ("designates a TAB in \x08 FM)
    [[Garneau, 1990 #12]]    »   [9]
    The good article can also be locally as text, e.g. [9]
    Then follow the same (or smaller) number of paragraphs with text formatted like this:
    [9]"D. Garneau, ed., National Language Support Reference Manual (national language Information Design Guide. Toronto, CDN: IBM National Language technical Centre, 1990.

    Is it possible to replace in the body of the function below the next song

      while(pgf.ObjectValid()) {
        pgfText = GetText (pgf, newDoc);
        gaBibliography.push(pgfText);
        pgf = pgf.NextPgfInFlow;
      }
    

    with this

      while(pgf.ObjectValid()) { 
        gaBibliography.push(pgf);
        pgf = pgf.NextPgfInFlow;
      }
    

    Do I need a special statement of the gaBibliography range?
    And how to get the right part of the lines as formatted intro thingy in table gaFmtCitsFmt ?

    Currently, I read in the tables as "strings" (function GetText not shown):

    var gaFmtCitsRaw  = [];                           // left column in processed RTF
    var gaFmtCitsFmt  = [];                           // right column in processed RTF
    var gaBibliography= [];                           // bibliography lines from processed RTF
    // filename is something like E:\_DDDprojects\FM+EN-escript\FM-testfiles\BibFM-collected-IEEE.rtf 
    
    function ReadFileRTF (fileName) {
      var nCits=0, nBib = 0, openParams, openReturnParams, newDoc, pgf, pgfText ;
      var TAB = String.fromCharCode(8);               // FM has wrong ASCI for TAB
      var parts = [];
      
      openParams = GetOpenDefaultParams();
      openReturnParams =  new PropVals();  
      newDoc = Open (fileName, openParams, openReturnParams);  
      pgf = newDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;  // get first pgf in flow
    
    // --- read the temp/formatted citations  
      while(pgf.ObjectValid()) {
        pgfText = GetText (pgf, newDoc);
        if (pgfText.substring (0,2) == "[[") {        // citation lines start with [[
          parts = pgfText.split(TAB);                 // get the two parts of the line
          gaFmtCitsRaw.push (parts[0]);               // Push the result onto the global array
          gaFmtCitsFmt.push (parts[1]);
          pgf = pgf.NextPgfInFlow;
        } else { break }
      }
    
    // --- read the bibliography
      while(pgf.ObjectValid()) {                      // until end of doc
        pgfText = GetText (pgf, newDoc);
        gaBibliography.push(pgfText);
        pgf = pgf.NextPgfInFlow;
      }
      newDoc.Close (Constants.FF_CLOSE_MODIFIED);
    } // --- end ReadFileRTF
    

    The following questions will then be how to change the script of FindAndReplace of Ian Proudfoot for managing text formatted as replacement. I will need to use the copy and paste IMHO...

    Klaus, okay, before pasting, you must assign the TextSelection object at your insertion point.

    // Add a new paragraph after the current paragraph.
    var newPgf = oDoc.NewSeriesPgf (lastPgf);
    var textRange = new TextRange (new TextLoc (newPgf, 0), new TextLoc (newPgf, 0));
    
    oDoc.TextSelection = textRange;
    oDoc.Paste ();
    

    -Rick

  • Text bound within the table doesn't work - please help!

    Inside a table with 3 columns, I've linked to text in a file in a different folder but the same site, and the links no longer work.  I have linked the text in a table before and it worked. I don't know if it is the properties of the table which is wrong or something else that I did, but I have read everything I can find and can not find the reason why my links do not work.  Can you help me?

    In Chrome, a simple click and drag reveals an element placed above your table.  After inspection, it seems to have to do with your "textbox" div. try removing the divs and z-index that's pricing; and don't forget to check that you have closed your divs properly that preceded it.

  • Store an uncertain number of entry in the table

    Hi, I am new to java, and even if I make a practice of the input of entrance of the store array I have a question like this:

    If we want to use the table, we must create the table and require that give us the size of the array.

    For example, if I know I will have ten full entries, I can simply store an array like: int [] intArray = new int [10];

    But what happens if we are not sure about the number of entries, it could be 10, it could be 20.

    Can I create an array with an uncertain size? Or I shouldn't use table to store the entry?

    Collections. And more specifically lists.

    Tables are fine when they are good, but especially you should use Collections. And in this case you should use list.

    List myints = new ArrayList();
    myints.add(1);
    myints.add(15);
    myints.add(-3);
    myints.add(6);
    // etc
    for( int i : myints){
      System.out.println(i);
    }
    

    See: http://download.oracle.com/javase/tutorial/collections/index.html

  • Unable to display data for the date where there is no entry in the table

    Hello

    I need a urgent, described below:

    I have a table named as 'dirty', consisting of three columns: empno, sale_amt and sale_date.
    (Please ref. The table with data script as shown below)

    Now, if I run the query:
    "select trunc (sale_date) sale_date, sum (sale_amt) total_sale of the sales group by order trunc (sale_date) by 1.
    It then displays the data for the dates there is an entry in this table. But it displays no data for the
    date in which there is no entry in this table.

    If you run the Table script with data in your schema, then u will see that there is no entry for the 28th. November 2009 in
    sales table. Now the above query displays data for the rest as his dates are in the table of the sale with the exception of 28. November 2009.
    But I need his presence in the result of the query with the value "sale_date' as '28. November 2009 "and that of"total_sale"as
    « 0 ».

    Y at - there no way to get the result I need?

    Please help as soon as POSSIBLE.

    Thanks in advance.

    Create the table script that contains data:
    ------------------------------------------

    CREATE TABLE SALE
    (
    NUMBER EMPNO,
    NUMBER OF SALE_AMT
    DATE OF SALE_DATE
    );
    TOGETHER TO DEFINE
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE (DECEMBER 1, 2009 10:20:10 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE (NOVEMBER 30, 2009 10:21:04 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE (NOVEMBER 29, 2009 10:21:05 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE (NOVEMBER 26, 2009 10:21:06 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE (NOVEMBER 25, 2009 10:21:07 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 5000, TO_DATE (NOVEMBER 27, 2009 10:23:06 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 4000, TO_DATE (NOVEMBER 29, 2009 10:23:08 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 3000, TO_DATE (NOVEMBER 24, 2009 10:23:09 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 2000, TO_DATE (NOVEMBER 30, 2009 10:23:10 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 7000, TO_DATE (NOVEMBER 24, 2009 10:24:19 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 5000, TO_DATE (NOVEMBER 25, 2009 10:24:20 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 3000, TO_DATE (NOVEMBER 27, 2009 10:24:21 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 2000, TO_DATE (NOVEMBER 29, 2009 10:24:22 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into SALES
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 1000, TO_DATE (NOVEMBER 30, 2009 10:24:22 ',' DD/MM/YYYY HH24:MI:SS'));))
    COMMIT;

    Any help will be necessary for me


    Kind regards
    WITH tab AS
      (SELECT TRUNC(sale_date) sale_date,
        SUM(sale_amt) total_sale
         FROM sale
       GROUP BY TRUNC(sale_date)
       ORDER BY 1
      )
     SELECT sale_date,
      NVL(total_sale,0) total_sale
       FROM tab
       model
       REFERENCE refmodel ON (SELECT 1 indx, MAX(sale_date)-MIN(sale_date) AS daysdiff , MIN(sale_date) minsaledate FROM tab)
         dimension BY (indx)
         measures(daysdiff,minsaledate)
       main main_model
       dimension BY (sale_date)
       measures(total_sale)
       RULES upsert SEQUENTIAL ORDER ITERATE(1000) until (iteration_number>refmodel.daysdiff[1]-1)
       ( total_sale[refmodel.minsaledate[1]+iteration_number]=total_sale[cv()] )
    ORDER BY sale_date
    

    using a clause type

    Ravi Kumar

  • Text entry to the area of dynamic text with answers

    I need to create a demo of an application of "Technical Support".

    I have a text entry box, a dynamic text box and "submit" button.

    When a user types in the text entry box, then press the submit button that their "issue" appears in the dynamic text box.

    It all works as should be outside of a thing. I need to be able to have the user enter several questions. Now if they first enter press and "chicken fried" submit, then enters the 'pizza' and presses to resubmit the text displayed in the dynamic text box should show two lines:

    fried chicken
    Pizza

    but instead, whenever a user presses on submit text is replaced (i.e. 'fried chicken' is replaced by 'pizza' on the same line).

    Here is the code so far:
    code block
    questionTxt.text = "enter your support tech here request.';
    questionTxt.onSetFocus = function()
    {
    This.Text = "";
    };

    displayTxt.text = "Support: Hello.» How can I help you? « ;
    displayTxt.onSetFocus = function() {}
    This.Text = "";
    };


    var i = 1
    var responseTxt = "Thank you, one moment please."

    this.submitBtn.onRelease = function() {}
    output = ' Dr. Smith: "+ input +"\n"+ responseTxt + '\n'; '.
    questionTxt.text = "";
    }
    end code block

    So the end result should be:

    The user enters "I have a question", press submit
    dynamic text box shows "Dr. Smith: I have a question" and below of this "Thank you, one moment please.
    -> It's currently the case

    The user enters into ANOTHER question "I also need info on...» "and submit presses
    Dynamic text box says:

    Mr. Smith: I have a question
    Thanks, one moment please.

    Mr. Smith: I also need information on...
    Thanks, one moment please.

    --------------------------------------------------------------------

    My guess is that I need to use the variable "input" of the box of text for each line, but not too sure how.

    Any suggestions would be greatly appreciated. Thank you!

    may want to rather like:

    var x 1: String = "Dr. Smith: "; "
    var responseTxt:String = ' Thank you, one moment please. "
    displayTxt.html = true;

    this.submitBtn.onRelease = function() {}
    displayTxt.htmlText += "\n" + x 1 + questionTxt.text + "\n" + responseTxt;
    questionTxt.text = "";
    }

  • Remove the entries in the table less resolution to

    For example, I have the following table:

    [1 k, 2 k, 3 k, 23 k, 24 k, 25 k, 26 k, 51 k, 52 k, 54 k, 56 k, k 76, 78 k]

    For example, the resolution is 10 k

    I want to process the table in a way so that it returns a table with the frequencies-more-than-resolution deleted while at the more-than-resolution-frequencies only maintain the highest and delete the rest.

    In the table above, I've separated the elements to indicate the Group of frequencies forming 'more-than-resolution-frequencies' example 1 k, 2 k, 3 k are more-than-resolution-frequencies

    The resulting table should look like.

    [3 k, 26 k, 78 k]

    In the example above, there are 3 groups of frequencies ilustration purposes, but it could be any number.

    Round table and removing duplicates close brings the result but this adds an error equal to the resolution.

    I hope this helps.

  • How sensitive divs that are the same height, but with different amounts of content in them?

    I try to use a square twice side by side on my site, and they are sensitive, but as they have a different amount of content in them, they are different height. How do I make them the same height so they dimensionnera always evenly?

    Here is an example of what I want to do.Screen Shot 2015-07-07 at 13.46.58.png

    Here is the css and html I use;

    . Half-width {} content

    Width: 50%;

    Float: left;

    Max-width: 675px;

    Max-height: 338px;

    }

    . {Texthalf}

    Width: 80%;

    height: 80%;

    margin: 10% 10%;

    }

    < div class = "Half-width-Content" style = "" background-color: # 2793 3; ">"

    < div class = "Texthalf" >

    < h1 > < font color = "White" > did you know? < / police > < / h1 >

    < hr > < / h >

    < h6 > < font color = "White" > Hacel has combined 100 years of experience in the lighting industry < / police > < / h6 >

    < hr > < / h >

    < / div >

    < / div >

    And this is what I get now;

    Screen Shot 2015-07-07 at 13.49.42.png

    Thank you

    First - make sure you include a link to the jquery library in your page head tags:

    And then paste the code I provided after him.

Maybe you are looking for