Alert or info

Hi All,
We have created an alert to inform the manager that the production order product planned quantity totals have been exceeded the sales order quantity.
One sales order can be contains more that one finish goods. The sales order must be entered in the origin no. field of the production order.
We use B1 2007A SP01 PL13. Pls adv.Thx
Rgds,
RK

Try to start from this:
SELECT T0.[DocNum] ProdOrd, T0.[ItemCode], T0.[PlannedQty]ProdQty, T0.[OriginNum] SalesOrd,
   T1.[Quantity]SalesOrdQty
FROM OWOR T0 inner join RDR1 T1 on T1.[DocEntry]=T0.[OriginAbs]
and T0.[ItemCode]=T1.[ItemCode]
Where T0.[PlannedQty]>T1.[Quantity]

Similar Messages

  • Getting alert history info when an alert email is sent

    Hi,
    I'm trying to get alert history info for alerts sent to user.
    For ex : I've an alert on gl_period_statuses, when ever alert status is changed from open to close or "future open" to open etc then an email alert is sent to user and sample alert details are as follows :
    For set of books 88, the period 'Nov-12' now has a status of OPEN.
    Can I get details of set of books,period,status whenever an email alert is sent ?
    I'm trying this query but it's not giving deatails of alerts sent :
    SELECT
    alv . *
    FROM apps.ALR_ALERTS al ,
    apps.ALR_ACTION_HISTORY aah ,
    apps.ALR_OUTPUT_HISTORY aoh ,
    apps.ALR_ACTIONS_V alv
    WHERE al . alert_name = 'Alert Per Stat Change'
    AND al . alert_id = aah . alert_id
    AND aah . check_id = aoh . check_id
    AND alv . ALERT_ID = aah . alert_id
    and aah.action_executed_flag='Y'Thanks,
    Kiran

    Thank you for responding.
    Unfortunately, I am currently going through Gmail.
    As for exaggerating, both my iphone and my desktop require multiple logins after asking questions. 4 logins for my desktop to get to this page. Fine, it's not a minimum of 489 characters. I believe in complicated passwords, but not being forced to use one in specific format and then being asked 4 times in a row for full log in. Excuse the **** out of me if that happens to make me angry. It amazes me how the people who believe in Darwinian evolution are always fighting against the concept of "survival of the fittest."
    I had also just done the same thing on my iphone, which was worse because of the limitations of the touch screen.

  • BPMON Alerts Detail Info - how to switch to use TRUSTED RFC ?

    Hello Experts,
    we have configured BPMON for our customer and it works fine, alerts are flowing in.
    Now the users start using it and they complain about having a logon prompt popup every time the hit "Detail info" button to jump into satellite system to see alert details. It's very annoying when they need to check many alerts simultaneously.
    So I investigated and found that the function is using LOGIN type RFC for the logon and it seems that SAP designed it to work this way, as SAP's own DEMO shows same thing.
    Question: Is there a legitimate way to make BPMON function use TRUSTED RFC to show alert details instead of LOGIN RFC ?
    By "legitimate" I mean, I know the LOGIN RFC can be "adjusted" to behave like TRUSTED, but that is not "legal" fix especially in production.
    Appreciate any comments.
    Thanks
    Elena

    Hi Elena
    I assume you are using Login RFC in SolMan setup.
    If you switch current RFC to Trusted RFC, if the user has Trusted RFC profile and same user exist in both system, user can use trusted connection.
    Please go to transaction SolMan setup, and side bar menu managed system configuration and open managed config screen to target system. In the 3 rd step of the wizard, there is a place to configure RFC.
    In case if BPMon, Read RFC is used for data collection(as of SAP TMW is used instead of READ).
    And then there are 3 RFC TMW, Trusted and last one(RFC for Solution manager).
    When you press the detail info button, last RFC is used. To this RFC type, you can assign RFC Login( this will ask login screen by default) or Trused RFC.  I think you assin RFC login right now. That's why you have popup.
    If you switch this to Trused one, Trused RFC is used.
    Best Regards
    Keiji

  • BPMON Alerts "Detail info" disappeared in SP10-11

    Hi BPMON Experts,
    we have upgraded SOLMAN from SP08 to SP11 (skipping SP10).
    We have already had BPMON and Analytics setup in SP08.
    Now finding out that in SP11the "Detail Info" and SP13 buttons in Alert Inbox completely disappeared.
    Reading TECHED mats from last year, it sais that BPMON alert details are not integrated in SP10.
    However SAP recommends for users with old BPMON settings to still use OLD  BPO workcenter to realize full functionality..
    But without detail info button - there is not much use for it.
    Is anyone else experiencing same problem ?
    Appreciate your comments.
    Thanks
    Elena

    Hi Elena
    I wonder whether you use MAI based BPMon (BPMon on new monitoring infrastructure) or use classic one...  If the BPMon and BP Analytics setting were made when SP was SP8, I assume it is Classic one.
    Anyway, let me clarify some points.
    As you know from Teched replay, as of Solution Manager 7.1 SP10, BPMon offer new BPMon that based on monitoring alert infrastructure (MAI).  But this does not means, after the SP10, your existing BPMon or BP Analytics setting runs on new MAI infra. Without switching on the MAI, your solution still run on Old infrastructure (I will use classic BPMon engine here).
    Since all the BPMon cases are not covered yet in SP10/SP11 and also conversion tool from classic BPMon to MAI BPMon is not available in SP10/SP11, using Classic BPMon is still recommended.
    So if you simply update SolMan SP from SP8 to 11, your BPMon and  BP Analytics Monitors still run classic BPMon infra. Here basically everything should be same.
    So I bit suprise you have some issue (detail info is not available, ST13<?> button is nto avaialble)...
    In my understanding, there should not be the issue if you still run classic BPMon infra.
    So if this is the case, I recommend you to check your monitor setting. If you update ST-A/PI in managed system during SP11 upgrade, I recommend you to conduct following to get latest repository.
    1. Go to BPMon setup and chose your logical component area. And conduct load monitor definition.
        By pressing this, latest monitor definition is loaded from managed system to SolMan.
    2.To refrect the latest repository content, go to logical componet and choose all monitor and de-activate ->Generate->Activate existing monitors.
    For ST13 button, I recommend you to check your monitor setting (analysis tool tab). If not T-CD/Program assigned to your monitor, the button is not avaialble in alert inbox. So you need to assign the T-CD /Program that you want to see in alert inbx in analysis tool tab of your monitor.
    If your case, is not based on classic BPMon (You newly create solution and switch on MAI setting to your Solution as attached picture), I recommend you to chck new Alert Inbox and open detail info.
    As of SP10, you can control classic / MAI BPMon per solution (but if there is existing monitor, you cannot switch. So you need conversion tool that is planned SP12 probably).
    In MAI based BPMon, there is BPO workcenter. And it offer a bit different alert inbox.
    In new MAI based Alert inbox, to use detail info button, you need to press show detail button.
    (like technical monitoring, new alert inbox support grouping etc.. so to see detail info, you need to go into 1 more detail level).
    In detail display, detail info should be still avaialble like attached picture (but now it is http based. not GUI base).
    So even the new BPMon, detail info still should be avaialble. Also you should be able to call transaction/program like you could do before. (actually in new infra, it can do more).
    I think in the teched replay, it might says "BPMon BW Alert report is not supported yet" in new BPMon....
    Hope above info help you.

  • ORA-000060 (deadlock) and no alert/trace info

    oracle 9.2.0.5 running on SunOs 5.9
    I am getting very seldom (2-5 per month) these errors.
    1) the alert file shows this:
    ORA-000060: Deadlock detected. More info in file xxx.trc
    2) after running "tkprof" on the trace file I see only this:
    1 session in tracefile.
    0 user SQL statements in trace file.
    0 internal SQL statements in trace file.
    0 SQL statements in trace file.
    0 unique SQL statements in trace file.
    I tried most of "tkprof" options but still there is no info on what caused the deadlock. any ideas ?

    if you open the trace file in an editor, what do you
    see?this works! the TRC file actually shows me the 2 sessions that contended for the resource. I never realized you could open the TRC file directly, I was led to believe you needed to "tkprof" to be able to browse it.
    me bad, and lots of thanks to you!

  • Alerts - More info required

    Hello experts,
    I am working on generating Alerts. I have few questions / confusions:-
    1. When AE error comes up, the value of SXMS_FROM_NAMESPACE and SXMS_TO_NAMESPACE is same. Also, for SXMS_FROM_INTERFACE and SXMS_TO_INTERFACE the entries are same. What can be the reason?
    2. For using the Escalation Recipient, is there anything extra that needs to be done / configured? According to SAP Help -
    The escalation function is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report, see Administration Reports.
    Any help on this will be highly appreciated.
    Thanks,
    Abhi

    Thanks Aamir!
    For your second question,just configure alert categoriey in alrtcatdef and then alert rule in RWB,then once an error happens you will get e-mail.
    Yes. I am through with all those steps and Alerts are getting generated and I am receiving emails as well. But I want to capture the error message coming up in the MONI. Intentionally I am making the mapping to fail, and I want to capture that error message in the MONI (something like this - <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> ) to be a part of the Alert message.
    Is this possible? Any Container Variables that we can use for this? This is on ABAP stack, so might be we can capture this?
    Thanks,
    Abhi

  • Security Alert / Revocation info for the sec cert since installing JRE 6u31

    We've been trying to keep up with getting the latest JRE client installed in our environment but since we rolled out update 31, our helpdesk is being flooded with calls with getting a popup box
    "Revocation information for the security certificate for this site is not available. Do you want to proceed?"
    Yes/No/View Certificate
    The cert is issued to javadl-esd-secure.oracle.com
    It affects all of our Windows users and all of which have IE 9, and it affects our standard users with no local admin rights and our SAs who do have local admin rights. Nothing on our network has changed other than going from update 30 to update 31.
    I saw a thread on this forum regarding this the day update 31 from another SA and he was having the exact same issue we were and a couple of people posted follow-ons to it ....now, when I go to that link I get "The specified message [10187748] was not found. "
    We've tried installing Java 7update 4 but that has its own problems.
    If we roll back to update 30, the problem goes away until the automatic updater starts nagging you to update.
    As far as what I've folktale answers I've found online:
    "make sure the time is set correctly" - check, we set time off an NTP hosted in our home state.
    "Silent installer is the problem" - Can't blame this - never used a silent installer - we've only installed via downloading the offline version of update 31, and use the web installer stub and both of those cause problems.
    Is there a way to fix this aside from going into every profile and changing the certificate purposes, or is Oracle going to get around to fixing their cert?

    Hello,
    We have spent some time looking into this and we are not able to reproduce this and suspect that it could be an issue on the machines were the installation is taking place, or due to a networking issue. This is not an attempt to just toss is back and say 'not our problem'. We were certainly concerned with this post and wanted to verify that our certs and the revocation list does not have issues.
    Third Party document on various causes for this error:
    http://www.brighthub.com/internet/security-privacy/articles/82291.aspx
    - Update Root certs
    - Time/date out of sync, lear SSL state
    - re-register the dll files
    Microsoft article about with possible issues, the article is limited to Windows 2000, though it may apply to other versions:
    http://support.microsoft.com/kb/308087
    - Clear the Automatically detect proxy
    - Use a proxy server for this connection, enter address and port number of the proxy server that you use
    Also, we found we were able to access the revocation list through our internet network as well as outside our network. Not being able to access the revocation list could be an issue. Here is that URL:
    http://crl.usertrust.com/USERTrustLegacySecureServerCA.crl
    If you are able to identify an issue with cert or if the above solutions do not resolve the issue, please update this thread. Also update the thread if one of these does indeed solve the issue. It is always good to share what worked with others who could be seeing the same issue.
    -Roger
    updated Mar 15, 2012 w/additional text and links.

  • Copying From Info Panel

    Hi,
    I created a Powerpoint for a class project at school. I downloaded about 100 random images from the web and saw that the source/url was in the cmd/I info panel. I wasn't sure which ones I'd use so I waited till I was done to copy the source/web site url from the info panel.
    I'm just finishing and now find out I can't copy and past from this info panel! To copy by hand will take me way too long!
    Is there a way to quickly get this info out of the file?
    Thanks,
    W

    The mdls attribute name you are looking for is kMDItemWhereFroms. I wrote an AppleScript a while back to put up a dialog of the download URL, with the option to copy it to the clipboard:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFD891;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    property getSpecific : true -- show the specific download URL?
    set aFile to quoted form of POSIX path of (choose file)
    set theURL to (do shell script "mdls -name kMDItemWhereFroms -raw " & aFile)
    if theURL is "(null)" then -- no attribute
    set theURL to "(URL info not found)"
    set theMessage to ""
    else
    if getSpecific then -- get the first item (the download URL)
    set theMessage to "download "
    set theURL to paragraph 2 of theURL
    set here to offset of "\"" in theURL
    set theURL to text (here + 1) thru -3 of theURL
    else -- get the last item (the page/site URL)
    set theMessage to "page/site "
    set theURL to paragraph -2 of theURL
    set here to offset of "\"" in theURL
    set theURL to text (here + 1) thru -2 of theURL
    end if
    end if
    if theURL is "(URL info not found)" then
    set theButtons to {"OK"}
    else
    set theButtons to {"Copy to clipboard", "OK"}
    end if
    display alert "kMDItemWhereFroms info" message "The " & theMessage & "URL for " & aFile & " is: " & return & return & theURL buttons theButtons
    if button returned of the result is not "OK" then set the clipboard to theURL
    </pre>

  • ORA-600 [17069] error while running catrelod.sql to downgrade 11g database

    Hi,
    We are downgrading our 11.2.0.2 database to 10.2.0.4. We have successfullly run catdwgrd.sql without any errors in 11g env. While running catrelod.sql in 10g env we are facing the following error:
    SQL> @?/rdbms/admin/catrelod.sql
    TIMESTAMP
    COMP_TIMESTAMP RELOD__BGN 2013-04-24 20:15:39 2456407 72939
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>  The following statement will cause an "ORA-01722: invalid number"
    DOC>  error if the database server version is not 10.0.0.
    DOC>  Shutdown ABORT and use a different script or a different server.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>#
    no rows selected
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>  The following statement will cause an "ORA-01722: invalid number"
    DOC>  error if the database has not been opened for MIGRATE.
    DOC>
    DOC>  Perform a "SHUTDOWN ABORT"  and
    DOC>  restart using MIGRATE.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>#
    no rows selected
    Session altered.
    Session altered.
    no rows selected
    DECLARE
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [17069], [0x170FB8CA8], [], [], [],
    [], [], []I have checked the trace file in udump but it dint give any readable information.
    Please find below environment details.
    OS : RHEL 5 64 bit
    11g Database : 11.2.0.2
    10g Database : 10.2.0.4
    Kindly assist.

    KR10822864 wrote:
    Whenever an ORA-600 error is raised a trace file is generated and an entry written to the alert.log with details of the trace file location. Starting with Oracle Database 11g Release 1, the diagnosability infrastructure was introduced which places the trace and core files into a location controlled by the DIAGNOSTIC_DEST initialization parameter when an incident, such as an ORA-600 is created. For earlier versions, the trace file will be written to either USER_DUMP_DEST (if the error was caught in a user process) or BACKGROUND_DUMP_DEST (if the error was caught in a background process like PMON or SMON). The trace file contains vital information about what led to the error condition
    please post 40 lines of alert log info .
    MOS Note:ORA-600 [17069] "Failed to pin a library cache object after 50 attempts" [ID 39616.1]
    "Look in the trace file for the text 'LIBRARY OBJECT HANDLE: handle=170fb8ca8'"
    if not found any massages like above please raise [email protected].
    Hi KR,
    Thanks for your help. As suggested I have checked the trace file to search and found the below info. I suppose it is some kind of lock but not sure about it. Please let me know if the following makes sense:
        SO: 0x21158a6e0, type: 3, owner: 0x211006f28, flag: INIT/-/-/0x00
        (call) sess: cur 211572570, rec 211572570, usr 211572570; depth: 0
          SO: 0x21158a9b8, type: 3, owner: 0x21158a6e0, flag: INIT/-/-/0x00
          (call) sess: cur 211572570, rec 0, usr 211572570; depth: 1
            SO: 0x1727a2618, type: 54, owner: 0x21158a9b8, flag: INIT/-/-/0x00
            LIBRARY OBJECT PIN: pin=1727a2618 handle=170fb8ca8 mode=S lock=171243e98
            user=211572570 session=211572570 count=1 mask=001d savepoint=0x43 flags=[00]
            SO: 0x171243e98, type: 53, owner: 0x21158a9b8, flag: INIT/-/-/0x00
            LIBRARY OBJECT LOCK: lock=171243e98 handle=170fb8ca8 mode=S
            call pin=0x1727a2618 session pin=(nil) hpc=0000 hlc=0000
            htl=0x171243f18[0x17278a310,0x17278a310] htb=0x17278a310 ssga=0x172789928
            user=211572570 session=211572570 count=1 flags=PNC/[0400] savepoint=0x43
            LIBRARY OBJECT HANDLE: handle=170fb8ca8 mtx=0x170fb8dd8(0) cdp=0
            name=SYS.STANDARD
            hash=51570e225ed8a9a803b7318f191e0a8d timestamp=04-18-2006 00:00:00
            namespace=TABL flags=KGHP/TIM/SML/[02000000]
            kkkk-dddd-llll=0000-001d-001d lock=S pin=S latch#=3 hpc=0004 hlc=0004
            lwt=0x170fb8d50[0x170fb8d50,0x170fb8d50] ltm=0x170fb8d60[0x170fb8d60,0x170fb8d60]
            pwt=0x170fb8d18[0x170fb8d18,0x170fb8d18] ptm=0x170fb8d28[0x170fb8d28,0x170fb8d28]
            ref=0x170fb8d80[0x170fb8d80,0x170fb8d80] lnd=0x170fb8d98[0x170f05b50,0x170fa6858]
              LIBRARY OBJECT: object=170e82de8
              type=PCKG flags=EXS/LOC[0005] pflags=NST/IVR[0201] status=VALD load=0
              DATA BLOCKS:
              data#     heap  pointer    status pins change whr
                  0 170e831f8 170e82fc0 I/P/A/-/-    0 NONE   00
          SO: 0x21158e470, type: 5, owner: 0x21158a6e0, flag: INIT/-/-/0x00
          (enqueue) CU-70E88BC0-00000001    DID: 0001-001F-00000004
          lv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  res_flag: 0x2
          res: 0x17677adc8, mode: X, lock_flag: 0x0
          own: 0x211572570, sess: 0x211572570, proc: 0x211006f28, prv: 0x17677add8
          SO: 0x177f82c28, type: 59, owner: 0x21158a6e0, flag: INIT/-/-/0x00
          cursor enqueue
          child: 170e89348, flag: 53, number: 0
          parent: 170e89738

  • ITunes won't sync a huge portion of my music files to my iPhone

    Syncing my iPhone5s leaves enormous and seemingly random (though always the same) swaths of mp3s grayed-out ("dotted circle") or simply not copied from iTunes to mobile device (iPhone). The most warning I ever got was, I used to get a pop-up on the iPhone screen reading, "iTunes Sync -- [x] items could not be synced. See iTunes for more information." This number varied: [x] might be 24, 49, or 1,260, but iTunes itself gave me no warnings, alerts, or info of any kind.
    I have restored from backup, I have restored to factory settings, I have manually deleted all music and re-synced, I have selected and unselected, checked and unchecked, manually copied and let iTunes do it, I have turned on and off iCloud and tried all of these steps again. I have turned on and off the setting to convert higher bitrate files. I have reset warnings over and over and over and over between each of these steps, hoping for SOME kind of "more information."
    Somewhere along the way it stopped even telling me on the iPhone screen that files "could not be synced." Now it just goes through the motions, sits for a while thinking on Step 4 of 4 (ostensibly copying the files), and then returns control of the application and the device to me, as if it has completed the task. Nothing has changed and 1000s of files are still not being copied over. Files that WERE there on previous versions, prior to me deleting all the files in an attempt to get on just a small number of new ones.
    I have tried every single base-level piece of advice I've found online or in any Apple Discussion post.
    The files that won't copy don't have anything in common I can find. Furthermore, what iTunes says is on the phone and what the phone tells me it has does not match — in iTunes, if I select the phone and navigate to the playlists, for example: I am told that all tracks from the Tintin Soundtrack ("Adventures of Tintin" makes it alphabetically first and so it stands out as an example) EXCEPT tracks 6, 8, 9, and 10 are available. 6, 8, 9, and 10 are gray-circled out. However on the iPhone I only see track 1 of 18. No gray circles. Just 1 track. These tracks are all the same bitrate, same ID3 metadata, same file location. They all play fine in iTunes and I cannot see what would make one file copy several files *seem* to have copied, and some files not copy at all.
    I am past angry. I feel defeated by the computer and on the verge of tears. What the ****, guys? What the f***, Apple?
    I have an iPhone 5s.
    iOS updated, v8.0.2 (12A405).
    iTunes updated, v11.4 (18).
    I am on OSX v10.6.8, 2.16GHz Intel Core 2 Duo processor, 2 GB 667 MHz DDR2 SDRAM memory.
    I have my iTunes library spread across two external HDs, but this has never given me trouble in iTunes (well, it's incredibly slow ever since v11 came out, but it finds and plays files 100% of the time, in iTunes), and again, there is no pattern I can find between the files that do and do not copy. Certainly not location or drive or anything (alas).
    Please help...?

    I had this problem.  Then I changed some of the music in my iTunes (manually going through to make an album "part of a compilation" just because another Artist happens to contribute to a song, so iTunes assumes its a different album?).  I then tried to sync but only some of my music came across, got the circles too.  I did a restore of my new iPhone 6 Plus and setting it up as a new phone and synced again, but then noticed some other albums needed updating on the library so did that, tried to sync and it won't.  Same songs not coming across as before.  I am in the process of deleting the library from my phone and will try again.  Otherwise, I have to do another restore and try again.  Will have I have to restore and start from scratch every time I manually update my library?  iTunes needs sorting out!!!!

  • Putting fileinfo data on bottom of image for use in building a photobook for printing/binding

    I wonder if someone on here could help me with a problem I have? I am not a script expert by any means. The term "amateur" is probably pretty accurate!
    I have a few hundred pictures I want to include into a (to be printed) photobook. I want to put some key EXIF/Fileinfo data on the images so that they remind me of what file, when it was taken, with what and with what settings. I found an excellent script (by JJmack?) which does what i want with one exception. The script (below) puts the info on the image starting on the top left (0,0) and I really want it to start on the bottom left (so that it looks like a caption). I have tweaked the original 5 lines of data down to one line, and have reduced the font size but I simply do not have the skills to amend it to add the selected text to the bottom left.
    I was hoping that someone on this forum might be kind enough to help - not least because I am sure there are others who would want to the same thing? Or am I being a complete idiot and there is a simpler way to achieve what I am trying to do?
    Grateful for any help
    Michael.
    Apologies - can't find way to insert file so had to copy and paste:
    // This script was hacked from one I downloaded from the web JJMack 2008
    /*  Script to stamp copyright and camera data of shot   */
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    <javascriptresource>
    <about>$$$/JavaScripts/StampExif/About=JJMack's Stamp Exif.^r^rCopyright 2009 Mouseprints.^r^rScript utility for action.^rNOTE:Add Text Layer with Fomatted EXIF Data!</about>
    <category>JJMack's Action Utility</category>
    </javascriptresource>
    // enable double-clicking from Mac Finder or Windows Explorer
    #target photoshop // this command only works in Photoshop CS2 and higher
    // bring application forward for double-click events
    app.bringToFront();
    // ensure at least one document open
    if (!documents.length) {
        alert('There are no documents open.', 'No Document');
    // if at least one document exists, then proceed
    else {
        main();
    // main - main function
    function main() {
        /* Null business owner */
        var Biz = "";
        var Owner = "";
        /* Variables You can hard code your business owner here */
        // var Biz = "Mouseprints";
        // var Owner = "John J McAssey";
            /*  sizeFactor influences text size 1 will use largest font 2 will half that font size    */
        var sizeFactor = 1.5;
            /* textX and TextY positions text placement 0 and 0 Top Left corner of image in pixels    */
        var textX = 0;                                   
        var textY = 0;   
        /* Internal Photoshop Text name                                */                               
            var fontName = "ArialMT";
        var fontName = "TimesNewRomanPSMT";
        var fontName = "Tahoma";
        /* Text Color                                        */
        textColor = new SolidColor;                       
        textColor.rgb.red = 255;
        textColor.rgb.green = 255;
        textColor.rgb.blue = 255;
        /* END Variables You can hard code your business owner here */
            // remember users Ruler avd Type Units and set ours
        var strtRulerUnits = app.preferences.rulerUnits;
        var strtTypeUnits = app.preferences.typeUnits;
        app.preferences.rulerUnits = Units.PIXELS;
         app.preferences.typeUnits = TypeUnits.PIXELS;
        /* Trying to figure out font size for the number of lines to cover the document height        */
        /* and getting setting text area to cover the document was a trip. Adobe Postscript trip    */
        /* I believe that 72 or 72.27 Point/Pica Size Photoshop Preference maybe I should see if    */
        /* I could retrieve it. Anyway mine is set to 72 Setting the document resolution taking        */
        /* the document width and dividing by 72 would probably yield number of characters that        */
        /* would fit in the document width. Setting the documents resolution comes into play        */
        /* with Photoshop text support. Using the documents height and dividing the by the number    */
        /* of lines of text I needed I hoped would yield the font size I needed. However that        */
        /* did not work the text area was correct the number of text lines did not fit. I needed    */
        /* to use a smaller font.  When the document resolution is set to 72 DPI and I set a text    */
        /* layer font size to 72 and the text area the number of pixels I want and observing        */
        /* Photoshop's text options bar there I see a one 1 to one relationship. 72 px = 72 px.        */
        /* If I set the documents resolution lower and set a Photoshop text layer font size to        */
        /* 72 px I see Photoshop scale the number to a lower number of pixels in the option bar.    */
        /* Just what I needed. Setting the Documents resolution to 60 DPI let the number of line    */
        /* I needed fit on the document. However Photoshop also scaled the text area I set down        */
        /* in size and that number of lines did not fit within that area. I needed to scale the        */
        /* text area up. Scaling the Text area up using 72/resolution did the trick...             */
            var testres = 60;
        res = app.activeDocument.resolution;
        if(res!=testres){ app.activeDocument.resizeImage(app.activeDocument.width.value,app.activeDocument.height.v alue,testres); }
        /* Define var to be used to avoid undefined */
        var expTime = "";
        var expPgm = "";
        var expCmp = "";
        var mtrMode = "";
        var ev = "";
        var flshCode = "";
        var flshMode = "";
        var focLength = "";
        var Fstop = "";
        var ISO = "";
        var Model = "";
        var CameraModel = "";
        var Artist = "";
        var maxF = "";
        var wbMode = "";
        var phoTime = "";
        var picYr = "";
        var lens = "";
        var cpyrt = "";
        var remShutter = "";
        var remAperture = "";
        var remISO = "";
        var lat = "";
        var latRef = "";
        var lon = "";
        var lonRef = "";
        var docName = app.activeDocument.name;
        /* END var to be used to avoid undefined */
        try {   // get active document
            var doc = app.activeDocument;
        catch (e){
            alert("No Document Open..." );
        var exifInfo = "";
    try {
            // alert( "doc.info.exif=" + doc.info.exif );
            var numExifItems = doc.info.exif.length;
            // alert( "numExifItems=" + numExifItems );
                    for (var i = 0; i < doc.info.exif.length; i++){
                 exifInfo = exifInfo + doc.info.exif[i][0] + " = " + doc.info.exif[i][1] + "\r";
    /* ---------------------------------- Extracting Data I want to Stamp  formated ----------------------------------------------------------------------- */
                            checkThisItem(doc.info.exif[i][0], doc.info.exif[i][1])
                key=doc.info.exif[i][0];
                keyData=doc.info.exif[i][1];
                if (key == "Artist") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    Artist =("By " + keyData + "  ");
                 if (key == "Date Time Original") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    var phoTime = keyData;
                    var dateArray1 = phoTime.split(" ", 2);
                    phoTime = dateArray1[0];
                    phoHour = dateArray1[1];
                    var dateArray2 = phoTime.split(":");
                    var monthsArray = ["January","February","March","April","May","June","July","August","September","October", "November","December"];
                    phoTime = monthsArray[dateArray2[1]-1]+" " + dateArray2[2]+ ", " + dateArray2[0] +" @ " + phoHour;
                    var picYr = dateArray2[0];
                if (key == "Model") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    Model = (keyData + "  ");
                if (key == "Max Aperture Value") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    maxF = ("maxF " + keyData + " ");
                    maxF = ( keyData + " ");
                if (key == "Focal Length") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    focLength = ("@ " +keyData + "  ");
                if (key == "Exposure Program") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    expPgm = (keyData + "  ");
                    if (expPgm == "Not defined") { expPgm = "Exposure Program Not Recorded  "; }
                if (key == "Exposure Bias Value") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    expCmp = ("Bias " + keyData + "  ");
                if (key == "Metering Mode") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    mtrMode = (keyData + " Metering  ");
                if (key == "White Balance") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    wbMode = ("White Balance " + keyData + "  ");
                if (key == "ISO Speed Ratings") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    ISO = ("ISO " + keyData + "  ");
                    remISO = keyData;
                if (key == "Exposure Time") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    expTime = (" " + keyData + "  ");
                    remShutter = keyData;
                if (key == "F-Stop") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    Fstop = (" " + keyData + "  ");
                    remAperture = keyData;
                if (key == "Flash") {
                    // alert ("Key=" + key + " Data=" + keyData );
                    var flshCode = keyData;
                    var flshMode = "Flash Code=" + flshCode + "  ";
                    if(flshCode==1){var flshMode = "Firing Flash   ";}
                    if(flshCode==9){var flshMode = "Firing Flash   ";}
                    if(flshCode==13){var flshMode = "Firing Flash   ";}
                    if(flshCode==15){var flshMode = "Firing Flash   ";}
                    if(flshCode==25){var flshMode = "Firing Flash   ";}
                    if(flshCode==29){var flshMode = "Firing Flash   ";}
                    if(flshCode==31){var flshMode = "Firing Flash   ";}
                    if(flshCode==65){var flshMode = "Firing Flash   ";}
                    if(flshCode==69){var flshMode = "Firing Flash   ";}
                    if(flshCode==71){var flshMode = "Firing Flash   ";}
                    if(flshCode==73){var flshMode = "Firing Flash   ";}
                    if(flshCode==77){var flshMode = "Firing Flash   ";}
                    if(flshCode==79){var flshMode = "Firing Flash   ";}
                    if(flshCode==89){var flshMode = "Firing Flash   ";}
                    if(flshCode==93){var flshMode = "Firing Flash   ";}
                    if(flshCode==95){var flshMode = "Firing Flash   ";}
                    if(flshCode==0){var flshMode = "without Flash   ";}
                    if(flshCode==16){var flshMode = "without Flash   ";}
                    if(flshCode==24){var flshMode = "without Flash   ";}
                    if(flshCode==88){var flshMode = "without Flash   ";}
                    if(flshCode==32){var flshMode = "No Flash   ";}
                if (key == "GPS Latitude") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    lat= ("Lat: " + keyData.replace(/\.00/g,'') + " ");
                if (key == "GPS Latitude Ref") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    latRef= (keyData + "  ");
                if (key == "GPS Longitude") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    lon= ("Lon: " + keyData.replace(/\.00/g,'') + " ");
                if (key == "GPS Longitude Ref") {
                    //alert ("Key=" + key + " Data=" + keyData );
                    lonRef= (lon + keyData + "  ");
            /* Copyright Year(s) */
            var thisYr, toDay       
            var toDay = new Date();
            var thisYr = toDay.getYear() + 1900;
            if(picYr!="" && thisYr!=""){ var cpyrt =  picYr + "-" + thisYr + "  ";}
            if(picYr=="" && thisYr!=""){ var cpyrt =  thisYr + "  ";}
            if(picYr==thisYr){ var cpyrt =  thisYr + "  ";}
            /* For cameras that don't set Artist or set unknown in the Exif substitute Owner if set */
            if(Artist=="" && Owner!=""){var Artist = "By  " + Owner + "   ";}
            if(Artist=="By unknown  " && Owner!=""){var Artist = "By  " + Owner + "   ";}
            /*  Lens info  */
            xml = app.activeDocument.xmpMetadata.rawData;
            lensOffset = xml.indexOf("<aux:Lens>") + "<aux:Lens>".length;
            if(lensOffset > 0) {
                lens = xml.substr(lensOffset, xml.length - lensOffset);
                lens = lens.substr(0,lens.indexOf("</aux:Lens>"));
            /* Hack for my cameras with fixed lens */
            if(lens=="" && Model=="E990  "){var lens = "9-28mm";}
            if(lens=="" && Model=="E-20,E-20N,E-20P  "){var lens = "9-36mm";}
            if(lens=="" && Model=="E-10  "){var lens = "9-36mm";}
            if(lens=="" && Model=="E-10          "){
                var Model = "E-10  ";
                var lens = "9-36mm";
            if(lens=="" && Model=="Canon PowerShot SD700 IS  "){var lens = "5.8-23.2mm";}
            if(lens!=""){var lens = lens + "  ";}
            else {var lens = "Unknown Lens  ";}
            /* Hack for my ultra compact cameras program mode not recorded */
            if(Model=="Canon PowerShot SD700 IS  "){var expPgm = "Ultra Compact Camera  ";}
            //alert (remShutter + " " + remAperture + " " + remISO);
                    ev = calcEV(remShutter, remAperture, remISO);
    /* ---------------------------------- END Extracting Data I want to Stamp  formated -------------------------------------------------- */
        catch (e){
            alert("No EXIF data exists..." );
        if ( exifInfo == "" ) {
            alert( "No EXIF data exists..." );
        else {
            // alert( "exifInfo=" + exifInfo );
            text_layer = doc.artLayers.add();                        // Add a Layer
            text_layer.name = "EXIF Stamp";                            // Name Layer
            text_layer.kind = LayerKind.TEXT;                        // Make Layer a Text Layer
            text_layer.textItem.color = textColor;                        // set text layer color
    /* Do not set TextType to Pargarph Text for StampEXIF so action can position text layer
             text_layer.textItem.kind = TextType.PARAGRAPHTEXT;                // Set text layers text type
            text_layer.textItem.font = fontName;                        // set text font
            text_layer.blendMode = BlendMode.NORMAL                        // blend mode
            text_layer.textItem.fauxBold = false;                        // Bold
            text_layer.textItem.fauxItalic = false;                        // Italic
            text_layer.textItem.underline = UnderlineType.UNDERLINEOFF;            // Underlibn
            text_layer.textItem.capitalization = TextCase.NORMAL;                // Case
            text_layer.textItem.antiAliasMethod = AntiAlias.SHARP;                // antiAlias
    //        var fontSize = Math.round((doc.height- textY) / ((numExifItems +1) * sizeFactor)); // Calulate font size to use Item nomber + last \r
            /* Calulate font size to use for StampExit keep size same for landscape and portrait base on document size */
            if (doc.width >= doc.height) {var fontSize = Math.round(doc.height / (30 * sizeFactor));}
            else {var fontSize = Math.round(doc.width / (30 * sizeFactor));}
            if (fontSize<10){fontSize=10};                            // don't use Font size smaller then 10
            text_layer.textItem.size = fontSize;                        // set text font Size
    //        text_layer.textItem.position = Array(textX, textY );                // set text layers position in and down
            text_layer.textItem.position = Array(textX, (textY + fontSize ));        // set text layers position in and down for Stamp add in fontsize
            textWidth = ((doc.width - textX) * 72/testres );                // Text width document width - offset
            textHeight = ((doc.height - textY) * 72/testres );                // Text height document height - offset
    /* Do not set Text Area for StampEXIF so action can position text layer
            text_layer.textItem.width = textWidth;                        // set text area width
            text_layer.textItem.height = textHeight;                    // set text area height
             alert(
            "res=" + res + " sizeFactor=" + sizeFactor + " numExifItems=" + numExifItems
            + "\r" + "fontsize=" + fontSize + " font=" +fontName
            + "\r" + "Image area width=" + doc.width + " height=" + doc.height
            + "\r"    + "text area width=" + textWidth + " height=" + textHeight
            + "\r"    + "Text Position top left=" + textX + "," + textY
            + " bottom right=" + (textX + textWidth )+ "," + (textY +  textHeight )
            try{
                text_layer.textItem.contents = exifInfo;
            catch (er) {
                alert("Error Setting Contents...");
    /* -----------------------------------------  Data Stamp  format ----------------------------------------------------------------------- */
            if (!app.activeDocument.info.copyrightNotice=="") {var Notice = app.activeDocument.info.copyrightNotice; }
            else { var Notice = "Copyright \u00A9 " + Biz  + " " + cpyrt; }   
            if (lat!="" && lon!="") { gps = "\r" + lat +latRef + lon + lonRef;}
            else {gps = ""; }
            text_layer.textItem.contents =  docName + " " + Model + lens + ISO + expTime + Fstop;
            if (app.activeDocument.info.instructions == "" ) {
                app.activeDocument.info.instructions = docName + " " + Model  + lens + ISO  + expTime + Fstop;
        if(res != testres){ app.activeDocument.resizeImage(app.activeDocument.width.value,app.activeDocument.height.v alue,res); }
        app.preferences.rulerUnits = strtRulerUnits;
        app.preferences.typeUnits = strtTypeUnits;
    // END - main function
    // calcEV()
    function calcEV(shutter, aperture, iso) {
        evString = new String("");
        isoValue = new Number(0);
        shutterValue = new Number(0);
        apertureValue = new Number(0);
        evValue = new Number(0);
        apertureValue = aperture;
        apertureValue = apertureValue.substr(2,apertureValue.length -2); // Strip off "f/"
        shutterValue = shutter;
        shutterValue = shutterValue.substr(0,shutterValue.indexOf(" ")); // Strip off ending " sec"
        if ( shutterValue.indexOf("/") != -1) {
            topShutter = shutterValue.substr(0,shutterValue.indexOf("/"));
            bottomShutter = shutterValue.substr(shutterValue.indexOf("/") + 1,shutterValue.length -(shutterValue.indexOf("/") + 1));
            shutterValue = topShutter / bottomShutter;
        isoValue = iso;
        //alert ("apertureValue = " + apertureValue +  " shutterValue = " + shutterValue + " isoValue = " + isoValue );
        if (isoValue>0 && shutterValue>0 && apertureValue>0) {
            evValue = Math.LOG2E * Math.log(Math.pow(apertureValue, 2) * (1 / shutterValue) * (100 / isoValue));
            evValue = Math.round(evValue * 10) / 10;
            evString = "EV " + evValue;
        return evString;;
    function checkThisItem(key, keyData) {
        // alert("Key=" + key + " Data=" + keyData );

    I wrote that script to be used within an Action.  The Action uses the script to add the text layer. The text layer becomes the current active layer.  The action can then position the layer anywhere over the document by aligning the layer to a selection.  Also add a layer style like set fill to 0 and adding a drop shadow and emboss. That is the un-expanded step below the set current layer is setting a style and is lengthy.
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Example
    Download

  • Email Security Plug-in - Doesn't seem to work with right click or save and send

    I've searched the knowledge base but have not located the answer yet.
    We have the Encrypt Message plug-in installed to flag the email [SEND SECURE].  This works very well when in Outlook.  It does not seem to work when right clicking a file to send outside of Outlook or performing Save and Send from within Microsoft Office.  The add-in still shows and users are clicking it and the Send button but the emails are not going securely.  We are on Microsoft2010 on mostly XP machines.
    How can I get Encrypt Message to work in all instances?
    Thank you.
    Starla

    Andreas
    I am getting an error.  See below for what I'm choosing and the response.  let me know if I'm supposed to be trying to download from another area.
    Thanks
    Starla
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Cisco IronPort Email Security Appliance C370
    Release:IPAS
    Filename: CiscoEmailSecurity_7-2-0-039.exe
      Remove
    Details
    Release
    IPAS
    Filename
    CiscoEmailSecurity_7-2-0-039.exe
    Release Date
    25/Oct/2011
    Description
    Cisco IronPort Email Security Plug-in (Outlook)
    Size
    32541.84375 KB (33322848 bytes)
    Router Checksum
    0x553f
    MD5
    f0c864697d9e1a3e8f5297062943ac50
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Save the device to 'My Added Devices' list
    More Info
    'My Added Devices' list could be found by: 1. Clicking on 'My Cisco' Tab and expanding
        the 'Added Devices' section. 2. Selecting any task specific product
       selector and clicking on 'My Added
        Devices' in left pane.
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Set Cisco Notification Alert
    More Info
    All 'Cisco Notification Alerts' list could be found
    by: 1. Clicking on 'My Cisco' Tab and expanding
        the 'Support Notifications' section.
    Cisco service contract information indicates you are not authorized to download software for the following product(s):
    Cisco IronPort Email Security Appliance C170
    Cisco IronPort Email Security Appliance C370
    Cisco IronPort Email Security Appliance C650
    To download software for other product(s), remove the software for the product(s) listed above.
    Or, if you feel this message is in error, please:
    1. Email technical support for 24x7 assistance. To expedite your request, please include the following information:
             User ID (Cisco.com ID used to download software)
             Contact Name
             Company Name
             Contract Number
             Product ID
             Desired Software Release or File Name
    2. Contact your Cisco Representative, Partner or Reseller to ensure product(s) listed above are covered on a service contract. The Partner Locator link may assist in locating your nearest partner.
    3. Associate contracts for those products to your Cisco.com profile using the Instructions found in Profile Manager. After you submit your additional contracts, verification and updates may take up to 6 hours to complete.

  • Oracle session creation takes long time

    Hi ,
    I am getting the below mentioned error continously in the alert log file.
    I am unable login through sqlplus on my remote database server from clients . Where as i am able connect locally on the server.
    some times i am able to connect from clients(after 5 Mins). After that the session is working fine.
    The response of tnsping goes to 20000 msecs.
    O.S :LINUX rhel 5, oracle: 11.1.0.6 .
    I have read some where that log files has reached 2GB. but in my case its not.
    I have attached the listener log also.
    Pls respond if u come across this error...................
    ALERT LOG INFO:
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.6.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.6.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.6.0 - Production
    Time: 31-AUG-2009 14:07:22
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (3654_1185936)
    Mon Aug 31 14:47:11 2009
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.6.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.6.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.6.0 - Production
    Time: 31-AUG-2009 14:47:11
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (5046_1214608)
    30338,
    LISTENER LOG INFO:
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipe
    31-AUG-2009 18:24:00 * service_update * ORCL * 0
    Mon Aug 31 18:24:20 2009
    31-AUG-2009 18:24:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=GP03751))(SERVICE_NAME=orcl)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=GP03751))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.160.161)(PORT=2912)) * establish * orcl * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipe

    Sathish11844964 wrote:
    I am unable login through sqlplus on my remote database server from clients . Where as i am able connect locally on the server.When connecting locally, the OCI client driver starts up the dedicated Oracle server process to service that session (which is why +$ORACLE_HOME+ needs to be set so that the driver can find the oracle executable and why +$ORACLE_SID+ needs to be set so that executable know which instance's SGA to attach to).
    When connect via TCP, the Listener accepts the connection. If it is a dedicated server request, the Listener does this part - creates a dedicated Oracle server process.
    It is this part that is failing according to the details you have supplied.
    First off - a work around if this is an urgent problem that needs to be resolved (and potentially also the solution for your underlying problem) - configure Oracle Shared Server and have the OLTP clients connect to shared servers.
    some times i am able to connect from clients(after 5 Mins). After that the session is working fine.This sounds like a problem with dedicated Oracle server process taking an extraordinary long time to start up. This will usually be an o/s related problem, as it is the kernel's task to allocate resources and memory, load that executable from disk, initialise it, etc.
    The response of tnsping goes to 20000 msecs.This is something different - it means that the Listener is slow to accept() (a socket call) an incoming connection request. Likely this is caused by the Listener waiting on a dedicated server processes to start, or insufficient server resources to accept and process the incoming (tnsping) connection.
    I have read some where that log files has reached 2GB. but in my case its not.I would expect to see some kind of server problem. Number of processes allowed per o/s user being exceeded. Lots of swapping between the swap disks and memory. Perhaps loads of connection attempts, packet drops and so on at IP stack level.
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipeThis means that the Listener attempted to start an Oracle server executable, but the the executable did not respond to the Listener (inter process communication likely needs to happen). Thus the Listener could not hand over the client connection to the server process.
    There are a couple of reasons why this can fail.. most of them I would think are o/s and resource related. (assuming that your listener.log is configured correctly)
    I suggest checking the server and ensuring that it is capable of handling the current processing and memory loads on it. Also double check your listener.ora file to ensure that the broken pipes (lost communication) is not caused by errant parameter settings.

  • Syntax errors for smarty code

    I work with smarty a lot, and I mean a lot.  Every single day in fact, all day long.  Is there a way to turn off the syntax errors for my smarty code?  Basically every file I open is going to tell me there are syntax errors all over the page...
    Thanks!

    I am not familiar with smarty but the options for disabling syntax errors can be found under the view menu,
    View > Code View Options > Syntax Error Alerts in Info Bar (tick or untick)
    Richard

  • Getting JasperException - in a JSP file

    Hello all,
    I am using a custom tag - that uses a JavaScriptDate bean...i did test it separately it works fine in a Jsp page...
    Now, I created a Tag class as JavaScriptDateTag.java that has the following code:
    class JavaScriptDateTag extends TagSupport {
    public int doStartTag() {
    try {
    JspWriter out = pageContext.getOut();
    JavaScriptDate now = new JavaScriptDate();
    out.write(now.getScriptDate());
    } catch (IOException e) {
    System.out.println("Error in JavaScriptDateTag" +
    e.getMessage());
    return TagSupport.SKIP_BODY;
    I also included this tag in JavaScriptDateTag.tld file...as today. this file contains one more tag "message" :
    <tag>
    <name>today</name>
    <tagclass>vlv.mserver.mtags.JavaScriptDate</tagclass>
    <info>Display current date</info>
    </tag>
    <tag>
    <name>message</name>
    <tagclass>vlv.mserver.mtags.JavaScriptExampleTag</tagclass>
    <info>Display Alert Box</info>
    </tag>
    Now i tried in a JSP page i get an error as follows:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /jsps/tester.jsp
    Generated servlet error:
    D:\tomcat4.0.6\work\Standalone\localhost\iqc\jsps\tester$jsp.java:60: Method setPageContext(javax.servlet.jsp.PageContext) not found in class vlv.mserver.mtags.JavaScriptDate.
    jspxth_js_today_0.setPageContext(pageContext);
    ^
    The code in jsp page:
    <%@ taglib uri="http://www.jsp.com/jspkit/javascript" prefix="js" %>
    <html>
    <body bgcolor="#ccffff">
    Hi, <br> Here follows today's date:<js:today />
    <js:message>Hello</js:message>
    </body>
    </html>
    I have refered many books and couldn't get a solution to over come this ...
    Anyone pl. guide me... Thanks a lot

    Hello all
    Thanks a lot , i found the error it was in the "*.tld" file, the <tagclass> tag was pointed to the Javabean instead of the Tag class. Following is the correct code in tld file:
         <tag>
              <name>today</name>
              <tagclass>vlv.mserver.mtags.JavaScriptDateTag</tagclass>
              <info>Display current date</info>
         </tag>
    :)

Maybe you are looking for

  • Possible to move boot display to different DVI port? (GTX780)

    I doubt this is possible, but just in case : is it possible to force boot screens to a different port on the video card? The MSI GTX780 has two DVI ports - one DVI-I (which includes analog display) and DVI-D (which does not). The DVI-I port displays

  • DMS:Object link to Purchase requesition item giving error

    Dear All, I have a requirement to attach documents in Purchase requesition item, but if i try to attach the object link in DIR from CV01N, it gives ma an error "The status RL cannot be set because no objects exist to the following links"Purchase req.

  • How to connect oracle database into VC?GIve step by step.

    Hi Experts, Please help How to connect oracle database into VC? I need step by step. what shall i do the first to connect via jdbc or  something else. whether we have to create dsn name or using jdbc connections?which one to use? Please give the basi

  • Regarding Mapping In XI for Oracle Structure

    Hi Eveyone, How should i need to assing a system date and message date need to desing in Xi when i am passing message from R/3xiOracle Regard's Raj

  • My phone is kind of froze after the ios update.. what do i do?

    I did the IOS update that it prompted me to do and it shut itself off and was restarting and took forever so i shut it off and now i try to turn it back on and it keeps flashing the apple logo but wont turn back on... It wont charge or sync to my com