Render button ok but fields displayed as read-only(solved)

Dear JHeadstart,
I'm trying to solve the next situation.
I'm Using a form with 'Same Page?' checked.
I'm rendering an add-button: when a row is not found I display the add button and when a row is found, the add button is not displayed.
This works well with the EL expression: #{bindings.<viewobject>InputDate.inputValue eq null} in the 'Insert allowed EL expression'. For if now row is found this field is null.
But when I press the add button I only get readonly fields where I'm hoping for inputfields to fill so I can insert a new row in the table.
In the jspx file I find, the EL expression I used, back for every field in the form.
The form is based on a VO based on 2 entity objects. One is always updateble (here I want to have the inputfields) and one is read-only.
I've also tried the EL: #{!((bindings.<viewobject>Iterator.currentRowIndexInRange!=-1 and bindings.<viewobject>Iterator.findMode!='true'))} which is used to render the value="#{nls['NO_ROWS_FOUND']}" in de jspx file.
but with the same results.
So what can I do to make those fields insertable?
Help will be appreciated!
regards,
Marcel.
After some more googling I found:
http://download-east.oracle.com/docs/html/B25947_01/bcvoeo009.htm#BABJEEFA
Section 7.9.3 got me on track.
In my create() the InputDate field was filled (sic).
When I used another field in the EL, it worked.
Message was edited by:
user571204

Finally I think I have found the problem.
In the View where I am printing the ADOBEFORM, it is needed this code under the method WDDOMODIFYVIEW.
method WDDOMODIFYVIEW .
  DATA: LV_INTERACTIVE_FORM   TYPE REF TO CL_WD_INTERACTIVE_FORM,
             LV_METHOD_HANDLER     TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
  LV_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INT_FORM' ). "   adobeform object in view
  IF LV_INTERACTIVE_FORM IS NOT INITIAL.
      LV_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
      LV_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
      LV_METHOD_HANDLER->SET_HIDE_NAVIGATION_PANEL( ABAP_TRUE ).
      LV_METHOD_HANDLER->SET_DISABLE_PRINT_BUTTON( ABAP_TRUE ).
      WD_THIS->M_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
      WD_THIS->M_METHOD_HANDLER->SET_HIDE_TOOLBARS( ABAP_TRUE ).
    ENDIF.
endmethod.
Regards,
Carles

