Output Text box help

I want to output a set of lines in the first page such that the lines are taken form a resource file called resource.properties.
The properties files can be modified by any one wanting to change the message without having knowldge of JSF / JAVA.
This is all fine till here.
I had the following code earlier:
  <tr:inputText readOnly="true" rows="11" columns="90" inlineStyle="font-weight:bold" styleClass="font_size"
                         value="#{messages[\'welcome.page.message\']}"/>The advantage of the above is that even if some increases the length of the message in the properties file a scroll bar will appear so that the other elements on the page are not affected by the excess text.
But as per web standard we cannot have a inputText field for displaying something.
Can anyone tell me how to achieve scroll bar functionality with tr: or h: )
Thanks in advance.

Just use h:outputText? The scrollbar functionality can be achieved using CSS. Make it a block element and set the overflow property.

Similar Messages

  • Get the value of output text box in javascript

    Hi all,
    I am trying to retreving the value of output text box using getElementById('form1:outputText3') but was not able to get it.
    Googled it but didnt find any way to get it on the page itself without going to backing bean
    jdeveloper version 10g
    Thanks in advance

    Hi,
    I think this is because out put text is not a component but text written to the page. So I thin you would have to parse the generated HTML for it or use a inputText field and set it to read only
    Frank

  • Select all text boxes (help)

    I will try to explain this as best I can, bare with me.
    I'm using Acrobat X 10 and I'm trying to print a PDF file that are slides from one of my university classes. The problem I'm having is that some of the text is not printing or printing very lightly. I have solved this problem by going to the tools panel and then edit document text tool. From there I select a text box, select all text in said text box, select properties, click on the text tab and then changing the fill from white to black(following so far?). Now my issue is that there are many text boxes, to the point where only one word occupies a text box. So what I'm wondering is if there is a way to select all the text boxes so I can do this proccess for the whole file rather than selecting each text box and repeating the proccess, as this is very time consuming.
    Any help is appreciated.

    Why don't you see if your printer driver has an option for printing B&W (not grey or greyscale), that might do the trick.

  • Numeric text box:Change colour after calculation

    How do you change the colour of a numeric text depending on the result of an arithmetic calculation ?
    I assume its something to do with property node....Can some add to my basic program to do the following:
    See attached picture of current basic program.I am using Ver 8.0.
    If the output of x+y >5 then i want the output text box to turn Red.
    If the output of x+y>5 then i want the output text box to turn Green.
    The default colour should be white.
    Regards,
                   labtech5555
    Attachments:
    ScreenHunter_labview x+y.jpg ‏73 KB

    labtech5555 wrote:
    If the output of x+y >5 then i want the output text box to turn Red.
    If the output of x+y>5 then i want the output text box to turn Green.
    The default colour should be white.
    OK, this makes no sense at all. If x+y > 5 it cannot be red and green at the same time.
    Here's some simple code that would make the background of the indicator red if the result is >5 and green otherwise.
    Maybe you can modify it for waht you really want. (I cannot tell.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    x+y.png ‏8 KB

  • Outputting check box input to text box

    I have another javascript question regarding Acrobat.
    I have an order form with 3 categories of check box sets.
    Set 1
    a
    b
    c
    d
    Set 2
    e
    f
    g
    h
    Set 3
    i
    j
    Each checkbox outputs the SKU of an item which in this case is insignificant.
    Here are the scenarios available to the user.
    Option 1 - One option from Set 1 AND one option from Set 2 must be selected. (Which i have working just fine)
       OR
    Option 2 - One option from Set 3 must be selected.
    These are the only possible options.
    I have a text box set to read only as the total box. It totals up the cost based on the options they select.
    If they select option 1 it needs to output $285 to the total box
    If they select option 2 it needs to output $475 to the total box.
    My theory is that I need to make an if then statement but I don't understand how to write the code for this to work.
    Any one's expertise would be extremely helpful.
    Thanks

    Are these fields independent from one another, or is each set a group of fields with the same name but different export values?

  • After choosing a blank template in PAGES, i am unable to type in the main body of the docs. I have to open a text box to type. Pls help

    Hi all, need help here. I just face this problem today. When i click the pages icon and after choosing a blank template, i am unable to type anything in the document. All icons in the format bar at the top cannot be clicked (font, font size etc). I will have to open a text box in order to type it.
    If i open an existing PAGES doc, duplicate and rename it, then i delete all existing text that i have written, only then i can type in at the doc.
    To illustrate my problem, attached is a pic from my Macbook screen
    Please help.

    Maybe try turning on the grammar checker.

  • Help needed in getting values from the dynamically created text boxes

    Hello,
    I am developing one jsp page using struts. In the page i m
    dynamically adding some rows with two text boxes in each row. and after entering data into
    those textboxes , user clicks on save button and page is submitted.
    I want to capture all this data of dynamically added
    rows so that i can enter those rows into DB.
    how can i acheive this using struts?.
    Have anyone had tried doing it?. Please help.
    Thanx in advance
    Deepali Naik

    Hi,
    1. If you give these textBoxes the same name, then in your action you can call request.getParameterValues(paramName) - it returns String[ ] of values.
    2. You can give form textBox names like "name"+index or something like this in <logic:iterate> tag
    Good luck!

  • I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it. help help help please - I have latest version of indesign - thanks

    I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it.
    Is it not possible to create a text box, fill it with dynamic (data driven) text, but make the font size either scale up or down automatically, so that the entire text box is filled? This is a feature in PrintShop Mail Pro called COPY FIT. but no such feature in Indesign??
    help help help please - I have latest version of indesign - thanks, DJ

    lol... it seems to work, but I have another huge problem!
    Apparently .CSV files cannot contain page breaks in the data! The data I am trying to merge is a 'letter', with paragraphs, line breaks, etc.,
    But, after data merging, it ignores page breaks and only merges the first paragraph of each letter. (sigh)
    Solution? Hopefully, an EASY solution. lol as we have thousands of records.
    Is there a third party indesign plugin that will allow .xml, or .xls data merge import??
    Thx,
    DJ

  • Scripting a "Tip of the day" Text Box, Requesting Help!!

    Hi there folks,
    I need the help of an experienced scripter, I'm in the
    process of creating a website and I need help with the Flash SWF
    that will be on the Title Page.
    When someone arrives on my site I want a small Text Box to show
    a "Tip of the Day" or a Random Phrase in the swf on the homepage of
    the website.
    Unfortunately I can't figure out how to do this and I cannot
    find anything to help me in the Flash Support File either. Ideally
    I'm looking for someone to post a sample script on this thread so I
    can have a look at it and learn from it.
    Any Help would be much appreciated!!

    A quick and dirty way:
    - In a new Flash document, make a Dynamic Text box (Text Tool
    -> Properties -> Dynamic Text) on your stage
    - Name it something you'll remember (example: 'my_text')
    - Add the following actionscript (preferably in a new layer):
    And that's it. This isn't the prettiest code, and hardly the
    best. Your SWF will be slightly bloated because of the use of a
    Button Component . Also, putting all your quotes inside the Flash
    movie makes it difficult to add new ones (you'll have to recompile
    every time you do) and will increase the movie's size. But it's a
    start.

  • Please help with text boxes

    Can somebody help me wit hmy problem. I have a fom with many tables in it, some cells of the table are text boxes or at least they were when I developed it. Now I need to edit some of the cells and for some reason I cannot do it as the cell is not a text box but became (untitled<draw>) I cannot change its type back to text. Can some one advise what to do whitouh retyping text again in the new cell.
    Many thanks in advance

    You are welcome!
    I have a preference for Javascript (just get in the syntax zone) and use it for most things (except dates).
    As you know:
    this = current object
    rawValue = accesses the value of object
    From an Excel point of view FormCalc is similar and has inbuilt function like sum(), Max(), etc. Syntax is $ for current object and you don't need the rawValue. This is very handy when summing a column in a repeating table. Also FormCalc is excellent for working with time and dates. (not that you can't work around in Javascript, but it is heavier).
    Adobe have a very good reference for FormCalc at http://www.adobe.com/go/learn_lc_formCalc_82 and I would recommend that to you. I think it comes from the LC help file, but is easier to use.
    From a performance point of view, you can either have FormCalc in the calculate event of an object, which looks back at other fields (this will fire each time one of these fields changes). Alternatively you can have the FormCalc in the exit event of a field, which pushes a calculation/value forward to another object.
    Functions are handy if you have a script that you are using several times in a form. You write the script in a "script variable" and then call it in the objects events. HOWEVER, script variables are available in Javascript only.
    One last thing is that if you have a constant (like VAT), then rather than including  "* 0.21" in all of your calculations, use a global variable in the Form / Properties / Variables tab. currentVat = 0.21. Then in your calculations would be "* currentVat.value". If the VAT rate changes then you only have to change it in one location.
    In summary FormCalc is more akin to Excel; just watch the syntax.
    Good luck,
    Niall

  • Need help adding field data from a table to a text box

    I have a form that has a table. Within the table is a description box. The user enters data into the box and can add/remove new items. When they are done I would like the text from these fields to be concatenated into a large text box. Essentially what they are doing is creating a list of descriptions that will be pushed into a report field.
    Thanks,

    Hi,
    Yes, you should be able to adapt the example to work for the main summary textfield.
    I would place the script in the exit event of the table textfields. You would still need to clear the summary textfield and then loop through the table and update.
    Inside the loop the text would be like:
    summary.rawValue = summary.rawValue + xfa.resolveNode("Table1.Row1[" + i + "]").textField.rawValue + " ";
    Hope that helps,
    Niall

  • I have updated to the new version of iPhoto but it will no longer let me edit text in the preset text boxes.  The text is highlighted for a nanosecond but will not stay highlighted so I can amend it.  Can anyone help me with this.  Many thanks.

    I have updated to the latest version of iPhoto.  But now iPhoto will not let me amend the preset text in the text boxes.
    the text is highlighted for a nano second but it will not stay highlighted so that I can add my own text.
    can anyone help me with this issue.
    Many thanks

    You might try using the add-on 'NoSquint' which allows numerous zoom options specific to each page you visit & keeps your settings - https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    If you want to go back to 3.6x, you will find it here:
    http://www.mozilla.com/en-US/firefox/all-older.html
    In most cases you can simply "upgrade" (meaning downgrade) directly from the installation. It would be a good idea to save your passwords & bookmarks just to be on the safe side.

  • How to output actionscript at runtime in a text box

    Hi , i need help in displaying my code at run time, I need to
    dispaly my code in a text box when the program runs.
    I guess something to start would be output_txt.text. then i
    need to call my own action script. but not sure how...

    Hi
    code is active and only in the program .fla not stored as
    file on its own( not as a text file.txt)
    Cheers
    Chris

  • Adobe Acrobat 9 Standard Text Box Enter Space is Removed -- Help

    Got a new computer at work with Adobe Acrobat 9 Standard and it is taking some getting use to (came from Acrobat 7 Professional).
    I need some help with  the text box tool.  When I create a text box and use the enter key and click out of the text box the space is removed where I hit enter.  I googled around and if I use cntrl and then hit enter the space will stay there.  How do I get around this so I do not have to hold cntrl everytime.  Plus if I go back into that text box and add another space it removes the space from before so I would have to add the spaces in again.  I hope this is a setting I have messed up.  It is quite annoying and hopefully someone can help me out. 
    I am on Windows 7 Professional if it matters.

    I've reported this as a bug a number of times since Acrobat 9 was released and so far they have refused to fix it in Acrobat 9/10/11. I had never heard of the Ctrl+Enter workaround, so thanks for that.

  • Need Help with Postioning Text Boxes

    Hello,
    I am fairly new to APEX, but I think I getting the hang of it. I am very much impressed with the functionality. I have a question and I hope someone can help me with it.
    I have a Diagram that looks like:
    X
    X X X X
    X X X X X
    The X's represent values that will go in the them, source being an SQL Query so I though I could use TextBox Item and make the sqlquery which will be a count of some sort. This will be dynamically changed depending on user input.
    I also have lines connecting to the X's and labels. So I created a table with the diagram as a background. So my dilema is that how do I reference ITEM Text boxes to be in the table. I tried
    <table background="my_image.bmp"><tr><td>#ITEMS#:P1_X</td></tr><table>
    but it only shows up as ":P1_X" not that actual ITEM, i know my syntax maybe wrong to reference the item, so that would be my first question.
    Is there a way I can just position the actual textbox to in the table?
    My second question, for positioning so the textboxes woudl line up where the X's are, should I use CSS, and if so, do I have to upload a Style Sheet?(which I don't mind, just wondering if there is a way to just use CSS in the Page HTML SOURCE?)
    SO... basically I would like to know the best way to get these textboxes in the place where the X's are. The diagram is a image that is the background of a table. Any thoughts?

    After posting the message my representation of the diagram is a bit off, it looks like a Tree diagram with spaces and teh first X being in the middle and equally spaced then on.

