How to display the box around a text field read-only - Jdev 11.1.2

Hello:

In an ADF Web application:

I have an af:inputText field, but I want to say read-only. So I put the readonly = true property, but when I did I lost the video box around the field. How can I make the text read field only but keep the box around the text display? I also tried setting to off but then it displays in gray. Is it possible to have the look of text just like a field of regular text input field but make unmodifiable?

Thanks for the help.

Hello

I think that you should use the disabled property and with skinning, change the color of what you want.

For example:

af|inputText:disabled::content {
background-color: White;
font-size: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000000;
}

Kind regards

Tags: Java

Similar Questions

  • How to use the same point of view as read only in the ADF and editable

    Hello

    How to use the same point of view as read only in the ADF and editable? How can we succeed in TF?

    -James

    Hello

    Steven Davelaar wrote a presentation on this 'building highly reusable Taskflows.

    From slide 14, that's where your use case comes into play

    Frank

  • help with the text field read-only

    try to refine a shape KW

    I don't want the user to enter a value in a box, so I did it read-only.  $< input name = "proptax" type = "text" size = "10" readonly = "true" >

    Validation says:

    'true' is not a valid value for the 'readonly' attribute in any of the currently active versions. See warnings above for more details. [HTML 4.0]

    So now what?

    Try readonly = "readonly".

    It does not validate.

  • Text field &amp; &amp; read-only attribute

    Hello everyone,

    I have a text field with the read only attribute is on, I need to activate only the Back Space key.

    If someone has an idea to do, please tell me.

    Thank you and best regards,
    OLA

    If you require a read-only column, only to be read-only other characters than the BACKSPACE key (deletion)? Don't you see that this would NOT be a field read-only? You need a piece of JavaScript to reject all keys but this key when you are in this text box.

    
    

    Thank you

    Tony Miller
    Webster, TX

    If vegetable oil is made from vegetables, then what is baby oil?

    If you answer this question, please mark the thread as closed and give points where won...

  • How to limit the length of a text field in a dialog box (ADM)

    Hi all

    I need to limit the length of a field in a dialog box (ADM) edit_text, but char_limit doesn't seem to work, it's my code the problem ?

    {
    char_width: 8.
    height: 100,.
    item_id: 'Rete ',.
    type: 'edit_text. "
    Multiline: true,
    char_limit: 5.
    Width: 500,
    }

    If not, maybe I can use events to do the same thing with the onKeyStroke event but I don't know how to use the event in a dialog box (ADM) or if it is still possible...

    Any idea?

    Thank you for your help.

    Phil

    There are two events that can be used to check the length of the text,

    The first is the action event for the text field, which is called when the field loses focus, it is a member of the purpose of dialogue with the same name as the item_id.  This event could also be used to update another field in the dialog box that indicates the number of characters, you may even have a small picture of alert which becomes visible to make it obvious that there is a problem.

    The other event, as already mentioned, is the validate event.  This allows to block the exit from the dialog box and display a popup to alert to the user.

    You will find some examples of dialogs here:

    http://www.pdfscripting.com/public/65.cfm

    Take a look at the pages resize tool dialog box.  It will give you some ideas of what can be done.

    There is a plug-in Acrobat for creating dialogs here:

    http://www.windjack.com/products/AcroDialogs.html

    It's a Visual drag and drop Editor.  You can download and use for free for 10 days.

    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com

    The Acrobat JavaScript Reference, use it early and often
    http://www.Adobe.com/devnet/Acrobat/JavaScript.html

    Then more important JavaScript development tool in Acrobat
    The Console window (video tutorial)
    The Console Window (article)

  • How to remove the box around an image a hyperlink.

    Can someone tell me how to remove the blue box that surrounds a picture that's a hyperlink?

    In your style sheet:

    an img {}

    border: none;

    }

    Or in the head of your page (s) If you do not use an external style sheet

  • How to set the size of a text field

    I use the command

    #get - vm | Select name, folder

    The values that I get are truned.

    Please can someone explain how can I set the length of a text value?

    Concerning

    Marius

    The performance engine uses the rules of display and formatting the required properties on the limited space of the screen of the console.

    There are ways to influence the results.

    Get - VM | Select name, file | Format-Table - AutoSize

    Get - VM | Select name, file | Format-List

    Get - VM | Select @{N = "Name"; E={$_. {{Name.SubString (0.6)}}, @{N = 'File'; E={$_. {{Folder.SubString (0.10)}}

  • How to set the focus to a text field.

    Hello
    I have a form that contains 5 textfields. When the form is loaded, by default, the cursor should be on the second field. How can I concentrate on the text field.
    I checked in the API of the TextField object, and it is observed that the focusedProperty is a read only field.

    Can someone let me know how to focus on the desired TextField. ?

    Thanks in advance.
    The SAI Pradeep.

    Use textField.requestFocus)

    If your node is not always lay out to the point because of a management of the default focus of the javafx platform, wrap the call for development in Platform.runLater

  • How to display a messageTextInput as a link in read-only mode

    Hi all

    I want to give a link to a particular advanced tabletop and on, click this field the page will redirect to another page but there are in the home page unique selection is there and click it will be editable. so, how can I manipulate two things on the same domain.

    Thank you

    Edited by: user9087395 may 4, 2010 08:45

    Hello

    You have two fields in the same column of the table ahead, one is of type link/text style and other is the entry type field.

    You can set the properties made of these two fields of SPEL using only indicator reading. You can shoot if the current access level is edit or read-only.

    Thank you
    Ritesh

  • How to display the total number of text entries in a table (php)?

    Hello

    I have a database of 'chorus' with 'members' table that has the following data structure:

    Name Voix
    Jennasoprano
    DannaAlto
    ROXYAlto
    Damientenor
    CarmenAlto
    Daisysoprano

    Diana

    Alto
    Roberttenor
    JohnBass

    With Dreamweaver, php, any help on how display in a Web page the total number of 'alto', in this case: 4.

    Thank you

    Luci.

    SELECT voice, COUNT (*) as the GROUP BY, ORDER BY DESC voice voice FROM choir;

    This will give you the plain voiceid - County

    SELECT voice, COUNT (*) as the chorus of voices ORDER BY DESC GROUP name;

    This will give you appoint County - voice -.

    Confidence, it helps.

    See you soon,.

    ST

  • How to adjust the size/width of text fields in forms of the adf

    Hello

    I use JDeveloper 11.1.2.4.0.

    I have a form with two rows and three columns and you want to adjust the width of the fields so that the name (row1, col1) size is the same as the size of the e-mail (row2, col2).

    I put the fields width property to 20, but when I run it, the two fields some shows of various sizes.

    < af:form id = "f1" >

    < af:panelGridLayout id = "pgl1" >

    < af:gridRow marginTop = '5px' height = 'auto' id = "gr1" >

    < af:gridCell marginStart = "5px" id = "gc1" marginEnd = "1px" rowSpan = "1" halign = 'end' >

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

    label = "Emp ID"

    required = "#{bindings." EmployeeId.hints.mandatory}.

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

    maximumLength = "#{bindings." EmployeeId.hints.precision}.

    shortDesc = "#{bindings." EmployeeId.hints.tooltip}"id ="it1.

    inlineStyle = "" text-align: left; ">"

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

    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " EmployeeId.format} "/ >"

    < / af:inputText >

    < / af:gridCell >

    < af:gridCell marginStart = "20px" marginEnd = "5px" id = "gc2" halign = 'end' >

    < 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 ="it2.

    inlineStyle = "text-align: left;" Width: 20px; ">

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

    < / af:inputText >

    < / af:gridCell >

    < af:gridCell marginStart = "20px" marginEnd = "5px" id = "CG7" >

    < af:inputDate value = "#{bindings." HireDate.inputValue}.

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

    required = "#{bindings." HireDate.hints.mandatory}.

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

    shortDesc = "#{bindings." HireDate.hints.tooltip}"id ="id1">

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

    < af:convertDateTime pattern = "#{bindings." HireDate.format} "/ >"

    < / af:inputDate >

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow id = "gr2" >

    < af:gridCell id = "gc3" halign = 'end' >

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

    required = "#{bindings." DepartmentId.hints.mandatory}.

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

    maximumLength = "#{bindings." DepartmentId.hints.precision}.

    shortDesc = "#{bindings." DepartmentId.hints.tooltip}"id ="it3.

    label = "Department" inlineStyle = "" text-align: left; ">"

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

    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " DepartmentId.format} "/ >"

    < / af:inputText >

    < / af:gridCell >

    < af:gridCell id = "G.c.4" halign = 'end' >

    < af:inputText value = "#{bindings." Email.inputValue}"label =" #{bindings. " Email.hints.label}.

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

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

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

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

    inlineStyle = "text-align: left;" Width: 20px; ">

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

    < / af:inputText >

    < / af:gridCell >

    < af:gridCell id = "G.c.5" / >

    < / af:gridRow >

    < / af:panelGridLayout >

    < / af:form >

    also can advise you how can I insert a page in this post?

    Thank you

    the value of width: 20px; in the content of the item style property.

  • How to set the input to a text field filter?

    I use a text entry (a flash component) to which the user will enter numbers only in (positiv and negative integers and floating point numbers) but not any other symbol.

    Copy the following code


    on keyDown me

    If ("1234567890 -") contains the key or the key = backSpace or key = tab keyCode = 123 or the keyCode 124 = then
    Pass
    on the other
    stopEvent
    end if

    end

    This script works fine when I use it with style text old fields to the Director. It does however not work with new component flash style (text entry).

    How can this be repaired?

    Thanks in advance for any help.

    HUMAN RESOURCES


    First of all, I should mention that I have avoid using Flash inside Director, so there may be a better way.

    As you noted, catch events keyDown globally affect all entrances to the keyboard. If you want to specify a subset of sprites so you need a management system which. The simplest would be a global list that fill you it with a small number of sprite when switching to a new framework.

    global gRestrictedInputSprites

    on preparemovie
    gRestrictedInputSprites = [1, 5, 6, 23] - SAMPLES
    keyDownScript = "chatchKeys()".
    end


    on stopMovie
    keyDownScript = «»
    end


    on chatchKeys
    If gRestrictedInputSprites.getPos (_movie.keyboardFocusSprite) then
    If _key.key = "," and then
    stopEvent()
    on the other
    Pass
    end if
    on the other - overall restrictions on entry
    Pass
    end if
    end chatchKey

    And then add a beginsprite to your Framescript to set the values of the gRestrictedInputSprites for each image tag loop you on--assuming that you place the frame head with "go the frame."


    global gRestrictedInputSprites

    on beginSprite me
    gRestrictedInputSprites = [] - the list of sprites all entry who need entry restrictions for this frame.
    end

    on exitFrame me
    go part
    end

    If you follow this path then I suggest to use a GPDL to set the sprite shortlists. No need to write more than one behavior.

  • How to drive the content of a text field or table from a drop-down list selection cell?

    Users will choose an option in a menu drop-down. I want their selection to control the contents of the cells in a table or text elsewhere on the form fields.

    For example, 'The coldest season of the year' by selecting 'winter' in the menu drop-down displays in a table cell.

    Thanks in advance for the help.

    Nick

    Hi Nick,

    Here are some examples:

    https://Acrobat.com/#d=pxtis4z3OxCqWxajZwDS2Q

    https://Acrobat.com/#d=20lQl9JfL19aBtbPC1WYbw

    https://Acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A

    If you open these in LC Designer, you can view the script by selecting the menu drop down and looking at the script at the top of the window Editor. If the script editor is a single line, you can drag the lower edge to make it bigger.

    Good luck

    Niall

  • How to display the grid lines? -Adobe Acrobat Reader DC

    Help!

    Please can someone guide me through the display of the grid lines on a PDF using Adobe Acrobat Reader DC?

    I recently installed this program and am aware that there is a way to overlay a grid on the documents, but can't seem to access this feature?

    Please see screen capture below where I think I should be able to access to this: view > Show/Hide > rules & grills > grid?

    For now, I see that thicknesses.

    NOTE: I am not referring to the transparency grid - I need the overlay of the grid, to help measure the elements of the document (from a design perspective).

    Thank you

    It is available in Adobe Acrobat format, not Acrobat Reader.

  • The exact text of the text field to another field read-only

    Is there a way to display the string of exact text in the field of text within other text fields read-only?

    For example. I have fields of name on the first page and I have the same names mentioned in the other pages, but want to fill the other pages with the text name of the 1st page.


    Options tab > Default value doesn't seem to work, so maybe I can use calculate tab > simplified field notation.

    I have a domain called "Client_1_Name_Cover" and "Client_2_Name_Cover", so name to bind these two text fields only reading on other pages.

    You can use the validation script custom following in each of the two fields of name on the first page:

    Copy the value of this field in the field read-only

    getField("Client_1_Name_Readonly").value = event.value;

    but you must replace 'Client_1_Name_Readonly' with the actual name of the field read-only.

