Disable field with JeditorPane

Hi, i ve a simple problem : impossible to show a disabled field in a form contained in my JEditorPane component. : i can clic on a button or a text area even if it s disable (disable attribute in HTML code). Please tell me how to do.

not anwsered.

Similar Messages

  • The Adobe Forms was created with Disable Fields!

    Hi All,
    I am new in Adode Interactive Forms ABAP.  I am trying to implement a simple scenario using Web Services published by RFC on ABAP side and simple form with one field  MATNR to bring a Description MARKT, and button to call the Web Services.  I configured ADS on Server, installed  Adobe LifeCycle 8 and SAP GUI 7.1.  I created the  Adobe Form and it was actived.
    My issue is,  when a run the program  to generate a PDF, using the FMu2019s 'FP_JOB_OPEN'
    , 'FP_FUNCTION_MODULE_NAME', CALL FUNCTION i_funcname, the Adobe Forms was created with disables fields. I canu2019t fill it and canu2019t press the button to call WS on ECC.
    Could you help me?
    Thank you!
    Fábio Ferri
    SAP Consultant Netweaver

    Hi fabio,
    When you say the example ran successfully is it without any error messages..?
    Did you check in spool "SP01" if there something sitting out there.
    To my understanding PDF rendring is dependent in 2 aspects.
    1) the output device type you select (this should be a PDF enabled printer)
    2) Programatically if you say it should go to a printer or spool.
    Just try with FP_TEST_00 either in sfp or SE38 and try both print preview and print.
    in print priview it should display the PDF on the screen.
    In print it should display as success message and in spool it should have the corresponding PDF. if both are working fine then the ADS and output device config are correct and it all depends on how do you handle the PDF output.
    Just try the above approach and post the results,
    Cheers,

  • BDC with disabled fields

    Hi all,
    I'm writing a BDC program for a transaction that might contain disabled fields. At run time I can't determine wich fields are disabled so the BDC doesn't work when I try to write in a those fields. Does anyone know how I can solve this issue?

    "Blind Data Carry" - that's a new one on me... it used to be Batch Data Communication!
    When you say "can't determine which fields are disabled", well generally you can do this - but it may require a lot of code and database lookups i.e. SAP itself determines which fields to block at runtime depending on configuration and data values and other switches therefore it should be technically possible to anticipate which are open for input and which are not.  If you chat to your functional guys, they can often give you broad business rules that might help e.g. "Balance Sheet GL accounts won't have Cost Centre open for input" which may help you write something a little easier.  You're likely to have the same problem with BAPIs - if you provide data values that are not required the BAPI may issue an error too.
    Which transactions are you trying to BDC into?
    Jonathan

  • How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?

    How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?
    I’m creating a form where the user has three options to make a payment.
    1. charge to my credit card
    2. charge associated costs to bank account
    3. By cheque or money order
    My Problem is, under each option, there are required fields that has to be filled out. So if the user picks the first option, charge to my credit card, they would fill out the required fields (credit card number, expiration date etc.). But when they click submit button to submit the form, it won’t let them, because there are required fields under the second option. Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it. So what I'm trying to do is this: If the user selects the radio button for option 1, the other two options are greyed out/disabled. And if the user holds down the shift key and clicks radio button for option one again, it unchecks the radio button and the other two options are available again. Is there a way to grey out or disable the two other payment options when the other one is picked. I’m assuming I will have to use javascript, but what would the coding be and which field do I write it under?
    Thanks in advance guys

    You will have to use custom JavaScript to access the various properties of the field object.
    The radio button group has a value. When no button is selected that value is "Off". When an individual button has been selected the value for the group will be the option or export value for that individual button.
    Once you have determined the button selected, then you will know the form fields that need to be made required. You use JavaScript to access those fields and change the "read only" property to false, and set the "required" property to true. For the fields associated with the other options, those fields should be reset, made read only, and have the "required" property set to false.
    Disabling (graying-out) Form Fields
    >> Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it.
    Radio button in a PDF do not work that way. Only check boxes can be unchecked by clicking on one that has been checked.
    If you plan the coding for the Mouse UP action to test for all possible options and code for each of those options you should have what you want.
    If you want actual code you need to provide a lot more details.
    It is even possible to perform some credit card and bank routing number validations with JavaScript and some check digit formulas.

  • Having trouble disabling fields form in LiveCycle 8.1.2

    Hello,
    I have been working with live cycle for 3 weeks now and I need to edit a form to be dynamic so that a user can select a check box and certain fields are available depending on what's selected.
    ex: is user checks oper_bird than txt field oper_secur_id is available to be written in.
    I have set the fields to "readOnly" initially and I am now having problems with JavaScript to disable the fields.
    I have read the documentation on the differences between AcroJS and XFA and I am still confused. The form is set to dynamic and
    Heres the code I'm trying to get to work (I am using it on a radio button to enable or disable a txt field for testing):
    // Function to enable form fields
    function EnableField(cFieldName)
    // First acquire the field to be enabled
    //var oFld = xfa.form.F.resolveNode("$.." + cFieldName)
    //if(event.target.rawVaule == 1)//oFld)
    //{ // Next acquire the hidden field with the normal colors
    popup()
    //var oNmlFld = xfa.form.F.resolveNode("$..NormalColorsFld")
    //if(oNmlFld)
    //{ // Make field interactive
    $oFld.access = "open";
    // Restore Normal Colors
    $oFld.fillColor = oNmlFld.fillColor;
    $oFld.borderColor = oNmlFld.borderColor;
    $oFld.fontColor = oNmlFld.fontColor;
    // Function to disable form fields
    function DisableField(cFieldName)
    // First acquire the field to be disabled
    var oFld = xfa.form.F.resolveNode("$.." + cFieldName)
    if(oFld)
    { // Make field Read- Only
    oFld.access = "readOnly";
    // Set Grayed out colors
    oFld.fillColor = "192, 192, 192";
    oFld.borderColor = "171, 171, 171";
    oFld.fontColor = "125, 125, 125";
    I removed some of the conditionals to see if the events were happening. The code is in "Init" and the functions are called respectively in the "mouseUp" for "enable" and "disable"
    Thanks for the Help

    Okay, heres where the problem stands now:
    I disabled the fields, made them "readonly", however I can not reactivate the Fields to bring them back into a "User Entered - ..." value after setting them to "readonly". I know I am getting the calculation script to work because I am changing the colors of the field depending upon input.
    WorkflowUser could you you still want to take a look at the script? if you want to of course.
    Thanks again.

  • Disabling fields in migo

    Hi Friends ,
    I want to disable line item fields like quantity for a given line incase of outbound delivery in migo. Please help me out how to do it using the badi MB_MIGO_BADI.

    Hi Madhvi,
    Go through the following links.
    Hiding Custom Fields in Migo
    How to modify items fields with MB_MIGO_BADI or enhancement point
    Hope this helps.
    Regards,
    Manish

  • How to disable fields in Table control???

    Hi
    How to disable fields in Table control??? I want to disable particular row in table control when enter datas are correct.lets take as example ME41 or ME51 table control.
    Can anyone tell how to do disable in this table control
    Points will be rewarded if its helpful.
    Thanks
    senthil

    If you want to disable the row then you can use
    in pbo module create a module in side loop,
    loop at itab with control tc.
    module change_screen.
    endloop.
    in module,,,,,
    loop at screen.
    if condition.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    Regards
    Vijay

  • Using Javascript to disable field "Planned"

    Hi every one,
    I want to use javascript to disable "Planned" checkbox in Project Server 2013 because we want that user can not see this planned time and be confused with the Project Server's automatic changes for the planned time.
    <script type="text/javascript">
    document.getElementById("Ribbon.ContextualTabs.MyWork.Home.ShowHide.PlannedWork-Medium-checkbox").checked = false;
    </script>
    I found this code in this subject :
    http://social.technet.microsoft.com/Forums/projectserver/en-US/0beeed2d-bebc-4217-981a-41b1252c7cc2/disable-field-planned-in-timesheet?forum=projectserver2010general
    But I don't understand where to use it. If i create a custom webpart with this code, I've got a null exception when the page is loading.
    So, can you help me ? Maybe I need to use it in an other file ?

    Hi Patmol6,
    Basically, to add javascript to a PDP (or timesheet page for instance), 
    edit the page
    add the content editor webpart
    set it as hidden
    copy paste the code
    Note that you can also point from the content editor webpart to a js file embedding the javascript code
    Here are few examples (some are in PS2007, but the process is similar): 
    http://epmsource.com/tag/content-editor-webpart/
    http://badalratra.wordpress.com/2013/05/04/how-to-disable-pdp-custom-fields-using-javascript/
    http://badalratra.wordpress.com/2013/02/03/javascript-code-to-add-custom-descriptions-underneath-project-field-on-the-pdp-page/
    http://epmcorner.wordpress.com/tag/content-editor-web-part/
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Why I cannot process a disabled field when using htmldb_item

    I have a report that has this in the select statement
    case when c.sec_lic_status in (1,2,7,505,1002,1004,1005) then
    htmldb_item.text(2,sum( distinct a.fee_variable),8,20)
    else
    htmldb_item.text(2,sum( distinct a.fee_variable),8,20,'disabled')
    end "Quantity 1"
    The above shows correctly. If there are 2 records one field is disable and the other is enabled.
    I have a process that fires on submit - after Computations and Validations. But the records don't changed when updating the enabled one.
    In debugging and writing to a file using the UTL_FILE package, I'm able to pinpoint that the disable fields are the problem.
    Is there a trick on manually processing disabled fields?
    I've found that when I uncheck the show box in the report, I cannot use the fields either. This is not a problem, just another comment.
    My main problem is what do I have to do to manually process a disabled field.
    Thanks for your help, comments, pointers, or anything that could help me or give me ideas.
    juan

    Juan - HTML items with the disabled attribute are not POSTed with the form so your after-submit processes never see them. Try 'readonly="readonly"' instead. Others may be able to suggest how to also give those cells a greyed-out appearance.
    Scott

  • Need to Disable field in Table maintenance generator

    Hi Frds,
    I have created a custom table .But i stuck at one point. In the TMG one field is User ID and next field is filled with Full name of this User ID(made it noneditable). To get user name i implement '01' event in TMG. and its working fine. But when i change the user ID in the row ramdamly the user name is not updated. its because Event not trigger.
    Please help me by giving valuable suggestion either of two query.
    1) When any row field value get change. Which TMG event trigger and capture the changed row
    2) How can i make field disable once it get filled and saved.
    Thanks
    Imran

    Hi,
         When you create any entry in TMG event get occurred is 05 and if you are changing any row content than you have to use 01. And if you want to disable fields ,double click on overview screen number which is you have given when you created TMG and than it opens flow logic of screen than click on Element List tab and uncheck the fields which you wants dsiable in input column as i am attaching screenshot have a look at it.
    in this user ID is unchecked.
    Regards,
    Shahezad

  • How to set a value to a disabled field in an B1 screen ?

    Hi,
    Can anyone tell me how to set a value to a disabled field in an existing screen.
    For example , I want to set a value to the Paid/Credited field in the Sales - A/R Invoice screen, which is a disabled field.
    I tried setting the field as enabled but it throws an error.
    Thanks in advance
    Mina

    It depends on the business process required for generating the invoice.  (What is this process just now?)
    I can think on quite a few ideas, but can't be sure if any of them will match your specific requirements.  I'll list a few here and see if any of them might work, or at least generate some new ideas for you. (Unfortunately you can't change an existing payment object to add an invoice to it at a later date, nor is the reconciliation process exposed through the SDK.  This limits your options a bit.)
    1) Is there a need for a separate delivery and invoice?  Would skipping the delivery process and using the standard Invoice + Payment screen work for you?  Stock would be issued, invoice created and payment matched directly to invoice without any work.
    2) This might apply if the invoice is simply a one for one match with the delivery.  Rather than just generate a payment in the delivery screen, generate the invoice and a payment at the same time.  The standard invoice screen will then show it as paid.  You can control the dates on the invoice raised through DI code.
    3) Where do you write the Paid Amount to?  How is it not available in the invoice screen?  Put it somewhere accessible and write it to the user field.
    John.

  • Initializu00EDng select options field with default values and with NO INTERVALS

    Dear All,
    I have used WDR_SELECT_OPTIONS technology within WD Abap.
    I also have added the fields which have to be taken into consideration.
    lt_range_table =
    wd_this->m_handler->create_range_table(
    i_typename = 'PLANT' ).
    wd_this->m_handler->add_selection_field(
    i_id = 'PLANT'
    it_result = lt_range_table
    i_read_only = read_only ).
    Can I assign two values to this field 'PLANT' whereby the user may take only these values.
    I mean kind of pre initializíng of this select options field with default values.
    Due to this handling it should be prevented that the user can give other values
    except this values.
    Additonally it should be fine whether it is possible to disable the second input field
    of this select options field like NO INTERVALS .
    Regard
    sas
    Regard
    sas

    wd_this->m_handler->add_selection_field(
    i_id = 'PLANT'
    it_result = lt_range_table
    I_NO_INTERVALS = 'X'
    i_read_only = read_only ).
    Pls check 'WDR_TEST_SELECT_OPTIONS' web dynpro component

  • Color of Disabled field

    Whenever i disable the field its color fades. How can i select the dark color for disbaled field?

    You shouldn't be using the disabled field attribute for fields that are display-only.
    We use a different background color for updateable items (white), while display-only fields usually get the same background color as the canvas, which is always a light color, so the black text shows just fine.
    And we allow users to click into display-only fields, so our form will highlight the background (yellow), in case they want to bring attention to the field, say while they are discussing the screen with someone.
    We only use the disabled property in rare occasions, when a field is truly disabled, indicating some process is not available.

  • How do you make tabbing skip a disabled field?

    Hi, how do you make tabbing skip a disabled field?
    I have a checkbox. If it's checked, one radio button in a radio button group is disabled. However, user can still tab into this disabled radio button. Once it's in there, it cannot tab out or use up & down arrow to move out of the disabled radio button. It just gets stuck there.
    I tried setting access="protected". But it makes no difference.
    Is there a way to exclude a disabled field from receiving a tab in LiveCycle Designer?
    Thanks.

    You may create your JTextField with the text i.e.
    JTextField myTextField = new JTextField("text");
    or anywhere in your program
    myTextField.setText("text");

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

