Cannot edit Table with TableModel

Hallo !
If I add a table, I can edit the cells with a doubleclick,
but if I bind the table to a TableModel it is not possible to edit the cells.
Why ?
Please help me. Thx. Wolfgang

The default TableMode isCellEditable (int row, int column)
returns false. You need to extend this to return true if any of the cells are editable.

Similar Messages

  • How to create editable table with one empty row ?

    I'm looking for solution how to create editable table with one empty row using ADF BC. I have seen this solution in application that was created in JHeadstart and it's very well idea to use it insead of creation form.

    hammm, i do it this:
    drop the VO on the page, select Table->ADF Table....
    so, drop the botton create, from de VO->operations->create (the firts), and right botton (mouse) Edit binding....
    in Data collection select the VO, in Select an action select CreateInsert
    luck

  • Editable table with multiple rows

    Hi All!
    We're trying to develop some application in VC 7.0. That application should read data from some R/3 tables (via standard and custom functional modules), then display data to user and allow him/her to modify it (or add some data into table rows), and then save it back to R/3.
    What is the best way to do that?
    There's no problem with displaying data.
    But when I try to add something to table (on portal interface), I'm able to use only first row of the table... Even if I fill all fields of that row, I'm not able to add data to second row, etc.
    Second question. Is it possible to display in one table contents of output of several BAPIs? For example we have three bapis, one displaying user, second displays that user's subordinates, and the third one - that user's manager. And we want one resulting table...
    And last. What is the best way to submit data from table view in VC (portal) to R/3 table? I understand that we should write some functional module, that puts data to R/3. I'm asking about what should be done in VC itself. Some button, or action...
    Any help will be appreciated and rewarded :o)
    Regards,
    DK

    Here are some former postings:
    Editable table with multiple rows
    and
    Editable table with multiple rows
    Are you on the right SP-level?
    Can you also split up your posting: one question, one posting? This way you get faster answers, as people might just browse the headers.

  • Cannot Edit Table

    Hi all,
    I'm sorry for this question but i didn't find anything in the forum.
    Depending on users on my database, i cannot edit a table i just create (using a CREATE script) in my own shema with the button Edit (Modifier in my french interface) which is below the Columns tab.
    I just compare the Role and Grants fur a user who can, and a user who cannot, and i don't find any difference.
    Can you tell me what i have to do ?
    Version 3.0.04
    Oracle 11gR2

    Just in case it's a UI issue, can you try Edit through the context menu on the table inside the navigator tree?
    Hope that helps,
    K.

  • Troubles editing tables with partitions

    I'm running SQL Developer 1.5.3 against Oracle 10/11 databases and SQL Developer has trouble with my partitioned tables. Both the schema owner and sys users experience the same problems.
    The first time I try to edit a table, I get an "Error Loading Objects" dialog with a NullPointException message. If I immediately turn around and try to edit the table again, I get the Edit Table dialog. That's annoying but there's at least a work-around.
    Next, if I select the Indexes pane, I can view the first index but selecting another one results in an "Index Error on <table>" error dialog. The message is "There are no table partitions on which to define local index partitions". At this point, selecting any of the other panes (Columns, Primary Key, etc.) results in the same dialog. While the main Partitions tab shows my partitions, I cannot see them in the Edit Table dialog. In fact, the Partition Definitions and Subpartition Templates panes are blank.
    Does anyone else see this behavior? Version 1.5.1 behaved the same way so it's not new.
    Of course I've figured out how to do everything I need through SQL but it would be handy if I could just use the tool.
    Thank you.

    Most of my tables are generated from a script so this morning I decided to just create a very basic partitioned table. It contained a NUMBER primary key and a TIMESTAMP(6) column to use with partitioning. That table worked just fine in SQL Developer.
    At that point I tried to figure out what is different about my tables and I finally found the difference... Oracle Spatial. If I add an MDSYS.SDO_GEOMETRY column to my partitioned table, SQL Developer starts having issues.
    I also have the GeoRaptor plugin installed so I had to wonder if it was interfering with SQL Developer. I couldn't find an option to uninstall an extension so I went into the sqldeveloper/extensions directory and removed GeoRaptorLibs and org.GeoRaptor.jar. GeoRaptor doesn't appear to be installed in SQL Developer anymore but I still see the same behavior.
    It appears that there is an issue in SQL Developer with Oracle Spatial and partitioning. Can someone confirm this?

  • Cannot edit table in Assignment

    After placing a table into an Indesign CS2 document I turned the document into an assignment and I cannot edit that table in the assignment. I need to figure out a way to edit it in the assignment. The table is locked when it is in the Assignment (i.e. in incopy). I feel like the problem is with indesign not with incopy

    You know, I've only spent about 15 lifetime minutes using InCopy, but this sounds like correct behavior to me. You've assigned it; it's now in the hands of an editor, and will remain locked until it gets checked back in, right?
    Edit: I would have assumed that control + w would close a window, instead of posting while closing. Oh well, I guess I'll get to learn some more about InCopy now.

  • Cannot edit PDFs with Acrobat 9.5.4

    I have over the last year been receiving PDF files from a lawfirm in NY which have no security on them, yet I cannot edit them.  All edit fuctions are greyed out.  The solution thus far has been to edit them using PDF Converter Professional, but I would really like to know why I can't edit them in Acrobat.  Under Advanced on the PDF it says PDF Producer: Acrobat Distiller 9.4.6, PDF Version 1.4.  There is also something called Application which is PScript5.dll Version 5.2.2

    This screen shot represents having printed to Adobe PDF Printer, which would not be uncommon. To my understanding PDF Printer writes postscript and calls up Distiller in the background, hence Producer > Acrobat Distiller -  Application > PScript5.dll. They have Acrobat 9, not quite fully updated, hance 9.4.6. PDF Version 1.4 is common; I write with quality options set to press quality which produces the same.
    Is your Security tab actually as shown?

  • Cannot view table with spatial advisor

    I have loaded a table using SafeFME software. It did not populate SDO_GEOMETRY.SDO_SRID during the conversion from ArcInfo coverage to Oracle8i Spatial SDO_GEOMETRY.
    Since I could not view the spatial data with the spatial advisor, I ran the VALIDATE_LAYER procedure and found the error. At that point I INSERTed a value for SDO_SRID into my table, and into XXXX_SDO_GEOM_METADATA. Still cannot view the spatial data with spatial advisor. Why not?
    Platform: Sun Solaris
    Oracle8i 8.1.7
    Richard Clement

    Hi Dan:
    the Spatial Index Advisor message at the lower part of the apps' frame says 'Drew 3701 geometries' after I attempt to "Draw all geometries" (third button down on the left).
    After this, the viewport is blank. It is odd, though - it appears that the bounds are set correctly. When I add another "layer" and draw it, the viewport is referencing the correct area (the bounds for the first layer). This behavior occurs when the XXXX_SDO_GEOM_METADATA.SRID is either NULL or set to a value.
    Our MapXtreme app shows the same behavior (no display of data, no error message).
    I'll try to run the VALIDATE (layer and geometry) functions and procedures again.
    We have loaded some data with the routine using shp2sdo.exe (like in the tutorials) and those are drawing just fine. Strange.
    Richard Clement
    State of Alaska DNR

  • Database Adapter: cannot access table with complex record type as columns

    Hi all,
    I cannot perform any operations on a table that has columns with complex record type.
    I have created a table to store purchase order details.
    Sample script:
    CREATE type XX_CUST_INFO_TYP as object
    ssn VARCHAR2(20),
    rating NUMBER(15)
    CREATE type XX_ITEM_TYP as object
    item_name VARCHAR2(20),
    unit_price NUMBER(15),
    quantity NUMBER(15)
    CREATE table XX_PORDER (cust XX_CUST_INFO_TYP, porder XX_ITEM_TYP);
    When i try to access the table X_PORDER in jdev through a database Adapter, i receive the error as
    "some tables contains columns that are not recognized by the database adpter"
    1.) so in this case, how to include such tables that have complex types?
    Also, check out this scenario also..
    1. add a table through a database adapter
    2. drop the table in backend
    3. i can still see the table and its structure in the database adapter wizard even after restarting Jdeveloper.. How is it possible?
    These are some really interesting scenarios to experiment. Please suggest your ideas on this..
    Thanks All!

    Hi Hem,
    for a select you could select against a view. And for inserts you could create a stored procedure. They support complex types since 10.1.2. Complex types support in tables/views was added for 11 (next major release).
    You might be able to use PureSQL as a workaround too, i.e.
    insert into XX_PORDER values (XX_CUST_INFO_TYP(?,?), XX_ITEM_TYP(?, ?, ?))
    As for your other problem, in 10.1.2/10.1.3 the DBAdapter wizard sits on top of the Jdev Offline Tables and TopLink Mapping Workbench components. When you remove a table in the wizard it won't delete the Offline DB component. It was added by the wizard, but afterwards it is public to the entire Jdev project. You must remove it from Jdev yourself. This has been improved for the next major release too, no artifacts from underlying components are created.
    To remove it select:
    Offline DB Objects -> <schema> -> <table> and try File.. Erase From Disk.
    Thanks
    Steve

  • Access - Cannot edit tables, source database missing

    Hello,
    I am working on modifying some tables in a database, when I try to edit a table it tells me along the lines of,
    "this table is a linked table it cannot be modified, if you want to modify this table you must do so from the source database."
    Okay so then I click the "Linked Table Manger" to see where the source is, I follow the path on our companies shared server drives, BUT THE FILES SPECIFIED IN THE LINKED TABLE IS NOT THERE.
    Am I doing something wrong or is this error popping up because of a different reason ?
    Please help.
    Thank you.

    this data source must be removed by others on our companies shared server drives. linked table needs to connect the data source and then can be edit.
    KR

  • Cannot Edit Rules with Mail 1.3.11 on 10.3.9

    Hi Mac OS X v10.3 Users,
    I just found out today that I can't edit many of my rules. I'd say about 50% of them cannot be edited when I select the rule and then click on the Edit button. The problem doesn't go away when I restart Mail, and the same rules seem to be affected.
    When I select "About Mail", it says I have version 1.3.11 (v622/624). Software Update says I am up to date with everything except Quicktime.
    G4 M5183   Mac OS X (10.3.9)  

    You may have a corrupted Rules preference. Quit Mail
    and go to user/Library/Mail and look for
    MessageRules.plist and MessageRules.plist.backup.
    Delete MessageRules.plist (don't empty the Trash).
    Rename MessageRules.plist.backup to
    MessageRules.plist.
    Restart Mail and see if you can edit the Rules now.
    The names of the files are actually MessageSorting.plist and MessageSorting.plist.backup, and I renamed the corrupted file instead of deleting it, but otherwise I did what you said and I can edit my rules again! Thanks!
    G4 M5183   Mac OS X (10.3.9)  

  • Cannot Drop table with lower case name

    Hi,
    One of my developer created a table through application in oracle 10g R2,
    when I list tables
    select * from tab;
    the table name is shown in lower case or Initcap.
    I cannot drop or manipulate that table.
    How can I drop that table(s)?
    Thanks & Regards,
    Fahim

    use the same case what your table has used and put double quotes on both sides for example if your table is lower case use like:
    DROP TABLE "your_table";HTH
    Ghulam Mustafa Butt

  • Inserting Rows in an Editable Table

    Application Focus: JSF with ADF/BC.
    watching Steve Muench´s Screencast on "Creating an Editable Table with a Dropdown List in Each Row" i was inspired to add a functionality to add rows.
    Lets say i have an Employee and Departments table. If i want to add three new employees in the employee editable table - that wont work - it seems that adding rows aint that simple, cause it seems not possible to commit more than one row at a time
    what i did according to forum posts and how-to´s:
    1. dropped "insert" from data control palette
    2. altered binding to from create to "CreateInsert"
    works ok, but if i press the button twice (3x, 4x) the new rows are shown, but if i commit them, only one is in the database?
    Any tips on that would be appreciated.

    I'm trying to a similar thing, create an input screen that allows you to add muliple rows at the same time some rows having a drop down list. I've read the following How to which lets me edit multiple rows but if I add a create button or a CreateInsert button it doesnt seem to give me rows to create.
    How To Create Multi Row Edit Forms in a JSP Page with Oracle JDeveloper 10g
    http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html

  • Using the enter key on an editable table

    Hi,
    I'm using 11g adf and I can't figure out how to get past this:
    When going through an editable table (with editingMode="editAll") using the enter key, it will stop after a certain number of rows, equal to the value of fetchSize. If I want to go down further, I have to scroll down another way to make it fetch the next set of rows, it won't go to the next row with the enter key. It simply won't execute the query to fetch the next rows.
    Increasing the fetchSize will just delay the problem to a row further down (and decrease the performance since the fetch operation can take quite a bit longer).
    I've tried to put a clientListener on both the table or the inputText fields to intercept the enter key, but that won't work when the table is in editable mode.
    Is there any way to fix this problem?

    Hi,
    I've tried to put a clientListener on both the table or the inputText fields to intercept the enter key, but that won't work when the table is in editable mode.
    The clientListener needs to be on the inputText fields. Then in JS you need to call a server listener which will check if the current row is already at the range end and if calls NextSet (you can provide this as a method binding). Unfortunately after this you will need to PPR the table to show the new rows. This is how I would try it.
    Frank

  • ADF editable table issue

    Hi, I drag and drop an expert mode updatable VO to create an ADF editable table with inputText components associated with the table columns. This table is also binded to a CoreTable object inside the backing bean of the page. I also have a "Save" button which has actionLister binded to the backing bean to handle the saving for user's input data.
    Basically, I have 2 rows and 2 columns for the editable table. I entered "ABC" for the first row and first column and entered "DEF" for the second row and first column like the following:
    | Column 1 | Column 2 |
    | ABC | |
    | DEF | |
    In the backing bean's saveChanges method, I do:
    public void saveChanges(ActionEvent actionEvent) {
    int rowCount = this.testCaseTable.getRowCount();
    for (int i=0; i<rowCount; i++) {
    JUCtrlValueBindingRef rowDef = (JUCtrlValueBindingRef)this.testCaseTable.getRowData(i);
    TestCaseRowImpl row = (TestCaseRowImpl )rowDef.getRow();
    System.out.println("Column1 Data: "+row.getColumn1());
    System.out.println("Column2 Data: "+row.getColumn2());
    I am expecting to get "ABC" for the first row column1 data and "DEF" for the second row column1 data. However, the actual result is both "DEF" (the last entered value) for both the first and second row column1 data.
    What can be the potential issues of my codes? How can I get the correct user input data?
    Thanks.

    Hi
    You can obtain this data from iterator:
    DCBindingContainer bc = getBindings()
    DCIteratorBinding iter = bc.get("YourIteratorNameIterator");
    while(iter.hasNext()){
    Row row = iter.next()
    System.out.println("Column1 Data: "+row.getAttribute("Column1"));
    System.out.println("Column2 Data: "+row.getColumn2("Column2"));
    Kuba

Maybe you are looking for

  • Report Preview Issues SLM 1.2

    I am having an issue with the connection check completing sucessfully. I have updated all of the jar files in the build directory with the versions from the SLM lib directory. The configuration file exists and is in that location (I have included the

  • HP Color LaserJet 1515n fails to print

    HP Color LaserJet 1515n fails to print I had this printer just 13 months, and it has stopped working without giving any kind of error code. I ran my black down to 1% using override - and then nothing. The printer accepts jobs and appears to do everyt

  • Month End Procedure

    Please explain settings for the Month End Procedure What are the precautions need to be taken

  • Issue exporting slices from different pages

    I'm an experienced Fireworks user, and love the new pages function, but have found what I consider to be a bug. I have about 70 graphics that I need to have trimmed in one direction but not the other. Since I can't do this with layers (Adobe should R

  • Multiple operation using the same port does not work

    I am trying to have multiple operations on both ports here is my wsdl snapshot      <portType name="CommonAlerter">           <operation name="initiate">                <input message="client:CommonAlerterRequestInitMessage"/>           </operation>