Doing some processing before my portlet is rendered.

Hi.
I would like to do some processing before my portlet is rendered.
Currently I have a jsp that is the begin node on my webflow. This jsp
has a button that I click to enter my InputProcessor and
PipelineComponent so that I can get the data I need from the database
and render my portlet appropriately.
I noticed that I could use a servlet as the begin node, and just do
the processing from there. Then let the flow take me back to my jsp
and render it correct. However I could not find out how to forward
from my servlet to the InputProcessor...
If anyone has done something like this before, or has a good idea on
how to do it, please help me.
Sincerely,
Paul Nyheim
[email protected]
Please put my email-address in the cc. field of the reply.

your begin node can be any type of node (ie presentation, input processor, pipeline)...
take a look at some of the example webflows, point the ebcc to:
C:\bea\weblogic702\samples\portal\sampleportalDomain\beaApps\sampleportal-project\sampleportal-project.eaprj
-tanya
[email protected] (Paul Nyheim) wrote:
Hi.
I would like to do some processing before my portlet is rendered.
Currently I have a jsp that is the begin node on my webflow. This jsp
has a button that I click to enter my InputProcessor and
PipelineComponent so that I can get the data I need from the database
and render my portlet appropriately.
I noticed that I could use a servlet as the begin node, and just do
the processing from there. Then let the flow take me back to my jsp
and render it correct. However I could not find out how to forward
from my servlet to the InputProcessor...
If anyone has done something like this before, or has a good idea on
how to do it, please help me.
Sincerely,
Paul Nyheim
[email protected]
Please put my email-address in the cc. field of the reply.

