Focus on Read-only Text field = accelerators not working

Pretty much explains the problem.
In a desktop Application i am developping are different accelerators defined which are working as long as the Editable fields of the frames do have the focus.
If the Focus is on a read only Field or one of the internal Frames (or somewhere else where you cant type in data) ALL of the given accelerators dont work.
I just ask this in case of its a known bug (i havent found it as a bug) because since we have our own framework to write swing applications it could also be a bug of that;)
Thanks for every reply.
Regards
Balsi

Convert the Price text type to number type.it will work.
check this
http://sharepoint-works.blogspot.in/2012/05/caml-query-to-get-data-from-sharepoint.html

Similar Messages

  • Help with read only text field

    trying to refine a KW form
    I don’t want user to enter value in a box so I made it read only.  $<input name="proptax" type="text" size="10" readonly="true">
    Validation says:
    "true" is not valid value for the "readonly" attribute in any of the currently active versions. See the above warnings for more details.[HTML 4.0]
    So now what?

    DW's validation gives me an error.  W3C  says it's ok.  I wonder why DW (v8) disagrees.
    Actually I 'disabled' the field instead which actually works better for me but they all behave the same,  errors in DW  and ok in W3C
    Thanks

  • Make a read-only text field open by using button and javascript

    Hello
    I have a form with text fields that I will pre-populate with data. The text fields will be read-only by default. I want to make it so that when a user wants to make edits, he will need to click on a button and in turn, the text field's background will turn gray and he can make edits to the text field. I can already make the background turn gray but I cannot make the text field open.
    This is the code that will run after the button is clicked:
    color.ltGray = new Array("G", 0.75);
    this.getField('TestField').fillColor = color.ltGray;
    this.getField('TestField').access = "open";
    The text field's background turns gray but it is still read-only. Any ideas?
    Thanks in advance!

    Here's the online version of the Acrobat JavaSript documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhel p.htm?href=JavaScript_SectionPage.70.1.html&accessible=true
    It's also available as a PDF in the Acrobat SDK.
    Regarding your other question about adding a PDF to another, do you want to add it as an attachment, or add the pages from one PDF to another?

  • Read-Only Text Field Using JavaScript Code

    I'd like to make a text field read-only by using JavaScript and also having IF & ELSE statements.
    I want it to be like this:
    if the answer from the dropdown menu is YES, then the text field is read only but if the answer is NO then the text field is fillable.
    Thanks in advance

    Use this code as the custom validation script of the drop-down in question:
    this.getField("Text1").readonly = (event.value=="Yes");

  • Text field is not working at first time after loading the flash files

    Hi to all,
         In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.
         While running the application, I can't enter any value in the Text field, after minimize and maximize the application I can enter the values.
         This problem happens after change the jre version from 1.6 to 1.7.
         I'm getting the following exception while running the application.
    org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at org.jdesktop.jdic.init.JdicManager.initBrowserNati  ve(Unknown Source)
    at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unkn  own Source)
    pls give me a solution.
    Thanks in advance...:)

    Have you tried testing on a server?
    When you test in Flash, see if you get traces when you click these buttons.

  • Read Only Element Table Attributes not working since we migrate 3.0.1

    Dear all,
    I have a page to dispaly the content of a journalling table and highlight the changes in red.
    To do it, the guy before me use the read only.
    In the read only condition type he put pl/sql expression.
    the expression is :P120_OLD_DEADLINE_DT NOT LIKE :P120_NEW_DEADLINE_DT
    And in Read Only Element Table Cell(s) Attributes the code is bgcolor="#FF0000"
    In 2.2 the background was red and in now the the background doesn't work.
    Do you have an idea why in 3.0.1 it doesn't work.
    Thanks
    Eric

    Scott,
    The background works only with the read only condition always.
    In my new item the select is select 10 from dual.
    In the read only condition I select Value of item in expression 1 is not null.
    I put in expression 1 the name of my item :p997_test.
    The read only doesn't work.
    In your test, did you select the condition always or you chose something else ?
    Thanks
    Eric

  • Read only Text Field for a Date Picker?? (how to)

    Hi,
    We have BPM Object presentations where we need to accept date values and the presentation puts Date Picker by default. But the text box associated with the date picker is editable. Is there a way so that I can make it non-editable so that i can enforce the data entry via date picker only (a typical use case)?
    Thanks in advance,
    user8702013.

    Hi,
    In the BPM Object's Presentation editor for the presentation, click the date field. On the right, click the "Properties" tab. Change the field's "Editable" property for this presentation from the default ("Yes") to "No". This only effects this one presentation.
    Hope this helps,
    Dan

  • How can I have a checkbox that a user checks and populates a field with read only text, then if another checkbox is checked it will allow user text input

    Hi
    How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
    var a ="Not Applicable"
    if (this.getField("Do").value == "Yes")
    a=""
    if (this.getField("DoNot").value =="Yes")
    a=a + ""
    event.value=a
    say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
    thanks for any help I am new to javascript

    Are these fields mutually exclusive?

  • Read only List-Field

    HI Folks
    It seems to me that there should be an easy answer to the following
    problem, so much so that I feel foolish for submitting it. However, since
    this is my first posting, it is usually o.k. to be an dimwitted idiot.
    Is there any way to have a list field (i.e. scroll list or drop list) that
    doesn't display the icon at the right side of the box (the drop arrow or
    scroll icon).
    We wish to display an item from the list in a read-only fashion, thus is
    not any need to display the list, just the corresponding item from the
    list. (i.e 'sex' it comes from the database as a 1 (Male) or 2 (Female),
    and rather than display the 1 or 2, we would like to display the 'Male' or
    'Female'. )
    Since we are displaying the records in an array and the array field is
    mapped to an object that corresponds to the database table, extra fields
    for translation, including virtual attributes, in that object fowl up the
    writing to that database table. And, of course, the Drop list adds some
    vertical height to the array field, screwing up the esthetic beauty of the
    screen.
    Thanks for reading this.
    -later
    -labeaux
    [email protected]

    Try some thing like below,
    your data value that needs to be update should be in this format "ID of the lookup";#"Title of the Lookup" 
    For example,
    listItem["Product_x0020_Number"]
    = "1;#iPhone";
    listItem["Product_x0020_Number"]
    = "2;#Mobile";
    Hope this helped you....

  • Read-Only text area

    Hi,
    I'm using a text area to display a longer read-only text. It should display only 5 lines and, if the text is longer, it should be scrollable. Works fine as long as I set the attribute Editable to true. But if I set it to No (because it should be read-only), I get the following problems:
    - It does not show only the 5 lines anymore, but the complete text without scrollbars.
    - It shrinks the size of the text area, so that it fits the text inside. You can see that looking at the borders. But I wanted to have the borders at the original size independent of the text.
    Does anyone knows, how to solve that?
    Thanks&Regards
    Matthias

    to the best of my knowledge, if you make it read-only you cannot have the scroll bar enabled. and whatever you explained is the expected behaviour!!
    But, i have a workaround under three conditions:
    1. if you need the scroll bar
    2. if you want the size of it as in the initial state - without disturbing the existing size and format of page
    3. you wish to retain the value
    keep the value of the text area in a temporary object and pass it to the reference attribute on submit of page. (here we are just retaining the value and not making it read-only)
    this helps in keeping the format of page undisturbed!!
    HTH
    Sharma

  • Read-only input field error

    I have an input field marked read-only on a form.  When I run the application, select the read-only field, press enter, then Save (validating action), I get a WebDynpro exception saying that I attempted to modify a read-only context attribute.  This does not happen if I select the field and press other keys (such as characters)...  only when I press enter.  If I make the field disabled (instead of read-only), this error is avoided because I cannot even select the input field - but I would rather use read-only because it doesn't gray out the field at runtime.  Is this a bug, or am I missing something?
    -Dave

    When you select the inputField and press enter the OnEnter action of the inputField is being called.
    When you disable the inputField it prevents you from entering values as well as accessing it actions also.
    When you try to keep you context attribute as read only and keep the input field as enabled it is similar to trying to modify a read only attribute which is not permissible.
    Hence the error.
    Revert for further clarifications.
    Message was edited by: Noufal Kareem

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • OVS on read-only input field

    OVS will not allow me to change the value of a read-only input field.  If the input field is set to read-only, the OVS selection table does not display an 'OK' button, only close.
    Value cannot be copied (field is not editable)
      I do not want the field to be editable on the screen, but only allow input via the selected row in the OVS.  Any suggestions?
    Edited by: Bob DeNuto on Jul 31, 2008 1:22 AM

    Using Dictionary Search Help and OVS in this case will disable the Copy button and you don't have any control.
    Use Freely Programmed Value Help, this will solve your problem
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
    how to provide f4 help to the read only input field
    Abhi

  • Re: Read only List-Field

    I'm not sure if this is what you're asking, but here it goes...
    Create a custom domain with IntegerNullable as the SuperClass
    From the properties of the custom domain, select Droplist or scrollistas the formwidget. Click on properties beside the formwidget label
    and datafill the matrix. Male 1
    Female 2
    Your widget will then popup with the choices Male and Female for your
    users to chose from. You can also dynamically set the contents of
    the list by using SetElementList? method on the droplist or scrollist.
    Check out the documentation for more info on manipulating the contents
    of the list.
    I use Express, so I would set this in the Business Model.
    If you use straight Forte, you probably select a DomainWidget from the
    Window workshop once you've created the custom domain.
    Hope this helps.
    Regards,
    Peter Kelly
    ____ \ / ____ CrossKeys Systems Corporation
    ___ \ X / ___
    \ X X / Crosskeys Centre Peter Kelly
    X X X 350 Terry Fox Drive Software Designer
    ___/ X X \___ Kanata, Ontario
    ____/ X \____ Canada K2K 2W5 [email protected]
    _____/ \_____ (613) 591-1600 Ext. 8247
    [email protected] wrote:
    >
    HI Folks
    It seems to me that there should be an easy answer to the following
    problem, so much so that I feel foolish for submitting it. However, since
    this is my first posting, it is usually o.k. to be an dimwitted idiot.
    Is there any way to have a list field (i.e. scroll list or drop list) that
    doesn't display the icon at the right side of the box (the drop arrow or
    scroll icon).
    We wish to display an item from the list in a read-only fashion, thus is
    not any need to display the list, just the corresponding item from the
    list.
    Since we are displaying the records in an array and the array field is
    mapped to an object that corresponds to the database table, extra fields
    for translation, including virtual attributes, in that object fowl up the
    writing to that database table. And, of course, the Drop list adds some
    vertical height to the array field, screwing up the esthetic beauty of the
    screen.
    Thanks for reading this.
    -later
    -labeaux
    [email protected]

    Gediminas 
    Datasource, extract structure and append structure(if any) not transported properly.
    Try to collect again and retransport and replicate.
    Check at RSA3 in QA system, now fields are visible or not.
    Srini

  • Text Field is not displaying in MIRO , Screen Variant SHD0

    Hi,
    All Experts.
    In my client TEXT field is not there in MIRO T.code. I heard Screen Variant can be a good option for adding field in MIRO.
    Or is there any work around to bring TEXT ( SGTXT ) field in MIRO ?
    I gone through the already posted threads regarding this, unfortunately no any perfect solution found.
    Experts help will be great on this.
    Regards,
    Sharvari Joshi.

    Hi,
    Go to SHD0 and enter transaction code as MIRO
    Then in first tab "Standard variant", sub tab "Standard Variants", do F4 on the field "Name"
    You will get the list of the standard Variants for MIRO.
    Then select one of them and press enter. It the "Activate Match Stick" is enables, that means that standard variant is not activated yet. Similarily check for other standard variants of MIRO.
    If all the standard variant have "Activate Match Stick" enabled, then SAP MIRO should be showing SGTXT as a part of standard SAP.
    Regards,
    SDNer