Maybe you are looking for

  • can I play the guitar and midi keyboards at the same time?

    IM using the 3 main stage, I would like to play guitar and midi keyboards at the same time. I know that I can have more than one keyboard will at the same time, but I can't understand how to play the guitar too. I use a core Alesis 1 plug the guitar

  • Cannot write anything to disk using Nero 2014 on Qosmio G50

    Hello I can't burn things on disk?I have no idea why, as a few months ago, I have had no problems. I recently did a complete re install of my Qosmio, changing the OP from 32 bit to 64 bit. I converted x for DVDs but will not burn using it and I have

  • Windows Update does not load anything

    I'm trying to make sure that my windows and drivers are updated and when I try to update, the update of Windows remains just the same thing. Picture of what I mean > http://prntscr.com/ag13zx. I left for a while and still the same. All solutions?

  • Could not find Realtek HD Audio version 6.0.1.7404 windows 7 Professional 64-bit

    My wife PC is a HP, win 7.1 running and it has Realtek HD Audio (version 6.0.1.7404). This version has a feature of the "SOUND EFFECTS" tab that allows you to select different sound options, such as: living room, Hall, Arena, Rock, Jazz, Live etc. I

  • Scan QR

    Hi, I want to know if it is possible to add a QR Scanner to my Blackberry Application, not to download market qr scanner, just download the source code to add a QR Scanner. Thank you