Similar Messages

  • I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    Drive Partition and Format
    1.Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • I have connect a seagate HDD formated on NTFS to my macbook pro with Mac OS 10.7 but my HDD is read only any idea how can i change it to read & write ?

    i have connect a seagate HDD formated on NTFS to my macbook pro with Mac OS 10.7 but my HDD is read only
    any idea how can i change it to read & write ?

    i tried the trial version of tuxera and it gives me the possibility to read & write , Thanx fschweig.
    @ Samberl : what is the benifts of keeping my drives on mac format and this SW mediafour i install on my PC to let it write the mac formated HDD ?
    is it free ?
    all the best
    Adiab

  • External Hard Drive became read-only [SOLVED]

    I have a seagate external hard drive formated to ntfs. I have been using it successfully with arch until recently. Now when I try to add files to it it refuses. I tried changing the permission back with
    sudo chmod ugo+rwx -R /media/FreeAgent\ Drive
    But, it returned a "Read-Only file system" error for every file. I'm not sure what caused this, any suggestions? Thanks in advance for the help.
    Last edited by briff (2010-09-06 18:46:48)

    I tried running
    sudo fsck /dev/sdb1
    and got the following error:
    fsck from util-linux-ng 2.18
    fsck: fsck.ntfs: not found
    fsck: Error 2 while executing fsck.ntfs for /dev/sdb1

  • Fields appear as "Read Only" in an Int.Form called from a WD

    Hi Experts!
    I am having a doubt in an Adobe Int.Form, that is called from a WD application.
    The fields that are in my Form, always appear as a "read only". It is not possible to modify anything there.
    Here, I describe the steps that I follow.
    I create a very simple WD application. In its WD View, exist an unique Object (Adobe Interactive Form).
    In that object, I set the properties:
    "Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.
    "PDF Source": a context variable type XSTRING.
    "Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields
    "Enabled": True.
    "Read Only": False.
    In the AdobeForm, I have drag & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed, for my test.
    And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).
    Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.
    But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".
    Someone knows what is happening here? I guess it should be possible, to activate as a "EDITABLE" that field in my Form.
    So here is my doubt.
    Am I doing anything wrong? Or am I doing any mistake?
    Thank you very much in advance!

    Finally I think I have found the problem.
    In the View where I am printing the ADOBEFORM, it is needed this code under the method WDDOMODIFYVIEW.
    method WDDOMODIFYVIEW .
      DATA: LV_INTERACTIVE_FORM   TYPE REF TO CL_WD_INTERACTIVE_FORM,
                 LV_METHOD_HANDLER     TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
      LV_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INT_FORM' ). "   adobeform object in view
      IF LV_INTERACTIVE_FORM IS NOT INITIAL.
          LV_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          LV_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_HIDE_NAVIGATION_PANEL( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_DISABLE_PRINT_BUTTON( ABAP_TRUE ).
          WD_THIS->M_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          WD_THIS->M_METHOD_HANDLER->SET_HIDE_TOOLBARS( ABAP_TRUE ).
        ENDIF.
    endmethod.
    Regards,
    Carles

  • Problems with Conditional Display and Read Only

    Hi Everybody,
    I have a form to Add/ Modify Table Info.
    I have column which stores numeric value (like no. of purchases, no.of returns etc.,) and I have a text field with this Database column as Source.
    In some cases the value is a foreign key (Id of the Owner, Buyer etc.,) to another table. In such cases, I want to display a select list containing people information. Is that possible?
    This is what I did to achieve that
    I added a select list with info from second Table. Made both the text field and the select list to conditional display and conditional read only.
    My understanding is that When an item is made read only it should not be saved to the Database.
    But while Updating I am getting the following Error
    ORA-06550: line 1, column 130: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored.
    Any can anybody help me out on this?
    Thanks
    Nimmi

    My understanding is that When an item is made read only it should not be saved to the Database
    No, all page items with a Source Type of "Database Column" will be used by the Automatic DML process to insert/update the database. Form inputs with the "disabled" HTML attribute set are not POSTed to the server.
    Try to create 2 items, one Select List and other Text Field but setup their conditions such that only one of them is rendered on the page at any given time. That might work.

  • Field Validation on Read Only Field

    I'm trying to create a pop up error box if a field contains null values. The problem is that the field I'm trying to do the validation on is a read-only field. It's the Account field on the Contact Object or Module. It won't allow me to include validation. The goal here is to have a POP UP ERROR box come up if someone does not select a value for that field. Making it required doesn't generate a popup box, it only has a small "required" text next to the field which can be easily missed by a user. Any ideas?

    Hi !
    I found the way to do what you wan't, but it sounds a bit strange for me...
    You have to put a field validation on the Account Id field. I made some tests to know what is in the AccountId field when it's blank and i see that the value is "No Match Row Id" !!
    So your validation rule must be simply
    *&lt;&gt; "No Match Row Id"*
    It worked for me, the error message appears... But I think this is something we have to report to Oracle...
    Hope this will help, feel free to ask more !
    Max

  • User-entered field treated as read-only

    I created a large form in version 7. I brought it into version 8 to work on it some more. I believe this may be related to going from 7 to 8...
    I have lots of numeric fields in rows and columns. All the fields are User Entered - Optional. When I view it in Preview, one field in the middle will not allow entry. It's as if the field were Read Only. I go back to Design mode and the field is still listed as User Entered. This occurs on a few pages.
    Anyone else had this problem? Any suggestions?

    My office uses Times New Roman as a standard font for all our forms, I dragged several of the most used standard objects into a blank form, altered them to fit our standards and then dragged them back into the standard tab. Much easier than going through the process each and every time you need to pull a field in, fyi. You can also put a script into a field and put it into either the custom tab or create your own tab for personal objects, I find this saves me huge time by not having to re-type scripts over and over.

  • Read/Write folder, but newly added files Read Only?

    Our company uses a server to store a shared logo database and work files, and to transfer data from one user to another. At this point, we do not have any need for Read Only on this server; everything should be Read/Write. That's how it was set up initially, and the permissions were propagated. About a year ago, our old XServe crashed and was replaced with a new XServe. I believe our trouble started there, and has since migrated to our Snow Leopard Server: we have several folders where, if an employee uploads a folder and/or file, those files become Read Only. We have to go to the Get Info for that folder and fix the permissions each time. This has to happen up to 20 or so times a day, and I'm the only one who has server access to fix it; it also seems to be affecting more and more folders. I'm not in IT, so this is a little beyond me, but I've been working with IT on this (I'm Mac, he's PC). Can anyone offer a suggestion as to how else we can go about permanently setting the permission to Read/Write on all folders? Server Admin hasn't been successful.
    Thanks!

    Hi
    +"We have to go to the Get Info for that folder and fix the permissions each time"+
    This might be fine for OSX Client but it's not the way to do things on OSX Server. Consider stopping doing this because ultimately you're adding to the problems you're seeing. To reset permissions launch terminal on the server and issue this command:
    sudo chmod -R -N /pathtoshare
    Depending on how much data there is as well as the structure (nested folders within nested folders etc) this may take some time. If you're sharing the Volume (hard drive), don't. Share a folder instead. If you have only one share point which is the name of the drive. Create a folder with the same name and move all the data into that folder. Un-share the drive and Re-share the folder.
    Once the command has ran, repeat for any other share points you may have. When finished launch Server Admin because this is what you should be using. Select the Server name. Click on the Sharing icon. Select Share Points. Select the share point you're interested in and add desired users or groups into the ACL window. Select Read/Write. Don't fiddle with the POSIX permissions. Cick Save. Click on the small gear wheel and select Propagate Permissions. By default ACL will be ticked. You don't tick anything else. Click save/apply and let it do its stuff. Repeat for any other share points you may have.
    Tony

  • XML form field should be read only.

    Hi All,
    Can we have a field in a XML form which is read only and the number in field should be incremented every time a new form is created.
    Is this possible.If yes can someone please guide me how.
    Thanks,
    Nikhil Pai

    Hi Nikhil,
    Do u want this property to come in the Edit form also, or only on the show form?
    If its only on show form,
    1. Keep a text file in KM with a starting number say 1000.
    2. While creating the XML form, a KM Service listening to resource creation only in the folders,
    will update a property and also edit the text file and replace the number by 1001.
    So in the show form u will have a unique number for each XML form.
    Regards
    BP

  • Startup command starts database but alter database open read only gives error

    Hi,
    I'm having some strange behavior. I've 10.2.0.3 database on windows 2003.
    The startup command starts database without any issues.
    But if I try following it gives error.
    startup mount (successful no errors)
    alter database open read only; gives error that file Mnnnnnn is missing.
    Why this is happening and how to fix it?
    Thanks.

    You really need to show us exactly what Oracle is telling you, using copy and paste, so we can have some clue.  You can hide details like instance and host names if they show up.
    I'm wondering if you had some messed up offline datafile in a tablespace, where Oracle handles it with startup, but gets upset when you try to open read-only.  It's some bizarro sequence of events like: add a datafile to a tablespace, decide that was a mistake, alter it offline, then remove it from the OS without telling Oracle any more about it.  I've come back from vacation to find scenarios like this, it winds up being a time-bomb trying to recreate a standby later.  Or something like that, I could be unremembering some details.

  • I want to add cd movies to iTunes but I have a read only CD

    I have some movies on CD that I bought.  I want to put them in iTunes and then place a few on my iPad to watch while I travel on the airlines.  But after getting the info on the CD it says it's read only.  I have done this before by dragging the movie file to iTunes but now it won't work.  Am I doing something wrong or this the movie industry trying to protect their copy rights?  Anyhow it would be nice to be able to do this since it seems mac power supplies don't work on Korean Air.

    It is illegal to RIP commercial DVDs and this cannot be discussed in these forums.
    I have done this before by dragging the movie file to iTunes but now it won't work.
    This has never been possible (dragging a movie from a regular DVD movie to iTunes).

  • Filesystem read only[Solved]

    hello
    i install arch but when i want to install a software i can't.
    there is an error "file system read only"
    what should i do?
    Last edited by MHALAH152 (2013-05-12 06:31:48)

    MHALAH152 wrote:
    65kid wrote:just use "defaults", nothing else. Don't add any other options unless you actually know what they are doing.
    I do that.but now i have new problem
    my system can't find internet and i can't install any software
    Then please mark this thread as [Solved] by editing your first post and prepending it to the title.
    Then open a new thread about your networking issue and include information about your network card, drivers, what you have set up in your configs etc...
    https://wiki.archlinux.org/index.php/Fo … ow_to_Post

  • SD Card read only [Solved]

    Hi,
    Do not think its an Arch related problem but I have an SD Card which will only mount read-only
    mount: block device /dev/sdh2 is write-protected, mounting read-only
    mount: wrong fs type, bad option, bad superblock on /dev/sdh2,
    missing codepage or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    It states card is write-protected it not write locked, of course not being able to write to the card I cannot reformat it.
    Just wondered if card was faulty? or can I repair the filesystem on it? [ext3]
    Thanks
    MrG
    Last edited by Mr Green (2008-02-03 09:08:31)

    Wow thanks for that seems to be able to read from device not sure if it will repair it..../me reads manual
    managed to read data off device and use a loop to mount to a directory
    only thing is I still have no access to device I really hope its not faulty ;-(
    Last edited by Mr Green (2008-01-06 14:52:47)

  • Adobe Interactive Form is displayed in Read Only mode

    Hi All,
    I created Adobe Interactive Form in SFP.
    The following properties are set to the form.
    Layout Type -ZCI Layout
    Preview Type - Interactive Form
    XDP Preview Format - Acrobat 7.0.5 Dynamic PDF
    In PDF preview tab, I can enter data into the Text Fields.
    I added this form in a web dynpro ABAP application using Interactive Form UI element.
    The following properties are set to the UI element.
    DataSource - bound to the context
    displayType - native
    enabled - checked
    templateSource - Formname
    readonly - unchecked.
    When I run this application, the form is displayed in readonly mode.
    I can't enter any data into the text field.
    Any of you guys know that how to resolve this?
    Thanks
    Thruna

    Hi,
    I already face the same issue and after several days working on this issue and many hours on debugging it seems that interface type is very important if you want to use the form in WD4A (this requirement is confirmed by SAP thru an OSS message for me )
    Does the interface based on DDIC or XML ?
    If it's a DDIC interface , sorry that can't works in WD4A as interactive forms. You must define the interface as based on XML for this .
    Hope this help you.
    PS : Finally ,as my forms was very complicated my customer decide to not make it available in WD4A .....

Maybe you are looking for