ChangeEventPolicy vs partial triggers - are they mutely exclusive?

Under section 24.4.3 of the 11.1.2 Fusion Guide, the guide has the following to say about the changeEventPolicy property:
"When you create a form, setting up PPR to work for all the components in the form can be time consuming and error prone. To alleviate this, you can set the changeEventPolicy attribute to ppr on value bindings. Doing so means that anytime the associated component’s value changes as a result of backend business logic, the component will be automatically rerendered. You can also set an iterator binding’s changeEventPolicy to ppr. When you do this, any action or value binding associated with the iterator will act as though its changeEventPolicy is set to PPR. This allows entire forms to use PPR without your having to configure each component separately."
Fair enough, this property can save us setting up our own partial triggers.
What isn't clear to me, is are they mutely exclusive? If changeEventPolicy is set to PPR, can we/should we still use partial triggers on the same page? I ask because I know it's easy to accidentally setup a circular partial triggers scenario which causes the application to break, so presumably with a combination of changeEventPolicy=PPR and partial triggers the same problem can occur.
Does anyone have any opinions or advice to share please?
Thanks,
CM.

changeEventPolicy=ppr affects only fields that are databound to binding attributes associated with this certain ppr'ed iterator.
If you have other UI components that are dependant on some databound fields but do not bind to such, they will not be notified of changes unless they point to them using partial triggers. This usecase still requires partial triggers.
One will also need to use them and change changeEventPolicy to none if he or she has some advanced field dependency where some fields have require update only after certain field is changed or in a specific order.
Change event policy also alters other behaviours significantly. I am not sure if this is what should happen, bet if you have a form for a record including some af:selectOneChoice components bound to required attributes, ADF will warn user about them after EACH edit of any field that binds to a PPR'ed iterator. Let's say you have 4 af:inputText's and 4 selectOneChoice's. User gets 4 messages 4 times - after each inputText loses focus. And each of the messages will warn about 4 fields (soc'es) that "must have a value". This is certainly annoying to users.
There are many more cases where changing changeEventPolicy to none solves mysterious problems - dependant LOV's, showPrintablePage or other "operation" behaviours.
And yes, ppr'ing everything imposes notable impact on performance. Though I can't prove it easily, but it really feels different on weblogic instances running in slow machines (say 4 years old laptop).

Similar Messages

  • Intel HAXM and Hyper-V are they mutually exclusive?

    Hi all,  if you have Intel virtualization turned on and HAXM installed it appears that Hyper-V won't install.  And, if you have Hyper-V installed you cannot install HAXM as it says that virtualization is turned off or is not present.
    http://stackoverflow.com/questions/13285682/android-sdks-intel-haxm-disabled-after-installing-hyper-v
    Is Microsoft aware of this and if so do they care?  I know that developing for WP8 is great.  But I also like to develop on android.
    Thanks, -ja

    >Is it possible to get an Android Virtual Device to run on Hyper-V? 
    I don't do Android development, but if there's one that runs on an intel
    x86 processor, then maybe.
    >Can I get Windows phone emulator to run on Genymotion/VirtualBox? 
    I believe so, googling windows phone emulator and virtualbox, you get a
    number of how-tos.  I haven't tried to do it personally though.
    >Or if I have HAXM running on another machine on the network with WP Emulator/Hyper-V running on my main dev box can I remote into the networked Emulator?  
    I don't know HAXM at all, you'd have to ask the developers of it, but I
    know you can do it the other way around.  Access a Windows Phone emulator
    running on a machine with Hyper-V.  It's a bit tricky to set up but it
    works.  Not sure Visual Studio could use it directly though.
    Bob Comer

  • Partial triggers not Fired on partial submit when invalidate component

    Can somebody tell me why Partial triggers are not Fired on partial submit when invalidate component in the validator. Neither error message next to the component is displayed.
    Does somebody has an idea how can i solve this?
    Thank you very much in advance

    Hi, that is a test case which i have promised you:
    The .jspx page contains two fields , one of which has autosubmit = true; You will see, that when invalidate test field 2 partial triigers on field 1 are not fired neither faces message next
    to the field 2 appears.
    If you add programatically Field 1 and Field 2 partial trigerrs this solve the problem.
    I'm waiting for your response.
    Regards,
    Krasi
    <?xml version='1.0' encoding='windows-1251'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1251"/>
    <f:view>
    <afh:html>
    <afh:head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1251"/>
    <title>pprTest</title>
    </afh:head>
    <afh:body>
    <af:form>
    <af:panelLabelAndMessage label="Test Field 1">
    <af:outputText binding="#{testBean.testField1Comp}"
    partialTriggers="testField2"/>
    </af:panelLabelAndMessage>
    <af:inputText label="Test Field 2"
    id="testField2"
    autoSubmit="true"
    binding="#{testBean.testField2Comp}"
    partialTriggers="testField2"
    validator="#{testBean.testField2_validator}" />
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import oracle.adf.view.faces.component.UIXInput;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.adf.view.faces.component.core.output.CoreOutputText;
    import javax.faces.application.FacesMessage.Severity;
    public class TestBean {
    private CoreOutputText testField1Comp;
    private CoreInputText testField2Comp;
    public TestBean() {
    public void testField2_validator(FacesContext facesContext,
    UIComponent uiComponent, Object value) {
    // If input equals "invalidate" set value of the
    // testField1Comp on "Component is invalid"
    // Invalidate input and add an error message
    if (((String)value).equals("invalidate")) {
    testField1Comp.setValue("Component is invalid");
    invalidateInput( (UIXInput)uiComponent,"TestField2","Test Field 2 is invalid!");
    // If input not equals "invalidate" set value of the
    // the testField1Comp on "Component is valid"
    else{
    testField1Comp.setValue("Component is valid");
    //Dynamic adding of the partial targets , solves the problem
    // with losing of partial triggers
    //AdfFacesContext.getCurrentInstance().addPartialTarget(testField1Comp);
    //AdfFacesContext.getCurrentInstance().addPartialTarget(uiComponent);
    public void setTestField1Comp(CoreOutputText testField1Comp) {
    this.testField1Comp = testField1Comp;
    public CoreOutputText getTestField1Comp() {
    return testField1Comp;
    public void setTestField2Comp(CoreInputText testField2Comp) {
    this.testField2Comp = testField2Comp;
    public CoreInputText getTestField2Comp() {
    return testField2Comp;
    public static void invalidateInput(UIComponent uiComp,String compName, String message) {
    showErrorMessage(uiComp , message);
    if (uiComp instanceof UIXInput){
    ((UIXInput) uiComp).setValid(false);
    public static void showErrorMessage(UIComponent component, String message) {
    showMessage(component, message, FacesMessage.SEVERITY_ERROR);
    private static void showMessage(UIComponent component, String message, Severity severity) {
    String compId = component.getId();
    FacesContext ctx = JSFUtils.getFacesContext();
    FacesMessage facesMessage = new FacesMessage(
    severity, component.getId() , message);
    ctx.addMessage(compId,facesMessage );
    }

  • Partial triggers doesnt work with Geo maps

    Hi All,
    Partial triggers are not working with Geo Maps.In dvt:map, PartialTriggers , when i select a table/command button from edit option,Field shows Red Mark, throws "Reference not found".
    What could be the reason ??
    Please help
    Thanks
    Sandeep.G

    Hi Priya ,
    See selectoneradio
    "The rule is that you cannot set at the same level the properties render and partialTriggers."
    Remove the partialTrigger from the inputText field, surround it by a component, f.ex. a panelHorizontal where you put the partialTrigger.
    It should then work.
    Regards,
    Didier.

  • Not all the speakers are working but they are not muted

    volume level is not very loud,  you can hear it but it is not very loud. i have tried raising the volume through the mixer and it shows levels at maximum volume but out of the four bars shown only two actually have sound and the other two are not muted they just show maximum volume but don't work.  i have gone in through the control panel and i just can not figure out what the problem is!

    Welcome to the Forum.
    This is for Windows 7 - Vista setup is probably very similar, though getting to the menu may be slightly different.
    First, Find your Sound Icon in your Task Bar -right click on the Sound Icon
    Sound --> Playback --> Properties --> Enhancements
    Note the Example below shows Enhancements "Disabled".
    You can "UNCHECK" that box, and select "Loudness Equalization"
    to try that as a means to fix your "low" sound issue.
    You will read two schools of thought on the Forum on this setting: "Enhancements"
    1. Setting "Enhancments" --> Loudness Equalization will improve sound and balance music from one song to the next
    2. Leave "Enhancements" Disabled, including the Loudness Equalization setting
    Disable OR Select "Loudness Equalization" and click OK
    Try it.  See if it works.
    If it works, you are done.  If not, then UNDO the change, and continue below:
    The next thing to consider:
    Windows 7 has a "Feature" that turns down the sound when you use your PC to make a phone call.  Unfortunately, it appears that this feature can activate at other times and soften your sound when you don't wish to do so.
    Possible Workaround:
    Sound --> Playback Devices --> Communications
    Select "Do Nothing"
    Click OK
    You will probably have to reboot for this one to take effect. 
    It works for some people, not everyone.  No guarentees.
    Last Tip:
    Make sure all drivers are up to date.  Out of date drivers can get in the way of good performance.  Which drivers you need depends on your system model and your operating system (Windows 7 32/64bit, Vista...).  If you have HP Support Assistant (the latest version on your system, it's easy to get to your software and driver page.  Ask if you need help to update to the latest version of HP Support Assistant...
    Hope this helps.
    Good Luck!
    Kind Regards,
    Dragon-Fur

  • What are these grey areas on or with blue regions ? no they are not muted.....

    I am confused there are these grey areas on or adjescent to blue regions I am not understanding why these are grey.....I can hear them they are not muted but
    not able to split them.....although can make the loop shorter by dragging.....plz help.sorry for a bad pic.

    Hi
    They indicate that the 'parent' region is looped (ie repeated)
    CCT

  • I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    ... I didn't know that Time Machine was more a last resort back up instead of main back up.
    Don't rely upon Time Machine to the exclusion of all else. I compliment Time Machine with a periodic "clone". TM is much better than nothing, but it's a safety net, not a hammock
    Here is my understanding of Time Machine's file deletion algorithm, distilled from Pondini's FAQ, Apple's KB articles, and my own observations.
    Time Machine deletes ("thins") files from the backup disk as follows:
    Hourly backups over 24 hours old, except the first backup of the day
    Daily backups over 30 days old, except the first backup of the week
    Older backups get deleted when Time Machine requires space and you deleted them from the source disk.
    Therefore, assuming TM has been performing at least one backup per day, backup files will remain available:
    at least thirty days, if they existed on your Mac for at least a day
    until you run out of space, if they existed on your Mac for at least a week
    In addition to the above, Time Machine always keeps one complete copy of your source disk so that the entire volume could be restored if necessary. Any files that remain on your source volume will be present on the TM backup, no matter how old they are.
    If you are using 250 GB of space on your source disk, its Time Machine backups are likely to require at least twice that much. A good estimate of the minimum required backup volume size would be about three times the size of your source disk - 1.5 TB in your case.
    A more thorough explanation would require Pondini since he has plumbed Time Machine's mysteries far more than I have.
    http://support.apple.com/kb/HT1427

  • I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files the error message is  could not be opened. The movie's file format isn't recognized. "  Any help or are they corrupted

    I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files, the error message is  "could not be opened". The movie's file format isn't recognized. "  Any help or are they corrupted?

    Sounds to me like the file is probably corrupt. If you had hard drive corruption or damage, that could easily result in recovered files not being fully intact. If you were trying to recover accidentally deleted files, it's possible they might have been partially overwritten before recovering. There are never any guarantees with file recovery.
    Without more information on the circumstances that led you to try recovery, it's hard to give advice on what to try from here. You could always try another file recovery tool, like Data Rescue 3. Just be sure you're taking appropriate precautions when doing recovery. See Recovering deleted files.

  • What are Built In's in Oracle forms. Are they like built in trigggers. how

    What are Built In's in Oracle forms. Are they like built in trigggers. how r they different from triggers which r also bulit in.
    thanks

    a trigger is something, which runs, when an event fires.
    a built-in is like a function or procedure, which helps you doing your work.
    e.g.
    go_block ('myBlock'); - navigates to the block
    execute_query - starts a query
    exit_form -ends the form
    you can's compare triggers and built-ins. They are totally different.
    In a trigger you can use built-ins to establish a functionality

  • Partial triggers between two different jsff

    hi is it possible to obtain the information from the table in one jsff page in another jsff page thro partial triggers..........
    (i.e) we have the read only table in one jsff page and we need to obtain the information of the row into another jsff page which has a form....
    Both the fsff pages are in the same jspx page with different task flows

    Hi,
    this seems to be a duplicate of displaying content from table in one jsff to form in another jsff page
    Frank

  • Only partial songs are downloaded from Itunes Match

    Only partial songs are downloaded from Itunes Match, they stop and go on to the next song.  Any ideas?

    I too had this issue. On the Downloads screen in iTunes simply uncheck the box at the bottom left that says "Allow simultaneous downloads". Next, delete any of the affected songs from your library and then re-download them from iCloud and songs should no longer abruptly cutoff or jump to the next song.

  • I went on to itunes to sync my ipadhd and wound up syncing it to the ipad1.  Help I lost all my pictures.  Are they anywhere that I can find them.  I am so upset.

    I went on to itunes to sync my ipadhd and wound up syncing it to the ipad1.  I lost all my pictures on the HD.  Are they somewhere I can find them and restore them.  It is very upsetting.
    Thank you,
    Sharon

    There are several ways. iCloud is partially live, at least in the US, so if you are in the US and have the latest version of iTunes on your home computer, start up iTunes, click on the Store button in the list on the left side of the screen, and on the right side of the iTunes store screen look for Purchased (there will be an orange New! tag next to it). You can (re)download any songs you've bought from your account on any authorized device you own. IOW, buy with your iPad, download later with your iMac if you don't feel like syncing with your iPad.
    If you have a wireless network at home you can using filesharing to connect the two computers and copy the songs from the notebook to the desktop. My wife has a corporate DropBox account and she just copies her new songs into the DropBox and grabs them when she's at home. I have a history of forgetting that I've downloaded songs on my notebook or at work so I always immediately copy them to my flash drive. So there you go - lots of ways to do what you want.

  • I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users.  Why are they in the libary and not in the itunes music folder. Win 7 OS

    I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users.  Why are they in the libary and not in the itunes music folder. Win 7 OS.  When I look in the library under the get info screen it says they are in the folder itunes music, under the c: drive but when I actually go to that folder to look for them they are not there....HELP!

    Hello RumDog,
    I think this article will help you find the media in your library.
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Discovering and changing the iTunes Media folder location
    Note: You would usually only change the iTunes Media folder location to share music between accounts on the same computer. See this article for specific steps on how to accomplish this. Also, see this article if you want to know how to move your music to a new computer.
    Mac OS X: Click the iTunes menu and choose Preferences.
    Windows: Click the Edit menu and choose Preferences.
    Click the Advanced pane. iTunes displays the location of your iTunes Media folder.
    You can then:
    Note where your media folder is, such as for backing up your media.
    Use the Reset button to reset it's location to the default (which is the iTunes folder).
    Click the Change button to select a folder for a new location. Once you change this location:
    If you make a new or alternate iTunes library, the new location will be used by that library.
    Existing files will not be moved unless you choose File > Library > Organize library and choose the option to "Consolidate files."
    From: Where are my iTunes files located?
              http://support.apple.com/kb/ht1391
    Cheers,
    Sterling

  • Are They Doing Away With The Mini?

    Okay, im not sure if im the first one to notice this but did anyone else see that the iPod store dosent even sell accessories for the Mini anymore? Are they trying to eliminate it all together? They should realise that some of their first customers before this iPod craze started still have them!!! Im really frustrated with the company, if anyone knows some good sites to find iPod Mini accessories EXCEPT ebay.com(ive been there 100 times) let me know. I have no intention of changing to the new and improved iPods because i love how mine is different.. some changes need to be made so that everyone that has an iPod can have some options!
    Who Knows   Windows XP  

    I went to The Apple Store http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore/
    Towards the bottom of the page is a link to allow you to "Shop by iPod Type". Click on that.
    You should see the newer iPod models at the top. Find your mini further down on the page and click on it. The Apple Store appears to have 188 iPod mini accessories for you to choose from.
    Look for iPod accessories at places like j & r .com, amazon.com, macmall or dozens of other online outlets. Most local stores don't carry the older iPod accessories, or at least, not many accessories to choose from. It seems to be the common business model for hardware companies to try and make money from recent purchasers.

  • Apple Midi loops... where are they located on my computer?

    Hello -
    I'm wanting to use the Garage Band midi loops in other audio programs. Where can I find them on my computer? I have no problem locating to .aif loops, but the midi loops are very well hidden. Are they even accessible? Any tips, hints?
    thanks,
    Derek

    Are you talking about Photostream or are you just talking about importing your photos to your computer for safe storage? A sync does not do anything with photos in the Camera Roll. Syncing of photos goes in the other direction from the computer to the phone. The act of moving photos from the iPhone is an import, using whatever photo software you have on the computer, such as the Import utility for Windows computers and iPhoto for the Mac.

Maybe you are looking for

  • Upgradtion doubt in calling cl_gui_frontend_services= file_open_dialog

    hi,     Im upgrading from 4.5b to ecc 6.0 in the following code the export parameter  Default extn parameter in the call method cl_gui_frontend_services=>file_open_dialog does not get displayed i,e *.xls should be there bydefault it is not there in 6

  • Problem with printing ever since I've changed the yellow cartridge ink

    Hello, I have the new printer - HP Ink Advantage 3525 that was working great. I got a message on my PC which says that I need to change the yellow cartridge one, so I did it very easily, but even since I get tons of problems with my printer. The comm

  • Ipod IOS Doesn't Turn On

    Hi I Have Had this iPod Seen Last year on September I Got it For the Wish Foundation But Its in Good Condition & I Bearly took it off because it was full battery and now It turn off & It won't turn back on I tried waiting to see if it turns on but it

  • User guide language

    My system is in french, so Logic X appears in french in my iMac. I prefer using the english version so I used Language Switcher to use Logic X in English. So far so good. The problem I have is when i launch the user guide in the help menu, it still a

  • 3D movement and collision queries

    I have a 3D box that I want to move a camera around the inside of, using mousedown on sprites. I want the camera to pan left/right, pan up/down, and move in/out (to replicate a zoom). I have a bit of script where I set up the 3D environment, and belo