delete the table (richeTableau), but the reverse lines

Hi all

I've seen many messages and articles on how to remove lines of a multi select table and it works fine, BUT I want to remove rows from a table of multi selection when it is not selected.
The use case is that the user is presented with an array of lines. They choose 1 or more lines and press a button. This button calls a bean managed to remove the lines that are NOT selected.

I have the code where I have a table of (RowKeySet) of the selected lines. I have problems with this Board (only selected lines) to the rear for the user can display.

Does anyone know how I can do this in the ADF.

I use ADF 11 g

Any help would be great.

Thank you

It will not work. The problem is that an adf table consists of a user interface model (see you) and the data model in the link layer. If you do not keep the synchronized you run into trouble.

The getSelectedRowKeys() simply returns the currently selected lines in the table. If you add or remove a key of all you do not change the selection, not the underlying data in the table.

On the way, you can try to solve, is to add an attribute that is transitional to the data of the table model, you use as discriminant lines to display or not. It's just that you put a (Boolean) check box in the table to select the rows that you want to use later.
In this way, you can just use this field as a filter and the framework made the rest.

Timo

Tags: Java

Similar Questions

  • JavaScript is delete the wrong line of table

    I created a table in livecycle are 8.2. I have buttons add and remove lines. The Add button works fine, but the delete button removes the wrong line. For example, in preview mode PDF, if I add three rows and try to remove the third, the second is removed.

    To add a line, I use the code:

    UserTable._Row1.addInstance (1);

    To delete a line, I use the code:

    UserTable._Row1.removeInstance (1);

    I tried many variations I found online, include (this.parent.index) and the (real). I don't know anything about javascript other than that I used for this form. Can someone help me?

    Thanks in advance!

    Hello

    The setting for the addInstance() is the value 1 (true) or 0 (false) and it is about if the new instance will be merged with the data model.

    When it somes to removeInstance(), the parameter is the instance number you want to delete, based on a system of numbering from scratch.

    So if there were four instances of a repeating line (line 1), then the numbering would be Row1 [0], Row1 [1], Row1 [2] and Row1 [3]. If you want to remove the second instance of the script wouls look like

    _Row1.removeInstance(1);
    

    Here are a few examples, have a look at the delete line key:

    https://Acrobat.com/#d=X1msu65emlM10IWKxkiUyw

    https://Acrobat.com/#d=tIpEHFadQtSOefZkU9EBfQ

    https://Acrobat.com/#d=RZ1lzX23 * u7L4N9rtWCYPQ

    Herein, you will see that I used "this.parent.index" as a parameter.

    Hope that helps,

    Niall

  • delete the first line of operation alwaysdeletes

    Hi all

    I'm new to jdeveloper and I have some problems with the delete operation. I have a standard jsp page with data child parent. The child table has emplid and seqno in the form of key fields. When you try to delete the third (or any other line) row in the child table it somehow always deletes the line first. I tried using standard deletion operation and also have tried to use the code to remove the data below. Can someone please help me understand what could be the problem?
    I use jdeveloper 11.1.2.2

    Thanks in advance.

    {} public void deleterow (ActionEvent actionEvent)
    DCBindingContainer links =
    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    DCIteratorBinding dcItteratorBindings = bindings.findIteratorBinding("EMPL_PROVW1Iterator");
    System.out.println ("HI" + dcItteratorBindings.GetCurrentRow ());
    dcItteratorBindings.removeCurrentRow ();

    This is the reason why...
    can u paste your table code so that I can help you...
    chk this
    http://docs.Oracle.com/CD/E21043_01/Web.1111/b31974/web_tables_forms.htm#CJAGIGAB

    
    
  • Find and delete the graphic lines of geometric limits

    Hello world

    I'm really desperate after days of web browsing and the forums that I still cannot understand this.

    I'm working on InDesign CS3 on a MacBook Pro with Snow Leopard.

    I have a catalog of 300 pages, set up thanks to a data merge. Unfortunately this way, I produce 2 graphic lines at the end of each page to which I would like rather to remove. Since I don't want to do it manually to each page and I'll have to set up this catalog quite frequently in the future I would like to remove these lines using Applescript.

    Since I have about 12 more of the same lines on each page (same style, color, stroke etc) I thought that the only way to tell which Applescript to remove is the geometrical limitations because these lines always run the same coordinates on each page.

    Unfortunately I can't understand it. I tried the following code:

    tell application "Adobe InDesign CS3"
         tell document 1
              repeat with oneFrame in (get graphic lines whose stroke weight = 1)
                   if geometric bounds of oneFrame is {0, 0, 0, 210} then
                        delete oneFrame
                   end if
              end repeat
         end tell
    end tell
    
    
    

    RESPONSE

    tell application "Adobe InDesign CS3"
         get every graphic line of document 1 whose stroke weight = 1
              --> {graphic line id 187 of page id 177 of spread id 172 of document "Untitled-16"}
         get geometric bounds of graphic line id 187 of page id 177 of spread id 172 of document "Untitled-16"
              --> {0.0, 0.0, 0.0, 210.0}
         delete graphic line id 187 of page id 177 of spread id 172 of document "Untitled-16"
    end tell
    
    
    

    It worked well for the line to x y 0mm 0mm with a length of 210mm.

    I tried the same thing with a line x 3mm y 134mm length of 210mm with the following code

    tell application "Adobe InDesign CS3"
         tell document 1
              repeat with oneFrame in (get graphic lines whose stroke weight = 1)
                   if geometric bounds of oneFrame is {134, 3, 134, 213} then
                        delete oneFrame
                   end if
              end repeat
         end tell
    end tell
    
    
    
    

    ANSWER:

    tell application "Adobe InDesign CS3"
         get every graphic line of document 1 whose stroke weight = 1
              --> {graphic line id 213 of page id 177 of spread id 172 of document "Untitled-16"}
         get geometric bounds of graphic line id 213 of page id 177 of spread id 172 of document "Untitled-16"
              --> {134.0, 3.0, 134.0, 213.0}
    end tell
    
    

    It was my best shot. No idea if I'm on the right track or totally out of bounds.

    Any help would be much appreciated!

    Thanks in advance...

    Osinho

    Take a look at that show the values for the geometric limits. These figures related to your x and is coordinated and you refer to them by their article in the list, for example, item 1 is the first "134,0" in your list, point 2 is called the "3.0", etc. So you need to refer to "that item 2 of geometric limits = [regardless of the value you're trying to match].

    If your document is very complicated, I think I would add another modifier to ensure that you get the right things, to say if these lines have a color that is not used on other graphic in the document lines, or if their weight of race is different, or even tests two items in the list of geometric limits if there is two that appear systematically in all the elements you want to delete - something for you make sure that you ONLY get references to the items that you want and are not likely to delete something, you need to keep.

    Good luck and welcome to AppleScript!

  • Report of Script delete the first line

    Hello all-

    I have the following report script:

    < INSTALLATION < SYM < SUPSHARE < sparse
    {NoIndentGen} {SupPageHeading} {SUPFEED} {SupZeroRows} {SUPEMPTYROWS}
    {SupBrackets} {ROWREPEAT} {TABDELIMIT} {decimal 0} {SUPMISSINGROWS}

    < END
    Members page
    < PAGE ("Emp", "HP", "Curr', 'Version', 'DType', 'HSP_Rates')
    "Emp".
    "HP".
    "USD".
    Final
    "UnAlloc.
    'HSP_InputValue '.

    Members of the column
    < SYM
    * < COLUMN ('accounts', 'Periods'). *
    * "Indirect labor *" "teacher tax."
    Rules of selection and output options for dimension: periods of time
    < link ((< LEV ("", "Lev0, périodes")) AND (< IDESC ("YearTotal")))
    {CALCULATION COLUMN "P1" = 3 + 4}
    {CALCULATION COLUMN "P2" = 5 + 6}
    {CALCULATION COLUMN "P3" = 7 + 8}
    {CALCULATION COLUMN "P4" = 9 + 10}
    {CALCULATION COLUMN "P5" = 11 + 12}
    {CALCULATION COLUMN 'P6' = 13 + 14}
    {CALCULATION OF COLUMN "P7" = 15 + 16}
    {CALCULATION COLUMN 'P8' = 17 + 18}
    {CALCULATION COLUMN "P9" = 19 + 20}
    {CALCULATION COLUMN "P10" = 21 + 22}
    {CALCULATION COLUMN "P11" = 23 + 24}
    {CALCULATION COLUMN "P12" = 25 + 26}
    {CALCULATE THE COLUMN "P13" = 27 + 28}
    {ORDER 0,1,2,29,30,31,32,33,34,35,36,37,38,39,40,41 FIXCOLUMNS 16}
    Line members
    < ROW ('entities', 'Scenario', "Years")
    Rules of selection and output options for dimension: entities
    < link ((< LEV ("", "Lev0, entités")) AND (< IDESC ("Entities")))
    "Forecasting".
    FY10
    !
    End of report

    The report works fine but the text file created by this script still introduced a starting line that contains the name of the account. I regret that the line is not empty it has the header for the accounts, but I want to delete it. Is this possible? I have

    don't want to use the title of column delete I like P1, P2... P13 as my column heading.

    Please notify

    To get rid of it, you'd have to suppre topics, but who's going to get rid of the desired topics. As a work around, you could add the repression and create a file that has the desired header. If you run this from a command script, the last step would be to add the header file and report all file in a final file. You can do this using the command copy. Something like
    Copy headefile.txt + reportfile.rpt Finalfile.txt

  • Delete the bitmap line of the project

    Flashing Hello,
    I have a project I want to export under HTML5. I did some experiments with traits of the bitmap image and now I can't get rid of those unused. Deleted from the library already, but in the color Panel, they are always there and messing up the code after the publication.
    Is there a way to completely remove the project?
    Here is a screenshot:

    removeBitmap.jpg

    Thanks in advance!

    Double-check your library because they are removed from the color Panel if the library is clear.

  • You can delete the corresponding lines of the quiz question slide?

    I have two slides corresponding quiz with eight corresponding items on each slide. The user selects the corresponding answers, the lines drawn by the question to answer Captivate gets really annoying. At the time that all eight matches are completed, the slide is very busy with crossing lines.

    Is there a way to disable this feature layout of Captivate? I would have preferred that the lines appear not at all.

    Thanks for any help or suggestion, you can provide!

    If you have Captivate 6.1 then you can use the Drag and Drop Wizard corresponding custom interactive slides and you will not the lines in the output and you can also include the slide in the quiz and allow Drag and Drop properties declaration.

    Thank you

    Vikas

  • Delete in af:table always remove the first line when using ExecuteWithParams

    Hello world

    I got a page with master form and af:table two details related to the master. When I'm trying to remove a line in an af:table of detail, it always removes the first line, any line, I selected before. The table has a single = rowSelection and the line is properly visually selected. I remove the line using a "delete hyperlink" on each line, but I first have to select the line. Delete called a bond (or a method at the bean by removing the current line of the iterator, I tried both, none of them work)

    Links page has an ExecuteWithParams defining the correct ID to edit on the master of iterator and an InvokeExecuteWithParams the renderModel value. If I put the refresh condition zero and I hard-code an ID in the binding variable in the model, I am able to delete the selected line.

    In addition, I don't know if this information is useful, but if I set the iterator to PPR ChangeEventPolicy, when I select a line, there always select the first line.

    Any ideas what I could do wrong? Is this a bug?

    I use JDev 11.1.1.7

    Thank you

    Guillaume

    You can try creating a method in ApplicationModule for filter master records instead of executeWithParams?

    Ashish

  • Combo line bar and reverse line bar combo

    Dear all,
    My requirement is line combo histogram must be displayed above the page and reverse line combo histogram to display under page.
    How set the reverse line bar graph could you pls send me the details step by step.

    for example



    Thank you

    Hello

    How set the reverse line bar graph could you pls send me the details step by step.

    What do you mean by inverse?

    You mean in Figure 1
    Measure1 online
    Date2 as bar
    and to figure 2
    In the bar Measure1
    Date2 as line

    If yes add two graphical views to view compoundlayout and select measures accordingly in both charts.

    Kind regards
    Srikanth

  • Progress of blank lines to delete the Table

    Hello
    I added the logic to add 10 empty lines and remove empty lines when the form is submitted. But somehow it only deletes the lines in the current screen of the advanced table. If there are 15 lines and I click next to spend the last 5 years and submit the form he removes only 5 blank lines but not the other 10 lines in the previous section.

    where I am doing wrong?

    Thank you
        Row [] row = null;
        ExpAttendeesVORowImpl rowi = null;
        
        if( expattendeesvoimpl1 != null ) 
          {
            row = expattendeesvoimpl1.getAllRowsInRange(); 
           }
            System.out.println("No of items "+row.length);
        for (int i=0;i<row.length;i++)
          {
             pageContext.writeDiagnostics(this, "in loop ", 2); 
             rowi = (ExpAttendeesVORowImpl)row;
    pageContext.writeDiagnostics(this, " in loop row "+ rowi.getName(), 2);
    if((rowi.getName() == null))
    {
    pageContext.writeDiagnostics(this, "deleting row"+ rowi.getName(), 2) ;
    rowi.remove();
    }
    }


    Thanks

    You can try instead to use:

    expattendeesvoimpl1.getFilteredRows ("name", null);

  • Delete the pages 5.6.2 table but no content

    How can I delete a Table but keep the content to a single list, I currently have 3 columns in the table? I think used to be able to do in previous versions in Format but it's gone.

    Click on the Table to select > create a Textbox > paste into this

    This works because the Tables can not be placed in the text boxes in the 5 Pages, unlike in Pages ' 09, as well as the content is pasted.

    If you want a more productive workflow, use the Pages ' 09.

    Peter

  • AVG says your messed up my Verizon Yahoo's email server. The line that bed, delete, move, not spam, but... does not load. I can see my email, I just can't open

    I spent over 5 hours in computer shares with AVG. They said your server messed up my email account. I can access my email account, but the line that reads "delete, move, not spam, more' loads ever... so I can't delete the email or anything else. My email account is to verizon yahoo. I need access to my email for various reasons, one of them being pay several bills online and my email account is where to get confirmation that the payment has gone through! My email works through IE, however. I don't want to use IE to see my email... I use Firefox for everything and it would be a pain in the end to have to switch to IE to access my mail. Not to mention, I hate IE - it's like using WEBTV! It's so slow... [address removed by email, please do not provide sensitive information in a public forum] is my email...

    So Safe Mode made no difference?

    To test how Firefox works no 'custom' on your system, could you experience in two minutes?

    Create a new Firefox profile

    A new profile will be your plugins installed by system (for example, Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions or other customizations. It should also have databases of completely fresh settings and cool a cache folder.

    Out of Firefox and start in profile to help Manager start > run:

    firefox.exe -P
    

    Do not delete anything here.

    Any time want to switch profiles, exit Firefox and return to this dialog box.

    Click on the button to create a profile, assign a name like TEST and skip the option to choose a different folder location. Then launch Firefox in the new profile that you have created.

    Yahoo does not improve in the new profile?

    When you return to the Profile Manager, you might be tempted to use the button Delete a profile on TEST. It's a little too easy to accidentally delete your 'real' profile, so I recommend you to resist the temptation. If you don't want to clean up later, I suggest to make a backup of all your profiles first in case something go wrong.

  • Cannot delete the current row in the table in advance (the line above are deleted)

    Hi all

    I have an advanced table that contains say 5 records. Every row has sown delete icon. I suppose that if I click on the button Delete the current will be to remove. Now I have a problem if I remove the line 5, line 4 will remove. If I remove the line 3, line 2 is deleted. The line above the line to delete is removed by clicking on the button Delete.

    I had this procedure must manage the deletion (nothing wrong with that)

    public Boolean DeleteAuthorizedBudget() throws SQLException
    {
    Boolean rowFound = false;
    System.out.println ("DeleteAuthorizedBudget > >");
    try {}
    JcpaProjMtnReqBudgetVOImpl vo = getJcpaProjMtnReqBudgetVO1();
    vo.getCurrentRow () .remove ();
    Returns true;
    } catch (Exception e) {}
    e.printStackTrace ();
    } {Finally
    System.out.println ("DeleteAuthorizedBudget > >");
    }
    return (rowFound? Boolean.TRUE: Boolean.FALSE);

    }

    Concerning

    Laurent

    Cool. Then close the thread by checking the useful and accurate answers.

  • I have adobe Premiere elements 13. It will not let me delete audio or do fade in or out. I can move the yellow to the bottom line until the volume reads - 0.0, but the noise is still there during playback. I can click on fade and fade out and the yel

    I have adobe Premiere elements 13. It will not let me delete audio or do fade in or out. I can move the yellow to the bottom line until the volume reads - 0.0, but the noise is still there during playback. I can click on fade in and fade out and the yellow line that chart volume takes a strong recovery or dip at the beginning or at the end of the clip, but there is no change in volume when I play back. What I am doing wrong?

    Rickey

    Thanks for the follow-up report.

    Just a lit bulb. Maybe the answer, maybe a spleen.

    Look carefully at the audio track of the timeline in the vicinity of title of the file.

    The title of your file audio timeline shows: level of Volume or something else. If something else, click the tiny triangle where

    the red arrow in the screen shot is sharp and select the Volume and then level so that you end up with

    Volume: level as shown in the screenshot.

    Hope it's the factor involved.

    RTA

  • Delete the data in partitioned tables

    Hello

    Oracle 11.2.0.3.0 version, running on Linux Enterprise.

    I need to remove all the data from two tables (several 100 million lines each) that are partitioned.

    (1) table 1 is a partition table have varied to a DATE column

    (2) Table2 is a partition of reference table; partitioning is referenced on a relationship of foreign key to Table1 (column: key Table1.Primary)

    As I have no need for data, but want to keep the structure of the table, I would ideally like to delete partitions at the same time that the deletion of the data, so that the 2 tables partitioned and empty.

    Additionally, Table1 has some partitioned index I would be rebuilt as an index unpartitioned (given that Table1 will be empty).

    I thought I would start by removing all partitions of Table1 (via "ALTER TABLE DROP PARTITION nom_partition Table1"), but when the script came to the last partition, I got this error message:

    ORA-14083: cannot delete the only one partition of a partitioned table

    ORA-06512: at "SYS." DROP_PARTITIONS', line 46

    If someone could advise as to the best approach to what I want to achieve with regard to the two tables? Two tables down and recreate them then without partitions would be the easiest way?

    Thanks in advance for any guidance.

    If someone could advise as to the best approach to what I want to achieve with regard to the two tables? Two tables down and recreate them then without partitions would be the easiest way?

    Yes - delete the tables and re-create them.

    As says the exception that you cannot delete the last partition. A table is partitioned either or it is not.

    There was no interest at all to use DBMS_REDEFINITION to redefine tables because you do not want the data anyway.

Maybe you are looking for