Questions of text wrap in the jsf page.

Hi experts.

In jdev 12.1.3. and IE 11.

How define the texts be auto-enveloppé in a field editable multiline?
I tried:
For a compenent of af: inputText in an af:form, I put the rows of the af property: inputText > 1, then there will be several lines showed.
but the text will not auto-enveloppé when I enter texts in this area.
AND the text will be auto-emballé when I put this readonly field.

< af:inputText value = "#{bindings." Contents.inputValue}.

label = "#{bindings." Contents.hints.label}.

required = "#{bindings." Contents.hints.Mandatory}.

columns = "#{bindings." Contents.hints.displayWidth}.

maximumLength = "#{bindings." Contents.hints.Precision}.

shortDesc = "#{bindings." Contents.hints.ToolTip}"id ="it4.

readOnly = "#{bindings." "{Status.inputValue lt 1} ' lines =" 14"

wrap = "hard" > ""

< f: validator binding = "#{bindings." Contents.Validator} "/ >"

< / af:inputText >

Can someone help?

Thank you.

Post edited by: BAO. SZ and IE 11

Hello

my last post code must be placed in your css file, then in the inputText: styleClass = "wrapInputText."

or you can add the inputText: inlineStyle = "' space: string pre; '"

Kind regards

Ruben.

Tags: Java

