Dyanmic actions causing recursion issue

Hi all,
I've got two dynamic actions on two date fields (start/end). The dynamic actions are SQL functions that ultimately change the end date, if the start date is after the end date, and the start date if the end date is before the start date.
My issue now is that the dynamic actions are fired on item change. When one of the dates is changed, it triggers the other dynamic action...and the loop begins.
Here's the code for the start date action (reversed fields for end date):
DECLARE
  v_start_date DATE := to_date(:P1_START_DATE, 'dd-Mon-yy');
  v_end_date DATE   := to_date(:P1_END_DATE, 'dd-Mon-yy');
BEGIN
  IF v_start_date > v_end_date THEN
    RETURN TO_CHAR(v_start_date,'dd-Mon-YY');
  END IF;
    RETURN TO_char(v_end_date, 'dd-Mon-YY');
END;I know the issue lies with the last return, as this is executing every time the action is fired. Although when I remove that return statement, I get a ajax/server error "invalid month for set value" (or something like that).
Any ideas on how to stop this from happening?

Hi djston,
You can get around this by using a 'proxy' hidden field that holds the value set by the 'Set Value' action, then adding another action that copies that value over to your date items (without causing recursion). I described this technique in my response to a similar thread, Re: Dynamic Action infinite loop.
Hope it helps.
Anthony.

