Internationalize generated Menu on Express V2.0.F.2

I'm trying to change the message catalog related to Express Menu.
To do that I perform these steps :
* change Menu messages in winen_us.msg file in the $Forte_Root\userapp\express\cl8\message directory
* compile winen_us.msg and en_us.msg together to create the en_us.cat new file
* copy the new en_us.cat in $Forte_Root\install\nls\exmsg
* restart the Launcher
When I run my test project the changes that I have done in the messages doesn't appear on the Express window Menu item .
Example : I have changed the description of the Result Set Menu entry that is related to Message 665 on Message Set 60100.
Thanks in advance, Max.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Quote from: Seithennin on 27-December-08, 03:13:10
wanting to know about the AGP master 1 WS write And AGP master 1 WS read options in the bios .. should i set this to on? i've heard some motherboards are already set to 0  and some boards are defaulted at  2  so does anybody know what default setting the K8TNEO2-F v2.0 motherboard is set to?  (cause if i set these settings on , and the board is default to 0 then i will be losing performance) any ideas....?   thanks
On VIA KT 333 chipset,enableing  AGP Master 1 WS read and AGP Read Syncronization give me the feeling(i dont think it was some placebo effect )
that the games run smoother.
Try them out.
AGP master 1 WS write had the oposite effect on the VIA chipset.

