ADF: Re-apply the where condition of a view object and updating table

Hello

I have a table for documents, with columns for the title of document, document type and so on. There is also a column called "receiver".
In the viewobject based on the table, I have a condition that only the lines where the receiver is null should be included. In other words: only documents unassigned should be indicated in the table.

The purpose of the page that contains the table is to assign documents to the receivers. The idea is that the user enters a name in the column of a receiver or several lines and then press a button of validation.
When a line - a document - has been assigned to a receiver and the change is committed, this line is more fills the where of the viewobject condition and I would like my page to reflect the fact that. In other words: as soon as one or more lines have been assigned to a receiver and the changes are committed, the lines should disappear from the table and the page.

What is the best way to achieve this?

Kind regards
Andreas

To do this is to add a navigation case to the same page and use this case to navigation after validation. Should run the query again, it costs you a full page sent.

Another way to do the validation and the use of a managed method bean to re run the iterator.

Timo

Tags: Java

Similar Questions

  • Help needed to apply the filter condition

    I need to apply a filter condition based on the database environment:
    1. only if the database name is UAT tb1. > 23 - OCT-2012 CREATED_DT.
    2. only if the database name is OATS then tb1.application_no in ('1 ', ' 2')
    3 If the database is a different database then these conditions do not apply.

    Try this

    Select  tb1.*,tb2.* from tb1
    join tb2
    on (tb1.col1=tb2.col1)
    join (select  case when global_name='UATDB' then 'UAT'
                             when global_name='QATDB' then 'QAT'
                             else 'OTHERDB' end DB_NAME  from global_name) DB
    on 1=1
    where (DB.DB_NAME='UATDB' and tb1.CREATED_DT > 23-OCT-2012)
    or (DB.DB_NAME='QATDB' and tb1.application_no in ('1' ,'2'))
    or (DB.DB_NAME='OTHERDB');
     
    

    Note: not tested code

  • Apply the overlay only to texts & Black objects

    Hello

    I'm trying to write a script that apply Overprinting attribute to all objects and texts on all layers as K = 100.

    I'm going to unlock layers...

    var doc = app.activeDocument;
    for (i=0; i<doc.layers.length; i++)
                doc.layers[i].locked = false;
    
    

    Furthermore, is it possible to "read" the locked/unlocked state of all layers of Javascript, some operations and then lock the back layers and leave unlocked as they were before running the script?

    Pete

    Hi Pete,.

    Well, answer to the question of this post, use this code:

    var totalItens = app.activeDocument.pageItems.length;
    var items = app.activeDocument.pageItems; 
    
    for (i = 0; i < totalItens; i++){  
    
        if(items[i].typename == 'PathItem'){  
    
            if (items[i].fillColor.cyan == 0 && items[i].fillColor.magenta == 0 && items[i].fillColor.yellow == 0 && items[i].fillColor.black == 100){
                if (items[i].fillOverprint == false){
                items[i].fillOverprint = true;
                };
            };  
    
            if (items[i].strokeColor.cyan == 0 && items[i].strokeColor.magenta == 0 && items[i].strokeColor.yellow == 0 && items[i].strokeColor.black == 100){
                if (items[i].strokeOverprint == false){
                items[i].strokeOverprint = true;
                };
            };  
    
        };  
    
        if(items[i].typename == 'TextFrame'){
            for ( var j = 0; j < items[i].textRanges.length; j++ ) {    
    
                if (items[i].textRanges[j].fillColor.cyan == 0 && items[i].textRanges[j].fillColor.magenta == 0 && items[i].textRanges[j].fillColor.yellow == 0 && items[i].textRanges[j].fillColor.black == 100){
                    if (items[i].textRanges[j].characterAttributes.overprintFill == false){
                        items[i].textRanges[j].characterAttributes.overprintFill = true;
                    };
                };  
    
                if (items[i].textRanges[j].strokeColor.cyan == 0 && items[i].textRanges[j].strokeColor.magenta == 0 && items[i].textRanges[j].strokeColor.yellow == 0 && items[i].textRanges[j].strokeColor.black == 100){
                    if (items[i].textRanges[j].characterAttributes.overprintStroke == false){
                        items[i].textRanges[j].characterAttributes.overprintStroke = true;
                    };
                };  
    
            };  
    
        };  
    
    };  
    

    And, in reply to the second question: Yes, of course, you can unlock the layers, some operations, then lock it back. But better is to tell you what you are trying to do, what the purpose of this?

    I hope I helped, Records, Vinicius.

  • How to apply the high pass filter on Smart Object

    Hi all

    I'm trying to apply a high-pass filter on a dynamic object. Is this possible? -When I select the high-pass filter, choose my RADIUS and click OK, it applied the results to the entire layer. I expect the image below...

    Screen Shot 2015-07-25 at 11.47.30 AM.png

    ... but I don't get it.

    Screen Shot 2015-07-25 at 11.49.52 AM.png

    I hope that makes sense, because I'm having a hard time to explain. Basically, I do not see my image (as in the first photo above), I see the high image passed instead.

    Jeff

    Be aware that happens if you hide the effect of the dynamic object, you will have just the layer mode to overlay, which isn't want you want if you will exacerbate. You want the mask on the layer itself.

  • How to apply the Style to some words in a paragraph (or table)?

    I have a table with the #'s. Some numbers have a note marked with an asterisk.

    For example:

    A01-121600

    A01-121602

    A01-121608 *.

    A01-121610

    A01-121611 *.

    And in this table, there are hundreds of part # s with some with reference asterisks scattered through. I wish that the asterisks to be red in color and a smaller font size. So I created a character style to reflect that.

    So, my question is there a way to apply this new character Style to the entire table, then each asterisk is changed?

    Thank you.

    The find/replace field allows you to apply a character Style to all the text found.

    Another option: If all the text in your table is formatted with a paragraph Style, you could add a GREP style to add this character Style to all instances of an asterisk in the text of this paragraph Style. This way, if the new numbers of the asterisk was added later, the asterisk turns to Red style automatically.

  • How to change data objects and update the corresponding task and task forms?

    Hi all

    I modified this thread because I found that I had many questions to ask.

    1.
    I'm quite new to OBPM and would like to know how to change data - for clarity objects add a new attribute "Dependents of the Client" "Customer care" - and therefore update the task that uses the 'customer information' what makes via data binding - I get an error message here - or via the data about the data Task-The chosen tab it does not appear to be linked to my approach in some sort.

    2.
    Will be the task form that I generated earlier in < 1 > update automatically? Is it possible to update manually if the task has been clearly customized?

    3.
    What are the objects of project data? They do not store values in my process. They are for the arguments only - like reusable process?

    Thanks in advance,

    Kind regards

    Yanis

    Hi Yanius,

    (1) assume that you start from scratch. First, you declare your data object structure. To do this, you must go to the BPM project Naviagtor, right-click on 'Catalogue of trades' and create a new Module. Then you can right click on the module you created and select the new object of trade. Add all the attributes you need. It is the same to declare a class in Java. Second, you must declare a variable of the type process you have created: select the process, go to the Structure display (if you don't go and activate it in menu view Jdev-> Structure). Right click on the Process data object and create your variable. It's like setting a variable in Java. In short, answering your question, make the path opposite: find in your process of type "Customer Details", then go to your catalog Business, right click and change the definition to add what you need.

    (2) the human task will not update automatically (annoying). If you change the object itself, so you don't need to change your mappings because actually there the same object you are through the task as in / out argument. There are two things here: the human task and form associated with it (where probably change you the subject i.e. customer details). Go to the form (.jspx) - click on the tab links (by default, you are in the Design). In the links page, there is a link on top: "Page Définition File" (something like proj/pageDef/...xml). Open the XML file and go to the source. There you can add manually now all the attributes you need and that were not available before (i.e. dependent Client). It's a little complicated, but at least you don't have to recreate it. particularly useful if you have already implemented and subsequently form, you need to add more things (business is very good to say otherwise, "I would like to see something else in the form" ;)

    (3) project data objects are visible by all processes that you have in the project rather than the object of process data that are visible only to the method where you set the variable to. This means that you declare an object of data of the project once and then it will be available to all processes. Keep in mind that each process has a copy of it. In other words, it is not like a global variable that everyone sees. If edit you in a single process, other processes will not see the new value.

    I hope that I have answered your questions.
    See you soon,.
    Felipe

  • ADF view object and stored procedure

    Hi all

    I am facing a problem with the view object, the case is, I created a stored procedure with an input and an output parameter

    view object I need to call this procedure inside the request object view and define the attribute transient output parameter

    could you please help me in this case, please give an example

    Thanks in advance

    Mohamed,

    Can you explain your use case to help you.

    Is it possible to convert the stored procedure in function (and change the output parameter to return the parameters) and create a display object using the function.

    Ex: Create a display object "read access only via the SQL query" for the query: SELECT HR. PLSQLTEST2 staff (first_name) OF

    K

  • application for registration of return even when not satisfying the where condition

    Hello

    Under query returns value 1 D ' although it falls not on the Cook ' 01 "and 99".
    I want to really get the last 2 characters of the string and filter out if this isn't a number. Please help me.

    Select * from)
    Select substr('qwe1D',4) double val)
    where val between '01' and '99';


    Thank you
    Madhuri

    Madhuri says:
    Hello

    Under query returns value 1 D ' although it falls not on the Cook ' 01 "and 99".
    I want to really get the last 2 characters of the string and filter out if this isn't a number. Please help me.

    Select * from)
    Select substr('qwe1D',4) double val)
    where val between '01' and '99';

    Thank you
    Madhuri

    But 1 D "is between" 01"and 99". Simply because 1 'is between '0' and 9'.
    Another example: 1111111 "is also between ' 01" and 99 ". This is how works a comparison of strings .

    To filter strings that have no numeric characters in them, you can use several functions. regexp_substr, regexp_replace, translation, regexp_like etc.

    This might work:

    select * from (
    select substr('qwe1D',4) val from dual )
    where regexp_like(val,'\d{2}$');
    

    Published by: W. Sven September 27, 2012 12:35

  • How to apply the Proxy via IE settings to computers and not users by using Group Policy?

    Hi team,

    Good evening!

    I recently implemented a policy of Proxy by GPO to apply its settings on IE10 through users and computers not.

    I would like to do it in the machine and not the user. If anyone can tell me how to do or direct me to a model of administration, I would be very grateful.

    I do this thing all in VM

    My machine to install are as below:

    1 Windows server 2008 R2 sp1 (server)

    2. Windows 7 sp1 (Client)

    3. Windows server 2008 R2 sp1 (Client)

    4 Internet explorer 10

    Thanks in advance

    Hi Praveen,

    You have reached the end user Microsoft support. The question that you are running in suitable for the forum on the link below.

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

    Please report if you need more Windows support and we're here for you help.

  • Where are my files maintained links and update

    I am farily new using Contribute for I'm not sure I'm even using the right jargon to describe what I want to know. I'm looking for a place to Contribute CS5, which show where the files I linked are kept within. Because I'm not actually load images or files on the site... is it meand that remain on my computer? I work with several other programs (Drouple, wordpress) I can see the structure of files, file names. Any tips? I'm on OSX 10.7.3

    What worries me the most, is when I update a file... for example, my file "tutorial" and I want to ensure that his place linked to more than one, which he updates this file in ALL the places I've linked it to. It is difficult trying to always remember where I've related this file to! Is there an easy way to make sure that the file is getting updated with each link? I thought if I could see the file structure, I was able to delete the file and replace it with the updated file and it would update on ALL the links. Any suggestion would be appreciated!

    Upward near the top right, you will see the word "select". You will be able to navigate the structure in the same way as you do Windows Explorer.

  • Tree of the University campus solutions 9.0 organization and Lookup Table question

    People,

    Hello. I'm creating 9.0 Solution Campus of a college. I confront the issue as below:

    Implement AWAR > Foundation Table > academic Structure > academic organization

    I implemented the academic organization of these data Table: in addition to academic departments, I also type in academic institutions and academic groups.

    Then I create academic organization tree using the tree Manager. The tree is verified and valid a date of entry into force.

    Then I put in place the 2 tables below:

    Implemented AWAR > Foundation Table > academic Structure > program academic table

    Implemented AWAR > Foundation Table > academic Structure > Table of different disciplines

    Table of research of the academic organization developed in the 2 above table successfully. But when I put in place the other 2 tables below, search for academic organisation table does:

    Implement > AWAR > Security > secure Administration of the student > user ID > Security academic organization

    Curriculum management > Catalogue > Catalogue courses > tab offer

    I understand that the 2 tables above are based on the tree of academic organizations and not on the academic organization Table. I see no error in the tree.

    Because the search for academic organisation table can't happen in the tab 'Offers' course catalogue, the course cannot be saved.

    My question is:

    Any folk can help resolve the issue of the "academic organization lookup table cannot mount security academic organization and in the tab catalog of courses'? Or any suggestion on the tree of the academic organizations?

    Thanks in advance.

    Perform the following procedure:

    Home > ACSS configuration > Security > secure Administration student > process > security update - Acad Orgs

    After the execution of the process, check the lookup tables.

  • Where clause in LOV view object error to throw...

    Hi all

    I have a problem here

    I have a LOV which has a VO attached to it and dynamic than VO

    I am passing parameters and executes the original Version at some point in the PFR (process request form).

    OAViewObject vo2 = (OAViewObject) am.findViewObject ("DummyVO1);

    VO2.setWhereClauseParams (null);

    VO2.setWhereClause (null);

    VO2.setWhereClauseParam(0,org);

    VO2.setWhereClauseParam(1,sysdate)

    VO2. ExecuteQuery();

    When I search the LOV giving a few GB of entry and urgent for the first time its working fine

    but the second time I got the error as

    Prepare the SQL statement error

    can someone suggest me what to do...

    Thanks in advance

    DEV

    Hello

    You can try changing VO Binding Style of Oracle named to positional fi Oracle this doesn't help please paste the full stack of the error.

    BR, 906099

  • Hi all the new html site or keep existing and update?

    Hi all

    I need advice.

    I took on the updating of our current site http://www.mauiandsonsretail.com and we found it a little difficult to make quick updates due to the previous ccs put in place. (At least that's why I think I have a problem.)

    I was wondering if I should start with a clean slate and start a new website with site Dreamweaver templates, continue the update of existing site, or alternatives if you think that the good starting points. If there is an adobe program that will help me in conjunction with developing a nice elegant site.

    (on a side note our current site does not do well with the mobile "reactivity")

    I'm certainly very new with dreamweaver, but have received large flows of our forums along the coast with a training of the Academy of code.

    Thanks for reading and I hope to hear from you guys soon.

    With our thanks,

    Dario

    I'm certainly very new with dreamweaver

    But you are very good with HTML and CSS? DreamWeaver is only a tool. A good hammer does not make you a good Carpenter.

    The code of your Web site is very well organized and documented, and the person who built it is not an amateur. If you hate the current site, then by all means, start over from zero, but Dreamweaver themes do not register if you are unable to look at the code you already have and understand.

  • kglad stepped to meownload...  Thru to the valid codes of my old packaging and update by downloading...

    kglad me thru out to take my old version of my "video library" access codes and be upgraded via downloads... but... after my download of the first component (I took Premiere Pro)..., I'm stuck... I took a few screenshots to show quickly what is happening and attached... I don't know what to do next.... He seemed to download OK but wanted a new version of 'Application Manager' so and so I got 8.0, then nothing happens... I thought the manager would give me a few screens to roll it all, but not...

    by clicking on Application Manager that it charges again and again...

    I have no way to reach kglad, but maybe someone could give me some clues

    Thank you for taking the time to read this...

    ... Thank youscreenshots of trying to download premiere pro .jpg

    Hi alpha-01,

    you have win 7 or 8 to win?

  • Reset the DW CC to Classic view, see and create library items (was: libiary elements)

    Hi stepped how to reset adobe cc to Classic view, in the drop-down list area I do not have these options, or y at - it another way to see and create libiary items

    perchfishtrout wrote:

    Hi to all the other versions of Dreamweaver there was the active panel containing the items in your library, which is what I'm looking for.

    In CC, go to window > assets to open the components window, and then click the icon of a book on the lower left of the window for library items.

    You can reorganize your windows as you want by dragging the tab named each window for the edges of your application framework, or the edges of other windows. When the edge of the window or frame is highlighted, release the tab to lock it in this position. Once you have all your windows and palettes defined as you want, go to the window > workspace layout > new to save your layout.

Maybe you are looking for