Similar Messages

  • Error message is not telling which field causing the issue!

    Hello
    I am developing the Adobe Interactive Form and launching this form from WebDynPro ABAP application, fine.
    This form has tonns of dropdown fields, mandatory fields, greyed out fields. Fine.
    I am filling the list the drop-down fields from webdynpro ABAP, but, i am filling list for only 80% of the drop-down fields, rest 20 % is not filling at all (bcz, business want to have those 20% dropd-owns on the form by thinking going further they require, this moment they dont need so they dont want to fill the lists)
    Now the form is launching on the browser, fine. But when user submits it i am getting the below erro:
    The Entered Value Is Not on the List of Valid Values.  (I am guessing this error is talking about the DROPDOWN fields only)
    I hv tonns of drop-down fields, so, its very difficult for me to go and trace each and every drop-down fielld!! But, i checked all the populated/entered values in the drop-down fields, they are all fine. Sone dropd-down fields are GREYED OUT, they are defaulted from webdynpro ABAP
    Pls. let me know How can know which field/drop-down is causing this issue? Wht are the possible causes for this error? Error is not telling which fields is making issue?
    How can i trace and how can i fix it, pls. let me know
    Thank you

    Thank you for your tips.
    But, as of my knowledge every thing (case sensitive, list box entries) are fine, not sure, why am getting this error! I will double chk again.
    But, thing is.... actually, i have 4 pages, depending on the logged in user, i will HIDE the pages (say, for me the 3 rd page will be hidden), i am hiding the pages by using JavaScript in the form.
    So, this error is not coming if i execute/launch all the 4 pages, but, its coming if i hide any page for any user!!
    By chance, do we debug to figure out which FIELD is CAUSING issue/this error?
    From where this message is coming, i mean, from the SAP's JAVA stack? Wht is the message ID and #?
    or is it Adobe's/Form's error?
    Thank you

  • My macbook pro keeps freezing and shutting off when I am browsing the web on Safari.  How can I figure out what is causing this issue?

    For the past few weeks my computer will slow down when I have been on Safari for awhile, then freeze, and then just go black.  I have to press the power button and then it goes to a black screen with the apple logo and a loading bar underneath when it reboots.  I'm not sure what is causing the issue, but on my previous mac it would have an error message if something like this happened that I could submit.  Any suggestions of where to start to solve this issue?
    Thanks!

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter "BOOT_TIME" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the BOOT_TIME log message that corresponds to the last boot time when you had the problem. Now clear the search box to reveal all messages. Select the ones logged before the boot, during the time something abnormal was happening. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    For example, if the system was unresponsive or was failing to shut down for three minutes before you forced a restart, post the messages timestamped within three minutes before the boot time, not after. Please include the BOOT_TIME message at the end of the log extract—not at the beginning.
    If there are long runs of repeated messages, please post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Some private information, such as your name, may appear in the log. Anonymize before posting.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A crash report has a name that begins with the name of the crashed process and ends in ".crash". A panic report has a name that begins with "Kernel" and ends in ".panic". A shutdown stall report has a name that ends in ".shutdownstall". Select the most recent of each, if any. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot. It's possible that none of these reports exists.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash or panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Could the replacement of a fan on a graphics card cause OS issues?

    [Dangit - I unintentionally posted this in the iMac forum first - meant to post it here]
    OK I suppose it's a bonafide long shot that my replacing of an intermittently malfunctioning fan on a graphics card could cause OS issues, but I've had something immediately crop up after the replacement (crippling issues with Logic's 32-bit audio unit bridge), and they effect older projects that were previously stable, so I figured I'd ask for the heckuvit.
    Repairing permissions hasn't helped - I'm just starting to ponder whether to reset PRAM, reset SMC, boot from an HD clone, try reinstalling the old fan, etc., in order to figure out the problem....
    BTW - the graphics card is an Nvidia GT120.

    Go out and buy an Apple ATI 5770.
    What requirements does Logic have for video, and are you still on 10.6.8?
    The GT120 is 512MB but low-end card.
    If you do need more performance:
    SHOOTOUT WITH THE 'SHARKS': Sapphire Radeon HD 7950 for Mac versus really fast alternate GPUs

  • Could simply replacing a fan on a graphics card cause OS issues?

    OK I suppose it's a bonafide long shot that my replacing of an intermittently malfunctioning fan on a graphics card could cause OS issues, but I've had something immediately crop up after the replacement (crippling issues with Logic's 32-bit audio uinit bridge), and they effect older projects that were previously stable, so I figured I'd ask for the heckuvit.
    Repairing permissions hasn't helped - I'm just starting to ponder whether to reset PRAM, reset SMC, boot from an HD clone, try reinstalling the old fan, etc., in order to figure out the problem....
    BTW - the graphics card is an Nvidia GT120.

    Go out and buy an Apple ATI 5770.
    What requirements does Logic have for video, and are you still on 10.6.8?
    The GT120 is 512MB but low-end card.
    If you do need more performance:
    SHOOTOUT WITH THE 'SHARKS': Sapphire Radeon HD 7950 for Mac versus really fast alternate GPUs

  • CS 5.5 coexist with CS 6.0 causes FrameMaker issue - can't import SVG file!

    Due to some project demands, we installed Adobe CS back to 5.5 on a computer which has CS6.0 already installed. After the installation, everything worked in normal except one problem - we could not import SVG into FM file for all versions of FrameMaker on this computer.
    Does the coexistence of CS 5.5 and 6.0 cause this issue? Or can CS 5.5 coexist with CS6.0 on a same machine? or any other reasons? Please comments!
    Thanks in advance for your help!

    Due to some project demands, we installed Adobe CS back to 5.5 on a computer which has CS6.0 already installed. After the installation, everything worked in normal except one problem - we could not import SVG into FM file for all versions of FrameMaker on this computer.
    Does the coexistence of CS 5.5 and 6.0 cause this issue? Or can CS 5.5 coexist with CS6.0 on a same machine? or any other reasons? Please comments!
    Thanks in advance for your help!

  • Two Fx 4 windows open at the same time causes usability issues

    When I load two instances of Firefox, I get multiple issues with the second instance usability, display, and hot keys.
    The issues are as follows:
    # Menubar/Toolbar appear differently
    # Back/Forward buttons do not work
    # F-Keys no longer Function
    # Favicons show old, cached icons
    Please see screen grab of my two monitors with two instances of Fx 4 open, but the I played with my toolbar settings to get it to look somewhat ok.
    http://www.travellingwebguy.com/images/Fx-4.png
    This is what happens when I open a second window, and do not mess with the toolbars:
    http://www.travellingwebguy.com/images/Fx-4-2nd-window.png
    This issue was not happening with Fx 3.x.x.
    I am using a custom Persona, but I have changed the Persona a few times and I still get the same result.
    I've removed all incompatible extensions and upgraded all the ones that needed upgrading.
    Not sure what the issue is here, but would love to troubleshoot it down if possible. Please let me know if any other info is required!
    Cheers
    Tim

    Exact same issue here. Also, the add-on manger will not launch.
    I thought it might be an add-on causing these issues, but only one out of my ten or so addons work in FF4, and I disabled it with no success.
    This is a huge issue for me. I attempted to uninstall FF4 and go back to FF3 but I can't find an install file for FF3.

  • XFi-2- Latest firmware (1.20.08) has caused some issues on 32GB model...

    HXFi-2- Latest firmware (.20.08) has caused some issues on 32GB model... When I started my PC last night, it notified me that new firmware was avaliable so it downloaded it and installed it on my Xfi-2 32GB
    According to the release notes, it was to add support for the 64 GB model as well as some general improvements.
    I can't determine what the latest improvements were (anyone have any clues ) and the UI seems the same.....the only things that have changed are that my applications no longer work (when I go into the applications shortcut, it says there is no valid content: I haven't touched these folders etc and they are still populated with the three standard apps as far as I can tell)
    The other thing (which may not be related to the firmware upgrade) is that my photos shortcut now pulls up some of my music folders that contain album art. Is this a feature or a bug (I don't want it to happen, I just want it to show photos within the 'photos' folder on the device).... I think it may have been caused by me simply dragging and dropping music folders onto the device using windows explorer rather than going through Centrale (slow!)
    Cheers

    Hi Timmo.
    What release notes are you reading? I have seen no reference to improvements other than adding support for the new 64 GB model on this firmware version. From the description of the problems you have, it seems that your player has some sort of file system corruption on the internal flash. I would suggest reinstalling the firmware on your device after formatting it (formatting the device only should be enough, I think).
    The size of the new firmware release, double than the size on the previous one, means that it probably has new features and applications that will be enabled on the future; however I doubt it means it has new features right now and hope it does not means we have two firmwares (on for the 64 GB model and other for the previous ones) as the SRM/AlphaBIOS pair on the Digital Alpha systems (an ugly hack on these superb computers, in my humble opinion) -- by the way, the new firmware does not require more space on the internal flash (I have 5077 MB available on mine with all firmware releases).
    The behavior you describe about album art being shown on the photos shortcut happens with older firmware releases too; I prefer album art embedded on the audio files instead of being available as another file. I agree with you, only pictures under the photos directory should be shown as images.
    Cheers.

  • How do we change itune and icloud accounts?  My wife and I have seperate accounts but she cannot access hes, only mine.  This causes many issues like facetime, text etc. Do we have to reset her devices and start fresh?

    How do we change itune and icloud accounts?  My wife and I have separate accounts but she cannot access hes, only mine.  This causes many issues like face time, text etc. Do we have to reset her devices and start fresh?

    I think this may be the answer.
    http://support.apple.com/kb/HT5621

  • Ea6300 causing network issues when connecting to web browser on my Mac

    I have had my ea6300 for two months and its causing major issues when connecting to my web broweser before I throw it out the window can someone give me some help.

    Hi bigtimer30, what do you mean by “it’s causing major issues when connecting to my web browser”? Do you mean that the MAC computer is no longer able to access the internet? If yes, is it with both wired and wireless connections? Is this happening to all of your devices? Or just that specific MAC computer? If all the other devices are still able to connect except the MAC, I suggest that you do a power cycle on the computer (if you haven’t done it yet). And you’re having difficulties with the wireless part, try to hard wire the computer straight to your router, and check if you experience the same thing. If the wired connection is okay, you may try playing with the router’s wireless channel. Better if you could give more details for us to give you more suggestions. 

  • HT4009 I keep getting a message to contact itunes support when I try to make an in app purchase.  What could be causing this issue?  My credit card is up to date and in app purchases aren't restricted.

    I keep getting a message to contact itunes support when I try to make an in app purchase.  What could be causing this issue?  My credit card is up to date and in app purchases aren't restricted.

    Have you tried contacting iTunes Support and asking them ? We are fellow users here on these forums, it could be due to a number of reasons, we won't know which one.
    http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • New Apple ID email has caused sync issues between iPad and iPhone

    I changed the email of my Apple ID and made sure to save photos and delete old iCloud backups. The calendar noon get syncs but instead eats any new events. Photos from my iPad appear on my iphone but it doesn't work the other way around. Instead my iPad still has an iCloud photo album from my previous Apple ID email. I've made sure that my email is updated on both devices and that everything syncs to iCloud and has been recently backed up. I even deleted the new backups and did it again. I turned off photo steam and turned it back on. Any help would be greatly appreciated. One more detail, even in iTunes, I do not have photo albums being synced from my computer. I just have photo stream with iCloud.

    I'm not sure what caused the issues but backing everything up and restoring both devices has fixed photo stream as well as notes/calendar icloud issues. It even syncs to my computer again! The icloud photo album from the old apple id email is also gone.

  • WILL BIG INDEX WILL CAUSE PERFORMANCE ISSUE?

    In an index table, if there are a lot of insert then data will grow and/or if the index is
    huge then can it really cause performance issue?
    Is there a document in metalink that says if index is 50% of data then we have to rebuild it? What are the basis and threshold of rebuilding index?

    A big index by itself won't cause a performance issue. There are other circumstances you should consider for the index.
    First of all, which kind of index are you talking about, there are several kind of indexes in Oracle. On the other hand, assuming you are talking about a regular B*Tree index, you should consider factors such as selectivity and cardinality. If the indexed column has evenly distributed values, then the index will be highly selective, and if the indexed column is highly skewed, in order for the index not to become a real bottleneck you should gather histograms, so selectivity can be calculated at execution time and in case the query retrieves a highly selective data range the index won't slow performance, otherwise a full table scan will be considered a best data access path.
    Rebuilding indexes is an operation performed when the index becomes invalid, or when migrating the index to a new tablespace, but not when you suspect the index has become 'fragmented' in this case you should use the Coalesce command. Oracle provides efficient algorithms to maintain the index balanced.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • After applying full scroll bar to the page including header and footer, Text editor ribbon actions cause page to automatically scroll down (while applying formatting)

    After applying full scroll bar to the page including header and footer, I have provided content to
    the page more than 100 lines and try to format the text from ribbon actions(format text area). On mouse over of font or fore color, the control jumps to the highlighted content area and not able to select the color. The page scrolls down and not able to click
    on any action.
    Consider this scenario also.
    A content editor web part is added toward the bottom of the page.
    Text is added to this (direct in the web part, not via a 'content link')
    You highlight some text and go to the Markup Style dropdown...
    Everything is fine until you hover over the "Paragraph" markup style, and suddenly the page scrolls to the web part you are editing, and you didn't have a chance
    to click and apply the "Paragraph" formatting
    I have tried testing this with text typed directly into the Content Editor, text pasted in from somewhere else, and text pasted in from somewhere else using "Paste as
    Plaintext" option in the ribbon.  In each scenario, I get the same results.
    Furthermore, I have also tested this in both IE8 and IE9 and get the same results.
    I can get it to occur most regularly with trying to apply the Paragraph "Markup Style" but
    I've also seen this happen with Font Size (any font size).  It's very frustrating since you aren't able to actually apply the formatting you need because the page jumps before you can click.  Has anyone experienced this before. Any feedback would
    help.

    Hi,
    According to your post, my understanding is that after applying full scroll bar to the page including header and footer, Text editor ribbon actions cause page to automatically scroll down (while applying formatting).
    I try to apply full scroll bar to the page including header and footer, the ribbon is missing after I scroll down to the web part. And I cannot apply the "Paragraph" markup style to the content.
    I recommend to use the SharePoint core styles to preserve the native functionality and GUI.
    By design in SharePoint, the ribbon is always at the top. When you select the content, you can apply the "Paragraph" markup style in the ribbon.
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Recent Reinstall causing interesting Issue. Can anyone give me and answer??

    Firstly here's my basic machine profile:
    iBook G4
    1.33Ghz Processor
    512MB RAM (256 Wired, 256 In spare DIMM slot)
    60GB HD (7200Rpm)
    Mac OS X Tiger
    External Display
    I've recently had to reinstall my system due to a system wide error created by the classic desktop.
    This error was causing my Automator actions to freeze my computer, the machine was also freezing randomly during different parts of the user login process (this happened on all accounts.
    Initially I did an Archive and Install, I wanted to keep my user setting and files. This would work for about an hour and then certain things would hang the system, specifically:
    (from what I tried) Opening windows too quickly (as the desktop was logging in). I was trying to get to Disk Utility.
    Using Menus (trying to get to System Preferences).
    I had been using the machine quite merrily for over a year, then one night I was running old software in Classic, this froze the machine.
    I restarted the machine, Logged in (the machine still worked); I opened Classic preferences and clicked rebuild desktop (it says that this may fix software that's not running well in clasic.), this froze thye machine.
    I restarted and this is when everthing went HAYWIRE!!!
    That is how the machine came to be as it was.
    After following the assistance from Apple's phone support I rebooted the machine holding shift, this gave me "Safe Boot" and I was able to save my work. The tech support also told me that my problem sounded like a system wide issue and that I should back up my data and zero-out the disk. This worked.
    I reinstalled Tiger and got the most recent updates from Apple. The Machine is running beautifully now.
    now.
    The issue I bring forth is that I was using a system hack called "Screen Spanning Doctor", a hack that give iBook and iMac users the ability to turn off screen mirroring, It helped me greatly.
    Now this should have been a software hack should it not? Because after reinstalling the system (from a Tiger DVD), the feature to span screens has remained... I don't understand how this is possible though
    All comments are welcome, I hope someone can answer this strange issue for me.
    regards,
    Pete.
    iBook G4; 60GB Hard Drive, 512MB RAM, Airport Extreme + iPod Nano (1GB Black) Mac OS X (10.4.6) iWork & iLife '06, Adobe CS2, Final Cut Pro. Anything and Everything!!!

    Hi Peter...
    Try reading MacFixIt about tips of reinstalling OS after a system-wide failure:
    http://www.macfixit.com/
    One tip about Archive & Install is to uncheck "preserving (old) users internet settings" etc, that may bring any corrupted or unstable system files over, the key here is to start from a fresh new stable OS.
    Did you also inadvertently migrate over the hack that you have mentioned? If it is software based, it should not be functioning when you perform the A&I method.
    Since you have back up all your important data, your "last resort", and probably the "best garanteed way" of ensuring a new stable fresh OS, is to erase, reformat the drive and install from scratch.
    Cheers

Maybe you are looking for