Similar Messages

  • Do some processing before loading jsf fragment created using adf task flow

    Hi,
    I am working on JDev11g.
    I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
    I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
    But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
    Is there any method which is called only first time when region is loaded ?
    Or any other solution to achieve this.
    Regards,
    Devang

    Hi,
    don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
    Frank

  • To display a window while doing some process

    Hi all
    Is it possible to display a informative dialog box/window when I
    am doing some updation or forms doing some process say the table
    I am quering in a form has got n number of rows, so Obviously
    this will take some time to diplay the last row when users
    presses last row button provided by my application, when it is
    fetching the rows I would like to display a alert with relavant
    message depending upon the situation and this display and
    closing of this alert/dialogue box should dynamic with out any
    user interaction,
    its some thing like ORACLE PLUS displays a window/dialog box
    with "EXECUTING QUERY" if any SQL statement issued at SQL PLUS
    prompt.
    Regards
    Mahesh
    null

    Hi Mahesh,
    You can do it by writing the required message in a new window in
    your form and use SHOW_WINDOW('window_name') and
    HIDE_WINDOW('window_name') before and after EXECUTE_QUERY
    command respectively.
    I think it would solve your problem.
    Feel free to write back to me if you have any problem
    Lalit
    Mahesh (guest) wrote:
    : Hi all
    : Is it possible to display a informative dialog box/window when
    I
    : am doing some updation or forms doing some process say the
    table
    : I am quering in a form has got n number of rows, so Obviously
    : this will take some time to diplay the last row when users
    : presses last row button provided by my application, when it is
    : fetching the rows I would like to display a alert with relavant
    : message depending upon the situation and this display and
    : closing of this alert/dialogue box should dynamic with out any
    : user interaction,
    : its some thing like ORACLE PLUS displays a window/dialog box
    : with "EXECUTING QUERY" if any SQL statement issued at SQL PLUS
    : prompt.
    : Regards
    : Mahesh
    null

  • After doing some editing in Lightroom I want to continue the edit in CS 5 but Lightroom is not exporting the edited version, this has not happened before, what am I doing wrong please? anybody

    After doing some editing in Lightroom I want to continue the edit in CS 5 but Lightroom is not exporting the edited version, this has not happened before, what am I doing wrong please? anybody

    You should be getting an error message that PS CS5 requires a higher version of ACR with two options "render using Lightroom" or "open anyway". You should choose the first option. If you are not seeing the error message then go to your Lightroom prefrences >General Tab> under Prompts> select "Reset all warning dialogs", then try the edit in function again. 

  • I want to reinstall CS4 as it has been doing some strange things regarding printing, etc. However, when I did this before, it created a major problem and I ended up buying a new computer because no one could figure out why it kept hanging up during the in

    I want to reinstall CS4 as it has been doing some strange things regarding printing, etc. However, when I did this before, it created a major problem and I ended up buying a new computer because no one could figure out why it kept hanging up during the installation. Hours on the phone, no results. I'm scared to do it on this computer. Should I try? Not even the Adobe support could get it resolved. I believe it was somehow reading a product number that could not be deleted or something, and nothing worked.
    Message was edited by: Doug Doug

    Hello, as an addition:
    In your case I would download a really new trial version of your program(s) in question and change it/them into a "real" version later, BUT because you said, that you "re-installed" already, so it will become a little bit more complicated. It would be necessary that you have to use "Adobe Creative Suite Cleaner Tool" as Keith wrote.
    Here an advice for that (The order varies depending on your individual needs. Please read all my proposals first, so you can better choose the first step:)
    1. Maybe you have to activate/deactivate, so please have a look there:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    2. Sometimes, we know in the meantime, the "opm.db file" is the culprit. In this case you should delete it.
    3. Be careful with (de)installing aso. by (de)installing by your own resources. As much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool. Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: Adobe Creative Suite Cleaner Tool helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    4. If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use the chat, I for may part - as it seems unlike you - had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Hans-Günter

  • How do you kick-off an action/event before a JSF Portlet is rendered?

    Hi,
    I am creating JSR-168 Portlets using Sun RI 1.1 and need the ability to call an action (ie. method) of the JSF Portlet before it is rendered. Any ideas how to do this?
    Scenario To Resolve
    If a customer is on the Check-Out Portal Page, the check-out portlet will initially display the shopping cart information.
    The customer will then click buy and the portlet will display a confirmation page.
    Now, if the customer decides to do additional shopping (ie. place a second order).
    The customer will navigate to a different Portal Page to browse items.
    Once the customer is done shopping, the customer will click Check-Out and the Portal will display the Check-Out Portal Page. Currently, when the check-out portlet is rendered, the portlet is automatically rendering the confirmation page (ie. the last state of the check-out portlet).
    Question
    How can I control the state of the portlet so that the initial state of the portlet is rendered (ie. the shopping cart information)?
    - Is there something built into the JSR-168 Spec? Or, Sun's JSF RI 1.1 that will enable me to kick-off an action/event before a JSF Portlet is rendered?
    - If this functionality is not built in, has anyone faced this challenge? If so, how did you extend the framework to resolve it?

    Hi,
    I am creating JSR-168 Portlets using Sun RI 1.1 and need the ability to call an action (ie. method) of the JSF Portlet before it is rendered. Any ideas how to do this?
    Scenario To Resolve
    If a customer is on the Check-Out Portal Page, the check-out portlet will initially display the shopping cart information.
    The customer will then click buy and the portlet will display a confirmation page.
    Now, if the customer decides to do additional shopping (ie. place a second order).
    The customer will navigate to a different Portal Page to browse items.
    Once the customer is done shopping, the customer will click Check-Out and the Portal will display the Check-Out Portal Page. Currently, when the check-out portlet is rendered, the portlet is automatically rendering the confirmation page (ie. the last state of the check-out portlet).
    Question
    How can I control the state of the portlet so that the initial state of the portlet is rendered (ie. the shopping cart information)?
    - Is there something built into the JSR-168 Spec? Or, Sun's JSF RI 1.1 that will enable me to kick-off an action/event before a JSF Portlet is rendered?
    - If this functionality is not built in, has anyone faced this challenge? If so, how did you extend the framework to resolve it?

  • Subject: Why Restricting Calendar Year/Month Does not show some process cha

    I am struggling to figure to how to debug BEX queries. I am on BI 7.0.
    I am developing a query on 0TC_C21.
    1.     I want output like:
    Process Chain Id:   Average Duration
    When I run this query for an interval on 0CALMONTH (01.2009 u2013 12.2009), I get all the
    Process chains executed and their average duration.
    2.     Now I want to see Average Duration for each month. I simply put 0CALMONTH on top of the key figure Avg Duration. I now do see 
    Process Chain Id:   Avg Duration 01/2009 Avg Duration 02/2009 u2026. Avg Durtaion 08.2009
    But problem is only some process chains are shown. Why?  In the output, I do see for some process chains there is no Avg Duration, e.g. in 01/2009  because process chain was never run.
    So, I do not understand why some process chains are not being shown. 
    I know for sure that process chains not being shown were run in 08.2009.
    Appreciate any feedbacks, in particular how to debug this problem.

    Thanks for the assistance!
    The feed is here: http://gats.podomatic.com/rss2.xml
    The store URL is: https://itunes.apple.com/us/podcast/gaming-and-then-some/id744125948 (the same you got in Google)
    And that what is confusing me. As far as I know, the URL should not have changed from the one I received when the podcast was approved last year. The feed seems fine. It's still updating when I load up episodes to Soundcloud. I'm stumped. Any ideas?

  • My iPhone 3Gs randomly shutting off at any given moment. I could be in the middle of a text, a call, or doing some games and it'll just shut off.  Now here's the unique part. When I go to turn it back on, the apple loading screen pops up but it takes some

    My iPhone 3Gs randomly shutting off at any given moment. I could be in the middle of a text, a call, or doing some games and it'll just shut off.
    Now here's the unique part. When I go to turn it back on, the apple loading screen pops up but it takes somewhere from 3-5 minutes for it to boot up. Then the lock screen with the time and whatnot shows up. From this point on, my iPhone has a chance to shut itself back down and I have to repeat the process over and over again. Most of the time the lock screen flashes and then goes straight to black (shut down) but sometimes I can make it a few menus before it shuts itself down.
    The only way to keep the iPhone on is to plug it into a charger of any sort. I'm fairly certain it isn't a battery charge issue because this happens at any % of power and sometimes my iPhone can use up all of its charge and not have this happen while other times I can be at 90-100% and it could randomly shut itself down. What can I do in this situation if some has some solution to this problem please let me know on [email protected] Thanks!

    Not sure if this Term is Relevant towards an iPhone but, my iPhone won't Post unless if it's plugged into a Charger.

  • My mac book pro does not boot up correctly anymore after doing some updates. I did have my ipod charging to my mac book. I ran the simple updates and never go to the maverick update and now my computer will not boot correctly. Help!

    Please help my computer is not repsonding after doing some simple updates. I follow the instructions and which is simply click for the update to take place. I did what I was instructed to do. I did not do the new update for the Mavericks yet. I just did simple updates. The computer shutted down and restarted but would never get pass the grey screen with the spinning wheel and the booting bar that would not go past a certain point befor shutting off again. The computer is practically brand new. I purchased the computer from best by 2012 and the warrenty just ended the past October. I hardly use the computer maybe 4 times since I have had it because I have another main computer that I uses. However, I don't want to do a hard rest becuase I do have the entire adobe suits software that I paid for and don't want to loose. I have an appointment with apple today to see what they say but I hope that my computer that I hardly every use is not defected after doing a updated pushed by Apple. Any thoughts or suggestions???? Thanks in advance Apple Family :-)

    Well, I was at Apple for sometime on that day. I got a Genius that did not want to work. She basically jumped to the money to tell me that my hard drive was no good and that I was out of warranty (October 2013). I began to explain to her that I had only used the computer 5 times and that I don't use this computer as my main computer because I also have a Toshiba that is less expensive that I have had for several years and not one issue out of it. The rep told me that I could by a new hard drive for $161.00 and that I would loose all of my software and photos that I have on this computer. However, I told her that it's bazaar that it happens right after my warranty goes out and had I used it more often when in warranty before October then I would have been covered. Keeping in mind that I would still be very disappointed with the product because I would loose all of my information and it would not make sense to me why the hard drive fails on a very gently used computer. So I asked for a manager and it took her some time to get one. In the mean time I watched how the other Geniuses interacted with the other customers and seen that they were very engaging with convo and very help. I guess I just I got another lemon when I got my rep. When the manager finally came. I went from A-Z with the issues and that I felt that something could or should be done because the rep said that she did tests on my machine and it read to her that my hard drive was bad and there was nothing that could be done. I explained that I was not looking forward to paying for services to have my new computer repaired. The manager offered to give me 25% off the cost but I still didn't feel that it was effective. After he left and the rep wrote the notes in the system, I told her that I didn't think that all options had been exhausted and that there was something else that could be done. I told her to erase the machine and see if the updates could be installed and if the system would continue to do the same thing. The rep was hesitant and said that I would loose everything which we already know that we were at conclusion from the beginning. She assured me that I would happen again and that I would need a new hard drive. I just told her to erase the machine and get me another manager because I was just getting tired of her unhelpfulness and negative perspective. The new manager came and was very pleasant and I explained everything once again from A-Z. I informed him that I had the machine erased and that I need his help with options because I don't feel that the rep or the last manager was resourceful or helpful. He apologies for the actions of the reps and proceed to tell me that they will run all the updates in the store and that if it booted correctly that I should continue to use the machine with out adding the adobe software back on just incase that it crashes again and I'm out of money once again. However, if it does happen again and it is a hard drive issues that he would work with me to resolve the issues. As my computer went through the process of rebooting from out of the box stage another rep approached me because he could tell that I was upset and not happy. I told he what had happen and he said I think I can help you a little more. He said that I just want to run further testing on you computer for different components to make sure that everything would work properly and pin point any issues. I was delighted with that option. Anything would help at this time especially someone who is willing to help. The first test that he ran was to for the hard drive and he said that since it failed the test the first time could be because the software update glitch and did update correctly which would make the test faulty and be negative. As I sit with finger crossed the test came back as a pass test that my hard drive was not the issue and that the update was the cause and that I did not have to buy a new hard drive. I was happy that the computer was ok but I lost information. All of the updates were done in the store and everything works fine now. If I was not persistent about my gut feeling then I would had left out thinking that I had to pay for a new hard drive that I really didn't needed. Now I can invest that money in a external hard drive to start backing up my information. Lesson learned by I'm still on the fence about things but I hope all is well. I really went through a lot. No help or no service was not an option that I was taken.  I hope that it helps.

  • Looking for some info before deciding to install

    Normally, I would try to some searching before posting, but I've been pressed for time lately. Anyways, I'm looking for some info about Solaris before deciding to dive into installing it.
    1) Can it be installed on what's a currently triple-booting system without problems? In this case, Solaris would be installed onto half of the slave HD.
    2) How difficult and lengthy is the installation process?
    3) Does Solaris come with it's own unique bootloader? Can it recognize other operating systems? Is it possible to not install that bootloader and simply edit the configs for a preexisting GRUB to allow it to boot Solaris?

    The only way to get content into the Music app is via iTunes store downloads or syncing with itunes on a computer. You will need to find a third party media player such as VLC (whick integrates with DropBox and GoogleDrive, if that appeals to you).

  • Why does iM5 "Process" 16:9 imports?

    In using iM5, I have de-selected "Automatic Pillarboxing and Letterboxing" in the preferences, but when I import footage from my camcorder that was shot in 16:9 (not sure if it's true 16:9 or seudo-16:9), iMovie will spend a long time doing some sort of processing. It took about an hour to process 27 minutes of footage. What is iMovie doing during this "process" time? There is no process time when standard 4:3 import is done.

    Sue,
    I may not have been clear in my post. First, I have the 17" flat-panel Mac, w/768K ram and the 7200 rpm 80GB HD. But the time to process a DVD isn't the question. My question revolves around importing 16:9 footage into iM5. As soon as I click on the scissor icon to bring the footage down into the timeline for editing, iM5 "processes" all the imported footage first before I can do anything to the footage. I was just curious as to what iM5 is doing during this step and why it's oing it. When importing simple 4:3 footage, I can immediately drag the clips into the timeline and edit away. When importing 16:9 footage, iM5 processes the footage first before I can edit.
    Thanks, Dan

  • I was doing some thing on my mac and the normal link to the applications folder from the bottom right hand corner disappeared, I cant find it anywhere, Can you help me?

    I was doing some thing on my mac and the normal link to the applications folder from the bottom right hand corner disappeared, I cant find it anywhere, Can you help me?

    Simple process. If an iPhone go to the Apple Store and not Verizon
    the phone from Verizon will be a refurbished device and not new unless under the 14 day worry free guarantee
    good luck

  • How to update progressbar while doing serverside processing?

    Hi,
    I have the following use case:
    - When the user clicks a button a file must be downloaded. Because it can take some time before the server gathered the data, a progressindicator must be shown. After that the file is presented to the user.
    Currently, I have clientside javascript that shows the popup, and then queues a server event that starts the serverside processing. A poller is running that should keep track of the progress.
    My problem is that the popup only shows at the end of the serverside method. Also, the poller doesnt poll while the serverside method is executed, and resumes at the end of the serverside method execution. So even when the popup would show, it wouldnt properly display the progress.
    I have the following code:function showProgressPopup(event) {
                                var popup = AdfPage.PAGE.findComponent("pt:progressPopup");
                                var hints = {};
                                hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_OVERLAP;
                                hints[AdfRichPopup.HINT_ALIGN_ID] = "pt:downloadButton";           
                                popup.show(hints);
                                var source = event.getSource();
                                AdfCustomEvent.queue(source, "startDownload", {}, false); //at this moment, popup should show and serverside processing starts
    <af:panelGroupLayout id="pgl6">
                    <af:poll id="poller"/>
                    <af:commandButton text="Download in Excel-formaat" id="downloadButton" partialSubmit="true">
                        <af:clientListener type="action" method="showProgressPopup"/>
                        <af:serverListener type="startDownload" method="#{CombinotaExportBean.startDownload}"/>
                    </af:commandButton>
                    <af:popup id="progressPopup" clientComponent="true">
                      <af:dialog id="downloadDialog" type="cancel" modal="true" closeIconVisible="false" title="Downloading..." partialTriggers="downloadButton poller">
                        <af:switcher id="downloadSwitcher" defaultFacet="showRunning"
                                     facetName="#{CombinotaExportBean.value == CombinotaExportBean.maximum ? 'showReady' : 'showRunning'}">
                          <f:facet name="showRunning">
                            <af:panelGroupLayout id="pgl7">
                              <af:panelHeader text="One moment please" id="ph3"/>
                              <af:progressIndicator id="progressIndicator" value="#{CombinotaExportBean}" partialTriggers="poller">
                                <af:outputFormatted styleUsage="instruction" value="Data is being collected..." id="of1"/>
                              </af:progressIndicator>
                            </af:panelGroupLayout>
                          </f:facet>
                          <f:facet name="showReady">
                            <af:goLink text="Click to download file" id="gl1" partialTriggers="poller" destination="#{CombinotaExportBean.downloadFile}">
                              <af:clientListener type="click" method="closeProgressPopup"/>
                            </af:goLink>
                          </f:facet>
                        </af:switcher>
                      </af:dialog>
                      <af:clientListener method="downloadDialogCanceled" type="popupCanceled"/>
                      <af:serverListener type="downloadCanceled" method="#{CombinotaExportBean.downloadCanceled}"/>
                    </af:popup>
                    </af:panelGroupLayout>When I start a new Thread in my serverside CombinotaExportBean.startDownload method, it works because then that method returns while the server is still processing. However then I have problems with quering my RowSetIterators, they start throwing NPE's. Multithreading is evil in webapps I guess.
    So how can I do this in one thread? How can I make sure my popup shows first, and my poller keeps polling while the server collects data?
    with kind regards,
    Gerben

    Hi Frank,
    Thanks for your suggestion. In my current implementation I'm basically using a animated image, because I'm now using the ProgressIndicator without BoundedRangeModel and then it just shows a running clock.
    However, in my case its quite easy to monitor the progress on the server thread. So I thought this is the typical use case for a real ProgressIndicator. Unfortunately I can only find 10g examples of the progress indicator and I dont get the 11g progressindicator to work like that. So what I am curious about is, if a typical ProgressIndicator use case is any different. And if there's any example of it, with or without the usage of the poller.
    I already found the answer to part of my question. If I set noResponseExpected to the serverevent, the client event finishes and is effective immediately, before the server event is finished:var source = event.getSource();
    var customEvent =  new AdfCustomEvent(source, "startDownload", {}, false);
    customEvent.noResponseExpected();
    customEvent.queue(true);with kind regards,
    Gerben

  • Some process cpu usage too much!!

    I have many problem when update Mountain Lion.
    some process are too much usage cpu .
    iMac Processor : 3.4GHz Intel Core i7
    Ram : 16GB 1333 MHz DDR3
    Problem Process:
    -  safari web content.
    -  image capture extension.
    -  mdworker 
    There are usage too much cpu , so iMac too slow!!!
    Please solve it .

    I have the same problem here, my MacBook Air barely goes to 60ºC while doing normal tasks, but as I edit video in iMovie (or even just letting iMovie open without doing anything) is gets near 100ºC because my CPU load is always very high!
    Can someone explain this?

  • Relation between IPC & Portlet Asynchronous rendering

    Hi,
    Can someone explain the relation between IPC & Portlet Asynchronous rendering.
    In the below URL, its written " IPC is not supported when asynchronous content rendering is enabled "
    But, when I go through the article below, its given that with IPC, portlet contents can be rendered asynchronously using custom event handling.
    http://blogs.oracle.com/gmurnock/entry/portalaware_xhr_and_ipc
    I'm bit confused here & need support in understanding with the help of suitable examples.
    Thanks,
    Uttam

    Hi,
    Thats the reason its not clear to me what does it mean by the statement " IPC is not supported when asynchronous content rendering is enabled "
    mentioned in the URL http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/performance.html#wp1028016
    But, to my understanding AJAX & IPC can be achieved between portlets only by making entire desktop property as Asynchronous on which these portlets reside, but not by making portlet property as asynchronous.
    Also, if I need to make only the contents of portlets refreshed (through AJAX) instead of entire portal page refresh, I've to make all the desktops property as asynchronous on which these portlets functionality appear.
    Please correct me if my understanding is wrong anywhere?
    Thanks,
    Uttam

Maybe you are looking for

  • Ability to view multiple files in ONE window

    I can see here that this is not a new topic really but the thing with Acrobat 9 is so frustrating that it is just unbelievable. This is another pearl: Acrobat 9 "lost" its predecessors ability to view multiple files in ONE window. After opening four

  • How to browse a local PC directory and filename in Forms 10g?

    I am adding a Text Item and a Push Button. When the Push Button is pressed, I would like to select files from the local PC on Windows XP. What is the code that is required in order to select folder and filename and pass the value to a Text Item?

  • Unable to process the interactive fetures of adobe forms

    Hi Experts, I have deleoped interactive adobe form which is incorporated with webdynpro. I can able to access the interactive fetures till yesterday.Now i am getting the SOAP error when i am applying the interactive features like fillable and dynamic

  • Various consistency checking reports available for New GL?

    Hello dear colleagues, May I ask you for your expertise, please. Situation: We have a lot of report for checking data consistency. FI - MM with RM07MMFI FI - FA with RAABST02 Quesition: Do you know if we have these reports available for sitution in N

  • Cold Failover on Linux

    Hi, I need to build an active/passive cluster for an Oracle database. I'm using OEL 5 upd 3 64 bit and Oracle 11.1.0.7 for the database. I have a SAN so the database files will be shared by the two nodes. I do not have RAC for this environment (no li