Maybe you are looking for

  • 2nd apple thunderbolt display in not detected by Windows 8.1

    Installed Windows 8.1 on a late 2013 Mac Pro.  Have two thunderbolt displays.  The 2nd display is not being detected by Windows.  There is only one display listed in device manager.  One display works fine, the river listed for it is Generic PNP disp

  • Third party component for zipping and unzipping using password

    Hi EveryBody I am working on a project wherein i have to zip and unzip a file using password .I downloaded a java component ,but was unable to efficiently unzip my zip files using password. Can any body suggest me a java library/component that will a

  • Conditional concat in mediator transformation

    Hi! I have 5 address line fields which should be concatenated two one big address field. If one of the line fields is filled then before next field should be concatened additional line break. Does anybody know how to solve this in the xsl editor of o

  • BW Metadata repository asks for login

    Hi all, We just completed our BW technical upgrade to BW7.3 SP03. After the upgrade while accessing the Metadata repository via RSA1. It is asking me to re-enter the log in credentials of the BW system. This was not the case earlier. Can you please h

  • VN068 - Processing routine doesnot exist

    Hi, I have a requirement on sending the PO as an attachment thru e-mail to the vendor. I have configure in NACE as below, Application : EF Output Type : NEU External send : SAPFM06P Custom Routine : ADOBE_ENTRY_NEU_PO_MAIL (form that triggers the e-m