Can we call a method before and after Export operations in ADF 11g

Hi,
My problem is I have to execute a method before and after the export operation.Is this posible in ADF 11g
Regards,
Felix

Hi,
in response to a similatr post of yours, I replied
1. Drop af:exportCollectionActionListener on a command button
2. set the command button to display = false
3. In your Java code, call
ActionEvent ae = new ActionEvent(button);
ae.queue();
Everything you put before
ActionEvent ae = new ActionEvent(button);
ae.queue();
will fires as a pre-trigger, everything after as a post trigger
Frank

Similar Messages

  • Can I control the spacing before and after a signature?

    When using the Mail app, can I control the spacing before and after a signature? It seems like the app adds space, but it doesn't add the same amount every time.
    Thanks.
    Greg

    The only way I can think of to maintain equla spacing between the text ov vartying lengths and the vertical lines is to put each icon/text pair in it's own frame fitted to content, make each vertical line a separate object, then select them all and distribute the spacing.

  • How can I control the space before and after text in a table

    Hello
    I have a series of icons with descriptions, these are lined up with icons on the top row and description text in the bottom row. Each icon and description is divided by a stapled line.
    The text is of varying width, therefore the column width must also wary. However I would like to make the space before and after the text equal in all instances (See image).
    If there is anyone that can tell me how to do this with tables or any other tools I would be very thankful.

    The only way I can think of to maintain equla spacing between the text ov vartying lengths and the vertical lines is to put each icon/text pair in it's own frame fitted to content, make each vertical line a separate object, then select them all and distribute the spacing.

  • How can I print both the "before" and ''after" version of an image?

    When I go to the Print module I can't find a way to toggle back to the original, "undeveloped" version of my photo.

    Make a Virtual Copy and reset it. This is your before-version. Take this and the original to the print module. This works for a bunch of photos, too.
    After printing, delete the VCs.

  • Can I have a space (before and after) on each line in a paragraph with an underline style apply on character

    I would like the result on the last image automatically without doing it with forced line and putting space manually. Is it possible with grep style?
    Thank you in advance for your answers. Sorry for my english!

    … Un petit rectificatif !
    En préparant un peu différemment le style de paragraphe "En Exergue", et donc en y intégrant deux styles de ligne imbriqués "alternés" [Red 1 / Red 2 / Red 1 / Red 2 / …],
    les 2 styles de caractère Red 1 et Red 2 n'ayant aucun attribut, il suffira, après avoir copié dans le presse-papier le petit bloc ancré (précité) de lancer une double regex [avec Multi-Find/Change, 1 seul clic !], la première ciblant Red 1, la seconde, Red 2.
    On évite le Hic! soulevé précédemment. Cela peut permettre d'accélérer le traitement. C'est certes moins fun pour les yeux !!
    Résultat :

  • Counting values before and after an interval

    I posted this awhile back but I'm back to trying to solve the problem (didn't solve it), so apologies if that is bad etiquette! This forum has been so helpful though I thought I would try again:
    design/methodology question
    The short of it is I have a table with calls that happened, all have a start and end time.
    I want to take 1 min intervals over a given hour (say, 12-1pm) and (the part I need help with) count all calls that happened before and after that interval.
    That is to say, all calls that were 'active' during that interval (consider if I call started at 11:59 am and ended at 12:05) would need to be counted for the 12:00, 12:01, 12:02, 12:03, 12:04, and 12:05 intervals.
    So what I'm trying to construct is an SQL query that uses a 'variable' in this case (I think).
    That is, so I can saw 'where start_time < min_interval' and where 'end_time is > min_interval' and count those records to my total.
    But I'm at a loss on how to pull this off!
    Thoughts?

    If a call began at 15:01:01 and ended at 15:01:59, was it active at 15:01? Was it active at 15:02? Both? Neither?Is only active at 15:01.
    Do you need 4 separate numbers, or do you need 1 number, which is the total of these 4?I need 1 number which is the math formula (using the number above)
    1 + 2 - 3 + 4
    Oracle version is 10.2.0.4.0
    I will work on learning the CREATE TABLE and INSERT statements, as well as, the WITH one.
    Is the point of submitting those to understand the data set being worked with?
    Here is my attempt...
    Consider the following:
    WITH     my_call     AS
         SELECT     1 AS call_id     ,     to_date('10-may-2011 12:00:17'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             ) AS start_time      ,      to_date('10-may-2011 12:01:23'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 ) AS end_time  FROM dual     UNION ALL
         SELECT     2           ,      to_date('10-may-2011 12:00:45'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                 ,      to_date('10-may-2011 12:03:55'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual     UNION ALL
         SELECT     3          ,      to_date('10-may-2011 12:01:01'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                 ,      to_date('10-may-2011 12:01:59'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual     UNION ALL
         SELECT     4          ,      to_date('10-may-2011 12:01:45'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                 ,      to_date('10-may-2011 12:04:43'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual     UNION ALL
         SELECT     5           ,      to_date('10-may-2011 12:02:33'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                 ,      to_date('10-may-2011 12:08:05'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual     UNION ALL
         SELECT     6           ,      to_date('10-may-2011 12:02:35'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                ,      to_date('10-may-2011 12:04:56'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual     UNION ALL
         SELECT     7           ,      to_date('10-may-2011 12:03:02'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                 ,      to_date('10-may-2011 12:05:13'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual     UNION ALL
         SELECT     8           ,      to_date('10-may-2011 12:03:41'
                             , 'dd-mon-yyyy hh24:mi:ss'
                             )                 ,      to_date('10-may-2011 12:04:37'
                                                 , 'dd-mon-yyyy hh24:mi:ss'
                                                 )           FROM dual
    )then, to solve #1 (calls that started in each minute):
    select
      to_char(new_time(trunc(start_time, 'hh24') + (trunc(to_char(start_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') as "Start Time",
      count(*) as "Start Time Count"
    from
      my_call
    group by
      to_char(new_time(trunc(start_time, 'hh24') + (trunc(to_char(start_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi')
    order by
      to_char(new_time(trunc(start_time, 'hh24') + (trunc(to_char(start_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi');would yield the following output (consider I am converting to GMT in this example):
    07:00     2
    07:01     2
    07:02     2
    07:03     2To solve 2, calls with end_time, I do the following:
    select
      to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') as "End Time",
      count(*) as "End Time Count"
    from
      my_call
    GROUP BY to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi')
    order by
      to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi');which gives us:
    07:01     2
    07:03     1
    07:04     3
    07:05     1
    07:08     1# 3 (calls that started and ended in the same minute) is:
    select
      to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') as "End Time",
      count(*) as "End Time Count"
    from
      my_call
    where
    to_char(new_time(trunc(start_time, 'hh24') + (trunc(to_char(start_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') = to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi')
    GROUP BY to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi')
    order by
      to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi');which gives us:
    07:01     1Now, given the small data set (which, as a side note, I can see a little, now, why the WITH statement here is useful and important!) we know the final output should be
    (EXPECTED RESULT WHEN WE ARE DONE):
    07:00     2
    07:01     4
    07:02     4
    07:03     6
    07:04     5
    07:05     2
    07:06     1
    07:07     1
    07:08     1So what I am posting this forum is help in calculating #4 - calls that had a start time (trunc'd to the minute) before the minute interval and an end_time after.
    Something like this:
    select
      to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') as "End Time",
      count(*) as "End Time Count"
    from
      my_call
    where
    to_char(new_time(trunc(start_time, 'hh24') + (trunc(to_char(start_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') < minute_interval and
    to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi') > minute_interval
    GROUP BY to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi')
    order by
      to_char(new_time(trunc(end_time, 'hh24') + (trunc(to_char(end_time, 'mi')/1)*1)/24/60, 'GMT', 'CDT'), 'hh24:mi');where the expected output would be:
    07:00     0
    07:01     1
    07:02     2
    07:03     3
    07:04     2
    07:05     1
    07:06     1
    07:07     1
    07:08     0thoughts on accomplishing this?

  • Space before and after list

    How can I manage the space before and after a list in a book without local formating each list? IE I would like all the formating to remain in each style.

    For bulleted lists, I have two bullet styles. Bullets_L1 is for first level bullets, and has no paragraph spacing. I use the style Bullets_L1_First for the first bullet in the list and this has paragraph spacing before which matches the body style of the document and have Bullets_L1 set as the Next Style. This means that there is paragraph spacing above the first bullet and non for the remainder. The space at the end if the list is handled by the body style.
    If I am manually typing the list, the change from Bullets_L1_First to Bullets_L1 is handled automatically. If I am formatting text that has been placed without these styles, I highlight all the paragraphs I want bulleted and right click on Bullets_L1_First in the Paragraph Styles list and select Apply Bullets_L1_First then Next Style.

  • "Effects" before and after

    Hello all,
    Is there anywhere I can go to see the "before" and "after" views of all effects? I am not yet familiar with all of the effect jargon, so if something like this exists it would save alot of time! (if it doesn't exist, I'm sure you guys could make loads from advertising as ppl like me would flock to those pages en masse).
    Thanks,
    Christie

    The effects previews in Illustrator are not as advanced as in Photoshop. For example you have a outer glow effect, you turn preview on, all works great. now turn the preview off, and it is still on. So you cant toggle for most of them.  In sumamry Illsutrator effects previews can be buggy.
    For the bitmapped effects I try to do them instead in Photoshop. EG: Outer glows distance and lightness are more accuratey previewed in Photoshop, even if you have doc raster settings set to 300 dpi. . Glow in Illustrator does not have a distance setting either, Illustrator slows down when using bitmapped effects.

  • I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    Hi Crushed,
    Numbers doesn't have pages. It has a canvas that holds objects such as tables and charts.
    Drag the objects from the bottom of the canvas onto the white space above. That will reduce the number of "pages" (sheets of paper) that will print.
    Regards,
    Ian.

  • GREP: How can I place a (for example) "*" before and after bold text with GREP?

    Hi there.
    I have a string of text as such:
    I want to use GREP to insert a "*" (asterisk) before and after each bold part. Can I do that with GREP?
    (if asterisk is a problem, I can use a different character)
    Any help would be appreciated.

    Hi Schmaltzkopf,
    try this:
    Have fun

  • How Can I Blink Between Before and After in Liquify?

    I think I've done this before (in prior versions), but I'm drawing a blank...  Is there a quick way to blink between before and after results in Liquify?
    Thanks.
    -Noel

    There are several ways i can think of
    1. Alt click on the cancel button and the Ctrl+Z
    2. Hit the Restore All button then Crtl+Z
    3. If you have the advanced options showing you could use Show Backdrop and then toggle the Show Image

  • Can I print before and after on the same page?

    Hi everyone.
    I'm really proud of my editing on a particular image.  I want to print the before and after on the same page, just like I can see the before and after side-by-side in the Develop mode.
    Is this possible?
    Thanks for your help.

    Yes but you will need to make a virtual copy by going to the menu:
    Photo >> Create Virtual Copy
    Then open copy 2 in the Develop module and from the history panel change the setting to the time of import (usually the bottom of the list) or use the re-set button to get back to the original file from camera.
    You can then select copy 1 & 2 and go to the Print module to set up your page with both images.

  • Any existing program to list before and after BDC error?

    Looking for a way to report any BDC errors and show before and after its been corrected.

    Hi,
    Before making correction:-->
    !. If you are using call transaction , then you can all errors in BDCMSGCOLL internal table
    and use fm MESSAGE_PREPARE to generate message texts
    2. If you are using session method then you have error log SM35.
    After making coorection i don't think you have anyway to capture corrected errors

  • How to call AMImpl method before loading the page(task_flow_config.xml)

    Hi experts,
    I have requirement like,
    I need to call AmImpl method, before rendering the page.(I heard like we can do it in task_flow_config.xml by using method_Invoke operation,But I am not sure about How it is going to work, also i need to know the implementation part,,,help pls )
    (I need to do in Task_Flow.)
    Inside that method I have some logic, where I will setting the BindVariable of my one ViewObject and I need to run the ViewOblect,So that DataShuold be available while page loading.
    I have some different logic after that,,,,
    can anyone suggest me for this??
    thanks
    Santosh

    thanks to Timo n TK,
    I have use case like,
    In the search page I have 2 LOV dropdowns say LOV1 and LOV2. Both list of values are created based on the independent View Objects based on the Query.
    LOV2 VO query is having the Bind Variable, for that Bind variable will be getting the value from the one of the AM method based on the user logged in.
    Also I need to display LOV2 dropdown in the page when user selects LOV1 as a 'SCM', for others it should be in hidden state.
    As per requirement I have to display LOV2 only for LOV1 value as 'SCM'. So I dont want to use valueChangeListner() for this.
    Instead I want populate LOV2 value before page rendering(because in that time i will be having all the parameter to populate ) by executing LOV2 VO Query.
    Once in search page user selects LOV1 as 'SCM', I should display 'LOV2' values in the dropdown.
    If i execute LOV2 VO in the AMImpl method say A() before page rendering ,then if user select LOV1 as 'SCM', will same data available in the dropdown (LOV2 dropdown is based on the LOV2VO)??
    Can u pls suggest me how can i render ,LOV2 when LOV1 as 'SCM' by using 'rendered' property without having valueChangeListner??
    pls suggest me the right approach as per my use case..
    waiting for reply,,
    Thanks
    Santosh

  • Calling a method before entering a page

    Hi,
    What is the best way for calling a method before entering a page in ADF, when this page is the fist page that user in enter into it in Application, I mean there is not any other page before this page ( in this case I am able to call that method in task flow with method call).
    Also, I want this method calls only one time....
    Thanks.
    Edited by: Amir Khanof on Jun 29, 2010 5:19 AM

    Hi,
    one option would be to add a method for the afterPhase property of the f:view component on a JSPX page and listen for the after restore phase. Then check if the request (you get this from the FacesContext) is a GET request, which indicates that the page was requested from the browser and not in the process of navigating in the application. If the conditions are true, access the method and execute it
    Frank

Maybe you are looking for

  • Dimension values display order and record details

    Hi All, I have explicitly ordered my dimension values to be in a logical order instead of alphabetical. Ex: Small, Medium, Large. This works great in the navigation tree but when I view a specific record and it  has those 3 dimvals they are listed in

  • Database Adapter ORA-00923 problem...

    I made "Execute custom SQL" in database adapter and this shows this error "ORA-00923: FROM keyword not found where expected", the Query works perfect in SQLDeveloper.. This is the Query: SELECT id_tarea, SUBSTR(MAX(REPLACE( SYS_CONNECT_BY_PATH(mail_r

  • Cannot stop selector

    Hi all! I have a code like the following: import java.nio.channels.Selector; import java.util.Set; public class Test2 { private static Selector selector; public static void main(String[] args) { Thread t = new Thread(new Runnable() { public void run(

  • Using Compressor 4, How do you create a droplet to transcode from final cut files to mp4, mp3 and m4v formatting?

    Using Compressor 4, How do you create a droplet to transcode from final cut files to mp4, mp3 and m4v formatting?

  • DFF dependent LOV based on self service page

    Hi there, I have a question related to the usage of DFF in OA CU2 version. Our client has a requirement where he wants to enable DFF on a self-service page and attach an LOV to one segment by defining a value set. The requirement needs to restrict th