Various components double-render/double-encode on save!!

Hi.
I am in urgent need of assistance.
I am trying to develop an ADF/BC-JSF app in 10.1.3.4 JDeveloper.
I am encountering an error where, when I commit or rollback, various ADF Faces UI components on my page render/encode twice. Also sometimes on panelForms the labels get misaligned with the data fields.
There does not seem to be any error associated. I have all the logging and debugging I know about turned on.
This behaviour seems to be be related to doing inserts.
Has anybody seen this behavior before?
Michael F.
Edited by: Michael B. Fons on Aug 26, 2009 4:22 PM

Thank you, Timo, for your helpful response...however...
Actually it turned out to be...
Rule of thumb: be careful of using af:forEach in af:table rows to generate the options of a select list. Much safer to use getter to get a list and plug into value of f:selectItems (plural), than to use f:selectItem (singular) and use af:forEach to iterate over. af:iterator might work instead of af:forEach, too, but I am not sure.
Also mixed in with this was using forEach's varStatus property...something I have had bad luck with in the past.
Basically what was happening, was this forEach was not even on a part of the screen that was getting rendered, but it was causing components to render multiple times and get all mixed up. Pretty hard to track down.
So in this particular case I would get this doubling when I used the following inside of an af:selectOneChoice...
<af:forEach begin="1"
end="#{bindings.ListContCaseDiagIterator.estimatedRowCount}"
var="priorityRow"
varStatus="priorityLoop">
<f:selectItem itemLabel="#{priorityLoop.index}"
itemValue="#{priorityLoop.index}"/>
</af:forEach>
...instead of using someting like the following...
<f:selectItems
value="#{CaseDemographics.priorityList**bindings.ListCaseDiagIterator.estimatedRowCount**}"/>
The use-case for this problem was a bit odd, but nothing too bad...
(Pardon the use of ** when I meant [ ... the trouble is a square bracket gets interpreted as a link reference, so I used ** instead.  This syntax is a trick Steve Muench had, related to using HashMaps in the backing bean and overriding the get method.  I had the get method return a select list and it took the integer within the square brackets as a parameter)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to get the information of various components in a webpage

    I am getting the Document object of the webpage using JRex.
    When I hit any site eg. www.yahoo.com then JRex returns the Document object of the corresponding document. Now I want to retrieve the information of various components of that webpage.
    Eg. button tag is there on the page. For different webpages it can be at different place in the pages. So how can I get the information of different different components on the page..
    Please guide me in this as I dont have any idea regarding this.

    I am getting the Document object of the webpage using JRex.
    When I hit any site eg. www.yahoo.com then JRex returns the Document object of the corresponding document. Now I want to retrieve the information of various components of that webpage.
    Eg. button tag is there on the page. For different webpages it can be at different place in the pages. So how can I get the information of different different components on the page..
    Please guide me in this as I dont have any idea regarding this.

  • Why are Image Export Sizes Doubled when using Save vs. SaveForWeb&Devices?

    Hi Folks
    Maybe I'm missing something here ...
    I have 2 versions of an action I use to batch process images. One uses the Save As dialogue and the other uses SaveForWeb&Devices. However, the image sizes created using the latter are about 50% smaller than those created with the former. The two actions differ only in the Save step - I duplicated the original and swapped the save step in the action.
    Is SaveForWeb&Devices usign a more efficient optimisation algorithm or am I missing something?
    The reason for using the Save As dialog is that Batch Processing is able to override the save location, whereas I had trouble overriding save location in a batch process which used an Action that Saved using SaveForWeb&Devices.
    Cheers
    Richard
    P.S. I also find this size doubling takes place when using the Image Processing script supplied with PS. I'm on PS5 on OSX10.6.8.

    SfW throws out redundant custom data, when the normal JPEG save does not. Using the normal save e.g. also retains clipping paths (10 years ago people used that al lthe time for print stuff) and of course also more info on color management, user metadata and what have you. Therfe may bne more specific optimizations in SfW, but that's something Mr. Cox can probably answer better...
    Mylenium

  • Bug? HttpService double encodes ampersand entities

    Hi,
    i am a bit surpriced, that i didnt find anything about it. Maybe I do something wrong.
    If i load a xml file from the server with the HttpService, i get the xml file with all Ampersand signs "&" converted in "&amp;" despite its already part of "&amp;".
    So if i load a xml like:
    <xml>We &amp; You</xml>
    HttpService converted the xml to:
    <xml>We &amp;amp; You</xml>
    Usually I use flash to update the xml-files and save them on server. After some savings i get results like:
    <xml>We &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp; You</xml>
    The way i load the files (short version):
    var service:HTTPService = new HTTPService();
    service.method="POST";
    service.resultFormat="e4x";
    service.url = "...";
    service.send();
    The only way i see is to clean up the loaded xml from " &amp;amp;" to " &amp;" which sounds wrong.
    Do you know that problem? Do you have any ideas?
    ty Jan
    PS: I use a proxy (Service Capture), so i can see the message comming from the server is still with a simple &amp;. If i look at the message.body of the result of the HttpService event i see the ampersand entitie already converted in &amp;amp;. So I conclude a bug in the HTTPService Class.

  • Premiere Pro CC won't render and Encoder freezes at 50%

    I'm trying to render a multicam project.  Up until 2 days ago, I could render projects out fine.  Now, if attempting to render with Premiere, the project stays at 0% indefinitely.  If I queue the project in Encoder, it gets to 50%, then just stops any progress in the render but continues to count the time elapsed.  I recently added a Samsung printer to my computer, so I uninstalled all of those pieces of software but still the same results.  The project was created on the previous version of Premiere before the latest update to CC.  It created a new save file and the project opens up fine, with all other functions still available.  
    I'm running on a Intel Zeon 3.47GHz processor, 14GB ram, gpu acceleration card, 2 gig video card.
    Any ideas would be appreciated.  Thanks in advance.

    The benefit's of two pass are dubious, at best.  I recommend bypassing that second pass and just go with one pass encoding.  It's faster and chances are no one would be able to tell any difference.  (Plus, it'll probably work.)

  • Multiple (Legacy) Blur Effects plus various opacities cause file to crash upon Save. What to do?

    We have to work with designers' files and we have some that have many layered objects that use Gaussian Blur effects created in CS5 (we're in CS6), plus various opacities, opacity masks, etc. Pretty much the kitchen sink. The files can't be saved except by using the most powerful Mac in the office. I have a Quad-Core processor running Snow Leopard, with 6 GB of RAM, and it's not enough. Any tricks? Perhaps saving without Use Compression or something?

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • H.264 encoding time saver

    I don't know if this has been discussed elsewhere, and I don't know if everyone reading this will go, "well duh!" but I discovered something last week that made a big difference in how long it takes my system to encode H.264 files.
    I have a lot of clients who want their videos on YouTube, which is why I create a lot of H.264 files.  Usually, in my Media Encoder H.264 settings, I select the YouTube SD preset (all my video is SD), which works very well.  But by making a simple tweak to the preset values, I cut the encoding time in better than half.  The preset has a frame rate value of 30 FPS.  Changing that value to match my video (29.97 FPS) made all the difference in the world.
    I have a 3:12 project that consists of simple cuts.  No transitions and no effects.  With the standard YouTube H.264 preset, this took 5:12 to encode.  By changing the frame rate to 29.97, the encoding only took 2:11!
    J. D.

    thanks for info !  Usually it is kinda normal that the workflow is just like you said...your project settings match the video "source" material. and the export matches the project settings ( as much as possible, as of course some things change ( size of frame ...maybe you have to go to interlaced or progressive etc) ..but generally frame rate is kept the same....
    once you get your settings good ( adjusting the default preset values ) you can then "save" that as your own new preset...customized...and then you dont have to keep changing it...you could label it MYH264-YOUTUBE-SD...or something ...

  • Premiere Pro CC Timeline render in and out save problem

    Hello,
    I have a problem with the save of the timeline. After I render the sequence in and out, I'm saving the project and close Premiere Pro CC. When I'm opening the project, the sequence isn't rendered. What should I do?
    I'm running on Windows 7 and I have Premiere Pro 8.1.0 (81) Build !  I found out that not just on this version of Premiere Pro CC this problem happens. Before I reinstalled my windows, I had Premiere Pro CC but I didn't have this problem, just after reinstall.
    Hopefully you guys can help me. I think I have to mention that sometimes when I change desktop icons position, after Windows restart they aren't in the same place.
    Thanks!

    I would be willing to bet the video is recorded as VFR, variable frame rate ... in other words, it creates more frames per second when it needs to for keeping up with screen changes, and less when it doesn't see much changing on your screen. This saves bandwidth of course, BUT ... PrPro is not setup to work well with VFR footage, it really needs CFR, constant FR. So ... highly recommended if your capture program doesn't allow setting CFR is the free program "Handbrake", which you can google for. Use that to convert the footage to CFR, then import that into PrPro.
    Neil

  • Is it really unnecessary to render before encoding? Rendering makes the result brighter?

    Amateur Doug here.
    I remember reading that the Adobe Media Encoder will render when making its product, and therefore I don't have to render first on the timeline.
    But I always get a littler nervous when I see my timeline still unrendered after encoding.
    So I did a test and the h264 that was made from a timeline that I rendered first was brighter, not clearer but brighter.
    Am I seeing things?

    Do the same test with colour bars and look at the export on the wfm scope in Premiere, this will give you definite results.

  • Objects Distribution at various components

    hi,
    we have a requirement in which mapping objects and interface objects are created in diff Software Components.
    for example against a requirement we are creating mapping objects in one software component say XYZ and interface objects corresponding to this requirement in different component say  ZXY.
    In configuration part we are integrating objects at different components in to one scenario,
    what we implement may be performance bottleneck ,as XI engine need to switch between componnets for executing the configuration scenario.
    like if message mapping is allocated in one Page of 64k against a component and coreespoding data type Software Component in other page then engine needs to fetch this scattered data at runtime which will eventually reduce the performance.
    can i through any inputs on our analaysis,is it recommended to use different components for storing parts of interface object and mappings against one scenario.
    how XI really treats these Software components at runtime
    Thanks & Regards,
    Rama Krishna

    Hi Ramakrishna,
    The approach mentioned used by you is a good approach. Infact it is one of the best practises.
    This can be used when there are different source and target systems. The interface objects specific to source are placed in one SWC and those of target are placed in a different SWC. (Like data types, message types, message interfaces, RFC and Idoc structures etc). The interfafce objects which are common to both source and target are placed in a separate SWC.(Like message mappings, interface mappings etc.) In ID however all these are used in a single configuration scenario. This is a standard practise and it is recommended. I cannot however comment on the performance bottlenecks which may arise because of such an approach.
    Following such an approach will however increase the comlexity from a developer's point of view. For ex, in a message mapping, the source structure will be from a particular namespace and the target structure will be from a different namespace. But I also believe this approach will increase the reusability on some of the objects.
    Regards,
    Divija.
    Edited by: Divija KN on Dec 20, 2007 1:50 PM

  • Can Drive Type Affect Render and Encoding Speed?

    The title pretty much says it all.
    A client gave me a G-Drive (FAT32) with the video files on it. I'm using a PC (NTFS) with the G-Drive connected via eSTAT.
    It seems to be taking a very long time (nearly four hours) to encode a 48-minute video that has no color corrections, no FX, no nuthun. I'm encoding to MP4 360p.
    Is this normal? Is the G-Drive part of the slowdown?

    Jay,
    An eSATA drive is equally fast as an internal SATA drive, but just as with internal disks, there are large differences in drive performance, for instance the latest Seagate Barracuda ST2000DM disks achieve transfer rates of 150 - 190 MB/s, but older generation disks may achieve only 80 MB/s. So the question is what disk is mounted in that G-drive, that can tell a lot about its speed.
    The second thing is that currently it is formatted as FAT32. While this is certainly not as good as NTFS, you may have no choice but to leave it as it is. If that external drive is sometimes attached to a MAC it must be FAT32 formatted, because MAC does not support NTFS without going through serious hoops.
    Third, the export size is dependent only on duration and bitrate. Framesize is irrelevant. Size = (number of frames) x (bitrate per frame).
    Last, the Q6600 is a pretty slow CPU today. Most of the Q6600 systems in the Benchmark Results are around 10 - 20 times slower than a fast system. If your system takes around 240 minutes to encode a 48 minute timeline, imagine a 10 times faster system requires only 24 minutes. That is two times faster than real time.
    I'm not surprised by your results.

  • Why doesn't the Firefox print window not provide a double-sided printing option?

    My HP printer is capable of printing double-sided, which saves paper, but the Firefox Print Window does not offer a double-sided printing option. (I recently switched from IE, which did.) Do I have to do something to add it?

    Can you post a screen shot of what you're seeing?
    The relevant print options for your printer appear under Properties AFTER you click the Print button and select the printer to be used.

  • Media Encoder, No File Save Dialog with New XDCam Project

    I've started a new project last night and I got it edited toda
    y. It's XDCam 24P timelines, very simple linear
    string of short 45 second clips of interviews with executives.
    The timeline behaves normally in every respect. Except, when I attempt to render it to any format in Media Encoder, I never get the File Save As dialog. I press OK and the Media Encoder settings goes away, then, a second later, reappears. It took me a few moments to realize something was wrong.
    I rebooted the computer, thinking Premiere was just corrupt in memory, as sometimes happens, but after a fresh start, the same behavior with the Media Encoder. Now I'm really worried, because this is a corporate event video with a deadline.
    Just to check, I tried opening a prior project and tried to render anything in that project. This time I get the Save As dialog, which is expected. So I return to the corporate event project and try again to render anything within that project. The encoder settings keeps redrawing when I press OK and I cannot save anything.
    Thinking my project was corrupted, I copied the assets and made a new project and pasted them into the new, blank project. Once again, I cannot render anything. All I get is a redraw out of the Media Encoder settings screen.
    This is a very simple project. There is nothing unusual about it that could cause this freakish behavior, except the lighting used at the event was mostly yellow. Apparently it doesn't like something about my footage, but I cannot re-shoot this one-time corporate event! If a reboot didn't fix it, and other projects still work normally, then it's a real head-scratcher. This is new behavior that I've not encountered in 3 years of using CS3.
    I'm out of ideas. If it's XDCam my footage, then I'm dead in the water here!

    FOUND THE PROBLEM!
    I have several timelines in the project, and most of them are titled things like "window dub w/timecode". I found one that was titled "interviews" and tried to render that. The Save dialog appeared, only when I rendered from THAT timeline. So I started to look for differences between the timelines.. then it dawned on me that all the timelines that don't render have the "/" character in the title. Adobe should warn that this character is not allowed, rather than allow it and then behave weirdly. Could have saved me hours of thrashing about!

  • Swing & double buffer

    Hello
    My English abillity is very poor ... sorry
    as I know Swing offer double buffer very easy and default
    I check My application is offer double buffer (I check use isDoublebuffered())
    and I draw my pic in JPanel
    paint(Graphics g){
    and I make update method
    update (Grphaics g){
    paint(g);
    but my application flash and flicker...
    How can I solve my problem?
    What I do solve my problem?
    plz help
    have a nice day

    paint(Graphics g){
    and I make update method
    update (Grphaics g){
    paint(g);
    }1. JComponent already has method update overridden to call paint -- you shouldn't override update.
    2. Don't override paint, override paintComponent instead, usually like this:
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        //do your painting here:
    }3. Swing components double buffer by default. You shouldn't have to use BufferedImages just to avoid flicker. Try to reduce your problem to a minimal example and post it.

  • Command prompt window script to automatically run adobe media encoder

    Does anyone know of a way to run adobe media encoder from the command prompt or batch file?
    I would like to automatically invoke a script, much the way I do for Adobe After Effects.
    (I do not mean batch encode from the software.)

    This sort of thing is quite easy to accomplish in Windows using Notepad and the keyword Start.
    You would type something like
    start amencoder.exe (although I don't know the exact full path and exact name of Adobe Media encoder).
    Save your text from above into notepad as a .bat file .
    I'm not sure how this would be done in Mac but I'm sure there are similar options using the Terminal.
    Why do you need to do this when you have an icon that can be double-clicked to invoke the program, by the way?

Maybe you are looking for

  • How can I set up different profiles (accounts??) using the credit card?

    Each member of my family would like to have there own itunes profile (or account??), but we'd like to use the same credit card. Is this possible? Does each family member need a unique email address for log in. Thanks Markoman

  • Error when running report using SDK

    Hi, I am getting following error when I am running a report  in boxi r2 sp3 on IIS. Infoview and CMC runs fine but SDK application is not able to connect to CMS. This error does not come all the time. It happens intermittently. Error in RetrieveRepor

  • How to use multiple ipods with one computer

    My 2 kids have an ipod touch each. How do I create their own files so that they do not have to have eachothers choices and games on eachothers device? As well, we have 2 iphones that are connected as well.

  • A problem on the screen

    My computer has a problem on the screen. After half an hour of use strange white glare that remain in the bottom begins to appear. When disconnecting the unit from one day to the next, but these glosses disappear within a half hour of use reappear. W

  • I need help installing Windows.

    I am trying to install windows XP on my Imac and when I go to make a partition it's converts it to FAT32 but I'm trying to install 32 GB on Windows then, I tried erasing the partition and making a new one with the NTFS file format but I get an error