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?

Similar Messages

  • How do you shut off the apps that are running? Before the update you hit the button twice then it would showing all the apps and u can then shut them off.

    How do you shut off the apps? Before update I just hit the side button twice then it would show all the apps. Then I would shut them off.

    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    View running apps.
    Double-click the Home button to reveal the multitasking display. Swipe left
    or right to see more. To switch to another app, tap it.
    Quit an app.
    If an app isn’t working properly, you can force it to quit. Drag the app up from the
    multitasking display. Then try opening the app again

  • How do you turn off Camera?

    In an AIR application, how do you turn off the camera once it has been activated? I remove all references to Video objects associated with the camera, unattach the camera from NetStreams, and remove references to the camera object. This does not deactivate the camera; it seems to be necessary to run the garbage collector too. The trouble is that running the program in the debugger with the manual garbage collector action causes the application to be unresponsive for >30 seconds, which is extremely annoying. Is there a simpler way to turn off the camera?
    For reference, I am testing on a MacBook that has an LED for when the camera is in use.
    EDIT:
    I have opened a bug for this, which Adobe appears to say is an enhancement.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3552765

    This is the most annoying thing on an otherwise awesome phone...can't take pics at my nieces school plays and stuff now. Blackberry Needs to fix this NOW! It is not illegal in the US to turn off your shutter sound....WTF Blackberry?!?

  • How will you turn off an IPhone 4S voice over with the latest IOS

    How will you turn off Voice Over in Iphone 4S? i tried turning it off through settings/accessability/voice over but when i turned it off it always go back to ON. It is very depressing to go over with this feature. Thanks.

    on your phone go to settings - icloud - find my iphone - off

  • HOW DO YOU TURN OFF "FIREFOX PREVENTED THIS PAGE FROM AUTOMATICALLY RELOADING". I did the "see Advanced - General - Accessiblity. and still having problems

    HOW DO YOU TURN OFF "FIREFOX PREVENTED THIS PAGE FROM AUTOMATICALLY RELOADING". I did perform the "see Advanced - General - Accessibility. It worked for me and my "user" site (don't know how to say my site) and still having problems with my wife's. I have gone to OPTIONS → GONE TO → ADVANCE and CLICKED THE LINE → ""Warn me when websites try to redirect or reload the page…""
    This did not rememdy the problem. I did try to get on the other site suggested
    http://kb.mozillazine.org/Accessibility.blockautorefresh
    but got a 404 error...
    I have googled the "ff prevented...." and after a number of hours searching I still have not found a fix...
    REALLY HOPE SOMEONE CAN HELP ME....
    JM

    You should still disable this setting:
    *Firefox > Options/Preferences > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    What is the value of the <b>accessibility.blockautorefresh</b> pref on the <b>about:config</b> page?
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    If you have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do you take off reseiving messages on multiple devices using the same apple account

    How do you take off reseiving messages on multiple devices using the same apple account?

    Go to Settings>Messages>Send and Receive on all but one device and add a unique email address on each device and delete the commone Apple ID email device
    If there is also an iPhone with iOS 6 associated with the Apple ID, uncheck the phone number on all but the phone.

  • How can you turn off the braille setting on an iPhone 4s, once on it won't let you slide the phone into use mode to change the settings or do anything?

    How can you turn off the braille setting on an iPhone 4s, once on it won't let you slide the phone into use mode to change the settings or do anything?

    An alternate method is Accessibility Settings when connected to iTunes. You should be able to turn it off there. I would also check out some of the answers listed to the right of this post and see if they can help.

  • How do you change the color of events on ICal.

    How do you changed the color of events on ICal? I was able to do this when I utilized ICal on the Snow Leopard system but can no longer do this with Lion.
    I know that I can select the Calanders list, but when I create a new "Calander" it doesn't allow me to choose a color and it doesn't show up in my list when working within an event.
    Thanks!

    Phoebe,
    Right-click on the new calendar and select "Get Info."
    Make sure that the ✓ mark is selected.
    Then choose the color from this pane:

  • Before I upgraded my iPad mini, you could turn off apps to save battery power by double clicking the control button and then holding your finger on the app button until the minus sign appeared.  That doesn't work anymore.  How do you turn off the apps wit

    Before I upgraded my iPad mini, you could turn off apps to save battery power by double clicking the control button and then holding your finger on the app button until the minus sign appeared.  That doesn't work anymore.  How do you turn off the apps with ios7

    Now you swipe downward, the app will appear and you delete, keep scolling to the right as in the past.  With the new operating system you also swipe downward to get the search bar to find an app

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • How do you turn off the pop up blocker

    How do you turn off the pop up blocker

    Hello karenlenore. You can turn on your pop-up blocker by following the instructions at this link. Let me know if this assists you or not. I'm only here to help!
    http://support.microsoft.com/kb/909604
    Mario

  • How do you turn off the Mac book pro monitor when using dual monitors?

    How do you turn off the monitor on the mac book pro and only see your second monitor?

    You close the lid and run in "clam-shell" mode
    http://support.apple.com/kb/HT3131?viewlocale=en_US

  • HT3529 How do you turn off the voice in auto correct when messaging?

    How do you turn off the voice when trying to write a message to someone?

    connot use the voice feature for composing message.

  • How do you turn off the special characters for letters?

    How do you turn off the special characters for letters? Where you hold down the key and it comes up with variations of the letter. For example ï í î ò œ å ß ł û
    It is very annoying when I try to play any online games. Thanks for the help

    Thank you so much It worked Thank you

  • How do you turn off the auto grid?

    How do you turn off the auto grid? I read in a forum that the solution is "View- show- turn off grid". But the weird thing is I had to have that website open to even get the alternative up under "View". If I didn´t, there were other alternatives there. Why?
    The second problem is, when I finally got the "Turn off auto grid" alternative up, it will not be unchecked…. I´m working on a mac.
    Thank you in advance!
    Jeanette

    View > Snap To > None.
    Nancy O.

Maybe you are looking for

  • Error in account coding

    While trying to do service entry, its giving a strange error like below: 'Error in account coding allocation' Anyone come across this type error before? I have checked the G/L account, in PO. Evrything is fine. This PO comes from the work order. Afte

  • JSP & XML

    I am trying to create an XML file via a JSP. I want to be able to take the user input and store it in an XML whihc can be appeneded. The problem is that I can take the user input and create the XML file but if the user tries again this happens: <?xml

  • I-MAIL. Can receive but not send. Suddenly outgoing SMTP will not function.

    I-Mail. Can receive mail but not send. Pass 2 wks. Outgoing SMTP server says I'm OFFLINE. Tried the following ----Mail, Preferences, Out Mail server, made sure it didn't say NONE. Hit edit, went to following page, typed my user name & passwd-----Stil

  • CTIOS ERROR

    Hello All, One of the agent in my customer environment is receiving below error in CTIOS Client. Please find the UCCE Environment details UCCE:10.5 Customized CTIOS CLIENT Any input on this would be really appreciated

  • Check printing with out bank details amount etc

    Hi Gurus, When I am running APP it is running perfectly when I am looking in own spool request I am getting the check details but in check column Bank Details XXXXXX Check Number XXXXXX  Void I am not able to get the check details