Hi, The taskflow is not refreshing.

I have used a Employee taskflow as a region.
It is having a input parameter. I want to refresh the taskflow whenever the parameter changes.
in page def:
  <taskFlow id="EmployeeTF1" taskFlowId="/WEB-INF/EmployeeTF.xml#EmployeeTF"
              xmlns="http://xmlns.oracle.com/adf/controller/binding"
              Refresh="ifNeeded">
      <parameters>
        <parameter id="inputParameter1" value="#{pageFlowScope.Deptid}"/>
      </parameters>
    </taskFlow>

Check that your parameter value is changing or not ?
Are you using region inside popup or on page ?
if it is popup then set it's content delivery to lazyUncached and if on page then set partial trigger on parent component of region when you are changing parameter's value
also check this link - http://www.oracle.com/technetwork/developer-tools/adf/learnmore/53-taskflow-in-popup-169196.pdf
Ashish

Similar Messages

  • The Finder is not refreshing the icon thumbnail after copying

    The Finder is not refreshing the icon thumbnail after copying.
    I tried copying a couple of foders from the internal HD to a USB drive and the resulting icons kept an empty progress...
    WHY????

    Hello,
    It looks like possibly a Permissions problem... the X above the folder.
    In Finder do a Get Info on that drive, or the folders on that drive that you're trying to copy to.
    Úgy néz ki, mint esetleg egy Engedélyek probléma ... X felett a mappát.
    A kereső nem egy Get Info a meghajtón, vagy a mappákat a meghajtón, hogy akarsz másolni.

  • Deleting the Row from the table is not refreshing the contents in the form

    Hi,
    We developed a table and form in the same UI based on the following suggestion.
    Display and edit currently selected row of ADF Table in ADF Form
    1. Created one view object based on the employees table.
    2. dragged the view object to the UI as table.
    3. dragged the view object as form.
    4. set partial triggers on the form's container (panelformlayout) as tableId.
    Tested the application with the edit options and everything is working fine. But the problem comes when we delete the record from table. it is not refreshing the form based on the newly selected row after deleting the record. If we commit the data the form contents are updated to the selected row (which is not desired).
    Can you please suggest how to fix the issue, refreshing the form with the selected row after deleting the records.
    Thanks and Regards,
    S R Prasad

    The Code snippet looks fine. I think, the issue is in the partial trigger setting
    4. set partial triggers on the form's container (panelformlayout) as tableId.In order to the table to get refreshed, the table's partialTriggers property should be set to id of the delete Button.
    Go to table, select partialTriggers in the Property Inspector, Click on Expression Builder at the right and select the delete Button.
    Can you set this and check?
    Sample Code:
    <af:panelHeader text="panelHeader 1" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar">
    <af:commandButton text="Delete" id="cb1"/>
    </f:facet>
    <f:facet name="legend"/>
    <f:facet name="info">
    <af:table var="row" rowBandingInterval="0" id="t1"
    partialTriggers="::cb1">
    <af:column sortable="false" headerText="col1" id="c1">
    <af:outputText value="#{row.col1}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="col2" id="c4">
    <af:outputText value="#{row.col2}" id="ot3"/>
    </af:column>
    <af:column sortable="false" headerText="col3" id="c3">
    <af:outputText value="#{row.col3}" id="ot4"/>
    </af:column>
    <af:column sortable="false" headerText="col4" id="c5">
    <af:outputText value="#{row.col4}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="col5" id="c2">
    <af:outputText value="#{row.col5}" id="ot5"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:panelHeader>
    Thanks,
    Navaneeth

  • Portions of the screen do not refresh

    Screen is white after screen saver goes to sleep.  Desktop does not refresh when keyboard is used to wake.  launching an app will show in the window of the app with rest of desktop still white.  started happening after OSX update.

    Resetting the PRAM didn't fix it.
    I believe the problem lies in the screen saver that is active when the screen sleeps. I was using a slideshow screen saver and had the white screen problem...once I changed to a generic screen saver such as flurry, the problem went away. Try that and report back here.
    Obviously the OS is not freeing up the video memory used by the slideshow. I would venture to say the problem is a perfect storm of the particular video card, processor and a slideshow screen saver.

  • Items in the block are not refreshing

    Hi,
    I am having a master screen ,in which for a particular job_name there can be "N" version_no's .
    for 1 version_no it is having around 15 items.
    i am having a second screen, which will display all the version_no's for the job_name.
    if you select a particular version_no and press view details button,it will go back to the main screen and display the details of the version.
    my problem is it's not refreshing it's holding the version details that we entered while creating.
    for ex:
    if i select only 5 items in the query in version details button also it is displaying all the version details.
    in the view_details button i am having the following code.
    declare
         v_job_name chng_cntrl_job_dtls.job_name%type;
         v_job_version_no   chng_cntrl_job_dtls.job_version_no%type;
    begin
    -- message('inside when-button-pressed');     
      v_job_name := :CHNG_CNTRL_JOB_VERSIONS_VIEW.JOB_NAME;
      v_job_version_no := :CHNG_CNTRL_JOB_VERSIONS_VIEW.job_version_no;
      clear_block (no_validate);
      set_block_property( 'chng_cntrl_job_dtls', default_where, 'job_name=v_job_name and job_version_no=v_job_version_no' );
      go_block('chng_cntrl_job_dtls');
    SELECT  JOB_NAME              
                     ,LPAD(JOB_VERSION_NO,5,'0')        
                        ,TEXT                  
                        ,LAST_UPDATED_DATE     
                        ,USER_ID               
                        ,ACTIVATE_DATE        
                        ,SENT_DATE             
                        ,HR_FLAG     
    INTO
             :CHNG_CNTRL_JOB_DTLS.JOB_NAME              
                        ,:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO        
                   ,:CHNG_CNTRL_JOB_DTLS.TEXT                  
                        ,:CHNG_CNTRL_JOB_DTLS.LAST_UPDATED_DATE     
                        ,:CHNG_CNTRL_JOB_DTLS.USER_ID               
                        ,:CHNG_CNTRL_JOB_DTLS.ACTIVATE_DATE         
                        ,:CHNG_CNTRL_JOB_DTLS.SENT_DATE             
                        ,:CHNG_CNTRL_JOB_DTLS.HR_FLAG 
    FROM CHNG_CNTRL_JOB_DTLS
    WHERE JOB_NAME = v_job_name
    AND JOB_VERSION_NO = v_job_version_no;
    exception
         when others then
         message('exception in when-button-pressed '||sqlerrm);
    end;Please advice.

    I'm a little confused by your code sample. Why are you setting the DEFAULT_WHE RE clause of the CHNG_CNTRL_JOB_DETLS block but you never execute a query; instead, you manually query one (1) record into the block after this?
    se t_block_property( 'chng_cntrl_job_dtls', default_wher e, 'job_name=v_job_name and job_version_no=v_job_version_no' );go_block('chng_cntrl_job_dtls');
    S ELECT JOB_NAME
    >
    Let Oracle Forms do the work for you! You've s et the DEFAULT_W HERE clause of the block - now use it and simply execute a query. Try the following:
    DECLARE
       v_job_name          chng_cntrl_job_dtls.job_name%type;
       v_job_version_no   chng_cntrl_job_dtls.job_version_no%type;
    BEGIN
       -- message('inside when-button-pressed');     
       v_job_name := :CHNG_CNTRL_JOB_VERSIONS_VIEW.JOB_NAME;
       v_job_version_no := :CHNG_CNTRL_JOB_VERSIONS_VIEW.job_version_no;
       clear_block (no_validate);
       se t_block_property( 'chng_cntrl_job_dtls', default_w here, 'job_name=v_job_name and job_version_no=v_job_version_no' );
       go_block('chng_cntrl_job_dtls');
       Execute_Query;
    EXCEPTION
       WHEN OTHER THEN
          message('exception in when-button-pressed '||sqlerrm);
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Dec 2, 2010 8:37 AM

  • The Jtree is not refreshing with new values when mouse click on the node

    hi ,
    I am creating a tree from a vector .The values in the vector is coming from the JTable data after satisfing the some condition. But the data in the Jtable is changing time to time so the data in the vector is also changing .
    But the problem is that when first I create a tree with that data the tree is created but for the next time I click on the tree node the tree is not changing i.e. it is not created with the new values that is stored in the vector at that time .what to do .Please help
    I am using DefaultMutableTreeNode for creating the tree .In starting I have created one root and the one it's child .Now the next subtree of the root child have to be created by this vector data. this subtree should be updated according to the values in the vecter.
    public void valueChanged(TreeSelectionEvent e) {
    //code here
    subtreecreat();
    //some function that create tree after cheching the some condition here
    subtreecreat() {
    Enumeration en=vector.elements();
    while(en.hasMoreElements())
    DefaultMutableTreeNode servername = new DefaultMutableTreeNode(en.nextElement());
    node.add(servername);
    Please help it is very urgent
    Thanks in Advance,
    anum

    Well, you can either use a custom TreeModel that tracks your Vector, or you can use a DefaultTreeModel and call model.reload(node) to refresh the tree below the specified node.

  • Why is the template binding not refreshing?

    I made this itemtemplate for a combobox:
    <DataTemplate x:Key="EO_CategoryItemTemplate">
    <Grid>
    <Line
    Stroke="Gray"
    StrokeThickness="1"
    VerticalAlignment="Center"
    X1="0"
    X2="{Binding ActualWidth, ElementName=cat1}"
    Visibility="{Binding Active, Converter={StaticResource EO_BooleanToVisibility}, ConverterParameter=Reverse}"
    />
    <TextBlock
    x:Name="cat1"
    Text="{Binding Name}"
    ToolTipService.ToolTip="{Binding InactiveTooltip}"
    VerticalAlignment="Center"
    HorizontalAlignment="Left"
    />
    </Grid>
    </DataTemplate>
    The problem is the line.  It seems to only get set in the combobox's main text ONCE.  On the first SelectedItem change.  After that, its length is still that of the first item.
    In the popup listbox, it is fine.  Each item has a different length line.
    Is there something I can do so that the combobox text has a line through the actual characters?

    I spent some time looking at this and I'm afraid I have nothing but bad news.
    My markup
    <Grid x:Name="LayoutRoot" Background="White">
    <Grid.Resources>
    <DataTemplate x:Key="TestTemplate">
    <Border HorizontalAlignment="Left">
    <Grid VerticalAlignment="Center">
    <TextBlock x:Name="NameTb"
    Text="{Binding Name}" Foreground="Gray" />
    <Line StrokeThickness="1"
    VerticalAlignment="Center"
    X1="1"
    X2="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType=Border}}"
    Stroke="Black" />
    </Grid>
    </Border>
    </DataTemplate>
    </Grid.Resources>
    <ComboBox ItemsSource="{Binding Items}"
    ItemTemplate="{StaticResource TestTemplate}" Height="30" Width="200" SelectionChanged="ComboBox_SelectionChanged"
    />
    Code behind
    private T FindControlByType<T>(DependencyObject container, string name) where T : DependencyObject
    T foundControl = null;
    //for each child object in the container
    for (int i = 0; i < VisualTreeHelper.GetChildrenCount(container); i++)
    //is the object of the type we are looking for?
    if (VisualTreeHelper.GetChild(container, i) is T && (VisualTreeHelper.GetChild(container, i).GetValue(FrameworkElement.NameProperty).Equals(name) || name == null))
    foundControl = (T)VisualTreeHelper.GetChild(container, i);
    break;
    //if not, does it have children?
    else if (VisualTreeHelper.GetChildrenCount(VisualTreeHelper.GetChild(container, i)) > 0)
    //recursively look at its children
    foundControl = FindControlByType<T>(VisualTreeHelper.GetChild(container, i), name);
    if (foundControl != null)
    break;
    return foundControl;
    private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
    ComboBox cbo = sender as ComboBox;
    if (cbo.SelectedItem != null)
    int ix = cbo.Items.IndexOf(cbo.SelectedItem);
    ComboBoxItem cboI = cbo.ItemContainerGenerator.ContainerFromIndex(ix) as ComboBoxItem;
    Line ln = FindControlByType<Line>(cboI, null);
    if (ln != null)
    ln.Visibility = Visibility.Collapsed;
    // ln.Visibility = Visibility.Visible;
    // Debug.WriteLine(ln.X2.ToString());
    //BindingExpression be = ln.GetBindingExpression(Line.X2Property);
    //be.UpdateSource();
    As you can see, I'm obtaining a reference to the line object.
    When I  then:
    explicitly updatesource on the binding, no effect.
    debug writeline X2 - gives correct length, matching the item but not what you see in the selection.
    I also tried invalidating and forcing arrange and measure and all that lark on the combo.
    No joy.
    This one is the weirdest.
    If you set visibility to collapsed on the line you still see the "wrong" line visible in the selection part of the combo.
    Despite the fact that the item in the combo has  no line.
    Once that thing gets a line, it's keeping hold of it.
    My conclusion is that this is a bug.
    I would guess your chances of getting it fixed for Silverlight 4 are vanishingly slim though.
    A work round I can think of, would be to maybe draw the text and image onto a bitmap.
    Present those in the combo.
    If your line visibility is actually dynamic that's not going to work.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • The window is not refreshing the view in Firefox 5

    The content of the Firefox window is being frozen. Clicking on the Firefox tabs or on links inside the page, or simply scrolling the page is doing nothing. But if I switch to another program (with command+tab for example) and then return to Firefox, the view is being refreshed and displays the result of an action I made before switching the windows. But it continue to act this way on.
    Sometimes just leaving Firefox open for some time will resolve the issue by itself. But in most cases I have to close an reopen the program.
    It happens 5 to 20 times a day, depending on the usage.
    I'm using 2 windows with multiple tabs opened in both of them.
    When it happens I don't see any significant load on the system, nor Firefox takes any additional CPU usage.

    This is a follow up on the first question. I went out to the issuu website to see if it was a problem only with the document posted by me. Answer - No. Every document opened to full screen showed the same behavior. The document opens, but the full-page view stays up for only a second or two and then closes leaving you back at the referral page.

  • Why do the icons on the Yahoo toolbar keep disappearing? The cog does not refresh.

    This happens continually. I posted this question about a week ago and it miraculously corrected itself. Now it has happened again.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    See also extensions like these:
    *CheckPlaces: https://addons.mozilla.org/firefox/addon/10897
    *Delete Bookmark Icons: http://www.sephiroth-j.de/1/mozilla/#delsiteicons

  • Can not refresh the metrics in schedular

    Post Author: sachinddalal
    CA Forum: Performance Management and Dashboards
    Hi,
    When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is not changed, niether the values are updated.
    Whe I try to refresh the metric manual, the values are refresh.
    Please help me to troubleshoot the problem of refreshing metric through schedular.
    Thanks,
    Regards
    Sachin Dalal

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    Scheduler is pretty horrid for refreshing metrics.Better of to use the Rules engine and create a rule thats based on a schedule that based on condition (1=1 works well ) then refreshes metircs.troubleshooting is best done with the trace options in setup/parameters.there are a few other ways or seeing what the schedulers up to - but id stick to rules if i were you.

  • Clicking a tree node does not refresh the fields in the table component

    hi all,
    I am using a tree component along with a table component in my page.so whenever i am clicking on a node it should display the relevant information of that node in the table from the database.But whenever i am doing the page is not refreshing and the old values of the textfields in the table still exist.i have written the code to populate the table in a button click event.It is working fine but the same is not working when i am clicking any node in the tree component.Can anyone provide a solution to this problem.
    Thanks and regards,
    Prasant Kumar

    Never mind... I actually found something that works...
    treeModel.nodeStructureChanged(leadSelection);

  • Process Context changes (.XSD) are not refreshed in the Task Mapping

    Hello,
    I'm adding new attributes to the .XSD but the changes are not refreshed in the mapping section of the tasks. How can I refreshed these changes?
    Best Regards
    SU

    Hi,
    You can manually reimport DO xsd by :
    Your BPM Project > ProcessModeling > Data Types folder > XSD Files folder > Right click xsd file> Reimport.
    You can manually reimport WS wsdl by :
    Your BPM Project > ProcessModeling > Service Interfaces folder > WSDL Files folder > Right click wsdl file> Reimport.
    Regards,
    Unni

  • BTF in a region of a page of UI Shell(replace-in-place) not refreshing

    Hi All,
    Jdev Version : 11.1.2.0.0
    We are using a Bounded Task Flow (BTF) in a ADF Region of a page, which is made using the dynamic template UI Shell with replace-in-place method(Only one tab refreshes all time with new content).
    We are refreshing/invoking the new content using:
    TabContext tabContext = TabContext.getCurrentInstance();
    try
    tabContext.setMainContent("/WEB-INF/flows/task-fl.xml#task-fl");
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion); // where dynamicRegion is binding in the backing bean for the ADF region which includes BTF.
    In the BTF, we have 4 view activities and once the regison displays with default activity and after navigating to 3rd view activity (navigation inside the region BTF), it displays the 3rd view activity content in region. However, If I click on a link (Left side navigation page) which refreshes the same taskflow (same as above), the ADF region is not displaying with default activity of this taskflow instead it displays the same 3rd activity of the taskflow, where the previous status.
    What I understand is that if we set a taskflow tf1 with Main Contnet(as above) and if we try to set the same tf1 to that Main Content, the tf1 is not refreshing (the default activity is not coming up).
    I tried the below solutions but not worked for me:
    a. I refreshed the ADF region after setting the Maincontent as below:
         AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion);
    b. I tried to invoke the region bounded task flow with different parameters (hoping the BTF refreshes and executes from default actitiy). However this also doesn' help.
         And I set the attribute 'refresh = ifneeded'.
    Can we set refresh=ifneeded for a taskflow Call activity also?
    Could you please help how we can refresh the ADF region BTF in this UI Shell(replace-in-place method)
    Thanks
    Madhu

    Thanks Frank for this info.
    Could you please give me other hints regarding taskflow (with default activity) is not refreshing from the region.
    One more thing I observed in my case is that:
    When the region is already with the given BTF(at 3rd view activity content) and when refreshed(tabContext.mainContent("btf....")) with the same BTF (*using page parameters changing*), then first the finalizer(of existed BTF instance) and next initializer(of the new BTF instance) methods of this BTF are invoking but the region is not refreshing with the default view activity content(instead it stays at 3rd view activity content only).
    Please suggest me anything I can debug after BTF initialize() and rendering the page.
    Thanks in Advance.

  • Database View do not refresh in ADF application

    Greetings,
    im facing a weird problem in my application (JDeveloper 11.1.2.4.0 - ADF). All this time i was working directly with tables (VO), but now i also started using database views.
    Everything works fine, when i add a new row in a table that my Database Views is associated with, it refresh properly.
    BUT if i delete rows manually from my database, the View do not refresh in my application, not by refreshing the page,
    redeploying application, even executing the view object query inside the view object. The only way for the DB View to be
    refresh inside the JDeveloper and on deployment time is by restart JDeveloper. I try adding an action on my OV to re-execute them when
    i do something specifically, hopefully the will reset the cache and retrieve the DB view again, but with no luck..
    Correction: now it doesnt even refresh on restart jdeveloper.
    Just for the clarification, im talking about Database Views, and not just Object Views. I create a Object View inside the application to retrieve the data
    from the Database View results.
    Can you help me on this please?

    Yes the queries in SQLDeveloper was showing me correct results.
    But i feel disappointed.. When i went to close SQLDeveloper to try something, it pop me a message to commit/rollback changes.
    After i commit them, my app show correct results too.

  • Table does not refresh after database level action

    We have defined an Advanced table on a VO to represent invoice lines. The VO is referenced by a VL from the invoice header.
    At one point during our process, a database level package is executed on the current lines. We have a "Requery" button to refresh the lines, however, the lines do not refresh unless we exit the invoice entirely and come back to it via the VL.
    How can we refresh the lines on a current table after a database level transaction occurs?
    Thanks, Jerry.
    Our AM code is as follows...
    // handleRefreshInvoiceLines( )
    public void handleRefreshInvoiceLines()
    OAViewObject vo = (OAViewObject)getInvoiceLinesVO1( );
    if( !vo.isPreparedForExecution( ) )
    getTransaction( ).validate();
    vo.executeQuery( );
    clearVOCaches( "InvoiceLinesEO", true ); // troubleshooting
    } // handleRefreshInvoiceLines()

    Thank you. I've moved clearCache around a bit. apparently vo.isPreparedForExecution() is false. I wonder why?
    --Jerry.                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How do I revert to iTunes 11.0 or earlier?

    iTunes used to work well with my iPad1, iPhone5, and two iPod5's.  I would periodically synch them in order to create a backup, or transfer any new apps.  Ever since I upgraded to iTunes 11.1.4.62, iTunes will no longer recognize any Apple device.  W

  • RAW 4.1 won't save to JPG with embedded thumbnail

    Title says it all. So many other applications can't see a thumbnail, and have to (slowly) open the full JPG for previewing the photo. If I open the JPG in Photoshop and resave it, an embedded thumbnail *is* added. There seems to be no option in Adobe

  • What is this effect?

    Hi I've got a new site to do where I need to scroll up and down a fishing rod. I have found a golf club site where they section the club into sections and when you click on a section it shoots to that part of the club. The site is http://www.taylorma

  • Copying my ipod mini info to the library.

    For the life of me, I can't get my ipod songs into my library. I looked over a few of these posts and tried some things and they didn't work. I have it set to manually manage songs and Enable Disk Use is checked, but I can't drag any songs from my ip

  • Creating database in other mount point

    i had installed oracle 10g in mount point u01 but i want to create database in mount point u02 how can i do this?? i had to do this by using dbca