Similar Questions

  • Automatically, click a CommandButton in the JSF page after loaded the page

    I need to automatically, click the command button 'refreshPage' after loading of the JSF page below: (after trying the code in blue comment I'm unhappy. Please help!)

    <? 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"
    "xmlns:PE ="http://xmlns.oracle.com/adf/pageeditor"
    Cust ="http://xmlns.oracle.com/adf/faces/customizable" >. "

    < f: loadBundle basename = "oracle.webcenter.portalframework.sitestructure.resource.PortalAppPageResource"
    var = "portalResource" / >
    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document id = "d1" title = "#{portalResource ['home_title']}" >

    <!-< af:clientListener method = "callRefreshButton" type = "load" / >
    < af:resource type = "javascript" >
    function callRefreshButton()
    {
    var button = AdfPage.PAGE.findComponentByAbsoluteId ("refreshPage");
    ActionEvent.queue (button, true);
    }
    < / af:resource >->

    < af:messages id = "m1" / >
    < af:form id = "f1" >

    < af:pageTemplate value = "#{bindings.pageTemplateBinding.templateModel}" id = "pt1" "
    viewId="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_swooshy.jspx" >
    < name f: attribute = "showNavigation" value = "#{true}" / >
    < f: facet 'content' = name >
    < af:group id = "g1" >
    < af:inputText label = "Label 1" id = "it1" / >
    < / af:group >
    < / f: facet >
    < / af:pageTemplate >

    <!-< af:commandLink id = "refreshPage" text = "refreshPage.
    action = "#{WangBean.reloadPage} '"
    rendered = 'true '.
    inlineStyle = "do-size: small;" color: white; »
    partialSubmit = "true" clientComponent = "true" >
    < / af:commandLink >->

    < af:inputText value = "#{bindings." Sdan8.inputValue}.
    columns = "#{bindings." Sdan8.hints.DisplayWidth}.
    maximumLength = "#{bindings." Sdan8.hints.precision}.
    shortDesc = "#{bindings." Sdan8.hints.ToolTip}"id ="it2.
    Visible = "false".
    inlineStyle = "do-size: medium;" make-weight: bold; ">
    < f: validator binding = "#{bindings." Sdan8.validator} "/ >"
    < af:convertNumber groupingUsed = "false".
    model = ' #{bindings. " Sdan8.format} "/ >"
    < / af:inputText >

    < / af:form >

    < / af:document >
    < / f: view >
    < / jsp:root >

    Timo,

    I got it works!

    What happened is that I didn't notice that the system generated a method of PollEvent by default for me inside my WangBean after I created the af:poll component:

    {} public void reloadPage (PollEvent pollEvent)

    Add your code here

    }

    Once I pasted my code in the vote started working as expected and the inventory button. Component AF:poll solve my problem.

    Thank you very much and I have learned 2 new staffs ADF on your part, am really appreciated.

    Kind regards

    Yi

  • How do I reload the JSF page

    Hi all

    I'm working on an application where I have three tables linked together (master-detail-detail). I have created two forms and the table of the sources of data in the table of these master-detail-detail. I added corresponding createInsert
    and validate operations for each my form and table on the JSF page. The tables have 3 columns which is generated by a sequence in the database. I display as a text output in my page. When I created the new line of this table, it is not be displayed until I have reload the page by typing the url. based on this value, I should create the rows in other tables.

    The app should work the way below

    1. I should be able to create a row in the first table using CreateInsert operation. -> I am able to create and could see the line in the db

    2. I should be able to create a row in the second table, which is a child of the first table. Dynamically, it must take the value of one of the tables for the foreign key attribute. -> Is the case that if I reload the page manually by pressing

    the url... but not if I don't charge it. I guess that the iterator does not refreshsed.

    I need to reload the page, either programmatically or by using the Configuration of the ADF. Please help me in doing this.


    Thanks in advance

    You have configured a composite relationship between the master and detail?
    This should take care of automatically put in the id of this master in new records that you create in the part detail.
    http://docs.Oracle.com/CD/E16162_01/Web.1112/e16182/bcentities.htm#sm0150

    Also instead of do a reload of the entire page, it would probably be best to do a refresh of partial page for the section, you need to refresh.

  • How to call "j_security_check" in the jsf page

    Hello

    with ADF security set up in Jdeveloper11.1.1.2, it automatically generates login.html and error.html for forms authentication.

    I found in login.html, the form action is "j_security_check" and I try to customize the page of connection with the jsf page, but do not know how to call "j_security_check" in the jsf page, there is no action attribute more within the af: form and I can't find the "j_security_check" in the action of Expression commandButton control build.

    Thanks in advance.

    Best regards
    Bill

    Hello

    you will need to add the login form to the JSf page wrapped in f: verbatim to show as part of the JSF page. JSF 1.2 using f: verbatim shoucl be no need, but in my experience, is best.

    If you develop and deploy on WLS, then Chapter 30 of the Fusion Developer Guide has a solution of God for you to build a form of connection in JSF completely

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/adding_security.htm#BABDEICH

    This requires any of j_security_check

    Frank

  • Why can't put 2 text boxes on the same page?

    I am trying to put 2 text boxes on the same page, but the 2nd box is still empty. However, if I move the 2nd box on the next page, or even on a previous page, the text block appears suddenly.

    Why can't put 2 text boxes on the same page?

    The little thing at the end of this first page must be a page break. Which is just what its supposed to change it to a Frame break or break column if you want to have the text to jump to the next available section.

  • AF:table on the JSF page

    JDeveloper 11 g 11.1.1.2

    Hello

    I'm new to jdeveloper, I would like to add a table to a JSF page, I need to display data from an inner join query that is for example to two tables:

    Select columnA, ColumnB, ColumnC to join internal of the tableX TableY on tableX.columnD = tableY.columnD where tableX.columnE =: bind_variable

    I tried to add an object from view as follows: type of data source: only read through SQL query access, wrote the request, added a variable but there is no entry created under the section of data commands and so I can't drag and drop in the JSF page view to create the table , in addition, I don't know how to set a value for the "bind_variable" of the support bean which is mandatory since the value that I have to use the "bind_variable" depends on the user input.

    Thank you.

    The module app (check the checkbox) in the last step of the wizard you selected?

    bacing bean, you can provide the value of the variable binding, and run the query.

    DCBindingContainer bc = (DCBindingContainer) this.getBindings ();
    DCIteratorBinding dcIb = bc.findIteratorBinding("yourvoIterator");
    ViewObject vo = dcIb.getViewObject ();
    vo.setNamedWhereClauseParam ("bind_variable", value);
    vo.executeQuery ();

  • Text wrapping moves the text block

    Hello world. I have a block of text on my page and a picture frame sitting in the upper left corner of the text block. I want my text to wrap around the picture frame, so I have the text wraps not lit. However, skin moves the entire text block to the right instead of just the text inside the frame. Is it possible to avoid this? InDesign CS for Windows 6. Thank you very much.

    -Rick

    Nevermind, I figured it. The text block was at anchor, and that's why the frame is moved to the right. I'm sorry for the noise of the useless list.

    Rick

  • IN NOTEPAD CAN IT HAVE DIFFERENT 2 OR 3 TEXT SIZES ON THE SAME PAGE?

    I try to create the letter head in Notepad and want to have the fonts of upper header of the police of 'field '. is it possible and if so, how?

    Hello

    To answer your question: no, you can't have different text in Notepad. This is because Notepad is designed to create and edit text files using the basic of formatting text. I recommend using Microsoft Word (which is part of Microsoft Office) to have different text etc. styles (if you don't have Microsoft Word and don't want to buy it, you can use a trial version. In addition, ago a productivity suite open and free, similar to Microsoft Office and provided by another company, called OpenOffice, which allows you to have different text styles).

    Although, I would recommend to get Microsoft Office, there is a program called WordPad (or TextPad, depending on your operating system), which is designed to create and edit text with complex formatting. It should be in the accessories (in the same place as Notepad).

    Related links

    I hope this helps and good luck.

    If this does not work and / or is not useful, just reply to this, and I'll see if I can revisit the issue to provide more useful advice.

    Spartan-837

  • Store the value of the client side in the .jsf page

    Hello

    I implemented the functionality of line selection using check box in an af:table paginated . The user can select a record by activating the individual checkbox at the level of each line or select all the records by selecting the checkbox "Select all" at the level of the table header. I added a client listener that fires on the box click and the javascript function I capture the unique value of each line and then invoke a server event and by passing all the unique values captured.

    I've also attached a server listener that calls a method in the managed bean. In the method I capture all the unique values (which went from java script) in the java collection and then storing the collection in the view range.

    On the page, I have a button 'Submit' who collect all values stored in the field of view and execute the necessary business logic. This full feature works very well.

    My requirement is to improve the flexibility of the page.

    When the user selects the check box, it takes around a second deal with the life cycle complete .jsf page.

    Is it possible to avoid the call Server to store the values in the field of view instead if I can store the decision-making value on the client side-side (which I believe will improve performance) and then finally when the user presses the button "submit" I'll enter the stored values on the client side and complete the rest of the business logic.

    Please let me know if this is possible in the page .jsf which is developed in the ADF with JDev 12 c (12.1.3) or please suggest another approach.

    Indications will be useful.

    Thanks in advance.

    Kind regards

    Gerard

    There are two ways to do this, consider for example the browser Local storage / storage of Session:

    http://blog.teamtreehouse.com/storing-data-on-the-client-with-localStorage

  • I need to select all the blocks of text in a document and align text blocks in the back pages left frame margin and the text in the pages front to the right margin.

    Hello

    Am new to Java script.

    Can someone help me out here, I need to select all the blocks of text in a document and align text blocks in the pages back to the left margin frames and text in pages recto at the right margin.

    Thank you
    Harish

    Hi Harish,

    Try this.

    var doc =app.activeDocument,
        _pages = doc.pages;
    doc.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    for(var i =0;i<_pages.length;i++)
    {
            txfms = _pages[i].textFrames.everyItem().getElements();
            for(var j =0;j
    

    Kind regards

    Cognet

  • Text cut on the printed page

    I am currently using RoboHelp 8 to create help topics. Topics generate as I wait in line, but if a user chooses to print a topic, there is a problem with the text in the text boxes. Any text written outside of a text box or a table seems to wrap to the size of the 81/2 x 11 "paper output. However, anything in a text box is currently off the coast of the right side. Is there something about the size of the text box that does this? Something else? (I'm not technically sophisticated or proficient in HTML, so there may be a simple answer to what has been a very frustrating problem.)

    (More information: text boxes are usually of 6.5 inches, but there is also text boxes in the drop-down list text which might be larger.) Will be 'stretch' the original text box?)

    Thanks for any help.

    To be honest, I would not use anything in the expansion of text other than text or an image. They are not really designed for a lot of other things. Also the contextual text feature is not only more widely used. It still exists but has been largely replaced by expanding DHTML and the drop-down list text this feature. Unless there is a good reason not to use it, I would use these instead.

  • Text overflow on the new page (s) field

    I have a form in LiveCycle Designer 7, which consists of 3 pages, I created.  Page 3-4subforms, the third that includes a text field which is designed for long accounts so that it will span several pages and will allow the fourth subform pass at the end of the last page when the user moves out of the text field.  Currently when I paste the text in the field of the preview PDF window, the text field extends to all at the bottom of page 3 and the fourth subform disappears.  I know I'm very close, but failed to get the next page to fill.

    Any help is greatly appreciated.

    Thank you

    Drew

    The subform of page level must be set to a cast to allow a new page to add.

    Paul

  • focus on something specific to the JSF page

    How we can focus on something specific to the JSF Jdev 11g page.
    In our use case user chose something of a radio button that he wanted to focus on a specific page element.
    Thank you.

    I don't think so. Another thing is to insert some JavaScript to code page (backing bean):

                    FacesContext facesContext = FacesContext.getCurrentInstance();
                    ExtendedRenderKitService service = (ExtendedRenderKitService)
                    Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
                    service.addScript(facesContext, "alert(\"Hello!\");");
    

    Pedja

  • ICS Question about adding Widget on the home page main

    How to add a widget to the home screen? I have a battery widget that I want to add, but if I press and hold the home page I get are all options for wallpapers?

    I had this issue also. I had to uninstall and reinstall the application that it appeared later.

  • text quoted in the answer page has too long lines

    When I reply to a message, the original message is quoted
    (lines begin with a ' > '), which is very good. The problem is that the lines
    are too long, they do not correspond to the screen.
    I do not understand why: when I type a text, thunderbird
    Properly cut lines - he never goes off the screen.
    And also when I display a text message never goes off the screen.
    In short: I can answer to a message and when I compose my text the original text
    in the quote turns off the screen but then later when I view the email
    (assuming that the email for example was Bcc - ed for me) the text quoted that, before you go

    off the screen can now be seen correctly.
    

    Thanks for your help.

    It does not help if you use Edit > wrap (or use Ctrl + R) when in the compose window?

    If this is useful and could you find disturbing because it happens too often, perhaps the additional format buttons or an another add-on could contribute.

Maybe you are looking for

  • IPhone/ipad can't see Wifi.

    My iPhone and iPad don't see my wifi at home. I have to manually set. Then when they go to sleep, they log off. I've done both a network all reset them on the reset of the iPhone/ipad and router and modem. No change. My macbook and internet phone wor

  • HP Envy 15-j004tx: model of bad hp envy 15-j004tx system

    HelloI own a HP Envy 15-J004TX and I sent for repairs because of problems of motherboard and they had replaced him.and when I come back the laptop. system model shows "HP Pavilion dm3 Notebook PC" Please refer to the picture. And every time that I do

  • INFO ON THE IPHONE 6

    NOT THE IPHONE 6 S IR BLASTER SUPPORT AND IT WILL ALLOW ME TO DOWNLOAD MOVIES FROM DIFFERENT AS MP4 FORMAT MKV AND OTHER & SPEED IS THE PERCEPTION OF DEAD IN FULL AND IT WILL SUPPORT THE WIRELESS CHARGING?

  • Error code 5005 Keithley 2602 not detected

    Hello I use the Keithley 2602 A meter/source in labVIEW2011. An error code 5005 product (wholesale value) on the display. This error is not detected by the driver. In the pilot of the world ErrorQuery maintains False even if an error occurs. If I put

  • System will not be activated. Receive the error message "system could not establish a connection with the activation server.

    Activation. My OS system has been altered, so I formatted and installed new, but can not activate. I have this installation id 348020-631951-163976-154093-556113-629786-940105-229483-661432, I need confirmation id because my system could not establis