Similar Messages

  • Select problem is solved.....may I ask a question about a vfp9.2 generated menu?

    In the past when I wrote a FoxPro app I never used the system generated menu. I somehow thought a form with command boxes looked better. I can be a hard head.
    The application I am working on was written by someone else and he used the system menu's. The menu bar and all associated dropdowns. I need to change (edit) the compiled menu, because I deleted many of his existing forms and replaced them with Forms I created.
    The project manager that I was given was from VFP7.0.....the previous developer didn't want to give up his cash cow. I created a new Project manager and perused the Drive to collect the tables, forms, programs etc...I have edited, changed and totally re-wrote
    everything and it is done. The help I got here was invaluable.
    I went into the project manager and edited the "menu.mnx" from there, followed that up by editing the menu code "xxxmenu.mpr" in notepad. But the menu has not updated. I have had this problem before and I ended up deleting the entire
    menu and totally recreating it. I have read and researched and have not found how to do this. I really don't want to re-write the entire thing. I am sure there is a simple remedy, but I haven't found it.
    I really want to deliver a completed application to my customer on Monday. The menu is the last thing.
    What am I missing?
    Dennis Downey

    Olaf,
    I read all of the instructions and people have always talked about the "generate menu" button....I figured they were drunk because I never saw such a choice. I only looked in the project manager menu options.
    After reading your response, I again clicked on "Modify" in the project manager and scratched my head again then looked up and saw the "menu" option in the menu bar......unbelievable. I really searched and searched for that, this something
    I shouldn't have to ask about.
    It was too simple.
    aside.....I would wager that we all save  memorable quotes we have encountered in life. I find that Robert Frost is listed in that section of my mind often. Now I have a new tab and the author is English Bob. He said "This is being creative, not
    drudgery"......good line.
    Thanks Again
    Dennis Downey

  • Where is the "Edge Reflow Project" on the Generate menu?

    I download trial version and updated new v14.1 just for the test this feature but there isnt "Edge Reflow Project on the Generate menu? Where is it?

    Hey Murat,
    I´ve got the same problem - have installed the Edge Reflow App, but it still shows the "Image Assets" Menu for using... Can´t find it also
    Does anybody know about this problem?
    btw - I don´t have the trial - working on a MBP (mid. 2013)
    Thnx for help - ...anybody... :/

  • Creating an auto-generating menu for fluxbox

    Fluxbox is one of the best wms for linux. If there's something that could replace any desktop, with low resources consumption, still being accessible and handy, than that's Fluxbox. The thing is when you install Fluxbox for the first time you feel something is lacking. That thing is the possibility of an auto-generating menu. Of course there's
    fluxbox-generate_menu
    and other likewise possibilities  but they kinda fail in doing what they should.   I'm a bit new to programming and even fresher when it comes to scripting in linux but I've though of a script that could do just that as it follows:
    #!/bin/bash
    while true
    do
    men="ArchSoft"
    ver=$(grep "$men" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $men == $ver ]
    then
    data="$(date +%Y-%m-%d\ %k:%M)"
    data2="$(grep "$data" /var/log/pacman.log | grep installed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$data2" ]
    then
    nr="$(grep "$data" /var/log/pacman.log | grep installed | wc -l)"
    int=$(seq 1 $nr)
    for i in $int
    do
    ch=$(grep "$data" /var/log/pacman.log | grep installed | sed 's/.*installed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    chr=$(grep "$ch" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    chb=$(ls /usr/bin | grep "$ch" | sed "s/.*$ch.*/$ch/" | tail -1)
    la=$(ls /usr/share/icons/hicolor/48x48/apps | grep $ch | sed "s/.*$ch.*/$ch/"| tail -1)
    lb=$(ls /usr/share/pixmaps | grep $ch | sed "s/.*$ch.*/$ch/" | tail -1)
    if [ $ch == $chb ]
    then
    if [ $ch == $chr ]
    then
    echo "there's already a menu entry"
    else
    if [ $ch == $la ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/icons/hicolor/48x48/apps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    elif [ $ch == $lb ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/pixmaps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    fi
    fi
    fi
    done
    fi
    rdata="$(grep "$data" /var/log/pacman.log | grep removed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$rdata" ]
    then
    nrem="$(grep "$data" /var/log/pacman.log | grep removed | wc -l)"
    inrem=$(seq 1 $nrem)
    for i in $inrem
    do
    rem=$(grep "$data" /var/log/pacman.log | grep removed | sed 's/.*removed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    remr=$(grep "$rem" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $rem == $remr ]
    then
    sed -i "/$rem/d" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    else
    echo "no menu entry to remove"
    fi
    done
    fi
    else
    sed -i "/^\[begin\] (Fluxbox)$/a[submenu] ($men)\n[end]" ~/.fluxbox/menu
    fi
    clear
    sleep 7
    done
    Explanation:
    I've used
    whilde true
    do
    sleep 7
    done
    to create an endless loop where "sleep" was used so it could take a break, therefore reducing hardware consumption
    men="ArchSoft"
    ver=$(grep "$men" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $men == $ver ]
    then
    else
    sed -i "/^\[begin\] (Fluxbox)$/a[submenu] ($men)\n[end]" ~/.fluxbox/menu
    fi
    This checks if the submenu where everything should automatically be added as entries  are already there, if not it creates them under the beginning of fluxbox menu script with the name ArchSoft. 
    data="$(date +%Y-%m-%d\ %k:%M)"
    data2="$(grep "$data" /var/log/pacman.log | grep installed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$data2" ]
    then
    fi
    this compares the actual data from the system clock with the data of the installed apps shown in pacman .log and if it finds a similar data of the installed apps it procedes to further steps
    nr="$(grep "$data" /var/log/pacman.log | grep installed | wc -l)"
    int=$(seq 1 $nr)
    for i in $int
    do
    ch=$(grep "$data" /var/log/pacman.log | grep installed | sed 's/.*installed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    chr=$(grep "$ch" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    chb=$(ls /usr/bin | grep "$ch" | sed "s/.*$ch.*/$ch/" | tail -1)
    la=$(ls /usr/share/icons/hicolor/48x48/apps | grep $ch | sed "s/.*$ch.*/$ch/"| tail -1)
    lb=$(ls /usr/share/pixmaps | grep $ch | sed "s/.*$ch.*/$ch/" | tail -1)
    if [ $ch == $chb ]
    then
    if [ $ch == $chr ]
    then
    echo "there's already a menu entry"
    else
    if [ $ch == $la ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/icons/hicolor/48x48/apps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    elif [ $ch == $lb ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/pixmaps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    fi
    fi
    fi
    done
    Here  because in pacman.log, the data of installed apps is shown in this manner YY-MM-DD hh:mm I had to consider using "for do", because in a minute a lot of applications can be installed using only a single "$pacman -S apps" command. Therefore I had to add somehow every app installed in a minute, separately to ~/fluxbox/menu. If the data of the installed apps in pacaman.log was show in this manner YY-MM-DD hh:mm:ss, therefore including seconds things would had been a lot more easier and precise, but I had to find a solution to that matter, and that solution was using "for do" .
    Also here it checks if the installed program shows as an executable in /usr/bin and if it has an icon in  /usr/share/icons/hicolor/48x48/apps/ or in /usr/share/pixmaps/, and only than it procedes in adding an entry to fluxbox menu for that app. This was necessary because not all programs installed, that have executables in /usr/bin are meant to be displayed as a fluxbox menu entry. Checking for an icon being a filter and at the same time something kinda useful for the overall aspect of the menu.
    rdata="$(grep "$data" /var/log/pacman.log | grep removed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$rdata" ]
    then
    nrem="$(grep "$data" /var/log/pacman.log | grep removed | wc -l)"
    inrem=$(seq 1 $nrem)
    for i in $inrem
    do
    rem=$(grep "$data" /var/log/pacman.log | grep removed | sed 's/.*removed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    remr=$(grep "$rem" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $rem == $remr ]
    then
    sed -i "/$rem/d" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    else
    echo "no menu entry to remove"
    fi
    done
    fi
    This part of the script removes the data from the menu entry pretty much in the same manner it was added, so I won't give further explanations.
    The Trouble:
    Most applications are added and removed just fine in the fluxbox menu entry, but some like chromium are added more than once and after pacman -R app they aren't removed. The script has still a lot of flaws, most of them because I'm new to scripting, but if someone can improve it or give suggestions it would be highly appreciated. Also if anybody that finds the script worthy enough, wants to develop it as his own I have nothing against it, just tell what changes and improvements you have brought as I wanna learn too.
    Also my goal is to make a daemon out of it, any suggestions in this direction would be highly appreciated.
    Thanks for your time and understanding, mostly thanks to those that helped me a bit in understanding the syntax, like  @Karol & @falconindy. You rule, 'cause  you make linux  seam like one big happy family
    George
    Last edited by I'mGeorge (2011-06-20 19:43:08)

    This is an awesome idea. I've wanted to do something like this for a little while, though not in bash...
    Since I'm not great in bash, I may make one in C (for learning) or Python (ditto) and comment on your implementation.
    If I understand right, you're building a menu first, then deleting parts of it as you go. Would it not be smarter to create a function for adding entries and call it only after you've decided whether an app belongs in the menu? Something like this:
    function add_to_menu() {
    # echo whatever to the config file
    if (app is on system && has an icon somewhere in /usr/share or /opt) {
    add_to_menu(foo)
    Personally, I would approach this by using a definition or grouping list (so you can make submenus) and organize your apps that way. I'd probably use an sqlite db or an ini file or some other way to store the heirarchy, then generate the menu. It looks like you've already put a lot of effort into this, though, so I wish you luck on it!

  • Crashing when trying to generate menu

    I am using premiere elements 4.  I create slideshows in another program and bring into PE to create chapters and menu.  I just imported a MPEG and have no problems until I go to generate the menu.  It crashes everytime, the minute I click on the menu tab.  Any ideas on what the problem may be.  I have never had any problems with this before.
    My second question is this.  When importing a widescreen format video, the pictures are always cut off from the original.  I use the same setting from the export to importing into premiere.  But premiere seems to resize them.  Could someone please inform me on how to avoid this?
    I appreciate any help with these problems.  I have a show to complete and really need to get this figured out.
    Thanks so much for any help!

    Instead of Exporting from the other SlideShow program as MPEG, why not Export as DV-AVI Type II, and Import that. When you go to DVD-Video, with the MPEG, you will incur another MPEG compression to the DVD-Video's MPEG-2 format. That is like a FAX of a FAX.
    Going with that workflow might well get around the crashing too.
    Now, if your Imported material is being cut up, it is likely that:
    A.) your Project Preset does not match 100%, Frame Size, PAR, etc., your Imported footage - it should
    B.) you then have Scale to Frame checked
    If you go with the solution in A.), the B.) will not matter.
    Good luck,
    Hunt
    PS - Welcome to the forum!

  • Have a region generate result of expression on data reference

    within a region, is there a suggested way to generate an
    evaled javascript output? spry:content doesn't really do it.
    say i have a function makePrettyName(name) that returns a
    string
    i'd like to insert the result of
    makePrettyName( {dsPerson::name} )
    within a region as it is generated. any suggestions?
    thanks

    Hi,
    One way to do this is to register an observer function for
    the dsPerson dataset, for the onPostLoad event that will update the
    records under the 'name' column using you function:
    dsPerson.addObserver({onPostLoad: function() {
    var rows = dsPerson.getData();
    var numRows = rows.length;
    for (var idx = 0; idx < numRows; idx++)
    var row = rows[idx];
    row['name'] = makePrettyName(row['name']);
    Then use {dsPerson::name} reference to display the name of
    the person
    Regards,
    Dragos

  • Piero's time code generator/ FINAL CUT EXPRESS

    Does anyone know how to use Piero's time code program? I cannot get the numbers to move once I place the effect on the clip. They just stay at 00:00:00. Using FINAL CUT EXPRESS

    Getting the same problem. No numbers rolling over.
    Using: FCE 4.0.1, PF's TC Gen. v4.2
    Plugin used in: FCE
    Filter is applied to a slug being composited over other clips (so I can apply PF's TC Gen. over a range of cuts, rather than each underlying cut)
    Timecodes: FCE TimeCode
    CURRENT TC: Checked, others unchecked.
    Some font and size options tailored.
    Easy Setup:
    Format: HD, RATE: 25.00fps
    Use: HDV-Apple Intermediate Codec 720p25
    Tips?

  • Generate xpath expression from xslt

    How can I generate an xpath expression for a selected node within xslt? I've found ways to get the node name, it's number and so on, but there doesn't seem to be a simple way to just print out the nodes xpath ( besides writing some type of recursive template )
    The application is to set an HTML <input/> fields name attribute to the XPATH. That way, from within my app I can catch the update values and apply using XPATH.

    Typically you will be using the XSLT functions like position(), for the actual position of the node and of course other XSLT axis specifiers like ancestor, sibling, descendant, etc. For more info go to http://www.mulberrytech.com and http://www.zvon.org for tutorials.
    Hope this helps

  • AweMenuGen - Awesome Menu Generator

    Hi. I created a project called awemenugen. A project exists in AUR. It's purpose is to create an application menu for awesome desktop environment. Basicaly, a program checks for all installed applications, categorizes them in categories and generates a lua script containing menu structure.
    After installing, run 'awemenugen'. A script will be generated in .config/awesome/applicationsmenu.lua (or if this folder does not exist, in your home folder).
    Next edit your rc.lua script (menu-generated script and rc.lua script must be in same folder) and add
    require("applicationsmenu")
    at the beginning of rc.lua script. Also, edit the section where menu is defined. For example, mine looks like:
    mymainmenu = awful.menu({items = {{"accessories", applicationsmenu.applicationsmenu(), beautiful.awesome_icon},
    { "open terminal", terminal },
    { "restart", awesome.restart },
    { "quit", awesome.quit }
    The essential part is
    {"accessories", applicationsmenu.applicationsmenu(), beautiful.awesome_icon}
    where generated menu is included. I didn't know how to make an announcement of newly created project, so in this way I inform of it's existence.
    Thanks.

    I tried awesome-desktop. Much better stuff! I'm using it from now on. Didn't know it existed. It works similarly as my project, but also includes icons, which makes it a lot nicer, plus it auto-generates main menu on awesome restart, while my app requires executing 'awemenugen' line.
    Maybe you'd like to check lxmed. It exists in AUR. It's a (not perfect) Java Swing application I made for organizing main menu in LXDE environment, but it can also be applied to any other, such as awesome

  • MyGtkMenu dinamic menu generator (auto-updated)

    I switched from lxpanel to bmpanel2 about a week or 10 days ago. With lxpanel I used the menu it provides, but bmpanel2 doesn't cames with a menu widget. One of the solutions suggested is use myGtkMenu, called from a launcher. I use Openbox with obmenugen, which auto-updates the menu every time I call it (right click on desktop), so, I want the same approach with myGtkMenu. This means that if I install a new application and it puts a .desktop file (which is the most common behavior), when I right-click in the desktop, and the menu is shown, the application is already under the category it belongs.
    The first version of obmenugen I wrote, was in python. obmenugen has evolved a lot since that, but the original python script, still having the main code needed to get the information from .desktop files, so, I tweaked the script and quickly have a usable version which generates a dinamic menu using the information present in .desktop files (/usr/share/applications/*.desktop).
    By now, the script still not adding icons to the menu, so, you end having a menu that looks similar to the Openbox menu. The layout of the menu is quite fixed (I don't know the term in english to describe "rígido"). To configure it, you must tweak the script itself, but it's easy if you don't need so much.
    In the future (I hope soon) I will be writing a modified version of obmenugen, also in the D programming language, with the same flexibility as obmenugen, but generating in myGtkMenu format.
    Edit it as needed (CONFIG, MY_GTK_MENU_BINARY, MENUPOS), and simply run it directly (save the code to a file, give it execution permissions, and call it).
    This is the script:
    #!/usr/bin/env python
    # -*- coding: UTF-8 -*-
    __license__ = """
    Copyright 2010 Pável Varela Rodríguez <[email protected]>
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.
    __author__ = "Pável Varela Rodríguez <[email protected]>"
    __version__ = "0.1"
    ### EDIT THIS TO YOUR NEEDS ###
    CONFIG = {
    "Terminal": "sakura",
    "Editor" : "gedit",
    "FileManager" : "thunar",
    "RunCommand" : "gmrun",
    "ExitCommand" : "oblogout"
    MY_GTK_MENU_BINARY="~/bin/myGtkMenu"
    MY_GTK_MENU_FILE="/tmp/myGtkMenu.txt"
    ICONSIZE=-1 # Set to -1 to ignore icon
    MENUPOS=(1, 30) # Set both to -1 to ignore position
    ### DO NOT EDIT FROM HERE ###
    import os, re
    OB_CFG_HOME = os.path.expanduser("~/.config/openbox")
    DEFAULT_CFG = {
    "Terminal": "xterm",
    "Editor" : "gedit",
    "FileManager" : "thunar",
    "RunCommand" : "gmrun"
    LANG = {}
    LANG["Long"] = os.environ["LANG"].split(".")[0]
    LANG["Short"] = LANG["Long"].split("_")[0]
    DOT_DESKTOP_LOCATIONS = [
    "/usr/share/applications",
    "/usr/share/applications/kde4"
    FILTERS = {
    "dotDesktop": re.compile('.+\.desktop'),
    "Categories": re.compile('Categories=.+'),
    "Name": re.compile('Name(\[(en_US|en)\]|)=.+'),
    "Exec": re.compile('Exec=.+'),
    "Icon": re.compile('Icon=.+'),
    CATEGORIES_PRIORITY = ["01System", "02Settings", "03Development", "04Education",
    "05AudioVideo", "06Audio", "07Video", "08Office",
    "09Graphics", "10Network", "11Utility", "12Viewer",
    "13Game"]
    MENU_TEMPLATE = """
    MENU_TOP
    SEPARATOR
    MENU_ACCESORIES
    MENU_GRAPHICS
    MENU_EDUCATION
    MENU_AUDIOVIDEO
    MENU_OFFICE
    MENU_GAMES
    MENU_NETWORK
    MENU_DEVEL
    MENU_SETTINGS
    MENU_SYSTEM
    SEPARATOR
    #submenu = Openbox Settings
    #\ticon = NULL
    #\tMENU_OPENBOX
    EXIT
    MENU_TOP = """item=Terminal\ncmd="%s"\nicon=NULL\n
    item=Editor\ncmd="%s"\nicon=NULL\n
    item=FileManager\ncmd="%s"\nicon=NULL\n
    item=Run\ncmd="%s"\nicon=NULL\n"""
    MENU_CATEGORY = """submenu = %s\n\ticon = NULL\n%s\n\n"""
    ITEM_ACTION = """\titem=%s\n\tcmd="%s"\n\ticon=%s\n\n"""
    MENU = ""
    LISTS = {
    "accesories": {"categories": ["utility"], "label": "Accesories", "files": []},
    "graphics": {"categories": ["graphics"], "label": "Graphics", "files": []},
    "education": {"categories": ["education"], "label": "Education", "files": []},
    "audiovideo": {"categories": ["audiovideo", "audio", "video"], "label": "Audio & Video", "files": []},
    "office": {"categories": ["office"], "label": "Office", "files": []},
    "games": {"categories": ["game"], "label": "Games", "files": []},
    "network": {"categories": ["network"], "label": "Network", "files": []},
    "devel": {"categories": ["development"], "label": "Development", "files": []},
    "settings": {"categories": ["settings"], "label": "Settings", "files": []},
    "system": {"categories": ["system"], "label": "System Tools", "files": []}
    def getDotDesktopFiles():
    filelist = []
    for directory in DOT_DESKTOP_LOCATIONS:
    utf8_dir = directory.decode('utf8')
    filelist += [os.path.join(utf8_dir, item.decode('utf8'))
    for item in os.listdir(directory)
    if FILTERS["dotDesktop"].match(item)]
    return filelist
    def __cleanValue(value):
    for to_clean in ["%U", "%u", "%F", "%f", "\n"]:
    value = value.replace(to_clean, "")
    value = value.replace("&", "&")
    value = value.strip()
    return value
    def getName(content):
    for line in content:
    if FILTERS["Name"].match(line):
    return __cleanValue(line.split("=")[1])
    return None
    def getCategory(content):
    for line in content:
    if FILTERS["Categories"].match(line):
    categories = [item.replace("\n", "") for item in line.split("=")[1].split(";")]
    for cat in CATEGORIES_PRIORITY:
    if cat[2:] in categories:
    return __cleanValue(cat[2:])
    return None
    def getExecCmd(content):
    for line in content:
    if FILTERS["Exec"].match(line):
    return __cleanValue(line.split("=")[1])
    return None
    def getIcon(content):
    if ICONSIZE > 0:
    for line in content:
    if FILTERS["Icon"].match(line):
    return __cleanValue(line.split("=")[1])
    return "NULL"
    def parseDotDesktopFile(filepath):
    content = open(filepath, "r").readlines()
    name = getName(content)
    category = getCategory(content)
    exec_cmd = getExecCmd(content)
    icon = getIcon(content)
    if None in [name, category, exec_cmd]:
    return None
    else:
    return {"Name": name,
    "Category": category,
    "Exec": exec_cmd,
    "Icon": icon}
    def fillLists():
    files = getDotDesktopFiles()
    for currentFile in getDotDesktopFiles():
    info = parseDotDesktopFile(currentFile)
    if info:
    for category_list in LISTS.keys():
    if info["Category"].lower() in LISTS[category_list]["categories"]:
    LISTS[category_list]["files"].append(info)
    def __genMenuTop():
    for key in CONFIG.keys():
    if CONFIG[key]: DEFAULT_CFG[key] = CONFIG[key]
    return MENU_TOP % (DEFAULT_CFG["Terminal"],
    DEFAULT_CFG["Editor"],
    DEFAULT_CFG["FileManager"],
    DEFAULT_CFG["RunCommand"])
    def __genCategoryMenu(category):
    items = ""
    LISTS[category]["files"].sort()
    for item in LISTS[category]["files"]:
    items += ITEM_ACTION % (item["Name"], item["Exec"], item["Icon"])
    if not items:
    return ""
    menu_label = LISTS[category]["label"]
    return MENU_CATEGORY % (menu_label, items)
    def __genMenuOpenbox():
    items = ""
    AUTOSTARTSH = os.path.join(OB_CFG_HOME, "autostart.sh")
    if not os.path.exists(AUTOSTARTSH):
    f = open(AUTOSTARTSH, "w")
    f.close()
    os.chmod(AUTOSTARTSH, 0744)
    items += ITEM_ACTION[8:] % ("Configure Autostarted Applications", "%s %s" % (DEFAULT_CFG["Editor"], AUTOSTARTSH))
    for item in LISTS["settings"]["files"]:
    if item["Exec"] in ["obconf"]:
    items += ITEM_ACTION[:-1] % (item["Name"], item["Exec"], item["Icon"])
    return items
    def __genMenu():
    fillLists()
    MENU = MENU_TEMPLATE.replace("MENU_TOP", __genMenuTop())
    for category in LISTS.keys():
    MENU = MENU.replace("MENU_%s" % category.upper(), __genCategoryMenu(category))
    #MENU = MENU.replace("MENU_OPENBOX", __genMenuOpenbox())
    MENU = MENU.replace("EXIT", "\nitem=Exit\ncmd=%s\nicon=NULL\n" % CONFIG["ExitCommand"])
    if ICONSIZE > 0:
    MENU = "iconsize = %d\n%s" % (ICONSIZE, MENU)
    if MENUPOS[0] > 0 and MENUPOS[1] > 0:
    MENU = "MenuPosition = %d %d\n%s" % (MENUPOS[0], MENUPOS[1], MENU)
    return MENU
    def __writeMenuFile(content):
    filePath = os.path.join("/tmp", MY_GTK_MENU_FILE)
    menuFile = open(filePath, "w")
    menuFile.write(content)
    menuFile.close()
    if __name__ == "__main__":
    if len(os.sys.argv) > 2:
    print("Bad arguments length!!")
    elif "--help" in os.sys.argv or "-h" in os.sys.argv:
    print "La ayuda"
    elif len(os.sys.argv) == 1:
    menu = __genMenu()
    #print(menu)
    __writeMenuFile(menu)
    os.system("%s %s" % (MY_GTK_MENU_BINARY, MY_GTK_MENU_FILE))
    else:
    print("Argument error: %s" % " ".join(os.sys.argv[1:]))
    The only things you need to edit are those present in the first section of the script. If you know wath you do, can also change the order of the categories, editing MENU_TEMPLATE.
    The most important are settings are:
    - MY_GTK_MENU_BINARY: Which you must set up to the myGtkMenu binary (the full path or simply myGtkMenu if it is in $PATH)
    - CONFIG: Put there the tools you use
    - MENUPOS: If you will use the generated menu the way Openbox show it's own menu (ie. with compiz+emerald standalone), set this to (-1, -1), the menu will appear just under the mouse pointer. I setted it to (1, 30), because I have my bmpanel2 at screen's top, and the launcher is at the begining (the left).
    Sorry about the ugly code, but this was written to do the job, quick and dirty.
    I hope you enjoy it, and wait for next versions, which will be really flexible and fast, as obmenugen.
    See you
    Last edited by NeOnsKuLL (2010-01-05 05:32:48)

    I used this script and it as the icon names generated by it are the ones in the .desktop files, myGtkMenu was not able to show icons. So i inserted a piece of code from cbpanel to get the absolute path into the mygtkmenu file.
    Here is the relevant piece of code:
    #copied from the cbpanel code
    def find_icon(icon):
    foundiconfile=None
    if icon == '':
    return foundiconfile
    if icon[0] == '/':
    return icon
    iconbase=('','Faenza','elementary','gnome','hicolor','locolor')
    iconpath='/usr/share/icons'
    sizelist =('', 'scalable', '256x256', '128x128', '64x64', '48x48', '32x32', '24x24')
    categorylist=('actions', 'apps','devices', 'categories','filesystems', 'places', 'status', 'stock', '')
    extensionlist = ('png', 'svg', 'xpm')
    iconimagelist=[]
    for extension in extensionlist:
    if (icon.find('.'+extension) != -1):
    icon = icon.replace('.'+extension,'')
    for size in sizelist:
    for extension in extensionlist:
    for category in categorylist:
    for iconbasecat in iconbase:
    iconfile = iconpath+"/"+iconbasecat+'/'+size+'/'+category+'/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    for extension in extensionlist:
    iconfile = '/usr/share/pixmaps/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    for extension in extensionlist:
    iconfile = '/usr/share/app-install/icons/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    # Seek if the files in pre-generated list exists.. first match is the best
    # return it
    for iconimage in iconimagelist:
    if os.path.exists(iconimage):
    return iconimage
    return foundiconfile
    #end of copy from cbpanel code
    And the relevant modification in NeOnsKuLL's script:
    def getIcon(content):
    if ICONSIZE > 0:
    for line in content:
    if FILTERS["Icon"].match(line):
    #return __cleanValue(line.split("=")[1])
    return find_icon(__cleanValue(line.split("=")[1]))
    return "NULL"
    This is my first attempt at doing anything with Python, so somebody with  any skills will do much better  than this copy-paste job
    I have no idea why the icons were not displayed in the first place though.
    Hope somebody finds it useful as I found NeOnsKull's script.

  • Openbox Menu generator script

    Hey guys, not sure if this is in the right section...
    I know I'm not the only one using Openbox around here, so I'm sure you have run in to the issue of losing your custom menu entries every time you regen a menu with menumaker; to compensate, I threw together a little script that takes static header/footer menu sections and puts them around the automatically-generated menu generated by menumaker. It then copies the updated menu to ~/.config/openbox/menu.xml. As soon as you restart/reconfigure Openbox, you have your updated menu.
    Obviously you would edit the header and footer to match your needs.
    Depends on "menumaker".
    http://drop.io/obmenugen
    Last edited by steevols (2009-08-01 01:20:21)

    I don't see the paperclips. I looked in IE also (I normally use Firefox) and not there either.
    At the very bottom of the screen, it says "You cannot download files in this forum", so I suspect that some piece of software is hiding the files from me.
    The entire text in the bottom right corner is:
    You can post new topics in this forum
    You can reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum
    You cannot attach files in this forum
    You cannot download files in this forum
    --John

  • Boris Calligraphy, Title 3D, and Final Cut Express HD 3.5

    Help!!
    So I'm working through Tom Wolsky's book (Final Cut Express HD 3.5 editing workshop) and I just got to lesson 12 to work with Title 3D. Well when I go to start the lesson, I try to call up the Title 3D from the generator menu in the viewer. The pop-up displays all the different selections except for Boris/Title 3D. I can't find it anywhere on the program. I've searched in my preferences folder on my HD and I noticed that the BorisFX plugins where installed and that Title 3D (in the Final Cut Express preferences folder) was also there. I've tried discarding the plugins and reinstalling them and that doesn't even seem to work. Does anyone have any idea why my FCE will not let me access Title 3D? Anyone else come across this problem? Tom, what do you think?

    I tried reinstalling - no joy.
    After some digging around on Google I found this forum post:
    http://forums.creativecow.net/readpost/15/857437
    Looks like the QuickTime 7.4 update broke a number of things including the Boris plug-ins. Basically they have lost their bundle flags so are not being recognised by Final Cut Express (or Pro). If you look at one of the replies to the above post there's a link to a file you can download which contains plug-ins with the bundle flag set - here's a direct link to the file:
    http://www.borisfx.com/download_files/CalligraphyForFCP.dmg
    Just copy the Title 3D.bundle and Title Crawl.bundle files to the following folder, overwriting the existing ones:
    /Library/Application Support/Final Cut Express Support/Plugins
    This fixed the problem for me.

  • Error in generating form with 6i

    I have installed designer 6i rel 2 with form developer 6i on NT
    4.0.
    When in design editor, I want to generate the form with generate
    module, the system generate "CDR-21600: A running Generator or
    Utility has failed."
    Also in action column writes: " It is possible that the internal
    cache is now in an inconsistent state. You are therefore
    recommended to close and restart the application."
    Could anyone tell me what is the problem and how to solve it.
    thanks

    Here is an document which describes some known causes of CDR-
    21600 errors. I hope it will help you.
    PURPOSE
    To describe some known causes of CDI-21600 errors and to
    suggest possible solutions and workarounds.
    SCOPE & APPLICATION
    This note was written for users of Oracle Designer releases 2.1.x
    and 6.0.
    CDI-21600 errors occur most frequently during Design Capture and
    when generating forms with the Forms and WebServer generators.
    Investigating CDI-21600 errors
    In Oracle Designer Release 2.1.2 and Release 6.0, this error has
    the form:
    CDI-21600 'A running generator or utility has failed'
    The Release 2.1.1 error message was: 'Generator or Utility throw
    an Exception'
    The CDI-21600 error message means that the generator is hitting
    an unhandled exception, also known as a GPF (general protection
    fault). The CDI-21600 error masks the underlying exception error.
    To see the real error do the following:
    1. Go into the Registry Editor (REGEDIT).
    2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
    3. Set EXCEPT_HANDLING to 0 (by default it is 1).
    Repeat the action that resulted in the error.
    Known Causes of CDI-21600 Errors and Possible Solutions
    Some of the reasons why CDI-21600 errors occur are listed below.
    1. A common cause of CDI-21600 errors is failure to install the
    necessary
    Developer patches.
    See [NOTE:64630.1] Developer Patches required to run
    Designer with Developer
    2. Check that Designer is running on a supported database. Also
    check that the
    TNS connection is correct.
    See [NOTE:60705.1] Designer Certification Matrix (HTML)
    3. Check for 'dangling' foreign keys, in other words FKs no longer
    owned by any
    table in the repository. Delete all invalid constraints.
    Invalid constraints may be created if you use the repository
    dump utility to
    dump and restore external foreign keys referencing tables
    shared into the
    application system, without dumping and restoring the tables
    that own them.
    If you restore a complete dump (rather than a 'skeleton' one),
    and then use
    the 'Reconnect Share Links' option when restoring, you may be
    able to
    resolve this problem.
    To get a complete list of 'dangling' constraints in your
    repository, connect
    using SQL*Plus and use the following query:
    SELECT app.name, key.name
    FROM ci_application_systems app, ci_constraints key
    WHERE key.table_reference IS NULL
    AND key.application_system_owned_by = app.id;
    You can also run CKAZANAL.ANAL_REFERENCES on your
    repository and delete all
    the invalid constraints that it finds. You can run the Repository
    Analyzer
    from: Front Panel -> Repository Administration Utility -> Utilities.
    NOTE: There may be inconsistencies in the repository that the
    Repository
    Analyzer cannot fix. You might solve such problems by
    dropping all the
    tables of your application, recreate them from the ERD,
    then use the
    DDT and recreate your modules.
    [BUG:847190] CDI-21600 during forms generation: 'dangling'
    foreign key
    "Since the generator is running on a repository that contains
    invalid
    constraints and the Repository Analyzer solves the problem,
    bug closed as
    unfeasible to fix."
    4. Check your modules for invalid or missing references such as
    missing window
    placements.
    5. Try generating your module against default templates and
    object libraries.
    6. When capturing forms or libraries, try capturing the form or
    library without
    application logic, then capture the application logic on its own.
    See [NOTE:1064690.6] CDI-21600 when capturing design of
    form with
    application logic
    [BUG:757541] DESCAP: CDI-21600 error reported when
    capturing with
    application logic
    Fixed In Ver: 6.0
    [BUG:926383] Duplicate of [BUG:757541] This has been fixed in
    2.1.2 patch
    779559. However you would be advised to apply a later patch
    such as 855635
    which fixes more bugs in this area.
    7. Make sure that all objects that are referenced by the form have
    been
    captured into the repository before capturing the form.
    8. A CDI-21600 will occur if a lookup usage displays only one
    column of
    datatype DATE or if the column of datatype DATE is displayed
    as the first
    item in the block.
    Workaround
    Add more column usages to the lookup block and do not
    display the DATE data
    type column usage as the first item in the block.
    9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
    Fixed In Ver: 6.5.3.0
    Workaround
    Make sure that you have an argument in the called module that
    is mapped to
    the "Argument Passed Value" in the calling module. The only
    way to get this
    mapping back once the APV has the <Module Argument> label
    is to delete it
    and recreate it.
    10. [BUG:801736] CDI-21600 on design capture of a form with
    subclassed object
    Fixed In Ver: 6.0.3.1.0 (backport)
    Fixed In Ver: 6.5
    You have an item that has been subclassed to an object.
    Checking the Design
    Capture option 'Capture Control Blocks' causes the CDI-21600
    error. Uncheck
    'Capture Control Blocks' and the problem does not occur. Open
    the FMB in
    Forms*Builder and look at Data Blocks -> Items. Break the link
    to the
    object, save the FMB, and the form will capture (similar to
    [BUG:794872]).
    Alternatively, ensure the link can be established.
    11. [BUG:850436] CDI-21600 on generation of a form with template
    having
    subclassed object group
    You try to generate a form out of Designer that uses a user-
    defined
    template. If a collection of objects in the template is grouped
    into an
    object group, dragged into the object library and then either
    copied or
    subclassed into a form, when the form is generated you get a
    CDI-21600
    error.
    12. [BUG:822659] Module generation fails (CDI-21600) with multi-
    column PK having
    long prompt text
    Fixed In Ver: 6.5.3.2
    Module generation with multi-column primary key having long
    prompt text
    causes CDI-21600 with preference MSGSFT set.
    Workaround
    Shorten the prompt text of PKs may not be not applicable. You
    may loose end
    user information.
    You may have the same problem with a mandatory compound
    FK. CASEOFG tries to
    generate a message '<P1> must be entered', where <P1>
    contains all the
    prompts of the bound items from the FK. If you reduce the
    length of the
    prompts, or set MSGSFT = NULL or WEDI = S or property
    Mandatory?=No, it
    works correctly.
    13. [BUG:792542] Capturing application logic causes CDI-21600
    (V2 style
    triggers)
    Fixed In Ver: 6.5.5
    After removal of the v2 triggers, the form captures/merges OK
    on 5.0.24.8,
    provided patch 875027 has not been applied.
    14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
    key components
    Fixed In Ver: 6.5.11
    Generating a module with tables having a primary key not
    correctly defined
    (no PK component) will cause a CDI-21600 error. This can
    occur when
    unloading a module from the RON. If you pick up the module
    (and only the
    module) in the unload set, the table and its PK are unloaded as
    a skeleton.
    Loading the .DAT file into a new application will create a PK
    without a
    component.
    15. [BUG:771549] CDI-21600 if cannot connect to the DB with
    connect string in
    Options (Compile)
    Fixed In Ver: 6.5.13
    If you cannot connect to the DB with the connect string
    specified in options
    (Compile), the forms generator will fail with CDI-21600.
    This problem occurs when you cannot connect to the DB
    because:
    - the username or password is wrong;
    - or the SQL*Net alias is not defined in the TNSNAMES.ORA
    file;
    - or the SQL*Net listener is not started;
    - or the DB is down.
    16. [BUG:785106] CDI-21600 when generate master detail form
    with preserve layout
    [BUG:855812] is a duplicate of this bug.
    Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
    Fixed In Ver: 6.0
    Fixed In Ver: 6.5.3
    You have a master-detail Form with the Master having items
    partly on a TAB
    Canvas. Generate Module works OK. You enter Forms Builder
    and move some
    items on the tabs (just small changes, items are still on the
    same tabs).
    You change the look of the Detail and change Records
    Displayed. Now in
    Designer you generate the Module with Preserve Layout. You
    get a CDI-21600
    error. The problem might reproduce without doing any changes
    in Forms
    Builder, just by generating with Preserve Layout.
    17. [BUG:891306] If primary key column of lookup in check
    constraint comment of
    base table
    Fixed In Ver: 6.5.5
    Workaround
    Do not use the name of the bound item that is based on the
    primary key
    column of the lookup table in a check constraint comment of
    the base table.
    18. [BUG:896026] Forms gen throws assertion failure in
    CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
    Fixed In Ver: 6.5.7
    A problem is caused by a PL/SQL definition (function, package,
    procedure)
    being defined as a called module for the module you are trying
    to generate.
    To resolve the problem and enable the module to be generated,
    remove all
    Called Modules that are PL/SQL definitions (functions,
    procedures or
    packages).
    See [NOTE:2107207.6] CDI-21600 during generation of module
    or Assertion
    Failure \cv\cvi\cvibni.cpp
    19. [BUG:812333] CDI-21600 generating a web module after
    adding an unbound item
    Fixed In Ver: 6.5.3.0
    Backport [BUG:1280667] raised to fix by 6.0.3.9
    You add an unbound item (SQL expression) to a Web module.
    When you try to
    generate the module you get a CDI-21600 error. If you delete the
    unbound
    item the Web module generates correctly.
    In a test case the problem occurred during validation of the
    derivation
    text, if the master module component was in a different module.
    A workaround
    was to rearrange module components so that this was not the
    case.
    20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
    WHEN GENERATING INCORRECT
    DERIVATION EXPRESSION
    Message
    CDR-21605: Failed while processing Module <mod> in function
    CCVDiag::TraceGeneratorMessage BOF
    Cause
    The generator failed due to an unexpected error - the
    error indicates the object the generator was processing
    when it failed.
    Helena

  • Using the variable ? operator in an XPath Expression

    I'm trying to using the variable operator (?) in an Oracle prepared statement used in a query where clause. Here is the query:
    select xt.APPLICATION_NAME, xt.VERSION, xt.EVENT_TYPE, xt.SENDING_SITE, xt.RECEIVING_SITE, xt.EVENT_ID
          from AUDITED_EVENT_XML_MIN e,
             XMLTable(XMLNAMESPACES('http://gov/va/med/datasharing/audit/endpoint/audit' AS "xae"),
                    '/xae:auditable-event'
                    PASSING e.xml_event_content
                    COLUMNS
                    APPLICATION_NAME VARCHAR2(255) PATH 'xae:application-name',
                    VERSION          VARCHAR2(255) PATH 'xae:version',
                    EVENT_TYPE       VARCHAR2(255) PATH 'xae:event-type',
                    SENDING_SITE     VARCHAR2(255) PATH 'xae:xml-event-content/*/MSH/MSH.4/HD.2',
                    RECEIVING_SITE   VARCHAR2(255) PATH 'xae:xml-event-content/*/MSH/MSH.6/HD.2',
                    EVENT_ID         VARCHAR2(255) PATH 'xae:xml-event-content/*/MSH/MSH.10') xt
                where existsNode(E.XML_EVENT_CONTENT, '/xae:auditable-event[xae:event-type=?]','xmlns:xae="http://gov/va/med/datasharing/audit/endpoint/audit"') = 1This code works when the ? is replaced with "aValue". I need to use the ? so that my Java client can pass a variable value into the query.
    Is this a supportable feature or am I doing something wrong?
    I didn't see any examples in the Oracle XML DB Developers Guide where there was a ? in an XPath expression.
    I also tried "?" with the same issue...
    Here is the version info:
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Sep 10 18:41:55 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsAny assistance would be greatly appreciated.
    Thanks in advance...

    I incorporated this suggestion and it worked very well. Thanks!
    Now I have converted my solution to use a structured index. As such, I want to write the where clauses in terms of column names rather than XPath expressions.
    I hoped it was as simple as changing the code that generates the XPath expression to generate a SQL expression. After making that change, I'm now getting this error:
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00920: invalid relational operator
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:686)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:617)
         at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:559)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1077)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3425)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1490)
         at gov.va.med.datasharing.audit.dao.jdbc.runner.MapQueryRunner.run(MapQueryRunner.java:47)
         at gov.va.med.datasharing.audit.web.dao.jdbc.AuditableEventsQueryDAOImpl.getAuditableEventsByDate(AuditableEventsQueryDAOImpl.java:150)It seemed to me that if it worked for the XPath expression that it should also work for the SQL expression.
    The static SQL is:
    SELECT PK_ID, EVENT_TYPE, OUTCOME, SENDING_SITE, RECEIVING_SITE, CREATED_TIME, EVENT_ID, PATIENT_ID FROM
      (SELECT rownum as rn, PK_ID, EVENT_TYPE, OUTCOME, SENDING_SITE, RECEIVING_SITE, CREATED_TIME, EVENT_ID, PATIENT_ID FROM
         (SELECT aet.AUDITABLE_EVENT_XML_PK_ID AS PK_ID, xt.EVENT_TYPE, xt.OUTCOME, xt.SENDING_SITE, xt.RECEIVING_SITE, aet.CREATED_TIME as CREATED_TIME, xt.EVENT_ID, xt.PATIENT_ID
            FROM AUDITABLE_EVENT_XML aet,
              XMLTable(XMLNAMESPACES('http://gov/va/med/datasharing/audit/endpoint/audit' AS "xae"),
                '/xae:auditable-event'
                PASSING aet.xml_event_content
                COLUMNS
                EVENT_TYPE       VARCHAR2(255) PATH 'xae:event-type',
                SENDING_SITE     VARCHAR2(255) PATH 'xae:sending-site',
                RECEIVING_SITE   VARCHAR2(255) PATH 'xae:receiving-site',
                EVENT_ID         VARCHAR2(255) PATH 'xae:event-id',
                PATIENT_ID           VARCHAR2(255) PATH 'xae:patient-id',
                OUTCOME                VARCHAR2(255) PATH 'xae:outcome') xt
            WHERE aet.CREATED_TIME BETWEEN ? AND ?
                 AND ?
          ) ORDER BY CREATED_TIME desc
        ) WHERE rn &gt; ? and rn &lt;= ?So I'm thinking that Oracle must perform strong checking in SQL, not allowing the '=' operator to be substituted. If I run this query in Toad, replacing the ? with the SQL, it runs fine...
    Can someone tell me whether or not this is a legal substitution?
    The SQL that runs in Toad is:
    SELECT PK_ID, EVENT_TYPE, OUTCOME, SENDING_SITE, RECEIVING_SITE, CREATED_TIME, EVENT_ID, PATIENT_ID FROM
      (SELECT rownum as rn, PK_ID, EVENT_TYPE, OUTCOME, SENDING_SITE, RECEIVING_SITE, CREATED_TIME, EVENT_ID, PATIENT_ID FROM
         (SELECT aet.AUDITABLE_EVENT_XML_PK_ID AS PK_ID, xt.EVENT_TYPE, xt.OUTCOME, xt.SENDING_SITE, xt.RECEIVING_SITE, aet.CREATED_TIME as CREATED_TIME, xt.EVENT_ID, xt.PATIENT_ID
            FROM AUDITABLE_EVENT_XML aet,
              XMLTable(XMLNAMESPACES('http://gov/va/med/datasharing/audit/endpoint/audit' AS "xae"),
                '/xae:auditable-event'
                PASSING aet.xml_event_content
                COLUMNS
                EVENT_TYPE       VARCHAR2(255) PATH 'xae:event-type',
                SENDING_SITE     VARCHAR2(255) PATH 'xae:sending-site',
                RECEIVING_SITE   VARCHAR2(255) PATH 'xae:receiving-site',
                EVENT_ID         VARCHAR2(255) PATH 'xae:event-id',
                PATIENT_ID         VARCHAR2(255) PATH 'xae:patient-id',
                OUTCOME             VARCHAR2(255) PATH 'xae:outcome') xt
            WHERE aet.CREATED_TIME BETWEEN TO_DATE ('9/19/2011 12:00:01 AM','MM/DD/YYYY HH:MI:SS PM')
                                         AND TO_DATE ('12/20/2012 12:00:00 AM','MM/DD/YYYY HH:MI:SS PM')
                AND (OUTCOME=0 or OUTCOME=1)
          ) ORDER BY CREATED_TIME desc
        ) WHERE rn > 0 and rn <= 5;Any assistance will be appreciated,
    Thanks in advance.

  • How can i create menu & submenu dynamically in JSF?

    Please tell me how can i generate menu & submenu in JSF using database or dynamically.

    Stephen,
    Check this page out for some elementaries on dynamic pages in UIX. The LOV is essentially just like any other UIX page, with the two differences: it's launched and submitted differently. But these differences don't affect what content is displayed on the page.
    Dynamic Structure in ADF UIX Pages:
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.ChildData/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Cdynamic%7Ehtml/

Maybe you are looking for

  • My files no longer sort properly - files beginning with AEIOU come before

    My files no longer sort properly - files beginning with AEIOU come first after numbers and special characters, then letters H, K, M-N, P, W, B-D and so on. I click on the column header again and it reverses the sort, but still messed up. This convolu

  • Any Help on PDF Form Genration

    Dear Experts, I have couple of doubts! 1. Is Summary Button in Account TI displays a PDF is it a factsheet or a form? 2. How do i achieve similar functionality  with my Custom Button? I needed user to see the Custom PDF.. so any help for that or a tu

  • Stupid question How to Import into Motion???

    Just curious how to import video into Motion, can't get it to go. I use a sony ex3, and Final Cut Pro. Help please, just getting started!!! Thanks ahead of time

  • Crashing computer for no apparent reason

    I have a Early 2009 iMac and since I updated to OSX 10.8.2 it crashes a lot.  I have gone from it never crashing to it happening 3-4 times in an hour.  Help.

  • Dng's growing in size.

    I noticed that my DNG files grew to massive sizes when making numerous brush stroke changes to a photograph. One DNG went from 30MB to 425 MB.  After updating the DNG and metatdata, the file shrunk to a normal size.  But, I notice that the photograph