ProtoType

Hi,
Iam new to JDeveloper 3.0. Started working on a prototype for an application which have like 30 to 40 screens. I have
played with the tool to create screens
accessing database and Iam at a point trying
to understand the big picture. My previous
experience is in Oracle forms and I have
deployed applications successfully.
Questions I have are...
1). What is the recommended approach for
the application. Ex: Do I have to
create one single project and in that
create several screens (*.java) or is
it better to create separate projects
for every screen. The screens will be
accessing oracle 8 database.
2). How do I call different screens from
my main screen.
3). How do I setup a desktop Icon for an
user to run this prototype. Iam
looking for complete setup.
Thanks in advance,
Kishore Mandava

Kishore,
If this will all be one Java Application, then you probably want to store all of your 'screens' in one project.
Since you are developing against an Oracle datasource, here is what I would recommend:
1. Create a project that will contain your Business Components. This is basically your data model. For more information on Business Components for java, see the online walkthroughs available on the JDeveloper page of OTN.
2. Create a separate project for your Java Application. You can use the InfoSwing containers and controls to build your UI.
Keep in mind that developing and designing a UI in Java is quite different from Oracle Forms. The layout environment specifically can be tricky.
You may want to check out some of the resources on the JavaSoft website for more information on Infobus controls. They have some tutorials that might be useful.
Laura