Maybe you are looking for

  • Problem compiling simple servlet

    I am trying to compile a very simple servlet. When I do, I get the following error message: Package javax.servlet does not exist I am using the Java 2 SDK, Standard Edition Version 1.3.1. I have downloaded the servlet api (zip file servletapi2_1_1win

  • Photosmart 7520 can't acquire IP address

    I have a new Photosmart 7520 and I'm unable to connect it wirelessly to the network.  It is unable to acquire an IP address. I've tried the wizard as well as the set-up option and neither work.  The MAC filter is disabled.  Not sure what to do.

  • Making Webdynpro ABAP TEAMVIEWR (OBJECTDATAPRROVIDER) Editable

    Hi All, I have a requirement where I need to show status field as EDITABLE i.e manager should be able to change the TASK status of his reporting employees using a drop down on teamviewer (in WD ABAP the corresponding component is "OBJECTDATAPROVIDER"

  • "Powered by Adobe" - Removal option feature request

    I would love to remove this. I understand that this is currently not possible. I'm willing to pay extra if required to remove these links. When embedding the forms on my website, the last thing I want to do is advertise for Adobe or have my competiti

  • Fast transfers via drag and drop w/ARD, but painfully slow on AFP...?

    So, we've tested this using the same exact file on the same machine (same internet connection and all that): If I open up ARD and then control our server with it via my laptop, then I open up my personal afp folder on the server itself via ARD and ta