Making seend OA FWK Work in JDEV

Hello All,
I've seen bits and pieces regarding this in here. Im extending a controller, i wonder if i could copy all the seeded pages
to my local machine and run it there to avoid bouncing of the apache. Where can i find the proper steps? Should
i copy all folders? should i put all xmls in the project? Thanks in advance.
Greg

The pages are running except for one which i get:
Error
CacheComponent not registered (KEY=FLEXFIELD_METADATA_CACHE) (APP=FND)
CacheComponent not registered (KEY=FLEXFIELD_METADATA_CACHE) (APP=FND)
What am i missing?

Similar Messages

  • Af:inputRangeSlider is not working in JDEV 11.1.1.6.0

    Hi,
    af:inputRangeSlider is not working in JDEV 11.1.1.6.0
    tried dragging and droping it on to a test jspx page.
    page stays in loading mode forever and sometimes page loads,but i am not able to change values of af:inputRangeSlider.
    This seems to be a bug
    on doing inspect element in the browser, i am getting following error
    Uncaught ReferenceError: TrRangeValidator is not defined
    please help me on this
    Regards,
    Shakir

    Hi, just to clear things out, this issue occur in JSFF only, but in jspx, hot code is fine...
    Here is my sample code where the issue occurs.
    HelloWorldTaskFlow.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="HelloWorldTaskFlow">
        <default-activity id="__1">viewHelloWorld</default-activity>
        <view id="viewHelloWorld">
          <page>/viewHelloWorld.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    viewHelloWorld.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelBorderLayout id="pbl1">
        <f:facet name="start"/>
        <f:facet name="bottom"/>
        <f:facet name="end"/>
        <f:facet name="top"/>
        <af:panelBox text="PanelBox1" id="pb1">
          <f:facet name="toolbar"/>
          <af:outputText value="Hello World Nakurato!" id="ot1"
                         inlineStyle="font-size:x-large;"/>
        </af:panelBox>
      </af:panelBorderLayout>
    </jsp:root>
    TestPage.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:region value="#{bindings.HelloWorldTaskFlow1.regionModel}" id="r1"/>
            <af:inputText value="Hello"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Any change in the jsff file does not take effect immediately when refresh. but in jspx, it works.
    Any thoughts???

  • Hi, I'm making hyperlinks. They work for the main page of the webpage, but when I'm trying to redirect the hyperlink to a "sub page" of the webpage it is still going to the main page. (allthough I'm pasting the complete url address)

    Hi, I'm making hyperlinks. They work for the main page of the webpage, but when I'm trying to redirect the hyperlink to a "sub page" of the webpage it is still going to the main page. (allthough I'm pasting the complete url address)

    Hi! first of all, thank you so much for your help.
    I don't know about that panel you are talking about.
    what I do is RIGHT CLICK, INTERACTIVE, NEW HYPERLINK, and a window pops up, where I paste the address (images).
    Where says URL I paste the complete address that the "sub page" gives me.
    Is that correct? (for the main page of the wabepage works correctly)
    thanks!!!

  • Getting MyFaces jsCookMenu to work in JDEV?

    I am trying to get the MyFaces jsCookMenu to work in Jdev but it keeps generating a blank page in the browser (view source shows the div and javascripts are there and I get no errors). My source is as follows, any suggestions appreciated:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:x="http://myfaces.apache.org/extensions">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title> menuTest </title>
    <script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"/>
    <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"/>
    <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"/>
    </head>
    <body>
    <x:jscookMenu layout="hbr" theme="ThemeOffice">
    <x:navigationMenuItem itemLabel="Clients"/>
    </x:jscookMenu>
    </body>
    </html>
    </f:view>
    </jsp:root>
    The jscookmenu directory (and contents) are in my public_html directory and myfaces-extensions.jar is in WEB-INF/lib

    Poking around recommendations for installing MyFaces in other IDEs I figured out I should copy commons-fileupload-1.0.jar into WEB-INF/lib and add the following to my web.xml:
    <!-- Extensions Filter -->
    <filter>
            <filter-name>extensionsFilter</filter-name>
            <filter-class>
                    org.apache.myfaces.component.html.util.ExtensionsFilter
            </filter-class>
            <init-param>
                    <description>
                            Set the size limit for uploaded files. Format: 10 - 10
                            bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                    </description>
                    <param-name>uploadMaxFileSize</param-name>
                    <param-value>100m</param-value>
            </init-param>
            <init-param>
                    <description>
                            Set the threshold size - files below this limit are
                            stored in memory, files above this limit are stored on
                            disk.
                            Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                    </description>
                    <param-name>uploadThresholdSize</param-name>
                    <param-value>100k</param-value>
            </init-param>
            <!--
            <init-param>
                    <param-name>uploadRepositoryPath</param-name>
                    <param-value>/temp</param-value>
                    <description>Set the path where the intermediary files will be stored.
                    </description>
            </init-param>
            -->
    </filter>
    <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <url-pattern>/faces/*</url-pattern>
    </filter-mapping>Unfortunately the last filter-mapping above appears to mess up the modal dialog capability in ADF (all modal dialogs contain only <HTML><BODY></BODY><HTML>).
    Also I still could not get the actions defined on my <x:jscookMenu> entries to fire (the form is submitted and the page reloads but the action functions are never invoked nor do any navigation rules fire).
    Can anyone recommend another set of menu components they have used successfully with ADF Faces?

  • Since upgrading to 10.8 I've had alot of issues burning DVD's. I've had the drive replaced and now I can burn from a new user account but not the old one. Is there any way of making the old one work?

    Since upgrading to 10.8 I've had alot of issues burning DVD's. I've had the drive replaced and now I can burn from a new user account but not the old one. Is there any way of making the old one work?
    Just want to avoild spending hours migrating everything across....

    Yes, I can read but just can't write DVD's. I get:
    This disc can’t be verified and might be unreliable. Try again using a new blank disc (error code 0x80020063).
    Originally I thought it was the old Moutain Lion DVD drive issue (but have had the drive recently replaced by Apple), so I tried creating a new account, which worked.
    In the old account I have reset SMU, Pram... but no change.

  • [Guide]Making the Logitech G510 Work On Linux!

    Update April 23, 2015: I've got a new keyboard (Corsair K95) so I personally probably won't touch this code ever again if I can help it, however it should be working just fine in it's current state without my dabbling, I've set the code up so that the macros are recorded to script files in /usr/share/g15daemon/macros/ with a provided example script, it should be easy enough to read or modify, and if desired the scripts can be replaced by custom executables. When the buttons on the keyboard are pressed they execute these scripts with a command line argument corresponding to the current M-Key state (so we have different functions for M1, M2 and M3 keys), but I thought this was the easiest and most versatile approach, I feel I've got a lot more freedom to customize the macro keys than I ever did in windows this way. As for the MR Key, it is functioning in that it will record a macro (through Xev) and output it to a text file: /usr/share/g15daemon/macros/Macros by running the MacroRecord script located at /usr/share/g15daemon/macros/MacroRecord, you need to ensure that these scripts are made executable when you install this (unless you use my custom pkgbuild on arch which does this automatically) to use these recorded Macros you just have to copy them over to one of the other scripts (for the respective key you wish to use). The Macro Recording script works for recording most normal macros, but if you try to break it, you will (You should be able to use up to 4 modifier keys on one button press (for a total of 5 buttons held down) without running into any problems, as a limitation) but this script is not complex so it should be easy for anyone using it to open it up and try to improve it or increase the amount of modifier keys supported per macro.
    I was working on a Qt5 application that would allow these files to be edited through a Qt based GUI, which also shows the macros recorded by MR for easily copying them over and saving the file. Everything is done except the save function, if someone asks me in a message, I will finish this application for them or send them the source code once I get it.
    Latest Source (Comes with Arch PKGBUILDs, install with makepkg -i)
    Older Source (Before I coded in the MR key)
    Source of Qt GUI Front-End (I never finished this program, you need qt-creator to open these source files and finish them yourself. Without this program you can just manually edit the files in /usr/share/g15daemon/macros as described below, the only parts that haven't been coded in yet are the save code, and the test button code. It should be easy to do though, there is example code in the saveFiles function which you can use to finish it (comment this function out if you want to compile it before you finish up coding it, this function breaks the code since it is not written in functional code) if you just adjust it based on the loadFiles function that is above it which does work for loading all the files, it should be pretty easy to finish this program up. If you finish coding it, feel free to send me a message so that I can link to your complete sources instead. These sources I'm releasing in public domain (do whatever you want with them) but Qt5 is LGPL 3.0 licensed.)
    There is now a wiki page for this, but it's content is slightly different from this thread and doesn't offer much support for other distributions.
    I have a logitech G510 keyboard, and 2 years back I spent about a week applying several patches I had scoured from around the net as well as making my own modifications as needed to make this work with the old g15daemon drivers (as in, I forked g15daemon, without actually changing the programs name). An alternative to this method is using the gnome15 project (just as g15daemon it is no longer being developed) but I had severe (and quite unacceptable) input lag when I used gnome 15 as well as other major issues and as such I vastly prefer my own method. (Besides I worked hard to make this work, I was toying with source code in a programming language I am not really familiar with (C) and did so non-stop for a week, it'd be a total waste if it wasn't better than the alternative!)
    And on february 11th 2015 I made yet another update to these drivers that made them significantly easier to use (before this time, the source code had to be manually edited and the drivers had to be then recompiled ino rder to edit the functionality of the G-Keys (not to mention the source code was an ugly mess because of this roundabout approach) this had to be done because the g15macro part of g15daemon never worked well with this keyboard, so I decided to hardcode the keys into the drivers as a temporary solution, now I've found a more permanent solution which is redirecting the keypresses to bash scripts. One script file for each button, I will explain how to do this later on.
    Here is the  original thread I made on this if anyone wants to see the ugly mess I went through to get here, luckily that's far behind me now and the code is getting more and more mature over time as I fix it little by little.
    How to do it:
    What you will need to do is apply these patches for libg15 and g15daemon. (If you want to do it the hard way, use the older Hardcode Patch but I don't recommend it unless you really know that you want it, and know why you want it.)
    This can be done on any distro I would assume, for gentoo refer to this thread. To get the sources Download this (latest source) and extract it with unrar, (on arch use makepkg -i to install) in the following order: "libg15 -> libg15render -> g15daemon -> g15stats" (Note: You can edit the macros in the macros folder before installing g15daemon. If you are not on arch you need to manually copy the macros folder to /usr/share/g15daemon/macros/, otherwise the pkgbuild will do it for you. If you are running in another distro you can delete the PKGBUILD file in the folders. I included the unmodified libg15render and g15stats too for the sake of convenience, and as a safety net if they disappear off the face of the internet, which is what they seem to be about to do. If you do not feel like trusting the sources I provided then fear not! the ones I provided are just the original sources (md5sum should match with those found there) (as development for the project seems to have been dropped and these were the final versions ever made) but I assure you, the sources I provided are the original ones downloaded straight from sourceforge. If you are on arch you can use ABS to get the sources from the official repositories and then replace the PKGBUILDs with the ones in my rar (or change them yourself, see wiki). If you want to download your own sources (remember to get my patches too!) then here is an alternative download for the default macros.
    Note: In the arch package there were other patches(config-write, recv-oob-answer and uinput) in the package in the official repositories, I added these three to my own file to avoid clutter, the first two are the first two entries of my file, the third is at line 40-71 (two entries) as a part of the same file where I coded in the G-Keys. Depending on your distro and how you get your hands on the sources you may have to adjust this as these patches may already have been applied for you (meaning mine will fail to patch because of mismatching sources). I have no idea what these patches are actually for (would be nice to know) but I imagine they're there for a reason and as such stuck with them.
    For other distros figure out how to compile packages from the sources (sorry Arch and Gentoo are the only distros I really use so I can't help with others, but I assure you this can be done on all distros. If it comes down to it ask on their forums for help!)
    In the libg15 patch I disabled support for other keyboard models in the first few lines (you will see which if you read the patch) as I suspect many of the changes made might break support for the other devices, but if you want to take your chances just remove the minus sign in front of the device you want to use and hope for the best. If you have a keyboard that was already supported by these drivers, the biggest benefit of getting my version working would be the smoother G-Key functions (since they aren't run through a third party program like g15macro, it's bound to be a little faster and less prone to bugs.) also if you have a G510s and want to try these drivers on that board, you will have to add your keyboards id into this section (or replace the one I added with the appropriate ID for your board) using lsusb to find the right values.
    I couldn't get g15macro to work properly with my keyboard and noticed several issues with it (it seemed like it was underdeveloped to me) so my solution to that problem was originally to hardcode the G-key functionalities into the base drivers; But later on I realized I could instead redirect the code to script files that I would create outside of the install, to avoid the load of pain that comes with hardcoding something you may frequently want to change. These drivers are run as root and as such you must be careful and use sudo where applicable to run the commands as your user rather than as root. By default all G-Key presses will be read as commands from the user with uid "#1000", which is in most cases the first user account created on the system. The bonus from this approach is that the G-Keys work much faster than they would using the g15macro and they are also much more customizable than they ever were in windows, the minus is that you need to know/learn bash/shell scripting in order to use it this way. That or find a way to edit the script files to be in a programming language you understand, but bash scripting is the most convenient since you get all the versatility of a terminal in your keyboard that way.
    To change the colors of your keyboard you need to edit the libg15.patch file below line 338 (//Set keyboard color based on M led state.) The code there uses the basic RGB format, and each M-Key has it's own line. The default is: Dark-ish Blue(M1/Fallback), Dark-ish Red(M2), Dark-ish Green(M3)
    To change the macros, you can (if you installed with my pkgbuild on arch) go to /usr/share/g15daemon/macros/ and within you will find 19 files, an "Example" file (this is like a backup, it's what can be used to reset files back to their defaults if you get lost.) The files are named after the keys they affect, each file has statements for M1, M2 and M3 and then a few extras for errors that uses libnotify for error messages. The default setup also uses libnotify to tell you which key was pressed, and which key was released. If you are not on arch or gentoo and could not install directly from my sources, you will need to either copy the files from my rar to "/usr/share/g15daemon/macros/" and edit them from there, or create them yourself from scratch on that path (the names of the scripts are G# where # is the number of the key, make sure that the files are executable with chmod +x if you are more advanced, you can edit the g15daemon.patch file if the location of the macros isn't to your liking and change the path to the scripts to something more convenient for you (e.g. ".../.config/g15daemon/")
    By default, the scripts will look something like this:
    #!/bin/sh
    declare -i mkey=$(( $2 + 1 ))
    declare -r key="G1"
    #M1
    if [[ "$1" == "on" && $2 -eq 0 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 0 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #M2
    if [[ "$1" == "on" && $2 -eq 1 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 1 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #M3
    if [[ "$1" == "on" && $2 -eq 2 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 2 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #Else (Errors)
    #If there is no input
    if [[ -z "$@" ]]; then
    /usr/bin/notify-send $key": Error!" 'There was no input'
    fi
    #If M key state is out of range (less than zero or more than 2)
    if [[ $2 -lt 0 || $2 -gt 2 ]]; then
    /usr/bin/notify-send $key": Error!" 'There is no M'$mkey'! (State='$1')'
    fi
    #If the first input variable (on/off) is incorrect. This should never happen.
    if [[ -n "$1" && "$1" != "on" && "$1" != "off" ]]; then
    /usr/bin/notify-send $key": Warning!" '"'$1'" is not a valid state! (M'$mkey'), defaulting to "off".'
    fi
    And here is an example of how the M1-M3 keys could be edited in this file. The "if" statements are events that occur when you press down on the button, and the elif statements are for the key release.
    #M1
    if [[ "$1" == "on" && $2 -eq 0 ]]; then
    thunar /mnt/stash/movies & disown
    fi
    #^elif is not needed and can be erased for this command to avoid the notification of key-release. The & disown part is extremely important, if you forget to add this to the end of every line where you execute a program that will keep running after you release the button, you will not be able to use any G-Keys until you terminate the program. If you remember to add the & disown, everything will be fine.
    #M2
    if [[ "$1" == "on" && $2 -eq 1 ]]; then
    xdotool keydown Ctrl && xdotool keydown Page_Down
    elif [ $2 -eq 1 ]; then
    xdotool keyup Ctrl && xdotool keyup Page_Down
    fi
    #^The above executes the keyboard combo Ctrl+Page Down (Next Tab) and holds these buttons down until your key release is detected.
    #M3
    if [[ "$1" == "on" && $2 -eq 2 ]]; then
    xdotool keydown Super && xdotool keydown F1 && xdotool keyup Super && xdotool keyup F1
    fi
    #^The above is my keyboard shortcut for changing workspaces, (Meta + F1-F6), since I won't ever need to hold these buttons down, I set them up to press and release on keydown, with no need to detect the key release, this is good to do to avoid a bug I mention lower in the guide.
    That's the gist of it, all you need to know. You can test-fire the commands in your terminal before you add them to the files. Recompiling and re-installing the G15Daemon (at least on arch) will overwrite your existing macros in /usr/lib/g15daemon/macros. Last but not least, you should remember the sleep command (for example, to restart g15daemon, do g15daemon -k && sleep 5 && g15daemon this is how you can set up timed commands and macros on your G-Keys as well. I may later on develop a GUI front-end for editing the macros, and program the MR-key to work like it does on Windows, but right now I'm satisfied with what I've got, so that will have to wait.
    You need to know:
    -The g15daemon service should be started after X11/Xorg-Server is started or any commands that require X (like opening a folder, or graphical notifications) will not work. (You can either just wait till you log in and use xinitrc or an autostart script for your desktop environment to start the service, or you can set up a restart script which kills the original instance (g15daemon -k) and starts a new one, this may be good to know if you would like the service to be started on bootup so you wont have to look at white leds until you have logged in. You can use sudo to run these services as a user). You can also try to have the g15daemon initiate after your display manager loads. (For example make the initscript depend on kdm if you're using kde, I have not tried this though)
    Add this to the sudo configuration with visudo so you can run the g15daemon with sudo and no password (this should work on most distros, if not find the executable, could be in sbin (is on gentoo) like so: "/usr/sbin/g15daemon")
    ALL ALL = (root) NOPASSWD: /usr/bin/g15daemon
    (You can replace the first "ALL" with a username or % group if you want to limit the command to just one user)
    -I have not tested the headphone/mic plugs on the keyboard (please do comment your results if you try to use that)
    -This is not completely bug free.
    -There is no support for tracking launched/focused application and changing the M-Key mode depending on what you are doing (this would be useful though)
    -The MR key is not supported, but the LED works.
    Known Issues: (ordered by severity, if you want to contribute fixing these issues is the best thing you can do to help as I seem incapable of it)
    Sometimes the Key Release of G keys is not detected (this means if you have a key bound to the button that is held until the key is released, the release may not be detected properly. This only happens if you press the key quickly, not if you hold it for a short period before releasing it this is solved by either pressing the key again, or not relying on the key-release state, the latter is fairly easy to do as you can use "variables" and "if"s and "do/while" or "for" in C to set keys with toggle functions.
    Keypress detection for the G-Keys isn't 100% reliable, it will work completely fine 95% of the time or so, but sometimes (usually only if a G key has not been pressed in a while) the key needs to be pressed twice (This was much worse when g15macro was used and the keys almost always had to be pressed twice if I recall correctly). This may look like it's a huge bother at first, but really I hardly ever notice this when I'm using the keyboard and it is a very rare occurance.
    The Volume Wheel is erratic, I used patches from the net to make the wheel work but the wheel was unusable, I managed to make it just barely usable but I wouldn't call it "reliable" in it's current state. It does however work "ok". The wheel worked fine with generic keyboard drivers so maybe there is something in there to shed light on how to make them properly work (remember that there was a bit in libg15.c that made the wheel work, the other half of it is in uinput.c)
    The M-Key leds (M1, M2 and M3) will not light up until a G-Key or one of the M keys is pressed (very minor, I tried to fix this but failed, gave up since it's not really important)
    Run "g15daemon -d" for debug mode to see output from the driver when it is running you will repeatedly get the following error, I have no idea what this is but I do not like it
    libg15: Unknown usb error: Keyboard Read !! (err is -75 (Value too large for defined data type))
    look around line 471 of the patched libg15.c to see where the error is being printed from.
    Terminating the g15daemon (g15daemon -k) will render the keyboard unusable and can result in bugs (for example your next keypress may be detected but release will not be detected) so be careful when doing something like that. Unplugging the keyboard and plugging it back in solves this issue.
    Scroll-Lock led does not work (this is not specific to this keyboard, it is a Linux problem and affects all keyboards as far as I am aware)
    I personally prefer using this keyboard in Linux over using it in Windows because of how much more configurable it is (there's nothing I can't do with the press of a button now) and switching workspaces with just one button each for a total of 6 is a joy!
    Feel free to comment below with any questions or thoughts, any suggestions to improve the code or other contributions are greatly appreciated! I am not skilled in C programming and as such some of my code may look hideous to those who would know what they're doing so better ways to achieve the same results will not be ignored either and I will add any significant updates to the OP when I see them.
    Good Luck and Enjoy
    PS: I know the libg15 patch is rather "unclean" (contains a lot of redundant patches, i.e. replacing a line with the same line) but I was too lazy to clean it up. I tried once but it did not work out so well
    If you have a G510s and this did not work for you, I may be able to help you get that working, comment if you want help with that (the first step to try is on the wiki)
    Last edited by rabcor (2015-05-08 14:41:34)

    Major Update: The G-Keys can now be edited without recompiling by editing shell scripts at "/usr/share/g15daemon/macros/"
    Each button has it's own script file named by it's label (e.g. to edit the functionality of G1, open the script named G1.) The button will try to execute the scripts as programs, so make sure they are executable (chmod +x) and as long as the name remains the same, if you want to replace the files with something different, know that the arguments currently given to the files ($1 and $2) are ($1)on/off and ($2)0-2  (where 0 is M1 and 2 is M3)
    To download the updated sources, go here (only the g15daemon source/patch was updated). This thread's OP has been updated.
    Last edited by rabcor (2015-02-12 04:46:48)

  • Format Cross tab not working in JDev 10.1.2.2.0.1929 - BIBeans:10122

    We recently upgraded JDev from 10121_1913 to 10.1.2.2.0.1929
    and Bi beans from: 10121 to 10122
    All the features are working fine, however I'm not able to use the "Format Crosstab" button on my Crosstab Presentations.( It works on the Graph presentations)
    When I click the format Crosstab button, nothing comes-up, but I get a null pointer exception in the Dos window.
    Mon Feb 19 16:09:38 CST 2007 In DefaultBuilderDialog::runDialog null
    java.lang.NullPointerException
    at oracle.dss.addins.editor.presentation.GridViewOptionsTool$1.getPreferredSize(GridViewOptionsTool.java:53)
    at java.awt.Window.pack(Window.java:438)
    at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
    at oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog(DefaultBuilder Dialog.java:524)
    at oracle.dss.addins.common.wizard.AbstractBuilderDialog.runDialog(AbstractBuilderDialog.java:275)
    at oracle.dss.datautil.gui.DefaultBuilderDialog.run(DefaultBuilderDialog.java:495)
    at oracle.dss.addins.editor.presentation.GridViewOptionsTool.runTool(GridViewOptionsTool.java:76)
    at oracle.dss.addins.editor.presentation.PresentationToolbarButton.actionPerformed(PresentationToolbarButton.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
    31)

    Opened SR with oracle. This has been identified as a bug - 5910576
    However if anyone needs a quick fix, you may want to contact oracle & get the 2 class files & update your biaddins.jar

  • TreeTable selectedRowKeys not working in Jdev 11.1.1.4

    Hi,
    We have a treetable which we create using bindings (underlying objects are POJOs and not BC)
    We used to add a row to the treetable and then select the first node. This code used to work "as is in Jdev 11.1.1.3"
    Now when we test the same code using Jdev 11.1.1.4; on adding a row to the treetable; all the contents of the tree table disappear.
    The code below contains
    a)The iterator - myTagVOsIterator which is used to build the treetable
    b) Call to a method dialogOkClick() in some other file which is responsible for adding an object into the myTagVOs List
    c) Setting the selectedRowKeys such that it points to the first row (causes a problem in 11.1.1.4)
    d) Expand all the Top Most Nodes using disclosedRowKeys (this works fine in both 11.1.1.3 and 11.1.1.4)
    e) Refresh the tree table
    Code is as follows:
    public void addRowToTableListener(ActionEvent actionEvent) {
    BindingContext bindingContext = BindingContext.getCurrent();
    BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
    DCBindingContainer dcBindingContainer =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcIteratorBinding = dcBindingContainer.findIteratorBinding("myTagVOsIterator");
    RowSetIterator rowSetIterator = dcIteratorBinding.getRowSetIterator();
    OperationBinding addOper = (OperationBinding)bindings.get("dialogOkClick");
    addOper.execute(); //Responsible for adding another object to the myTagVOs list
    if (dcIteratorBinding != null) {
    dcIteratorBinding.executeQuery(); //Refresh the iterator
    int currentRow = 0; //Point to first row in tree table
    dcIteratorBinding.setCurrentRowIndexInRange(currentRow);
    Row currRow = dcIteratorBinding.getRowAtRangeIndex(currentRow);
    rowSetIterator.setCurrentRow(currRow);
    Key key = rowSetIterator.getCurrentRow().getKey();
    dcIteratorBinding.setCurrentRowWithKey(key.toStringFormat(true));
    DCDataRow row = (DCDataRow)rowSetIterator.getCurrentRow();
    Key rowKey = row.getKey();
    List<Key> list = new ArrayList<Key>();
    list.add(rowKey);
    RowKeySet selectedRowKeys = new RowKeySetImpl();
    selectedRowKeys.add(list);
    timePeriodTree.setSelectedRowKeys(selectedRowKeys);
    //for expanding first level
    CollectionModel model = (CollectionModel)((RichTreeTable)timePeriodTree).getValue();
    JUCtrlHierBinding treeBinding = (JUCtrlHierBinding)model.getWrappedData();
    JUCtrlHierNodeBinding rootNode = treeBinding.getRootNodeBinding();
    RowKeySet rks = (((RichTreeTable)timePeriodTree).getDisclosedRowKeys());
    if (rks == null) {
    rks = new RowKeySetImpl();
    List<JUCtrlHierNodeBinding> firstLevelChildren = rootNode.getChildren();
    for (JUCtrlHierNodeBinding node : firstLevelChildren) {
    ArrayList l = new ArrayList();
    l.add(node.getRowKey());
    rks.add(l);
    ((RichTreeTable)timePeriodTree).setDisclosedRowKeys(rks);
    //end of for expanding first level
    AdfFacesContext ctx = AdfFacesContext.getCurrentInstance();
    ctx.addPartialTarget(timePeriodTree);
    Pls advise.
    Thanks
    Santosh

    Hi,
    below code works for me in a test case of mine. Note the difference to your code (mostly in that it avoids redundant code and in particular how it sets the selected rowkey)
        public String onEmployeeCreation() {
            BindingContext bindingContext = BindingContext.getCurrent();
            BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
            DCBindingContainer dcBindingContainer =
            (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding dcIteratorBinding = dcBindingContainer.findIteratorBinding("allDepartmentsIterator");
            SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yy");
            Employees newEmp = null;
            try {
              newEmp =  new Employees(new Long(211), "Jennifer2", "Whalen2", "JWHALEN2","515.123.4444",
                         sdf.parse("17-SEP-87"), "AD_ASST", new Long(4400), new Long(101),
                         new Long(10));
            } catch (ParseException e) {
                e.printStackTrace();
            OperationBinding addOper = (OperationBinding)bindings.get("createNewEmployee");
            addOper.getParamsMap().put("employee", newEmp);
            addOper.execute(); //Responsible for adding another object to the myTagVOs list
            dcIteratorBinding.executeQuery();
            dcIteratorBinding.setCurrentRowIndexInRange(0);
            rks = new RowKeySetImpl();
            ArrayList rowKey = new ArrayList();
            Object pk = dcIteratorBinding.getCurrentRow().getKey();
            rowKey.add(pk);
            rks.add(rowKey);
            treeTable.setSelectedRowKeys(rks);
            //treeTable.setDisclosedRowKeys(rks);
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(treeTable.getParent());
            return null;
        }Note that I made sure that on the generated metadata in the DataControl, the primary key attribute is marked as primary key (select the collection in the DC palette, choose Edit Definition from the context menu and select the PK attribute. In the PropertyInspector, set the primary key property to true)
    Frank

  • Steve Muenchs file upload sample (No. 69) does not work with JDev 10.1.3.1

    Hi,
    I installed and started Steves sample about uploading and storing OrdImage types (http://otn.oracle.com/products/jdev/tips/muench/jsfordimage/JSFOrdImageExample.zip).
    When I try to upload a file I get an exception:
    java.io.EOFException: Per-request disk space limits exceeded.
         at oracle.adfinternal.view.faces.webapp.UploadedFileImpl.loadFile(UploadedFileImpl.java:187)
         at oracle.adfinternal.view.faces.webapp.UploadedFileProcessorImpl.processFile(UploadedFileProcessorImpl.java:96)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doUploadFile(AdfFacesFilterImpl.java:247)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:163)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)I have found other postings concerning uploading a file with JDev10.1.3.1 (af:inputFile bug JDev10131 production ignores Per-request disk space limit
    Is it a bug with JDev 10.1.3.1? Any workaround available?
    I'm using JDev 10.1.3.1 on WinXP.
    Thanks,
    Markus

    I managed to correct this problem.
    The situation is the following:
    A CRUD page (Example: userList.jsp and userForm.jsp).
    The first page there is a af:table with tableSelectOne and a Edit button. (theres also other components, like af:menuBar and af:form, html, body and head)
    On submit, the backing bean(requestScope) gets the selected object (table.getSelectedRowData()), copy the values to the form fields and send (redirect=false) to the form page.
    When i try to update, the fileupload does not work and ignores the valueChangeListener. All the other fields are updated correctly.
    The form page is used to do Inserts and the upload works correctly.
    The problem is, when you redirect (redirect=false) from userList.jsp (usesFileUpload="false")
    to the other page, that uses the upload, the form page does not get the enctype="multipart/form-data"
    To solve it, put usesUpload="true" in both page , and you will get enctype="multipart/form-data", and upload to work.
    Changing components, the af:menuBar has a similar problem.
    I got a menubar with 2 goMenuItem.
    On each page the corresponding goMenuItem has selected="true".
    On redirect, from list page to form page, the selected goMenuItem is the one on the ListaPage, and not the form page! It only changes if I click on the tab I want!

  • Drag and drop data object  not working in jdev 11.1.1.7

    I am trying to do quote process lab and faced this issue.
    When defining the user task parameter in jdev 11.1.1.7 i am not able to drag and drop the data object in parameter list section.

    Infact i am trying to create a simple BPMN projoect but it doesn't allow the data object to be drag and dropped in the parameter list.
    This same thing was working fine for me in Jdev 11.1.1.6,Is there a bug in jdeve 11.1.1.7 ? Has anyone tested with the latest release?

  • Making DVDs that actually work

    Hello all my fellow Mac-ers
    I seem to be having the worst luck when it comes to making DVD copies of my .AVI files.
    I have an extensive collection of movie on my hard drives. I've started to put these movies on to DVD and I have encountered some problems.
    First problem - I tried to make a backup of an .avi file by just copying said file onto a regular CDrom. Tat cd DID NOT play in any DVD, Computer, or laptop that said it was capable of playing .AVI files. So I burned it to DVD using iDVD and still nothing. I blame this problem on the the units I was trying to play the disc in. Not a big deal
    2nd problem - I tried another movie, using iDVD to burn to a DVD disc. It started encoding, took nearly 3 hours to complete the process. The newly burned DVD did play, but the video was jumpy and shaking. The audio was fine.
    I bought my MacBook because this stuff was supposed to be easy. I never would think it would take over 2-3 hours to make a DVD. Sometimes I get a multiplexing error and I have to start all over.
    I've burned DVDs on my lame PC a few times and it takes no time and it works every time. Using the same .AVI files I have now.
    Someone out there, please be so kind as to tell me how to make DVDs the easy way, if there is one.
    Thanks, Chris

    Hello Klaus,
    Sorry for the delay. Here is the info you requested:
    Format: DivX 5.0, 696 x 284, millions
    mpeg layer 3, stereo, 48.000 kHz
    FPS: 23.98
    Playing fps: 24
    Data Size: 695.93 MB
    Data Rate: 1068.94 kbits/s
    Current Time: 0:00:000
    Duration: 0:01:33:24:09
    Normal Size: 694 x 284 pixels
    Current Size: 694 X 284 pixels (actual)
    Hope this helps. Thank you for your help

  • Dvt:exportPivotTableData Does not work in JDev 12.1.2

    Hi All,
    I've been trying to get the export data from a Pivot Table to work using the dvt:exportPivotTableData tag. It does not. in my application I get a 404 error in a Google Chrome browser and an error dialog in IE10 when I press the button in the following source code snippet:
    [code]
    <af:button text="Export Pivot" id="b1">
         <dvt:exportPivotTableData filename="FeatureScores.xls" type="excelHTML"
              title="Feature Support Scores" exportedId="pt2"/>
    </af:button>
    <dvt:pivotTable id="pt2" value="#{bindings.ProductFeatureScoreROView1.pivotTableModel}"
                                                    var="cellData" varStatus="cellStatus" splitMode="enabled"
                                                    summary="#{viewcontrollerBundle.VENDOR_FEATURE_SCORES}" sizing="auto"
                                                    statusBarRendered="true" styleClass="AFStretchWidth">
    </dvt:pivotTable>
    [/code]
    I downloaded the ADF Rich Component WAR File (Version 12.1.1, or whatever the latest version is) and installed it in the JDev IDE to test the example sample. However, the dvt:exportPivotTableData doesn't work in the sample demo either. I don't get an error message from the sample, the page just refreshes and no data is exported.
    Any ideas?
    Best regards,
    Nigel

    Thank you, that solves the problem.
    Best regards,
    Nigel

  • Why is the hot redeploy not working in JDEV 11.1.1.6?

    Dear All,
    Using the JDEV 11G 11.1.1.5, I could perform a hot redeploy of my JSFF page when I am on debug mode.
    Say if I add an attribute to an input text, I could just save it and refresh the browser and I see my changes appearing.
    But when I tried doing the same in the latest release JDEV 11.1.16, I am encountering errors when I clicked refresh.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    java.lang.NullPointerException
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)Is there some configuration to make it behave as the older release?
    Thanks

    Hi, just to clear things out, this issue occur in JSFF only, but in jspx, hot code is fine...
    Here is my sample code where the issue occurs.
    HelloWorldTaskFlow.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="HelloWorldTaskFlow">
        <default-activity id="__1">viewHelloWorld</default-activity>
        <view id="viewHelloWorld">
          <page>/viewHelloWorld.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    viewHelloWorld.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelBorderLayout id="pbl1">
        <f:facet name="start"/>
        <f:facet name="bottom"/>
        <f:facet name="end"/>
        <f:facet name="top"/>
        <af:panelBox text="PanelBox1" id="pb1">
          <f:facet name="toolbar"/>
          <af:outputText value="Hello World Nakurato!" id="ot1"
                         inlineStyle="font-size:x-large;"/>
        </af:panelBox>
      </af:panelBorderLayout>
    </jsp:root>
    TestPage.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:region value="#{bindings.HelloWorldTaskFlow1.regionModel}" id="r1"/>
            <af:inputText value="Hello"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Any change in the jsff file does not take effect immediately when refresh. but in jspx, it works.
    Any thoughts???

  • Print Settings not working in JDev 9.0.3??

    I'm trying to print source code from JDevleoper 9.0.3.1035 and am having some problems.
    Is there a way to set the page to print in Landscape? I've tried from the Page Setup and Print Menu's and neither are working for me?
    Also, is there a way to print the way JDev 3.2 used to? It used to fit a lot more code on a single page?
    Please Please restore JDev 3.2 printing capabilities in JDev 9?
    Thanks
    Bret

    Works for me.
    What OS/JDK etc are you using?

  • Will JHS work with JDev 10.1.3.4

    Hi,
    JDeveloper 10.1.3.4 is scheduled to be released by 15th May. Will JHS work with this version of JDev? If not are there any plans to release a compatible version?
    Regards
    Barry

    Barry,
    We expect JDev 10.1.3.4 to work with current JHeadstart 10.1.3.2 release.
    We also plan to relase JHeadstart version 10.1.3.3 around that time, so if any compatibility problems will occur, we will fix them in JHeadstart 10.1.3.3.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for