Similar Messages

  • Missing prototype and Undefined Symbol errors

    So, I am using an Opal Keyy XEM3005 board.
    Depending on the documentation I read, this board has a native ANSI C interface with a C++ wrapper.
    In their forums, they say to rename the ".cpp" file to "c", and then go forward with calling the default constructor & keep track of the pointer.  Their functions are all in an externally loadable DLL.
    Well and good.
    Their API documentatin is available here:  http://www.opalkelly.com/library/FrontPanelAPI/
    I have written a REALLY simple app to ease my way in - it does nothing more than allow the user to throw a switch, and when this happens, it goes off to connect to the board:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    #include <cvirte.h>
    #include <userint.h>
    #include "Try1.h"
    #include "XEM.h"
    #define _WIN32_WINNT 0x0501
    //#define _WIN32
    #include <windows.h>
    static int panelHandle;
    static okFrontPanel_HANDLE    XEM_Device;
    int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
    LPSTR lpszCmdLine, int nCmdShow)
    if (InitCVIRTE (hInstance, 0, 0) == 0)
    return -1;    /* out of memory */
    if ((panelHandle = LoadPanel (0, "Try1.uir", PANEL)) < 0)
            return -1;
        DisplayPanel (panelHandle);
        RunUserInterface ();
        DiscardPanel (panelHandle);
        return 0;
    int CVICALLBACK Connect (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        int    Value = 0;
        switch (event)
            case EVENT_COMMIT:
                GetCtrlVal(PANEL, PANEL_CONNECT_SWITCH, &Value);
                SetCtrlVal(PANEL, PANEL_CONNECT_LED, Value);
                if( Value )
                    XEM_Connect(XEM_Device);
                else
                    XEM_Disconnect(XEM_Device);
                break;
        return 0;
    int CVICALLBACK Quit (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                QuitUserInterface (0);
                break;
        return 0;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This, of course, works fine by itself (with empty _Connect() and _Disconnect() functions)
    I then started working with the XEM_Connect function.
    The first step is to run their LoadDLL function as such:
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        return XEM_SUCCESS;
    And this would compile and run just fine.
    Now, when I added the functions to start trying to get info about the device, I started getting "missing prototype" errors.
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        //    Find out how many devices are attached
        XEM_Device = okFrontPanel_Construct(  );
    //    XEM_Device = okCFrontPanel( void );
    //    NoDevices = GetDeviceCount( );
        printf("%d OK devices attached\n", NoDevices);
        //    Call the contructor?    
    //    okCFrontPanel ();
        return XEM_SUCCESS;
    Now, I searched the forums and found the bits about adding #define _WIN32_WINNT 0x0501 prior to inclusion of windows.h.  Did that.  No joy.
    Then I searched some more and found the bit about changing the build options to uncheck the "prototype required" flag.
    Done.
    This seemed to work at first (the above code could be built with no errors, and appeared to run).
    So I thought maybe I had it, and added the next line, so:
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        //    Find out how many devices are attached
        XEM_Device = okFrontPanel_Construct(  );
        OpenBySerial( XEM_Device, "UaLgzvVpBJ" );
    //    XEM_Device = okCFrontPanel( void );
    //    NoDevices = GetDeviceCount( );
        printf("%d OK devices attached\n", NoDevices);
        //    Call the contructor?    
    //    okCFrontPanel ();
        return XEM_SUCCESS;
    Now it doesn't complain about no prototypes (duh), but instead I get linker errors:
        Undefined symbol '_OpenBySerial@0' referenced in "XEM.c".
    So, dredging through the .h and .c files, I found a couple of things:
    in the okFrontPanel.c file I found the following:
    okDLLEXPORT ok_ErrorCode DLL_ENTRY
    okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial)
        if (_okFrontPanel_OpenBySerial)
    ;  return((*_okFrontPanel_OpenBySerial)(hnd, serial));
        return(ok_UnsupportedFeature);
    In the okFrontPanel.h file I found:
    and also:
    okDLLEXPORT ok_ErrorCode DLL_ENTRY okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial);
    So, I see them in the .h & .c files, but the linker is bombing out.
    I smell a problem with actual code to link being in the DLL...  How do I resolve this, any ideas?  Or am I doing something so stupidly (and obviously) wrong that I'm being blinded to it?

    Hi tomii,
    My suspicion is that these issues are due to using a C++ dll in a C environment. There are inherent challenges with performing such an operation as you have to make sure all your parameters and settings are correct.
    I also could not find the documentation that the Opal Kelly dll is ANSI C but it sounds like you can use this in C with some reconfiguration. I would recommend using their forums to get more information on what steps need to take place to get things working in ANSI C.
    From the information you provided, I did find some resources on the missing prototype error and undefined symbol issue with the linker.
    For the missing prototype I found a thread of someone actually using LabWindows and seeing this compiler error you may want to look at
    http://bytes.com/topic/c/answers/695019-missing-prototype
    I found a few cases where using a function definition of int func(void) removes such issue when int func() does not.
    Another link I found that may be worth a look can be found at http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
    It gives some good pointers to mixing C and C++ code. Some of it may be applicible in your case.
    And, a resource for your undefined symbol linking issue.
    http://www.cprogramming.com/tutorial/compiler_linker_errors.html
    Hopefully these resources will give some context for getting things compiling and working with your dll.
    Good luck!
    James W.
    Applications Engineer
    National Instruments

  • Is there a way to add to the existing values in a container when a LabVIEW prototype (cluster) changes?

    Is there a way to add to the existing values in a container when a LabVIEW prototype (cluster) changes?
    I have a cluster with 90 values..  ninety!  yes that many.
    Change one bloody value and the prototype changes in the TestStand step...  Reload the prototype and guess what happens??!!??
    All the bloody values get reset to defaults!  AAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGHHHHHHHHHHHH!
    If it was in one place, I could survive the ordeal.  But I have to change bloody prototypes in many places!!!!
    more AAAAAAAAAAARRRRRRRRRRRGGGGGGGGGGGHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!
    I can't even copy the bloody values!!!!!!!  AAAAAAAAAAAARRRRRRRRRRRRRRGGGGGGGGGGGHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!
    Are there any tricks that I am not aware of, or have forgotten over the years, or...  ...   something??!!??!???!!
    If there are none, I will have to post an improvement to TestStand..  I should mention I am using an older version (4.1).

    Hmmmmmmmmmmmmmmmm,
    I am not not very famous with LV and its cluster types.
    So no idea if this works (it works for DataTypes updates very well and a LV cluster is Data Type so.... maybe)
    Make a copy of the step that has to be modified to an new sequencefile. 
    Make modifications the in the copy.
    Now you should have the same DataType Name but other contents in the container. Save it.
    Normally there should be a message box that tells you that version has been incremented. - Accept it.
    Set in StationOptions-File "Allow Automatic ...." to Never.
    Open original sequencefile. Now the there must be a type conflict. Accept/Apply to all  "Use Current Loaded.."
    You have updated the type.....
    Hope this worked,
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Behaviours not working in PDF prototype [click-through]

    I'm trying to create a click-through PDF using Behaviours to swap out images onClick. My aim is to create a prototype PDF of a website for my Portfolio by mimicking a Spry Widget.  Please see image below.
    FYI:  I do have an issue with the Main-Nav which uses simple slices linked to their named page [via Link in Properties].  These are naturally shared in each page via Web Layer from a Master Page.  This menu doesn't function in Preview mode or once exported or previewed in a browser.[Google].  However, it does click-through in PDF format!  So all good there.
    I'm concerned with the 2nd Nav set; 1.1 to 1.9.  A simple set of rectangular Slices linking to the content area below - a single large rectangular Slice.  These Slices are not in the Master Page but located in the Design page of my document, and in all the States of the Design page, of which there are 12 in total. This Nav bar has simple UP, OVER and DOWN States that swap-out and seem to work fine and click-through OK, if previewed in a browser and in Preview mode within Fireworks. 
    However, click-through does not function in a PDF.  Each nav-tab Slice is using Behaviours: onMouseOver | Set Nav Bar Image and the second Behaviour being: onClick Swap Image, then names the correct slice to show onClick in the Behaviours' Panel.
    I have tried variations such as adding a Hotspot to create a hand on rollover and clicked and unclicked various Behaviour options in the Behaviours Panel to no avail.  I wondered if it was a PDF option that needed fixing much like when exporting a file from InDD but I can't find a suitable PDF option.  I read elsewhere about not using Animated Gif as an Image File Type but that didn't work either.  When I export to PDF, there aren't the Slice Save options available for PDF.  Also Fireworks defaults to export to Acrobat Pro, though if I view in Pro or Reader the click-through still fails.
    I'm fairly new to Fireworks but would really like to get to grips with it and I love this prototype wizardry.  I'd like to know why the click-thru fails in PDF but functions in browser and FW Preview and why Main Nav functions in PDF but not browser?
    So any help will be greatly appreciated.
    Blanche

    The original post did not indicate the method of creating the PDF. The result that was obtained was what happens when you print to the Adobe PDF printer. To get the hyperlinks embedded in the PDF, you have to use the PDF Maker (create PDF in WORD 2007).

  • How do I pass an array of structs to a C function using the dll flexible prototype adapter?

    What I want to do is pass into a C dll function a variably sized Array of structs of type TPS_Data. My Code compiles but when I run it in TestStand, I get an error -17001; Program Error. "Cannot allocate 0 size buffer Error in parameter 2, 'OpenFrdData'."
    I've allocated the Array of structs, and all of the information is there before I call my function, so is it my prototype? Or am I asking too much of the DLL Flexible Prototype Adapter to pass an Array of Structs?
    I can pass in a single struct of type TPS_Data and that works, but not an array.
    Here's the relevent code:
    typedef struct TPS_DATA
    char Report_Number[256];
    char System_Name[256];
    char Open_Date[256];
    char UUT_Part_Number[256];
    char UUT_Serial_Number[256];
    char UUT_Name[256];
    char Open_Employee_Name[256];
    char Open_Employee_Number[256];
    char Close_Employee_Name[256];
    char Close_Employee_Number[256];
    char Close_Date[256];
    } TPS_Data;
    typedef struct TPS_DATA_ARRAY
    TPS_Data DataRecord;
    } TPS_DataArray;
    long __declspec(dllexport) __stdcall OpenDialog (CAObjHandle Context, TPS_DataArray *TpsData[], const char *psFaultStr, char *sComments, const int nCount);

    OK,
    I can pass the data to the DLL function, using the following types:
    typedef struct StringArrayType
    char string[10][256];
    } StringArray;
    typedef struct MultiStringArrayType
    StringArray Record[10];
    } MultiStringArray;
    void __declspec(dllexport) __stdcall ATP_TestStructPassing(StringArray Strings)
    return;
    void __declspec(dllexport) __stdcall ATP_TestMultiStructPassing(MultiStringArray *Strings)
    return;
    But when the MultiStruct function Exits, TestStand reports an Error:
    -17501 "Unexpected Operating System Error" Source: 'TSAPI'
    There doesn't seem to be a way around this, and once the error occurs, I have to force quit TestStand. I've included the sequence file, and the dll code can be compiled from the fun
    ctions shown above.
    Any thoughts on how to get around this error would be greatly appreciated.
    Attachments:
    StructArrayPassing.seq ‏16 KB

  • I have now used Reflow for 2 client prototypes and here is what I have found.

    First, I can see Reflow being an incredible prototyping tool if Adobe steps up and makes it a useful tool for production and not just another creative program to help designers build for the web. That's what Muse is for.
    So here is my wish list.
    Reflow needs to be able to have more control over the DOM elements. By that I mean, we should be able to have a layer based approach (similar to what you can see in Macaw) to move elements around from "box" to "box" (also, can't we just call them "divs"). Nesting is crucial. Also, what's up with all the IDs in the published files? We should be able to name and create classes for these elements before it publishes. Also, support the basic HTML tags for users to control.
    On that note, shared elements should have one style sheet instead of a style sheet for each page.
    Also, elements should be able to be saved to a library for use on multiple pages. It is a nightmare now if you create an element on a page that needs to also be placed on other pages. You have to recreate it on each page as of now.
    Support for common CSS frameworks would be an amazing idea...just sayin.
    As for type...Edge fonts and Typekit are great but we all know that there are many other font libraries out there such as Google fonts. Also, being able to use your own @font-face should be an option.
    I think the overall goal would be able to use the files produced as a starting point for production code. As it stands right now, the code that is produced will require more time to format properly than it would be to build from scratch.
    I know Reflow is not meant to be a Dreamweaver or Brackets, but it could really help set the stage for development in those programs. It can improve the workflow of web development vs. just being a "cool new app". It has real potential and I hope it gets the love that it deserves.

    Control over DOM: Yup we're working on exposing this even more. You may or may not have noticed the elements panel already in Reflow. You can find it here:
    Are you looking for more than that? We're looking at ways to expose the elements panel in a better way, that should be coming soon.
    As for stye sheets all being in one, we're debating this. Since we don't know everything you want to do page-to-page, we're holding off making this leap until we can begin cleaning up what CSS we already give you. (see last answer)
    Common library elements: yup, we want  this too. It's on our backlog.
    Frameworks: yup again, on our backlog. Are there frameworks you would prefer? We don't wanna play favorites unnecessarily. We don't know how it might be prioritized, since we've got lots of features to get to.
    Additional fonts: yup for this one too, we have it on our backlog to tackle. As a note, most google fonts are available in the Adobe Web Fonts.
    Output: We're actively working on improving the CSS output from Reflow. We cannot promise perfect production quality, but the issues you raise are all ones we're eager to minimize.
    Thanks for the thorough feedback, we love these kinds of posts!
    - Seth

  • What's changed in the 1.2 prototype.

    The 1.2 prototype has surprisingly little documentation. I started this thread to try to remedy that, in part. I'm going to start off by listing what's I've noticed changed in 1.2, gotchas to watch out for, etc, and I hope you all will follow up below w/ all the rest of the changed things which I haven't discovered yet.
    1) THE COMMAND-LINE scripts/javac TOOL NEEDS THE '-gj' OPTION.
    The previous release didn't. This is a big user-noticible change if you were using the older 1.0-ea prototype in makefiles and such. Note that the 'javac --help' information lists '-gj' as the default; it is wrong. '-nogj' is the default.  I hope this doesn't reflect on the status of GJ in java 1.5?
    2) THE COLLECTIONS API HAS CHANGED.
    This is made more interesting by the fact that this release doesn't come with any javadoc and (as far as I know) javap still crashes when given GJ .class files. The only way to tell that the interface
    has changed out from under you is the javac error message which you will sometimes get when you try to extend a Collection class
    with a now-incorrectly-typed method. (Other times, javac will just crash.)
    The changes I have seen have altered the signature of addAll, putAll, and similar methods from:
    class Collection<V> {
       boolean addAll(Collection<V> c);
    }to
    class Collection<V> {
       <T extends V> boolean addAll(Collection<T> c);
    }Note that this gives you much more flexibility and restores covariance in some ways; but it also breaks all your Collection subclasses which override methods with the now-obsolete signatures.
    Are there any other similar method changes to watch out for? Post below; if the 'offical' javadoc for this 1.2 prototype release isn't forthcoming 'soon' I'll probably hand-edit the 1.0 prototype javadoc to be correct for the new release and post it on the web for everyone to use pro tem. (But it would be nice if the Sun folk did this themselves, so I wouldn't have to bother, hint, hint!)
    3) NO MORE JAVADOC. Mentioned above; hope you've got a copy of the 1.0 javadoc lying around still.
    4) BUGS FIXED. As pnkfelix noted in another post here, some type-system loopholes have been fixed in this release. Also, the bugs which prevented casts from Set to Collection and from Set to Set<T> appear to have been fixed. The bad-line-numbers-on-non-Unix-platforms bug is reputedly gone. Further, it seems that this release compiles non-GJ code better. I'll probably post more on these issues as I get a little more experience w/ this new release. Does anyone else have 'favorite' 1.0-prototype bugs which were fixed in this release?
    5) ONLY WORKS ON JDK1.4. The last release didn't work on 1.3 either, as far as I can tell. But, regardless, this is the only documented change in this release (according to the CHANGES file in the distribution).
    OK. This feels incomplete. Post below and let's hear what else you've noticed has changed.
    [[[ObObscurePersonalNote: Felix, FLEX now has a GJ port.  'magic-4-0'  These prototype compilers are far too buggy for me to release it on the rest of the group, but I've been playing with it on my own personal branch.]]]

    1) THE COMMAND-LINE scripts/javac TOOL NEEDS THE '-gj'
    OPTION.Thanks for noting this. It may have saved me a lot of time. With only this change, my "Frink" project
    ( http://futureboy.homeip.net/frinkdocs/ , 194 classes with a mix of generic and non-generic code, 25000 lines) recompiled with the new compiler with zero changes. Of course, in the course of building this project, I worked around some bugs in the old compiler.
    * I think that inner classes still don't work as expected. I don't know if this is a bug, but it's a shortcoming. For example, the following code still doesn't compile:
    public class Outer<T>
       private T outerMember;
       public Outer()
          outerMember = null;
       private class Inner<T>
          private T innerMember;
          public Inner()
             innerMember = outerMember;
    }The compilation error is:
    Outer.java:16: incompatible types
    found : T
    required: T
    innerMember = outerMember;
    ^
    1 error
    This isn't a particularly wonderful sample, but often you do want inner classes to be able to access data from the enclosing class (say, the inner class is an enumerator that enumerates over the contents of the outer class.) But you can't. Dang.
    If nothing else, a better error message should be produced. To me, "T" sure looks like "T".
    * The "README" file indicates that the compiled code only works with a 1.3 or later runtime. I've tested with 1.2 and (thankfully) found no cases where it doesn't work (but there may be some.) That would be a showstopper, as many people who use Frink haven't even installed 1.3 yet, and I've worked hard to make it compatible with 1.2, 1.3, and 1.4.
    Does anyone know why the documents say that the compiled code only works with a 1.3 environment? Let's hope it's a mistake. I thought one of the goals of the generic compiler was to create bytecode that could run in any JVM. And compiling with the new compiler shouldn't introduce dependencies on classes that the programmer doesn't reference...
    I do compile with the -target 1.1 flag for maximum backward compatibility.
    3) NO MORE JAVADOC. Mentioned above; hope you've got
    a copy of the 1.0 javadoc lying around still.Gafter's recent comments in this forum indicated that they've not even begun making a version of the javadoc tool that works on generic code. I sorta wished that something magical might have happened since then, but I guess not.
    The bad-line-numbers-on-non-Unix-platforms bug is
    reputedly gone.But Java is write-once-run-anywhere! That's impossible! :) Gafter posted a (one-line) patch for the original compiler to this forum just a week ago. Wish I had it a year ago. That's why I wish that releases would be made more often--it was fixed long ago.
    5) ONLY WORKS ON JDK1.4. The last release didn't work
    on 1.3 either, as far as I can tell. I tried compiling with 1.3 and the new generic compiler, and got this message:
    Exception in thread "main" java.lang.NoClassDefFoundError
    at com.sun.tools.javac.v8.Main.bugMessage(Main.java:490)
    at com.sun.tools.javac.v8.Main.compile(Main.java:477)
    at com.sun.tools.javac.Main.compile(Main.java:36)
    at com.sun.tools.javac.Main.main(Main.java:27)
    The old compiler did usually work with 1.3 (I've used it for about 10 months with 1.3,) except for 4 classes out of 194, which tickled part of the compiler which used the CharSequence class (which wasn't available until 1.4). Luckily, these 4 classes of mine didn't contain generic code and could be compiled with the normal compiler.
    * The new batch file for Windows contains UNIX-style linefeeds. I think that's sorta bad form.

  • New window manager (with prototype!) [wmii-like] --- looking for help

    I have a prototype for a new window manager in the style of wmii. It is called
    cakewm. I currently have a prototype version implemented in pygame, and would
    like help moving this to use X---making it a real window manager.
    Disclaimer: I have a very limited knowledge of X11 and window manager
    development. The most I've done is add a couple new features to wmfs.
    To get the code
    > git clone git://github.com/saikobee/cakewm.git
    Then run main.py. cakewm depends on pygame.
    Upon running, press Alt-Enter to fullscreen cakewm and intercept keybinds, or
    Alt-Space to just intercept keybinds.  Press Alt-Esc to quit. The window
    manager related keybinds are listed in the file binds.conf.
    Config note: <WSCA-x> means Windows-Shift-Control-Alt-x
    Implementation note: pypixel.py is a large and mostly useless dependency. I
    forked a library I made previously rather than coding straight in pygame.
    cakewm's goals are to be similar to wmii, but with more functionality, easier
    configurability, and saner defaults.
    - cakewm is fully functional using the keyboard. Mouse support can come later.
    - cakewm provides 9 workspaces per monitor.
    - cakewm manages each workspace as a group of columns. Each column is like a
      wmii default split, except each window can have other windows "stacked" on
      top of or behind it.
    - cakewm manages column sizes (and window sizes within columns) using a
      master/slave paradigm, with the ability to adjust the size ratios.
    - cakewm's configuration file is simple key=val pairs, with the ability to
      include other files like in C.
    - cakewm has a slightly larger emphasis on window decorations (adjustable
      size---even in tiled mode) and themes (nothing bloated, like pixmaps or
      gradients---it's all still simple colors).
    - cakewm will have proper support for international text (Japanese text in
      window titles or the wmii status bar generally render as boxes) through the
      use of a more advanced text library such as Pango.
    Please let me know if you have comments, questions, or concerns. If you are
    interested in helping, get in touch with me. If you know somewhere better to
    look for volunteers, please let me know.

    m4co wrote:
    Wow is this forum active. Makes me feel welcome here
    The thing about wireless, I actually like command line, but there are a few things that are worth having a applet or something.
    And wireless is one of those. I guess I can take a look on wicd.
    It's a good idea to have compiz as the WM actually. Would it be lightweight to have it like that?
    Is there anybody here that uses compiz as a WM?
    For the xfce4-panel, is it possible to get transparency on it? That's probably the only thing holding me back with xfce4-panel.
    If "able to run compiz" wasn't a requisite, what other WM would you suggest for my "profile" ?
    I would like to hear other users opinions who like to customize everything on a WM.
    I recommend running Compiz by itself. There is a good wiki page on it in the Arch wiki. Some apps you'll want to go with it are:
    LXAppearance --change GTK/icon theme
    Feh or Nitrogen --Set Wallpaper
    Xfce4-panel --The lightest one that works with Compiz properly
    Or, if you don't want a panel: stalonetray
    Compiz-deskmenu --For a customizable right-click main menu
    Gmrun --Run dialog (Alt+F2 in most DEs)
    And this helped me a lot.
    Thank you all for the replies. I appreciate.
    Xfce4-panel can have transparency.  The only problem is that everything become transparent: text, icons, everything.
    I use Compiz as a standalone WM and it is much lighter than DE+Compiz. My Compiz setup uses about 30MB(out of 1GB) more RAM than my Openbox setup (which are both the same except for the WM).

  • Is there an issue with modifying a prototype file with a preinstall script?

    Solaris Packaging content
    I have a prototype file in which I need to move a specific directory to somewhere else other than the BASEDIR.
    I am attempting to do this with a preinstall script by running my prototype file through sed and creating a new prototype file where specific entries that match the various regexp entries in the sed command now have a alternate path assigned to it.
    For example:
    Original prototype file entry:
    d none <directory 1>/lib 0755 root other
    Output prototype from preinstall execution:
    d none <directory 1>/lib=<directory 2>/lib 0755 root other
    However, even though I can go into /var/sadm/pkg/<PKG NAME>/install and execute the preinstall by hand properly, I get the following:
    pkgadd: ERROR: preinstall script did not complete successfully
    Any ideas here? Manually editing the prototype file before pkgmk and pkgtrans is not possible with how my package is being created due to an automated process, however I would really like to leverage the functionality of the prototype file for pkgrm's instead of moving them in a postinstall script and then removing each in a postremove script.

    I don't see any issue in downloading the static copy.  Even if you were allowed to connect to the wsdl directly or add it as a service reference in Visual Studio then you would have to manually update that reference.  In closing, you aren't losing
    any functionality by downloading the static copy.
    Thanks,
    Follow my FIM blog at: http://forefrontidm.wordpress.com/

  • How to avoid reloading prototype icon when string paramater in C/C++ adapter?

    I have a function in my C++ DLL.
    static BOOL InitializeConnection(unsigned char* receivedData, unsigned int* receivedDataLength,
                                                      ​               unsigned int* errorCode, unsigned char errorMessage[512]);
    I would like to use a string for the last parameter. When it loads the prototype of function, the type is unsigned char [].
    When I enter my Locals.str, it give me the error "Expecting nothing, array of number or array of booleans. Found string"
    If I change in the right panel the Category to String and select the Type "C String Buffer", the error goes away and I receive the string value correctly from my dll.
    However, I have the red '!" icon flashing next to my function name that says I need to reload the function. Is there a way to get rid of it? I don't want other programmers on my project to hit it and lose all the configuration.
     Also, do I need to do something special so when it loads the function, I dont get "arg1, arg2, arg3" as parameter name but the one from my dll?
    I usually program in C# and it loads correctly the right parameters name.
    Thank you.
    -Mat, CTD

    Thanks for the answer Adri.
    I got rid of the red ! by switching to char instead of unsigned char.
    For the second part, not being able to see the parameter names, I do use the __declspec(dllexport) at the class level. I switched to the way explained in the tutorial without any difference.
    class DisplaySeriesComm : public CWinApp
    public:
        DisplaySeriesComm();
        ~DisplaySeriesComm();
        static BOOL OpenInterface(CCommunication* ptrCom, signed int* errorCode, char errorMessage[512]);
        static BOOL CloseInterface(CCommunication* ptrCom);
        static __declspec(dllexport) BOOL InitializeConnection(unsigned char* receivedData, unsigned int* receivedDataLength, signed int* errorCode, char errorMessage[512]);
    I have access to the function in TestStand, the parameters load with the correct types (the column: Description). It's only the names which are set by default to arg1, arg2, ...
    By comparing to the tutorial, the dll I used is an MFC dll and it also uses a .def file. Not sure if it could be related to that.
    Thanks.

  • Using Prototype.js in JDeveloper

    Hi All,
    I'm attempting to learn more about AJAX and was going over the examples int he book AJAX in Oracle JDeveloper. In chapter 3 I ran into a snag. It looks like the prototype.js functions are not being reached from within my input.js file. The same function is being called from an input component but when I put an alert() call in the called function I get nothing. I have enabled debugging via the xml files in the project. The same alert works in the old code.
    I've added prototype.js as a script tag in my jsp file. Is the order significant?
    Is there something special I have to configure to get prototype.js to work. I simply added it to the projects public_html folder and add the script tag.
    TIA,
    Dave

    Turns out that the author referenced xmlHttpRequest instead of XMLHttpRequest in his example.

  • Using BI Content as prototype and re-create the whole thing as custom obj

    Dear SDN fellows,
    Currently in my project I encountered the case where 1 BW system is shared by 2 source systems (R/3 and ECC6) and the master data from the 2 source systems are overlapped (eg. same material no from R/3 and ECC6 have different meaning).
    One of the suggestions is to use BI Content as prototype and re-create the whole thing as custom objects. For example:
    0MATERIAL is created as ZMATERIAL, thus all "0" objects are for ECC6 source system and "Z" objects for R/3.
    It will require enormous effort to do, and we try to automate as much as possible in every stage of development (to avoid human error as well) such as:
    u2022 Re-create all BI Content InfoObjects programmatically using BAPI functions (BAPI_IOBJ_GETDETAIL, BAPI_IOBJ_CREATE and BAPI_IOBJ_ACTIVATE_MULTIPLE). Does anyone know what function module or ABAP class to get like "Create InfoObject from template in RSA1"?
    u2022 Re-create all BI Content Transfer & Update Rules programmatically (copying and automatically changing the InfoObjects from "0" to "Z" in the mapping). We are still researching on class CL_RSAU_UPDR and function module RSAU_UPDR* for this.
    Our main worries is when re-creating the transfer & update rules, as most of the SAP complex logics are implemented here using start routines, transformation routines, formulas, rule groups, etc. Using copy-paste & find-replace the routine may not be sufficient, full understanding of the logic might be required, and there are many of them, which makes it even more difficult.
    If anyone ever did this approach before, please share how did you go about it? Thanks alot.
    regards,
    arie

    Thanks Akashdeep for your input. Yes we are aware to add 0SOURSYSTEM compounding in all master data InfoObjects to handle multiple source systems.
    We would like to get practical advice on how to do the re-creation of all BI Content objects (InfoObjects, Transfer & Update Rules, Queries, etc) in the most efficient way, probably programmatical way, to reduce the huge effort required and avoid human error if we are doing it manually.
    Also our main worries with re-creating the transfer & update rules, as most of the SAP complex logics are implemented here using start routines, transformation routines, formulas, rule groups, etc. Using copy-paste & find-replace the routine may not be sufficient, full understanding of the logic might be required, and there are many of them, which makes it even more difficult.

  • Nokia Lumia 1520: was just sold a prototype model,...

    Hi everyone, subject explains it all. I bought the phone off someone in a local classified, now deleted of course, only to come home and find out that it is in fact a prototype. They showed me it worked and everything with a sim card in it, but it's my understanding that this phone still will be limited in functionality and potentially not able to update or eventually work at all?
    So my big question is, what am I supposed to do? I understand this phone is considered stolen property, so am I supposed to turn it in to Nokia? And I'm afraid I'm in for some bad news here, but are they able to work with me on this for replacing it with a legitimate model, or perhaps crediting me towards a purchase of an official one? I'd hate for this to simply turn into a situation where I end up having to return it to Nokia for nothing. That way, the seller gets a couple hundred bucks, Nokia gets their phone back, and I ended up paying for nothing. Thanks everyone.

    @paulheu :
    Yeah, I thought someone from regulars / moderators would've written that sooner or later.
    I dunno whether you're affiliated with Nokia anyhow but the fact is that the company should take better care of their manufacturing process and only deal with the people/companies they can trust.
    Nokia Communicators (might have been the first smart phone ever introduced) were manufactured in Finland. Have you heard any prototype material of Communicators being sold on Ebay???
    When Nokia closed its factory in Salo, Finland, first Lumia phones were manufactured in South Korea (might have been the same manufacturing plant where Samsung and/or LG Windows Phones were manufactured). For example my Lumia 710 is manufactured in South Korea. Have you heard any prototype material of Korean Lumias being sold on Ebay???
    Nowadays the majority of mobile phone manufacturers have moved their production to Chinese manufacturing plants (subcontractors?) because of the cheaper manufacturing costs. So did Nokia: my Lumia 625, 928, Icon and my wife's 1020 have all been manufactured in China. And now there are prototype items sold on Ebay and illegal copies (inferior Android version) of Lumia 1020 sold in China. The perception/understanding of legal matters is not necessarily so strong/well informed in China like it's in other countries. Maybe this Chinese Ebay seller didn't even know he was selling illegal stuff??? iPhone is also manufactured in China but as far as I know (I'm not an "iBeliever" and never will), there hasn't been any illegal iPhone stuff (displays etc.) on Ebay.
    If we'd consider the legitimacy of my purchase, I didn't know I was about to purchase an illegal item when I made the purchasement. So when I received the item and opened the package I found out that it's a prototype item. The seller is in China so I had the following alternatives:
    1) the seller will ship me an original legal version of Lumia 1020 display package (well I don't think the guy would've even had those legal versions) or
    2) return the item to the seller (ship it back from Finland to China, doesn't sound worthy at all) or
    3) report it to Finnish police (the seller is in China so what are there possibilities to do anything about it) or
    4) report it to Ebay. They'd probably close down the account of that Chinese guy or do nothing at all (example: take a look at those BAD ESN phones sold on Ebay. Some of them are stolen but they're still sold over there). EDIT: if Ebay would've closed down seller's account, he probably would've created another one and restarted his business, or
    To summarise the whole thing: these two things (the guy with his Lumia 1520 and the current display of my wife's Lumia 1020) would've never happened if the manufacturer would've only dealt with the people/companies they'd be able to trust to.
    Moderator's post: This post is edited.

  • Sales Invoice prototype

    Can any body plz send me some prototype test for Sale Invoice,
    am using VBAK , VBAP and VBKD tables and any body plz explain how i have to do protype test for those transactions tht have to be there in Sales Invoice data extraction

    From the SD side no change wrt fiscal year..... u just need to maintain the RV number range for the new FY......

  • Use of PIR consumption for advance material order (MTO prototype)

    Hi planing Gurus,
    I am investigating the possibility to use PIR to trigger replenishement long lead time sub level mfg or purchase products in the context of building MTO prototype. I believe I could use planning strategy 70/consumption mode VSFB to handle eventual actual requirements that will be created at higher levels.
    Q1. The parameters Fwd and Bwd consumption in MRP 3 are limitted. For instance, if I set 7 days each the system will only consider actual demand in this timeframe. I am not too in favor to set large value there to manage the fact that actual demand may not occur exactly as planned by the PIR. Is there any way the consumption can be iterative (eg. bwd 7, fwd 7, bwd 14, fwd 14)?
    Q2. Is there another mean to trigger replenishment of long lead time mfg part/purch part in the contexte of MTO prototype and manage consumption.
    Your help is greatly appreciate and speed up my curve to learn SAP PP architecture (I have experience with other mfg systems).
    Francois Paquet

    You had another question
    Q2. Is there another mean to trigger replenishment of long lead time mfg part/purch part in the contexte of MTO prototype and manage consumption.
    FOr this I would suggest even looking at Planning strategy (PS) = 50.
    This strategy are probably the most widely-used strategies in a make-to-order environment.
    Procurement of the long lead items (components) is planned by means of planned independent requirements entered at the finished product level. The system creates special planned orders at the finished product level for these planned independent requirements. These orders are only relevant for production once a sales order for the finished product exists.
    The assemblies are, however, produced or procured before the sales order is entered. Production is carried out up to one level before the finished product level, and the assemblies and components required for producing the finished product are placed in stock to await the incoming sales order.
    Final assembly is triggered once a sales order has been entered.
    Hope this helps you take a good decision.
    Thanks,
    Ram

  • How to reload prototype and keep parameters?

    Hello,
    i changed from Labview 7.11 to the newest labview 2012.
    Now i have some express-vi-teststeps in Teststand 2012.
    In the testplan it says that i have to update the prototypes because they were configured with labview 7.1.1 and are not compatible to lv2012.
    When i click on the blue arrow then the prototype is reloaded, the labview-icon is shown and the teststeps runs again.
    The problem is that after the reload all the custom values for the input-variables of the VI are lost and the default is shown (configured settings from express-vi).
    I also changed the prototype in the types.ini but this seems to be only valid for new-inserted-teststeps.
    So what i need is something like a "reload all prototypes with keeping the parameter-values".
    How can i do this?
    Thanks for help
    Solved!
    Go to Solution.

    Please use update vi tool
    Open your test sequence...
    Go to Tools - Update vi calls ( this needs LV dev on your system)
    In the process express vi call - option - select reload prototype if modified
    This should solve the issue.

Maybe you are looking for

  • "Error while generating HTML" encounterred while running prefilling cache

    Hi, We are using BI7, prefilling cache function by using Broadcaster. The prefilng cache is created OK in BEx broadcaser based on Java web and was scheduled. When we run the process chain to trigger the prefilling cache, we got the following error me

  • Migration from SQL Server 2000 to Oracle8I

    Would somebody please suggest me the best way for migrating a 50Gb Database from SQL Server to Oracle8i. We are willing any third party products

  • Itunes bought a song without my help?

    i was buying a song from a completely different artist and when i looked at my downloads it showed a song downloading that i bought with the entire album about two months ago... i wasn't even on the artists page. i stopped it from downloading and it

  • Increase mainwindow size dynamically

    hi all, can we increase the mainwindow size dynamically. for eg: my requirement is if there is 1 line item, the size of main window should suppress. if there r more than 10 line items the size should increase. is it possible or not. thanks in adv vid

  • My Windows 8.1 email is behind for about 2 days.

    My Windows 8.1 email is behind for about 2 days. It says sync and the Tile shows latest emails, but the inbox noes not have the last two days. I dont have folders. Carmelo Milian