Auto increase the rows of Input Text

JDev 11.1.1.5.0 BPM SOA
Need to automatically increase the number of rows of  an input text component according to the data. If the data is pretty large, display it in multiple rows or if it is small, display it in a single row.

You can try to put a EL on the rows attribute which points to a bean method where you calculate the number of rows you want to show:
    public Integer getRows() {
        BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
        AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("myString1");
        String str = (String)attr.getInputValue();
        if (str == null)
            return 1;
        int len = str.length();
        if (len <= 10) {
            return 2;
        } else if (len <= 20)
            return 3;
        else
            return 4;
and on the page:
              <af:inputText label="Label 3" id="it7"
                            value="#{bindings.myString1.inputValue}"
                            rows="#{Page1Bean.rows}" autoSubmit="true"/>
if the bean is registered under Page1Bean and the inputText vaule property is bound to "myString1".
Timo
Message was edited by: TimoHahn

Similar Messages

  • [ADF Faces] set cursor position to the first column input text in ADF table

    How do i set the cursor position to the first column input text when i Insert a blank row?
    My idea is to implement using javascript. document.setfocus() but how do i do it from the backing bean code? or how do i install custom js to call document.setfocus()?
    any ideas?
    Message was edited by:
    user450391

    Did you try by iterating the selected row?
    Bind the table with the managed bean and then try with below code:
    RichTable empTable;
    RowKeySet selectedEmps = getEmpTable().getSelectedRowKeys();   
    Iterator selectedEmpIter = selectedEmps.iterator();
    DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding empIter = bindings.findIteratorBinding("EmpView1Iterator");
    RowSetIterator empRSIter = empIter.getRowSetIterator();
    while(selectedEmpIter.hasNext()){
       Key key = (Key)((List)selectedEmpIter.next()).get(0);
       Row currentRow = empRSIter.getRow(key);
       System.out.println(currentRow.getAttribute("Ename"));

  • Increasing the row height in crm 2011

    Hi,
         I am using crm 2011, I want increase the row height in a view, so that it can display the description in multiple rows.
    any information will be helpful.

    In views you can only specify column width and not row height.
    For columns that have large data, taking the mouse over the column will display the text in the tooltip.
    HTH 
    Sam 
    Dynamics CRM MVP |
    Inogic | http://inogic.blogspot.com|
    news at inogic dot com
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

  • How to increase the row height of the table in the smartform

    Hi,
    Can any one say,
    How to increase the row height of the table in the smartform.
    It is presently show the row width very small, i want to increase the row with of the table in the smartform.
    Plase say how can we increase the row height in the smartform.

    Hi Ravi,
         In Smartforms , Select the Table and you can adjust the cell hieghts in OUTPUT OPTIONs TAB.
        Reward points if that Helps.
    Manish

  • How to increase the row and Column length of Bex query in EP Portal 7.3

    Dear All,
    Please let me know the process  to Increase the Rows and Columns  Size of Bex Query in Enterprise Portal  of SAP  7.3 .
    Please  let settings to increase rows up 10000 and column 100 in one page.
    Thanks
    Regards,
    Sai

    Dear All,
    Please find the attached screen shot.
    The report be open with 4 or 5 columns and 5 or 6 rows.
    So, please  let me know how to increase the length of the table.
    Do the needful for me to over come this issue.
    Thanks
    Regards,
    Sai.

  • How to increase the rows of a Table control on ITS

    Hi,
    I'm trying to increase the number of rows to 20 on ITS but it always shows 2 rows per navigation. Although in the backend module pool there are 8 rows and the GV_SOS_LIST_CONTROL-LINES contains the total no of rows of the internal table. yet there are always 2 rows getting printed. This screen is in different function group and being called from some other function group i.e BBP_SC_UI_ITS. Are there any parameters that we have missed out to pass from BBP_SC_UI_ITS to our function group. Reply needed urgently!!!!!!!!!!!

    Hi,
    i tried increasing the rows on the browser by hard coding the counter and then the rows do increase but the records that are shown are still 2 per navigation. i doubt if it is a screen size constraint. the transaction in which i'm trying all this is bbpsc01.

  • How to Increase the Rows and Columns Size of Bex Query in Enterprise Portal  of SAP  7.3

    Dear All,
    Please let me know the process how to Increase the Rows and Columns  Size of Bex Query in Enterprise Portal  of SAP  7.3 .
    Currently I am getting Only  4 columns and 10 rows in One Page .And I am getting 1,2 etc tabs for both row and column. So i want to increase the column length more than 100  and row length more than 10000.
    Please suggest me a suitable solution to over come this issue.
    Please find the Below screen shot.
    Thanks
    Regards,
    Sai

    Dear All,
    Please find the attached screen shot.
    The report be open with 4 or 5 columns and 5 or 6 rows.
    So, please  let me know how to increase the length of the table.
    Do the needful for me to over come this issue.
    Thanks
    Regards,
    Sai.

  • Can i set the content of input text in a form layout in the uix page center

    Hi
    i have a simple question, how can i set the content of an input text in a form layout in the .uix page center?
    i saw in the page properties but i didn't found.
    thank you for your help.
    Edited by: Islem on 19 déc. 2008 00:22

    Sirrick,
    If I understand your question correctly, you want to programmatically set how many array elements (clusters) to show. You can do this with the Array properties: Number of Rows and Number of Columns. Please see the attached VI.
    Zvezdana S.
    National Instruments
    Attachments:
    Array_Elements.vi ‏20 KB

  • Increasing the size of designated text area in a photo book

    I am using IPhoto version 9.5.1 on a MacBook Pro (10.9.2). I am trying to increase the designated text area so that I can increase the font size. This will allow for the final product to be more legible. Currently, I am featuring a student per page. The designated text areas are 4 separate sections on these pages.  I would like to include on each page the following.
    Aviator
    Person's Name
    Algebra I
    Homecoming Dance
    When I increase the font size in those 4 designated areas, the red caution triangle with exclamation point states, 'This text doesn't fit the designated text area!' 
    I have two questions.
    1. How do I increase the text area so the larger text will fit and print properly?
    2. Is there an overall command that I can input these increases to the text area so that the 36 papes have the same changes in the designated text areas? Otherwise, I will have to make those changes for each individual pages that are featuring a student.
    Comptroller

    You can "adjust" a photo frame or text box size on a page with the following key combinations:
    Command + Option +⬆arrow:  increase frame height.
    Command + Option +⬇arrow:  decrease frame height.
    Command + Option + ➜ arrow:  increase frame width.
    Command + Option + ⬅ arrow:  decrease frame width.
    To adjust its position on the page use these key combinations:
    Command + Control + ➜ arrow:  move frame to right.
    Command + Control + ⬅  arrow:  move frame to left.
    Command + Control + ⬆ arrow:  rotate frame counter clockwise.
    Command + Control + ⬇ arrow:  rotate frame clockwise.
    You can conver the standard frame (on the left) to this one (on the right)
    Always be sure to create a PDF file of the book for proofing before ordering a book. This Apple document describes how to create the PDF file: iPhoto, Aperture: Previewing an order in iPhoto or Aperture. Keep the PDF file to compare it with the printed copy when it arrives.
    If you have Pages you can easily create custom book pages as images and add them to a 1 photo per page layout by following this tutorial: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book
    OT

  • How to increase the row heighth in yahoo mail

    All of a sudden the row height of my yahoo mail page is smaller than the font I've always used. I've tried changing the font size to see if the row height would increase, but this doesn't solve the problem. I tried switching over to Internet Explorer, but the problem persists.

    If you get the same result in both Firefox and IE, then it might be a change by Yahoo in their style sheet.
    In the Inbox, the row height is fixed, so if you use Firefox's zoom feature to increase the text size, you need to disable Text Zoom Only to have the rows grow along with the text.
    Alt+v (opens the classic View menu) > Zoom > ''uncheck'' Zoom Text Only
    Does that make any difference?

  • How to change the Label of input text box after selecting a value in LOV.

    Hi All,
    I have a requirement that after selecting a value in LOV the Label of the next input text box should change accordingly.
    I am able to do cascading LOV's.
    how can i meet this requirement?
    TIA,
    Vishal

    Sample:
    JSPX Page:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.FirstName.inputValue}"
    label="#{bindings.FirstName.hints.label}"
    required="#{bindings.FirstName.hints.mandatory}"
    columns="#{bindings.FirstName.hints.displayWidth}"
    maximumLength="#{bindings.FirstName.hints.precision}"
    shortDesc="#{bindings.FirstName.hints.tooltip}"
    id="it1" *binding="#{ForumSampleBean.inputText}"*
    *partialTriggers="departmentIdId">*
    <f:validator binding="#{bindings.FirstName.validator}"/>
    </af:inputText>
    <af:inputComboboxListOfValues id="departmentIdId"
    popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
    value="#{bindings.DepartmentId.inputValue}"
    label="#{bindings.DepartmentId.hints.label}"
    model="#{bindings.DepartmentId.listOfValuesModel}"
    required="#{bindings.DepartmentId.hints.mandatory}"
    columns="#{bindings.DepartmentId.hints.displayWidth}"
    shortDesc="#{bindings.DepartmentId.hints.tooltip}"
    *autoSubmit="true"*
    *immediate="true"*
    *valueChangeListener="#{ForumSampleBean.lovValueChangeListener}">*
    <f:validator binding="#{bindings.DepartmentId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.DepartmentId.format}"/>
    </af:inputComboboxListOfValues>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *Managed Bean:*
    public class ForumSampleBean {
    private RichInputText inputText;
    public ForumSampleBean() {
    super();
    public void setInputText(RichInputText inputText) {
    this.inputText = inputText;
    public RichInputText getInputText() {
    return inputText;
    public void lovValueChangeListener(ValueChangeEvent valueChangeEvent) {
    *this.inputText.setLabel("New Label");*
    Thanks,
    Navaneeth

  • How to increase the length of selection texts

    Hi to all..
    please do a favour......
    My problem is ,I am not able to enter long text in SELECTION TEXTS after certain length ,but we need long texts .So what I have to do to enter long texts..
    plz respond

    Hi Suribabu,
    In SE63 We can increase the length of the text.
    There is one option called Praposal,Edit Icon, There you can increase the length Max 255(see the Data element LXEUNITLIN) of the selection text.
    Regards
    Bhavani

  • HT2523 Is there a way to increase the size of textedit text on the screen without increasing the font size? (as can be done in WORD for MAC)

    In Microsoft Office for Mac WORD I can make text appear larger on the monitor screen without increasing the font size for printing purposes.  I have not been able to figure out if/how this can be done in TextEdit.  In TextEdit, if I set the font size to between 10 and 12, the text appears very small on the screen.  But if I increase the font size, the font size will be way too large when I print such a document.

    Thank you very much for your prompt reply and suggestion. 
    Actually after I posted my question, I saw link to Text Edit viewable font, which pointed out the small up and down arrows in the lower right corner of the Text Edit screen. 
    However, it is also good to keep in mind the Universal Access options.

  • Increase the row width - ALV

    Hi Al,
    When i try downloading the output in Excel thr ALV.
    The row is decreased I want to increase the size of row depending upon the fields in Excel. Pl help me.

    when i downloading into excel sheet.
    the o/p is
    date: 11/13/2006    dynamic o/p
    matnr   mtart
    38       descriptiom
    i want to remove the date column i.e 1 colun in excel sheet.

  • Can't use the spacebar in input text??

    I've been posting a few things about input and dynamic text in Flash on here I know, but this one has just got me stumped. Do input text fields not recognize the spacebar? I was typing in my input text field in my movie, and noticed I couldn't add space between words. Any way to work around this, or is my little brain just missing something again?

    Typing seentences in input textfields, spaces included, should not be an issue.  No telling why you might be having a problem.

Maybe you are looking for

  • Display pdf of an xstring directly in ERP

    Hi, I am trying to generate a pdf-file out of an xstring-object which I got from the pdf creation in webdynpro. I want to display the pdf directly in the erp-system. Does anybody know how to convert the xstring to pdf and how to directly show the pdf

  • Embedding audio in EPUBs

    Hi, Is it possible to embed audio in EPUBs created with InDesign CS6? When I try to place an mp3 or mp4 in InDesign, I get "Cannot place this file. No filter found for requested operation" and "Import failed", respectively ...

  • SQL*Loader-282: Unable to locate character set handle for character set ID

    How do I fix this error that i'm getting when running SQL Loader and connecting to an Oracle 10g database. I'm on 10g client. SQL*Loader-282: Unable to locate character set handle for character set ID (46). Here's the NLS parameter settings in databa

  • Lightroom 3.6 crashes following power outage

    I had a sudden outage at home. Since then my PS LR 3.6 stops working after a few seconds and shows up the following message: "Adobe Photoshop Lightroom 3.6 64-bit dejó de funcionar". I have reinstalled the application a few times to no avail. Any sug

  • Datform's Rows & Columns are not displaying in Capital Expense Planning

    Hi , Any one let me know why the Dataforms Row's & Columns are not displaying in Summary Reports Dataforms in Capital Expense Planning ,in 9.3.1 Version. Any help on this appreciable... Thanks.........