Maybe you are looking for

  • SOAP Reponse contains &gt and &lt instead of and

    I am new to Web Services. I wrote a simple SOAP client in Java. It seems to work and I get the SOAP response back; however the XML response has < and > instead of < and >. Am I making a mistake in my source code? I have placed my source code below an

  • Syncing only ONE iPad at a time and auto-checkin frustration

    Good morning, I am trying to update my class set of iPads using configurator but when I plug the iPads in, the sync and charge cart will only update ONE iPad at a time (even through I'm connecting 7 devices at a time).  The other 6 iPads are showing

  • Lightroom 5.7 not opening Photoshop CC2014 - says it needs newer ACR version

    Hello - Well, a new problem has come up.  I've got a CC membership, and all current versions of Lightroom, PS CC 2014, PS CC, and PS CS6.  ACR version currently installed on the system is 8.7.1.  System is Windows 7. All was working a-okay until toda

  • How to know if a program is running through a Web Service?

    Hello, I have some FM's published as WS, and they are working fine. These FM's may be called either through Web Services or through ABAP. I need a consistent way to know when the FM is called via the WS or via ABAP - I notice that sy-tcode is empty w

  • OpenDirectory Replica doesn't get updated

    Hi, I have 3 servers which both of them are replicas of the master OpenDirectory. I use services like iCal and iChat on a replica but when i create a new user on the master, the replica doesn't allow the services to this new user. I look to manually