Change programmatically textfield to textfield(disabled) , no Read Only

By pressing on a edit link of a report column I enter a page with a form
and would like to disable some of the textfields
I do not like to make them READ-ONLY , but to switch from
Text Field --> Text Field(disabled, saves state).
Maybe this is possible by using javascript ?
Any ideas ??

Hello,
you were right this is a solution.
Only the textfield(disabled,save state) has not a database column as source but
the source is the normal textfield. Or else there is a conflict because two textfields
address the same database column...
I wonder if it is possible to change the html properties of a textfield (input) conditionally, caus there exists the html property "disabled".

Similar Messages

  • Attach Operation is disabled in READ ONLY MODE - solman_setup error message

    Hello Gurus,
    I am in the phase - Connect Diagnostic Agent of the Solman_Setup for Solman 7.0 EHP1.
    I don't have any managed system connected yet.
    When I try to attach the SMD agent in the SLDAgentCandidates screen...I get two messages as detailed below:
    2011.04.13 20:14:12, Managing System 'SL1.SystemHome.sol' is  registered in the SLD, Customization of Managing system settings is disabled but it is not a problem to attach the agent.
    2011.04.13 20:14:12, Attach operation is disabled in READ ONLY MODE. The current logon user is not a member of Administrator
    Please what am I doing wrong because I even gave full authorization (SAP_ALL and SAP_NEW) to user SLDAPIUSER and i have also tried with a few user accounts wilth full authorization like J2EE_ADMIN and my SOLMAN administrator.

    Hello John,
    You get the ead-only message because your connected to the local SLD. You need to connect to the productive SLD.
    But the other message (Customization of Managing system settings is disabled) I get also. Did you solve it already?

  • How to Enable/Disable MessageTextInput Read Only property in PFR?

    Dear All,
    When i click on a submit button i need to enable/disable the Read only property of MessageTextInput item.
    Can any one tell me how to do this?
    I am executing the code
    if (pageContext.getParameter("EnableBT") != null) {
    OAMessageTextInputBean beanEmployeeIdCL = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EmployeeIdCL");
    beanEmployeeIdCL.setReadOnly(false);
    When i used the above code in Process Form Request method it is showing developer mode exception in run time as we can call the above code only in Process Request form.
    Request to please help regarding this.
    Thanks & Regards,
    CAK

    CAK,
    You need to make use of Partial Page Rendering (PPR) & SPELL. Modifying the bean property in PFR is not supported in OAF.
    Refer - PPR section of Devguide for more.
    Regards
    Gyan

  • Multiple signatures: signature clear disable / lock / read only

    I have a form with multiple signatures, for example a Purchase Requisition form... the author needs to buy something so he fills in the form with the product he needs to buy that is worth X amount. He signs it and sends it on to his manager for approval, his manager signs it and sends it on to finance for approval signature. The author now receives this form back with all the signatures he needs, but now he can clear his signature therefore unlocking all the fields so he can change the amount to XX and resign so now it looks like he has a purchase requisition that is approved for XX with everyones approval signatures still in place... How can I stop this from happening? Can I lock certain fields with the second signature that stays locked irrespective if the author clears his signature or not. Or can I disable the 'clear signature' option after signing? If the author clears his signature, can it clear ALL signatures on the form as if resetting all signature fields so they are forced to sign again? Is there ANY way to get around this? Pleeeease help, I can't seem to get this right. I'm using Acrobat 8 Pro to create the form.

    I'm here to answer my own question... and for anyone who wants to know, or has a similar issue... Create a button with the following script. It will make the form fields read-only (including signature fields!) except for buttons and comments.
    for (var i = 0 ; i < this.numFields ; i++) {
    var f = this.getField(this.getNthFieldName(i)) ;
    if (f.type != "button") // do I have to change the word between " " with the name of my button which I put on my PDF? name of button is "Valider"
    f.readonly = true ;
    I have not tried it on the last signature to see if it would work there as yet. At least the last one to sign can lock the form so the author cannot clear his signature and edit anything.

  • How to disable the 'Read Only' notification on an Access document when it is opened from within a document library (SP 2010)

    Hello, 
    OK, so I am currently having issues with opening MS Access documents from SP 2010. I have taken an existing database and uploaded it into a document library. Now, when I open this document I get the prompt to open it in either 'Read Only' or 'Edit'. 
    When I select 'Read Only' I can view the document, however I get the 'Read Only - Save As' notification when the document opens up. I have configured the document both from the source (on the original file) and from within SP to disable notifications - (from
    within the Trusted Options selection) 
    Deleted the document and uploaded it again, and the 'yellow bar' notification is still appearing. 
    I want to disable the 'Save As' function, or even hide this when the document is opened. Is this at all possible?? 

    Hi Terry,
    According to your description, my understanding is that you don’t want the yollow bar notification to display when you open Access documents.
    This issue seems to be about the client application. Please compare the followings with the things that you did:
     1.Open the documents
     2.Click File->Options->Trust Center->Trust Center Settings
     3.Click Protected View, unselect ‘Enable Protected View for originating from the Internet’
     4.Click Message Bar, select ‘Never show information about blocked content’
     5.Click Macro Settings, select ‘Disable all macros without notification’
    In addition, as this issue is about Office, I commend you create a new thread in Office forum, more experts will assist you with this issue.
    Office forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=officeitpro
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Changing sales employee on document set to read only

    *Our customer has invoices set to read only for certain users.  however they need these users to be able to change just one field - sales employee.*
    *Is there anyway this can be achieved??
    Edited by: Samantha Glanville on Oct 8, 2009 3:25 PM

    If it set up as read only, there is no room for updating even only one field.  Better leave this to other more powerful user to change.  Otherwise, the read only setting would be overridden.
    Thanks,
    Gordon

  • Can I change some partitions of the partitioned table read-only?

    I have a table partitioned by range( partitioned hourly).
    I want to keep the history data online for query (the history data is rarely accessd). But in this way the table is too large. The performance may be a big problem. So some problems may be raised:
    How can I change the aged partition read-only?
    How to decrease the workload on this table and improve the performance?
    Oracle 10g (10.2.0.3)+Solaris 10

    How can I change the aged partition read-only?In 10.2.x.x I think only tablespaces can be made read only.
    In 11g you can place tables in read only mode, but I don't know about specific partitions.

  • Hi all not sure where original request went but as a new apple user I have external hard drives that are now "read only" and I can't change or save documents.  Went to Get Info and this did not help.  Can anyone assist with solution, thanks.

    I am a new user to apple and have external hard drives from previous computers.  I have many documents I can no longer access and change as they say the drives are read only.  How do I change the read only to read and write etc for these external drives.  I tried Get Info but this did not assist.  Thanks.

    Hi,
    Google is your Friend
    10:18 PM      Sunday; February 12, 2012
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How do i shut off the read-only mode in iCal?

    I don't what happened but suddenly I cannot add any new entries to my iCal. I get a error prompt that says, "READ-ONLY CALENDAR - You cannot change events or To Do in a read-only calendar." How do I disable this read-only feature so I can use my iCal again. Any advise would be greatly appreciated. Thanks!

    Hyun, I suspect you just need to select another calendar in the panel on the left (eg Home). Subscribed to, and iCal Birthday calendars are read-only.

  • Best practice for read-only functionality

    Hi,
    I'm part of the development team of a system with about 100 screens. The customer would like us to add some read-only functionality to the system, so that certain users are able to access the screens but not change any of the data on them. We already have policies in place on the database level that keeps read-only users from saving data, but it's not very user friendly to allow users to change data on a screen, only to tell them that they're not allowed to save those changes once they try to do so. It would clearly be better if all components are rendered as read-only components for read-only users, making them unable to make any data changes in the first place.
    User privileges in the system are controlled by roles defined and set in the system (not ADF roles or Weblogic roles). At any given time and place, it's possible to check whether the current user has a certain role. We already use this in a number of places to make it possible to control which user has access to which screens. In a few places we even control which functionality should be enabled for the current user within a screen, but mostly the access control is currently on the screen level. With read-only users getting access to all screens, it seems we will need lot of extra in-screen access control to keep these users from changing anything.
    But what's the best practice here? One way to go would be to add some logic to every single active component on every single screen, to determine whether it should be rendered as active or disabled/read-only. But that would require a lot of extra coding.
    So my question is: Is there a smarter way to do this? Maybe something done through skinning? Or something else?
    (I'm not sure how relevant this is for this sort of question, but we're currently using JDev 11.1.1.4.0, and expect to upgrade to 11.1.1.6.0 within the next 6 months)
    Best regards,
    Andreas

    Hi Guna, Puthanampatti and Don,
    Thanks a lot for your replies. I'm currently looking into implementing something along the lines of what Guna has suggested:
    Our application consists of a number of individual work spaces that are deployed as adflibs which have all been added to a "master application work space", and the master application is deployed as an .ear file. Most of the individual work spaces are for all the different functional areas of the application, with their own task flows, page fragments etc. The rest are work spaces with common functionality, like datamodel (entity definitions), utility methods, page templates, and framework extensions. In the latter, we have defined custom classes for all the base classes (somewhat similar to what Don describes, I believe).
    In our custom class for ViewRowImpl, I have added an isAttributeUpdateable method, and in our custom class for ApplicationModuleImpl I have added an isReadOnlyUser method. The isAttributeUpdateable method uses the isReadOnlyUser method to determine if the current user is a read-only user or not; if the user is a read-only user the isAttributeUpdateable method will return false, otherwise true. The isReadOnlyUser method in our base class is just a dummy method that always returns true. But in the ApplicationModuleImpl classes of our individual work spaces, i've written an override for isReadOnlyUser, giving the answer that is relevant for the work space in question (for instance, whether or not the current user has the role "User Administrator").
    That pretty much takes care of all input fields in tables and forms, which is a big step in the right direction. This still leaves some work to be done for components that are not directly linked to view object attributes (like buttons), but I guess that can't be helped. Also, there are a few of the work spaces that contain a number of pages that are related to different user privileges (as in: page 1 requires user privilege A, and page 2 requires user privilege B); in these cases I will have to do something different than just writing an override in the "local" ApplicationModuleImpl class.
    @Don: What you describe seems to be pretty close in functionality to what we already have, though your implementation is different from ours. You have used your custom base ApplicationModuleImpl class to keep read-only users from committing changes. We use Virtual Private Database and database policies to the same end: If a user without the required full-access role tries to commit data it will cause a database error, which we then handle in the application (so the user gets a message like "You don't have the required privileges to changes this data", rather than an ORA message). Unfortunately, our customers are not content with this. They want a solution where all input fields and most of the buttons etc. are disabled for read-only users, and that's why I'm looking into the best/smartest way to do this.
    @Puthanampatti: We already use something similar to what you're suggesting. The challenge I'm currently facing is how best to disable/enable components based on the current user's roles, not how to determine and store those roles.
    Best regards,
    Andreas

  • Read only inputText binding problem

    Hi all
    I have a h:inputText like below
    <h:inputText readonly="true" id="txtStudentId" value="#{student.id}"/>then using a Java script I change the value of this textbox.
    But when retrieve the value from backbean It's not changed. The problem is associated with read only attribute.
    When it's not read only it works.
    Can some one explain this?

    Thank You BALUSC, Your solution worked!
    Nice idea
    JSP
    <script>
                            function changeTest()
                                document.getElementById("form1:textField1").value = "text Changed";
                                document.getElementById("form1:hidden1").value = "text Changed";
                                return false;
    </script>
    <webuijsf:form id="form1">
                            <h:inputText id="textField1" readonly="true" />
                            <h:inputHidden binding="#{ReadOnly_inputField.hiddenField}" id="hidden1" />
                            <h:commandButton id="button1" value="Channge Value" onclick="return changeTest();"/>
                            <h:commandButton action="#{ReadOnly_inputField.button2_action}" id="button2"value="Check Value"/>
                        </webuijsf:form>ReadOnly_inputField.java
    private HtmlInputHidden hiddenField;
        public HtmlInputHidden getHiddenField()
            return hiddenField;
        public void setHiddenField(HtmlInputHidden hiddenField)
            this.hiddenField = hiddenField;
        public String button2_action()
            System.out.println("This is the value : "+ hiddenField.getValue());
            return null;
        }And your Blog. It's really really helpful.

  • Search help unavailable in Read-only input field since EHP4

    Dear Experts!
    I have a problem with a Portal page since the deploy of the EHP4. The page has standard input fields with Search Helps. I needed to have the input field non-modifiable so the user would have to use the search help to get the proper information.
    Prior to the EHP4 installation, I set the input field to Read Only in the WebDynpro explorer, this disabled the editing while permitting the user to use the Search Help.
    Since the installation, the search help is no longer visible or accessible on a Read Only standard inputfield.
    Do you know if there is a way to allow the search help on a read only field?
    Thanks so much for your answer,
    Brian Foster.

    >Since the installation, the search help is no longer visible or accessible on a Read Only standard inputfield.
    This was a conscious design decision on SAP's part that disabled or read-only fields should no longer fire value help.  I am aware that this situation was used in the past as you describe.  It is even still used in SE80 for the Web Dynpro ABAP wizards. However usability studies showed that this often confused end users and therefore it is no longer allowed.  The field must be input enabled to fire the attached serach help.

  • Crash Bang 15th day of 30 day trial, file now says "read only"?

    so I've lost a lot of work and I don't understand. Files not found to open, and files panel says it's "read only". Doesn't convert to writable or will it change when I click the "turn off read-only" option.
    Am I screwed now or what?

    Tried that, no CD thing either, I just back up files, most were corrupted but I least I didn't lose everything.
    Thanks

  • AJAX and Read-Only Items

    I used the examples from Carl Backstrom and Denes Kubicek to get my cascading select list working.
    I have two select list fields (Origin and Type) that I use to determine the data to appear in a third select list field (Customer).
    With help from people on this forum I was able to get things to work.
    Now I have an issue when I conditionally make the Origin field "read-only".
    When this occurs, data appears in my "Customer" select list on the INITIAL display of the form.
    However, when I change the value in the "Type" select list field, no data appears in the Customer select list.
    If I change the "Origin" field to NOT be read-only, I can change the value in the "Type" select list field and everything works OK.
    I hope I have given enough information.
    THANKS in advance.
    Raymond

    Raymond,
    It looks like read-only select is really special:
    (I replaced < > with [])
    When select is not read-only generated html is:
    [select name="p_t01" size="1" id="P1_ORIGIN_NO"
    onchange="get_AJAX_SELECT_XML('P1_ORIGIN_NO','P1_DISPLAY_SSA','','','P1_CUSTOMER','CASCADING_CUSTOMER_LOV')";
    [option value="%null%"]%[option]
    [option selected="selected" value="001"]DOTIKI MINE[option]
    [option value="S01"]ECO COAL PELLETIZATION NO. 12, LLC[option]
    [select]
    It means that P1_ORIGIN_NO in  get_AJAX_SELECT_XML will be "001"
    But when select is read-only your html code is:
    [input type="hidden" name="p_t01" value="001" /]
    [span id="P2_ORIGIN_NO"
    onchange=
    "get_AJAX_SELECT_XML('P2_ORIGIN_NO','P2_DISPLAY_SSA','','','P2_CUSTOMER','CASCADING_CUSTOMER_LOV')";
    DOTIKI MINE
    [span]
    [pre]
    P2_ORIGIN_NO in  get_AJAX_SELECT_XML will be "DOTIKI MINE" which I think is wrong.
    It looks like for read-only you need hidden item with code of
    drop - down list or somehow you have to reach [input type="hidden" name="p_t01" value="001" /]
    Lev
    Message was edited by:
            le                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to make a page read only

    Hi all,
    Can anyone please help me out on the following issue.
    How to make a total page read only, so that he/she can not make any changes. I want the total page read only.
    Do we have any functions to do that?
    I need to do through peoplecode only because i have to check a condition.
    Please help me.
    Thank you,
    Bye.

    Without customizing, this may be accomplished via Permission List Security.
    Go to PeopleTools - Security - Permission List
    Select the desired Permission List. Click on the Pages tab.
    Find the menu and click on "Edit Components" hyperlink.
    Find the Component on the List and click on the "Edit Pages" hyperlink.
    Click on the Display Only check box for each page in the component you wish Display Only.
    If that does not sufice, you may use PeopleCode to set the Field DisplayOnly property to true for those editable fields that you wish not to be.
    HTH
    Steven E. Davies

Maybe you are looking for

  • Attaching a thumbnail to a book cover for my eBook

    My gear: Windows Vista Ultimate, 64-bit. My objective: Attach a thumbnail version of my eBook cover to my eBook book cover, so the Adobe Digital Edition version will look cool. What I've done: With distiller set to eBooks, I've created the PDF book c

  • Compressor Batch - will NOT open batch monitor

    i had to reinstall my friends FCP/Compressor/DVDSP (he didn't want the other stuff) but now when we try to export a file from compressor to a dvd file such as dolby audio we get an error saying "unable to connect to background process" any ideas? may

  • Capture standard output of another command-line program, with characters not in current codepage

    I'm using ProcessStartInfo.RedirectStandardOutput and Process.BeginOutputReadLine to capture the standard output of another program (specifically, youtube-dl.exe) and save them into a string variable. However the result variable contains only usual c

  • When I open Contacts file in Applications a dialog box states "All Contacts (no cards)"

    When I open Contacts file in Applications a dialog box states "All Contacts (no cards)" My contacts are still located on the computer because I can still send emails as the contacts address is show as soon as I start to enter the name. Therefore I am

  • DN mapping rule  problem

    Hi, all. Here is problem - i try to replicate entry from Active Directory connector view dn: cn=user, ou=123,ou=bank,o=ADCView to MetaView entry dn: cn=user, ou=345,ou=internal users,o=Meta I have DN mapping rule: Selection criteria: (%objectclass%^p