How to change a value of input text box into uppercase?

Hi all,
In my use case I should have a text box in the jsf page and I should store the value that is entered in the text box in a database.
The requirement is the value which user enters in the text box should get changed to Uppercase
before getting saved in the database. Kindly help me in achieving this.
Thanks,
Phanindra.

hi user,
before asking any question.
right place to search anything is google (the ocean).
so the way. chris showed.
if i understood correctly means,
if you want change any input text into uppercase means :
use some skinning : -
<af:inputtext>
contentStyle = "text-transform:uppercase;"
</af:inputtext>
Or
else
are you looking for
while given inputtext saved into db.
Use something like this in as vo for each and ever attribute,
public void Desc(String value) {
setAttributeInternal(DESC, value.toUpperCase());
}

Similar Messages

  • 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

  • Can we hide the real value of input text box and show other value in ADF?

    Hi All,
    I have a table in which i have one the column as "Quantity" and text box as "quantity" :-
    <af:column sortProperty="quantity" filterable="true"
    sortable="true" headerText="Quantity" id="c3"
    width="60"
    rendered="#{row.bindings.booleanFlag.inputValue != 'E'}"
    filterFeatures="caseInsensitive">
    <div align="center">
    *<af:inputText value="#{row.bindings.quantity.inputValue}"*
    label="#{bindings.queryProductResponseType.hints.quantity.label}"
    required="#{bindings.queryProductResponseType.hints.quantity.mandatory}"
    columns="#{bindings.queryProductResponseType.hints.quantity.displayWidth}"
    maximumLength="#{bindings.queryProductResponseType.hints.quantity.precision}"
    shortDesc="#{bindings.queryProductResponseType.hints.quantity.tooltip}"
    id="it5" partialTriggers="it19"
    readOnly="#{row.activeYN == 'N'}">
    <f:validator binding="#{row.bindings.quantity.validator}"/>
    <af:validateRegExp pattern="^[1-9]+[0-9]*$"
    messageDetailNoMatch="Quantity must be in whole number format."/>
    </af:inputText>
    </div>
    </af:column>
    Now when the user will enter say 400 in input text box "quantity" , the value should be divided in the same row to other column text box say "conversion" which holds the value as 40 , so if the division doesn't give any remainder(means remainder =0 ) means real value(400/40) = 10 then it should set the value of input text box "quantity" as 10 but the user should be able to see 400 which he/she entered before, as we want to send the 10 as request but we have to show 400 to the user and if remainder goes greater than 1 than it should show an error.
    I have to implement this in value change listener of the text box as i need to calculate the real value each time for a row.
    How should i implement this ?
    Thanks .
    Thanks.

    Thanks timo,
    But can you give me full details how should i implement this as i am newbie to ADF. I have found the data control in Data controls tab in left hand side and right click on it -> edit definition -> but it does not give me the option to add attribute , it just give me the option to edit the existing attribute. Can you explain me how to add the transient attribute and how to implement it ? Any sample code snippet ?
    Thanks.
    Edited by: user13644804 on May 15, 2011 10:09 AM
    Edited by: user13644804 on May 15, 2011 10:09 AM

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How to change the font size of Text box tool ?

    How to change the font size of Text box tool ?
    I am using Acrobat PDF 6.0
    Tools > Advanced Commenting > Text Box Tool
    I need to know how to change the font size. The default font size is too big.
    let me know
    Thanks

    I do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill

  • How to retreive the value of a text box that is created dynamically

    hi this is ravi kiran,
    i am working on a project which requires creation of as many text boxes as the number records fetched from the database i.e, if the result set contains 3 records three text boxes must be created.
    here is the code for that
    if(rs1.next()) { %>     //rs1 is the result set object
    <tr>
    <td width="130" ><%= rs1.getString(1)%></td>
    <td width="130" ><%=rs1.getString(3) %></td>
    <td width="184" ><%= rs1.getInt(2)%></td>
    <td width="149"><input type=text size="20" ></td>
    </tr>
    %>
    here the problem is the text boxes are getting created but what ever the value that is entered in the created text boxes must be added and must be displayed in another text box.
    i am having no idea how to do this
    can any one help me
    thanx in advance.

    may be this helps u ,
    Create a counter and increment it every time when it comes to rs.next
    Set ids for the text box with the value of the counter.
    eg: textbox1 , textbox2
    the 1 and 2 shld be created by the counte just append the count value to the string and set it as id of the new text box dinamically created.
    then get the ement by id and get its value and do the process.

  • How to change the size of the text box in resume template?

    Hi, I started a document using the "Traditional Resume" template. I'd like to enlarge the main text box but for the life of me, I can't figure out how. I suspect it's something to do with changing the documents template but I can't figure it out.
    Can anybody help?
    Thanks.
    Message was edited by: Michael Hoyt

    Hi:
    I am using the "Milano Resume" template. I've taken your suggestion to widen the margins, and I've added the vertical ruler on the side, but is it possible to "stretch" the main "box" of the template vertically?
    I ask b/c I want to enlarge the font size to 10 pt., but in doing so I'm running out of room at the bottom and my text is being pushed onto a second page.
    Thanks,
    Bill in CT

  • How to sum two values given in text boxes?

    Hi People,
    Am beginner in forms.using oracle 9i with forms 6i.I want to add two values given in two text boxes and result should be displayed in third text box.
    how to write the coding in when button pressed trigger of a push button?.pls suggest me.
    Regards
    VIDS

    I dont what is problem
    Better you recreate the form again
    Block3
    1. button
    2. item1
    3. item2
    4. item 3.
    all item should be in one canvas
    on when button trigger
    write and code again test it.
    give item 1 no
    give item 2 no
    press the button now
    output should at 3rd item.
    check and revert back.
    kanish

  • How to change the size of the text box in "Notes"

    Dear All,
    I am trying to change the text box size of that is used in the Notes section. Currently the displayed size features 5 rows, I want to increase it.
    I tried to increase the starting and ending Row numbers in the UI configuration, but it still stays the same size!
    Anyone know how to resolve this problem, we really need it !
    Thanks.
    Best regards,
    Rohit L.

    FYI: We were able to resolve the issue by changing the GETTER-method of the attribute LINES in the component GSTEXT:
    method GET_P_LINES.
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>FIELD_TYPE_TEXTAREA.
        WHEN if_bsp_wd_model_setter_getter=>fp_textarea_rows.
          rv_value = 16.
      ENDCASE.
    endmethod.
    Hi Gerd,
    could you resolve your issue?
    We try to do the same and just adding "rows" does not work for us either.
    Thanks and regards,
    Stefan
    Edited by: Stefan Heitmann on Jul 13, 2010 1:04 PM

  • How to change font size in new text box

    Using Acrobat XI, I am trying to fill in a non fillable form simply by adding text boxes where information needs to go. Unfortunately the font used on the form is rather small and I can't seem to make the font smaller than 8. It not only looks ridiculous but I can not actually fit in all the information.
    How do I make the font smaller?
    Cheers
    S

    Use the "Add text box" tool under Comment - Drawing Markups.

  • How to change texture backgrounds in Keynote text box

    I want to know if its possible to change the texture background image of a text box, keeping the background textured but in a different color.
    Sequence:
    Create a text box
    Add text
    In the inspector select "image fill"
    The result is a textured background in a particular color.
    Thinking I might be able to replace the image with another textured image but of a different color I click on "Choose" and a dialog opens that is located at the "pictures" folder in the home folder.
    This makes sense but I wonder if there is a group of textured images somewhere to use as backgrounds?
    And if so where are they located?
    I've searched around and can't find same.
    Perhaps the textured background is unique to the theme.
    Thanks

    Most of the textures are unique to the theme BUT try this:
    1. Put a chart on your slide
    2. Click on the Chart Colors button in the Chart Inspector
    3. See if any of the chart options match what you're looking for and hit Apply All in the chart colors window
    4. Click once on one of the bars in the chart to select it
    5. Choose Copy Style from the format menu
    6. Click on your text box and choose Paste Style from the format menu
    7. Go to the Graphic Inspector and change the fill type from Image Fill to Tinted Image fill
    8. Play around with the color/transparency settings for the Tinted image function by clicking on the box that looks like it's sliced in half diagonally.
    no idea if that's what you're looking for, but you can come up with some fun fills I think.

  • How to change characterics values in a ready input query ?

    How to change characterics values in a ready input query  base on a real time infocube?
    when  I use  IP to planning I want to change  characterices values that have exit in query?

    Hi,
    On the properties tab of the characteristics (within input query) you can decide what values need to be populated when the query opens.
    Is your exit written on char relationship?
    regards,
    Lokesh Nandula

  • ADF 11g + How to capture the value of a dynamically created input text box

    Hi All,
    I have a requirement where, on selection of the value in a drop down, the input text boxes need to get dynamically populated on the JSPX page. I'm able to bring this functionality, and it is working fine.
    But the challenge right now I'm facing is that, how to read/capture the value entered in those dynamic text boxes on submission of the page. Please help me in getting this resolved.
    Below is the code snippet I'm using for this.
    // Clearing the existing input fields in the Panel form
    while (pf100.getChildren().iterator().hasNext()) {
    pf100.getChildren().remove(pf100.getChildren().iterator().next());
    // Creating the new fields based on the number of IP addresses selected
    for (int i = 0; i < iIPAddress; i++) {
    RichInputText pcPreferredDomain = new RichInputText();
    pcPreferredDomain.setLabel("Preferred Domain / Hostname for Desktop PC/ Laptop - " +
    (i + 1));
    pcPreferredDomain.setColumns(40);
    pcPreferredDomain.setId("pcpfdomain" + (i + 1));
    pf100.getChildren().add(pcPreferredDomain);
    Thanks All in Advance,
    Thanks & Regards,
    Dharmathej M

    As per your method, you are creating the RichInputText components as local variables.
    What happens when you are creating them as class level variables in the managed bean, if you do so, you can refer to the values of the UI components in the actionListener/action code for the command button in the managed bean
    sample:
    public class ManagedBean{
    RichInputText [] pcPreferredDomain;
    public ManagedBean(){
    // Clearing the existing input fields in the Panel form
    while (pf100.getChildren().iterator().hasNext()) {
    pf100.getChildren().remove(pf100.getChildren().iterator().next());
    pcPreferredDomain = new RichInputText[iIPAddress];
    // Creating the new fields based on the number of IP addresses selected
    for (int i = 0; i < iIPAddress; i++) {
    pcPreferredDomain[i] = new RichInputText();
    pcPreferredDomain.setLabel("Preferred Domain / Hostname for Desktop PC/ Laptop - " +
    (i + 1));
    pcPreferredDomain.setColumns(40);
    pcPreferredDomain.setId("pcpfdomain" + (i + 1));
    pf100.getChildren().add(pcPreferredDomain);
    Thanks,
    Navaneeth

  • Accessing the value of a text box input

    how do i access the value of a text box on a jsp page..
    eg:if the page name is Test.jsp and it has a text box named text.....

    You're mixing JSP and JavaScript. If you're staying within the same page, e.g. no get/post to another JSP, and you need to update values of a text field within a form, use pure JavaScript, such as:
    <form name="fred">
    <input type="text" name="USERID" size="15" onBlur="document.fred.PASS.value=document.fred.USERID.value;"><br>
    <input type="text" name="PASS" size="15"><br>
    </form>
    This will change the value of the PASS field to the same as the USERID field, which is what I think you were trying to do.
    Not to be rude, but in the interest of keeping the Java forum pure, I would look towards a JavaScipt forum if you wish to use pure JavaScript (http://freewarejava.com/cgi-bin/forumdisplay.cgi?action=topics&number=1&SUBMIT=Go)
    bRi

  • How to change the value of the Selection field in the ROOSFIELD table for o

    Hi there
    I have a standard data source 0CRM_SALES_ACT_1 for which one of the standard field has the status A(Hidden).
    In the field selection filed of the table ROOSFIELD and I want to change it to P(Visible)  for  one of the field in the Data source.
    How it can be done. Any suggestion will be greatly appreciated.
    kind regards
    Sarah

    Hi,
    Keerthi
    Good Question..Even am also new to this issue.
    But let me try to find the solution.
    Before lookinto this issue. i need clarification on this.
    1. You want to see the value in the text box as a color one or you want to change the disable from true to false?
    If that is the case, then following one is my suggestion.
    In proceesRequest method
    1. get the handle for the messageTextInput Bean and based on that set the disable property to false
    for example:
    OAMessageTextInputBean t1 = (OAMessageTextInputBean )webBean.findChildRecurrsive("ItemId");
    t1.setDiabled(false);
    In ProcessFormRequest method
    1. get the handle for the messageTextInput Bean and based on that set the style class or css property to "OraFieldText"
    for example:
    OAMessageTextInputBean t1 = (OAMessageTextInputBean )webBean.findChildRecurrsive("ItemId");
    t1.setCss(OraFieldText);
    (Or)
    If it will not work then directly set the cssClass Property to OraFieldText.
    I hope it will work....am not sure about this.
    Regards
    Santhosh kumar.k

Maybe you are looking for

  • PCI-e Graphics in Advanced Dock isn't worth the loss of the Undock Button !!

    Greetings, After using ATI Radeon X1300 in the advanced Dock with my W500 (4061-38U) for over a year, I'm in clear position to conclude, it isn't worth it. Here are the reasons why you should not have this setup :  - the complete loss of one of the T

  • Looking for a PDF Forms designer/programmer

    I have created several forms using LiveCycle but I have a need for a complex form that may be above my LC experience level and time available.  Are there any companies out there that will create a form for me?  I am not interested in online form buil

  • Is it possible to rotate video horiz/vert?

    As a photographer, I frequently turn my camera vertically to shoot. Well, the new camera has video capabilities, and I did the same thing without thinking. Is there a way to rotate the video clip the way photos can be rotated? I have checked QTPro an

  • Preparing iphone software for restore

    itunes has been showing "preparing iphone software for restore" for almost 2 hours. the blue and white bar is running and iphone has the apple and little white circle is going around and around. should i just wait or do I need to unplug phone and sta

  • Deploying crystal reports on a website...

    Post Author: cusimar9 CA Forum: General We're trying to integrate Crystal Reports into one of our .NET websites and we're having some difficulty. I've tried to build the website using the 'merge modules' but to no avail. Does our host have to have Cr