HOWTO: Easy method for a quieter grub

Edit your grub menu.lst as follows:
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/dad0f0d0-92de-4b5b-8ac4-d93e10546b7a ro quiet
initrd /boot/kernel26.img
cat /boot/grub/clear_screen # Add this line
Then simply create /boot/grub/clear_screen and fill it with 30-50 blank lines.   The same method could be used to display a quick message or banner at boot time.
Take care,
One Mynds Eye
Last edited by onemyndseye (2010-06-18 23:02:12)

Wintervenom wrote:Why not just use hiddenmenu and a shorter timeout?
I didn't test what Op suggests, but i know that if i have a hidden menu plus shorter time out plus the quiet in front of the kernel line, grub will still print some message before loading the kernel. I didn't test but maybe that is what it "fixes"??

Similar Messages

  • Easy question - Methods for employees to record absences

    Dear all,
        Im currently studying to certificate SAP HR. I have been reading in forums that one question is "methods for employees to record absences", as far as I know employees can record time dates in:
    - Front-end time recording systems
    - CATs
    - Self Service
    If Im not wrong, those methods let the employee record ACTUAL times rather than absences.
    Could you please correct me?
    Thanks a lot in advance!!

    Hello,
    There are two types of recording time :
    1) positive - where we record attendance ( as u both know)
    2) negative - where we record absences ( infotype 2001 ). Again this s we can maintain only once the absence quota is provided for the employee for which we use IT2006.
    Hope this answers ur query.
    Thanks and Regards,
    Tarun Mishra

  • Best Method for transfering iTunes library from Windows 7 to Mac OSX

    I just bought a MacBook Air and am in the process of preparing my file transfer. The only data on my computer I really care about is my school/work files, (which are very easy to transfer), and my iTunes library. What is the best method for transfering music?
    I was going to use an external drive and simply drag and drop everything. Last time I did this I needed a special file in order to keep my playlists, top rated, and playcount. Is there an easier and faster method now? I have about fifty gigabites of music so I think it might take longer over wifi.
    I also have an iPhone and have already transfered all of the recent purchases. If I export my library, will all my iPhone backup data stay there as well?
    If anybody has some insight or a link that outlines all of this that'd be great. Thanks in advance.

    Here's a pretty comprehensive "how to"
    http://myfirstmac.com/how-do-i-move-my-itunes-library-from-pc-to-mac-and-keep-my -settings-intact.html
    Make sure the external drive is foratted so both the pc and the mac can read and write to it.
    http://howto.cnet.com/8301-11310_39-57401784-285/the-best-ways-to-format-an-exte rnal-drive-for-windows-and-mac/
    good luck.

  • What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)

    I feel like I should know the answer to this. I can't believe it is a hard question.
    What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)
    Easy? Right?
    Just plug my iphone in to a mac and copy a photo from the mac to my iphone.
    I don't have internet access - I can't email it, or mobileme it, or dropbox it.

    iTunes. Other than that there is no direct method. However, do try the iPhone forums.

  • What is the best method for backing up photos in IPhoto?

    I have over 10,000 photos in IPhoto and am looking for the best method for doing a backup (or an archive?).  I'm now using ICloud and it appears it's just photo streaming and does not have storage capability. External hard drive, copying to a DVD, other suggestions?

    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    My Routine
    My Library lives on my iMac. It’s Backed up to  two external hard disks every day. These disks are permanently attached to the iMac. These back ups run automatically. One is done by Time Machine, one is a bootable back up done by SuperDuper
    It’s also backed up to a portable hard disk when ever new photos are added. This hard disk lives in my car. For security, this disk is password protected.
    I have a second off-site back up at a relative’s house across town. That’s updated every 3 or 4 months.
    My Photos are backed up online. There are many options: Flickr, Picasa, SmugMug etc. However, check the terms of your account carefully. While most sites have free uploading, you will often find that these uploads are limited in terms of the file size or the bandwidth you can use per month. For access that allows you to upload full size pics with no restrictions you may need to pay.
    Every couple of months I test the back ups to make sure they are working correctly. It’s very easy to mis-configure a back up application, and the only way to protect against that is to do a trial restore.

  • QM_LSMW BY RECORDING METHOD FOR QP01

    Dear QM Experts,
    1.     I am doing LSMW by recording method for QP01 transaction code
    2.     I am facing one problem while recording in inspection characteristic screen
    3.     While saving another screen opens prompting to put inspection method, plant and version for inspection method.
    4.     This is not at all needed as per the requirement.
    I removed default Plant for Inspection Method version, Version Number of the Inspection Method while recording LSMW in inspection characteristic screen. Still it is happening.
    Surprisingly when we create inspection plan though QP01 it never asks for these things.
    Any remedies?
    Best Regards,
    Thanks is advance
    Anand Rao

    Do not use Recording for QP01.
    There is a pragram named "RCPTRA01". It can be selected in step1 of lsmw>>Object Type and Import Method>> Standard Batch/Direct Imput>>Object 0240;Method 0000;Program RCPTRA01; Program Type B.
    Then Step 2, define source structure. In fact you may go to step 4 to have a look at the structure of the target structure. It would be easy to copy that. The source structure would be as below, ZBI001 would be the top level and the others the same lever under ZBI001:
    Source Structures
            ZBI001                    Transaction Header Record for Data Transfer of Routings
                ZBIMPL                   Batch Input Structure for Allocation of Mat. to Task Lists
                ZBIPKO                   Batch Input Structure for Task List Header
                ZBIPPO                   Batch input structure for task list operation
                ZBIPMK                   Inspection characteristics for batch input of task lists
    In step 3, define source fields for source structure. For easy define, you may click "Object Overview">> Table to get the possible fields of the related structure, and then copy to Excel; after that, you may copy the fields directly from Excel to fields difining window in step 3.
    Step 4, assign the source structures to target structures, the target structures are named the same as the source structures above, just without the letter "Z". For example, assign ZBIMPL to BIMPL, ZBIPKO to BIPKO, except ZBI001 is assigned to BI000 and BI001 as well.
    Then Step 5, you may find there are RECTY and default settings are "00" "99" "01" "03" "09" "18" for BI000, BI001, BIMPL, BIPKO, BIPPO and BIPMK. Let alone "99" and imput these value to field "RECTY" in corresponding source structure fields
    Then you may run auto field mapping in step 5, and make some values constant, like PLNTY=Q etc.
    Then a problem with the profile under field "PROFIDNET". Run TCODE 'SPRO' to IMG>Quality Management>Quality Planning>Inspection Planning>General>Maintain Profiles for Default Values>Profile: default values plan/general. You may find there is a box named "Entry tool", tick that box, if not it is not possible to run QP01 in lsmw. And at the same time you may find the profile is 0000001. Key the value to field "PROFIDNET" and make the rule as constant.
    For step 6 there is nothing to do
    in Step 7, unlike other objects, you can use just one .txt file for uploading the inspection plan. When specy file, select "Data for Multiple Source Structures(Seq.file); Delimiter: Tabulator; File structure: Field order Matches source structure definition(as in Seq.file) I find not possible to put field names at start of file, so "Field Order Matching" is very important
    Then how to prepare the file? We can accomplish this with 5 excel sheets
    the fields orders for my customer is like this:
    1)for RECTY 18(Inspection Charatristics):
    MATNR     RECTY     MERKNR     KURZTEXT     VERWMERKM     QPMK_ZAEH     PMETHODE     QMTB_WERKS     STICHPRVER     PROBEMGEH     STELLEN     MASSEINHSW     SOLLWERT     TOLERANZOB     TOLERANZUN
    2)for RECTY 09(Operation):
    MATNR     RECTY     VORNR     STEUS     WERKS     LTXA1     UMREZ     UMREN
    3)for RECTY 03(Header):
    MATNR     RECTY     DATUV     VERWE     WERKS     STATU     PLNME     LOSVN     LOSBS     VAGRP     KTEXT
    4)for RECTY 01(Allocation of Material)
    MATNR     RECTY     MATNR     WERKS     LIFNR     KUNR
    5)for RECTY 00(Transaction Header)
    MATNR     RECTY     TCODE     START
    Creat a new blank sheet and copy the fild contents of these 5 sheets into it, then you can sort the fields in A to Z order with Column A(MATNR), B(RECTY), and C(MERKNR), then the seq.file to be uploaded is completed.
    for example:
    10001042     00     QP01     20090119                                                            
    10001042     01     10001042     1200                                                            
    10001042     03     20090119     5     1200     4     PC     0     99999999          Screw\M16x45\GB/T5783                         
    10001042     09     0010     QM01     1200     inspection     1     1                                        
    10001042     18     10      inspection on material     C101     1200     JF035     1200     GUD5     PC                              
    10001042     18     20      Inspection on size     C102     1200     JF034     1200     GUD5     PC
    Then copy start from Column B, i.e., without the material numbers in Column A, to .txt file.
    Specy the file in Step 7 in lsmw.
    the step 8, assign this .txt file to all structures
    then step 9, 10, 11, 12, 13 Creast Session and run it in at the end.
    Actually this program is not possible for QP02. If you want to make some correction on the inspection plans in SAP, you'd better delete them and upload the revised one.
    This program is very similar to CA01 Production Routing and thus also applicable to CA01. But I recommend using  Object 0170;Method 0002;Program RCPTRA02; Program Type D for CA01, because it provides testing transfer at the end so that you can check out logical errors, and much fastee. Pity that for QP01 there is no such program
    Currenty I am acting as Data cunsultant for an Elevator Manufaturer in China, hope my experience would help for you. My MSN is zhangxiaojun at msn dot com

  • Method for Downloading Huge Data from SAP system

    Hi All,
    we need to download the huge data from one SAP system  & then, need to migrate into another SAP system.
    is there any better method, except downloading data through SE11/SE16 ? please advice.
    Thanks
    pabi

    I have already done several system mergers, and we usually do not have the need to download data.
    SAP can talk to SAP. with RFC and by using ALE/IDOC communication.
    so it is possible to send e.g. material master with BD10 per IDOC from system A to system B.
    you can define that the IDOC is collected, which means it is saved to a file on the application server of the receiving system.
    you then can use LSMW and read this file with several hundred thousand of IDOCs as source.
    Field mapping is easy if you use IDOC method for import, because then you have a 1:1 field mapping.
    So you need only to focus on the few fields where the values changes from old to new system..

  • **URGENT** No getter method for property searchText of bean org.apache.stru

    I'm implementing a query page as described in the HowTo ADF_ComplexMasterDetail.zip
    When running the query page, I'm receiving the error:
    javax.servlet.jsp.JspException: No getter method for property searchText of bean org.apache.struts.taglib.html.BEAN
    I have my searchEmployees writen and 'exposed' (at least I can see it in the Data palette). But seems like something is missing, and can't find this searchText beam property specified in the html:text tag.
    Can someone help in this one?
    Here is the Help description inside the HowTo example:
    Section 3
    queryEmployees
    queryEmployeesInDept provides an interface for entering a simple search criteria for querying a list of
    employees. This does not use the Find mode Query By Example functionality that the other query screens
    use, but rather presents a much simpler search interface. The actual search is carried out using a
    function
    searchEmployees that the underlying view object exposes. (See the EmployeesView view object in the
    model project)
    1. Drop a new Data Page onto the page flow diagram call it queryEmployees
    2. In the page flow diagram, drag the searchEmployees operation from the AllEmployeesView
    collection in the Data Control Palette and drop it on top of the new Data Page. This will cause the
    framework to run a search whenever the page is called.
    3. In the Structure pane, locate the queryEmployees node and expand it, select the child node
    paramNames[0], and change it's value attribute to ${param.searchText}. This will pass the URL
    parameter searchText on to the business method to qualify the query.
    4. Drill down into the page and expand the Data Control Palette to select the AllEmployeesView
    collection. Set the Drag and Drop as: list to Read-OnlyTable. Then drag the collection onto the page.
    This will create a tabular containing the query results.
    5. Select the Struts HTML component palette and drag a Form onto the page above the output table. Set
    the handling action to this Data Page (queryEmployees.do)
    6. Drag a text field from the component palette inside of this new form. Set the property attribute of
    the
    <html:text> tag to searchText (the same value you used in the paramNames[0] for the Data Page)
    7. Create a new submit button in the form to submit the search. Set the property attribute of the button
    to
    event_search.
    8. Finally we need to subclass the data page to prevent the search action from being fired when it is not
    appropriate for the page ( for instance when we first display it). To do this we need to Go to Code on
    the Data Page's context menu, and override the invokeCustomMethod() method:
    * We only want to invoke the custom method i.e. the call to change
    * the Where clause on the collection, if the Action has been called with
    * a search event on the page with a search term supplied.
    * If the user got here via a link or another event, we bypass the model call
    * unless a URL parameter event=search is supplied, in which
    * case the method will also be called.
    protected void invokeCustomMethod(DataActionContext actionContext)
    List events = actionContext.getEvents();
    // If the event is "search" do the custom event call
    if ((events != null) && (events.contains("search")))
    String searchTerm = (String)((DynaActionForm)actionContext.getActionForm())
    Get("searchText");
    if (searchTerm != null)
    super.invokeCustomMethod(actionContext);
    }

    Solved with Oracle JDeveloper HowTo:
    Creating Search Pages with Both Fixed and Dynamic Criteria
    Author: Steve Muench, Oracle ADF Development Team
    Date: September 16, 2004
    http://www.oracle.com/technology/products/jdev/howtos/10g/dynamiccrit/index.html

  • Method for colouring particular cell

    Hello friends,
                 I displayed the output in grid using the class "CL_GUI_ALV_GRID".
    Now i need to colour the particular cell with different colours based on the condition.What is the method used for that. If possible give an example code.
    Thanks in advance.

    Hello Siva
    All details can be found in the excellent tutorial
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907">An Easy Reference For ALV Grid Control</a>
    -> see pages 28+
    Briefly, here is the crucial coding part:
    *--- Internal table holding list data
    DATA BEGIN OF gt_list OCCURS 0 .
    INCLUDE STRUCTURE SFLIGHT .
    DATA rowcolor(4) TYPE c .
    DATA cellcolors TYPE lvc_t_scol .
    DATA END OF gt_list .
    DATA ls_cellcolor TYPE lvc_s_scol .
    READ TABLE gt_list INDEX 5 .
    ls_cellcolor-fname = 'SEATSOCC' .
    ls_cellcolor-color-col = '7' .
    ls_cellcolor-color-int = '1' .
    APPEND ls_cellcolor TO gt_list-cellcolors .
    MODIFY gt_list INDEX 5 .
    Regards
      Uwe

  • Best method for refreshing a component's data?

    What's better when you want to refresh the content of an object? Should you just replace your JComponent with an entirely new one, or should you try to get access to the data and then remove the items and then re-add them.
    In my example, I have a JTree and am not sure which would be the best method to use. Should I try to remove all the nodes, or sometimes I think it would be easier to just remove the tree component from my panel, create a new tree and re-populate it?
    Thanks for any advice.

    pjbarbour wrote:
    I'm not quite sure what would be the best method for this.  My client is using a 4x3 screen and SD projector at a large meeting, and they want me to just create a DVD that is letterboxed.  I have one Premiere CS5 project that's 1920x1080, and another project that's 720x480 widescreen (1.2).  I created a new sequence in both projects that is 720x480, 4x3 (0.9), and what I do is just scale the timeline down so that it's letterboxed.  Is this the best method for achieving this?  Or would you do something else?  I don't like the idea of scaling my timeline down in Premiere.
    Hello.
    As Jim so rightly points out above, you do not need to do anything.
    Just use your normal 16:9 widescreen footage, and author as normal.
    Your player will letterbox automatically when it is connected to a 4:3 screen in setup (just make sure "Pan & Scan" is not also there)

  • Best method for keyframing with 3d camera 1 shot....

    Hi I have a project I am working on and basically I am finding the key framing a little frustrating because I cant get the camera to do what I want. Ususally I have no problem in FCP but with Motion it doesnt seem as easy. Bascially what I have done is put up 7 of the same clip all in 3d spread down. What I want the camera to do is zoom close to one. Pause while you read what is on the clip then pan and zoom to the next one. The method I am doing is I hit the record button. Start the zoom to the first object then move timeline to where I want the camera to stop the zoom. I hit the record button again..wait a few frames and then hit it again so I can zoom to the next object. What seems to hahppen is the camera just starts moving to the other object and wont pause for those frames. I would like to know the best method for making this possible.Thanks

    hi,
    edit them all! Just select them all and choose linear from the control pop up.
    if that doesnt work, maybe you could try setting keyframes manually, like you would in FCP. You dont turn on the red button at all, but add keframes for the parameters you want to animate in the Inspector window.
    Sometimes I find I have to add two keyframes a frame apart to give that definite stop. This also allows me to play with the timing of the pauses. So set a keyframe where the camera starts to move and one where it stops. Then a frame on set another keyframe without changing the values, then go to the next point you want the camera to move and set another keyframe.... and so on.
    hth
    adam

  • Best Method For Importing Clips Between FCP Projects

    What is the best method for importing clips between FCP 7.0.3 projects?  I am wondering whether or not pulling the clips from the Capture Scratch folder is the way to go or will using Import from the new FCP project create a new folder in Capture Scratch with the imported clips?  I have a new HD camcorder with different clips for different projects and Log and Transfer makes it so easy to bring them all in at once but now wondering how best to separate them into separate Capture Scratch folders for each project. 

    well, I simply either drag them in to the new/different project from the finder, or drag or copy and paste between open fcp projects.  Never had any problems working this way.  Just remember that if you delete a specific project scratch disk folder, you may be deleting media used in another project.

  • Isn't there an easier way for iPhoto to show (Photoshop) edited RAW photos?

    Hi fellow Apple community members, below is a (very) detailed description of my problem>
    Once I'm done shooting with my Canon DSLR i auto-import my pics into iPhoto '11.
    My pics are shot in RAW format.
    I have Photoshop CS6 set as my default image editor via iPhoto.
    Once my image is edited via Photoshop i then save the image with two different methods:
    i use the "save image..." button in the Camera RAW editing window and proceed to save the image in the same location and the same as the original name in the iPhoto directory.
    The second method is to open the image as a non "Smart Object" file then proceed to save the image as a JPEG via "Save As", also in the same the location and file name as the original
    The problem is once i've done the saving of the file. iPhoto doesn't show edits done to the original photo or even show a edited copy.
    I CAN locate the edited images via the route directory within iPhoto's Finder menus.
    So i assumed if i imported those edited copies it would then show in iPhoto but no cigar - A error message pops up: "The following file could not be imported . The file is in the iPhoto Library."
    I then re-locate the edit files to another location, then import it into iPhoto and only then does it shows up in iPhoto - successfully edited.
    So my question would be...isn't there a better or easier way for iPhoto to show your edited photos without having to jump through so many hoops?

    There is no solution to this - and the same problem arises with Aperture too. The question to ask yourself is which Raw processor you want to use and then your Photos go there first.
    As Larry says, iPhoto is pretty much pointed at the shooter with a point and shoot or phone who takes snaps to share with family and friends. Pros or serious hobbyits, people shooting large volumes, people shooting Raw migrate to the more powerful apps sooner or later.
    Going forward, I would suggest that you explore apps like Lightroom and Aperture which make the Raw processing - and many other - element of Photoshop redundant. While iPhoto uses the same processing engine as Aperture it has less fine control. Photoshop for the photographer is on the way out. It's too expensive, most of its features are aimed at graphic artists rather than shooters. The future for Photographers is apps like Aperture, Lightroom with something like Elements for the odd touchups that these apps can't manage.

  • HOWTO: Configure JDeveloper for Power Users

    < !doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Author" content="JDeveloper Product Management">
    <meta name="GENERATOR" content="Mozilla/4.72 [en] (WinNT; I) [Netscape]">
    <meta name="Description" content="Configuring JDeveloper for the Power User">
    <title>Configuring JDeveloper for the Power User</title>
    </head>
    <body>
    <center>
    <h2>
    <font color="#000000">HOWTO: Configure JDeveloper for Power Users</font></h2></center>
    <hr WIDTH="100%">
    The default JDeveloper installation installs many components, however,
    it does not create easily accessible menus and shortcuts that many power
    users need.
    The common configuration problems that developers often face, but may
    not know how to fix include:
    <ul>
    Quickly Launching JDeveloper</li>
    Invoking the JDeveloper Help system (without running JDeveloper)</li>
    Adding external tools to JDeveloper's Tools menu</li>
    Editing JDeveloper Configuration files</li>
    </ul>
    This document explains how to perform the above tasks, and hopefully, you
    will learn how simple customizing your Windows &; JDeveloper environment
    can be.
    <center>
    <h2>
    <hr WIDTH="100%"></h2></center>
    <h2>
    Introduction</h2>
    This document contains instructions for configuring JDeveloper for the
    power user.
    The following instructions lead you through the steps necessary to:
    <ul>
    Add links to key JDeveloper configuration files from the windows start
    menu.  This makes it simpler to change JDeveloper's behavior.</li>
    Create Short cut menus to JDeveloper Help system</li>
    <img SRC="PowerUser_StartMenu.JPG" height=89 width=332>
    Create a Quick Launch menu to JDeveloper</li>
    <img SRC="PowerUser_QuickLaunch.JPG" height=27 width=309>
    Add key utilities to the JDeveloper Tools menu.  This makes your favorite
    utilities just a menu away from within JDeveloper.</li>
    <img SRC="PowerUser_ToolsMenu.JPG" height=351 width=214>
    Enable the JDeveloper Console window.  This allows you to see the
    results of statements such as System.out.println( "message" ).</li>
    Let you understand how easy customizing various aspects can be</li>
    </ul>
    <h2>
    <hr WIDTH="100%"></h2>
    <h2>
    Detailed Instructions</h2>
    1. If you have not previously executed JDeveloper, Run JDeveloper once
    and exit.
        This creates the initial JDeveloper.ini
    2. Create links to JDeveloper's key files.
    <blockquote>Right click on the Windows Start menu
    Select <u>Explore All Users</u> to launch an Explorer window
    We will refer to this as Explorer Window #2 because it has 2 panes
    (left &; right)
    Note: This directory structure is also used by the Windows Start menu,
    thus adding folders here is the same as adding menu items to the Start
    menu decedents, Adding folders here is the same as adding sub-menus!
    In the right hand pane of Explorer Window #2, double click on Programs.
    Double click on the Oracle JDeveloper Folder.
    Select menu File | New / Folder to create a new folder.
    Name the folder, Customize
    Right click on the JDeveloper icon (either one)
    Select the <u>Properties</u> menu to launch the  JDeveloper
    properties dialog,
    <blockquote>Switch to the Shortcut Tab.
    Copy the path portion of the Target string (exclude JDeveloper.exe)
    into the clipboard (Select + Ctrl-C )
    Cancel the Properties dialog</blockquote>
    Press windows Start | Run... menu
    Paste clipboard contents (Ctrl+V) in the open line.
    Press OK to create an Explorer window.
    We will refer to this as Explorer Window #1 because it has 1 pane.
    Note that Explorer Window #1 is  focused on your JDeveloper bin
    directory.
    Next we will create shortcuts to key JDeveloper files which are directly
    accessible from your windows start menu.
    Situate the two explorer windows so they do not overlap (shrink window
    size if necessary)
    We will be dragging from Explorer Window #1 to Explorer Window #2.
    // Create Shortcut to JDeveloper.ini inside of Customize folder/menu.
    In Explorer Window #2, Double click on Customize folder
    In Explorer window #1, find and select JDeveloper.ini.
    <font color="#000000">***Important:</font>  Right Click
    and Drag JDeveloper.ini from Explorer Window #1 and right-drag to Explorer
    Window #2 and release the right mouse button in the right pane.
    Then a small context menu appears, select the menu item <u>Create
    Shortcut(s) Here</u>
    This created a shortcut to JDeveloper.ini.
    // Create Shortcut to Tools.cfg inside of Customize folder/menu.
    Lets repeat the process for Tools.cfg
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Navigate to LIB dir
    In Explorer Window #1, lets navigate one directory level up by pressing
    the Folder UP arrow icon.
    Now Double click on the LIB directory Folder.
    // Create Shortcut to JDeveloper.properties inside of Customize folder/menu.
    Lets repeat the process for JDeveloper.properties.
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Create Shortcut to JBO.properties inside of Customize folder/menu.
    [Optional] Lets repeat the process for JBO.properties.
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Navigate to DOC dir
    In Explorer Window #1, lets navigate one directory level up by pressing
    the Folder UP arrow icon.
    Now Double click on the Doc directory Folder.
    In Explorer Window #2, lets navigate one directory level up by pressing
    the Folder UP arrow icon. This places us in the folder where the JDeveloper
    shortcut is.
    // Create Shortcut to JDeveloper.chm inside of JDeveloper folder/menu.
    Lets repeat the process for JDeveloper.chm
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Create Quick Launch Shortcut to JDeveloper.
    If you do not have the Windows Quick Launch Menu enabled, Right click
    on your Task bar, but not on any icons and Select Menu ToolBars | Quick
    Launch to display Quick Launch Menu
    Now Select JDeveloper from Explorer Window #1  and Right click-drag
    to the Quick Launch Area (on windows Task Bar) and choose Create Shortcut(s)
    Here.
    This creates a Quick Launch icon for launching JDeveloper from the
    Quick Launch area.
    To verify everything is OK, you can now select the Window Start menu
    | Programs | Oracle JDeveloper... and you should see links to all the new
    files we just added.
    When everything is as you like, close both explorer windows.</blockquote>
    3. Enable JDeveloper's output console window
    <blockquote>Select Windows Start menu | Programs | Oracle JDeveloper |
    JDeveloper.ini
    If windows asks you what to use to edit this file choose Write.
    Search for LogConsole=0 and change it to LogConsole=1
    Save the file and exit the editor.
    This Console window is very important for Advanced programmers because
    they can see various output including exceptions during their IDE interaction,
    Addin processing.</blockquote>
    4. Add more tools to JDeveloper's Tools menu
    <blockquote>Select Windows Start menu | Programs | Oracle JDeveloper |
    Tools.CFG
    If windows asks you what to use to edit this file, choose Write.
    Add the following lines to the END of your Tools.cfg file.
    <font color="#000000">***Important:  </font>Be sure to make
    appropriate path changes suitable for your environment.
    Note: You may want to add your own favorite tools to this file for
    invocation from JDeveloper.
    <table BORDER COLS=1 WIDTH="80%" >
    <tr>
    <td><font face="Arial,Helvetica"><font size=-1>## Shortcut to Netscape
    Browser on current node (HTML, gif, etc)</font></font>
    <font face="Arial,Helvetica"><font size=-1>Navigator <Current
    Node></font></font>
    <font face="Arial,Helvetica"><font size=-1>"C:\Program Files\Netscape\Com municator\Program\netscape.exe"</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>$NodeName</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to Netscape
    Composer on current node (HTML, gif, etc)</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Note: Due to netscape
    modal issue, drag the node to netscape.</font></font>
    <font face="Arial,Helvetica"><font size=-1>Composer <Current
    Node></font></font>
    <font face="Arial,Helvetica"><font size=-1>"C:\Program Files\Netscape\Communicator\Program\netscape.exe
    -edit"</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>$NodeName</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    Tools.cfg</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit Tools.cfg</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\bin\Tools.cfg</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    Gallery.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit Gallery.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\bin\Gallery.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    JDeveloper.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit JDeveloper.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\bin\JDeveloper.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    JDeveloper.properties</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit JDeveloper.properties</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\lib\JDeveloper.properties</font></font></td>
    </tr>
    </table>
    Save the file and exit the editor.</blockquote>
    5. [Optional] To view the output of JDeveloper Addins as they are loaded,
    <blockquote>Select Windows Start menu | Programs | Oracle JDeveloper |
    JDeveloper.properties
    If windows asks you what to use to edit this file, choose Write.
    Search for jdeveloper.logOutput= line and change it to end with
    a dash
    jdeveloper.logOutput=-
    Save the file and exit the editor.
    This will place trace like statements invoked with Addin handling into
    the Console window.
    This is also the file which you will edit to add your Addin files to
    JDeveloper.</blockquote>
    6. Start Developing with JDeveloper.
    <blockquote>Your new shortcuts can make launching JDeveloper, JDeveloper
    help files, external utilities, and configuring JDeveloper super easy.</blockquote>
    <h2>
    <hr WIDTH="100%"></h2>
    <h2>
    Summary</h2>
    <blockquote>With the above configuration changes and the concepts understood,
    there is no end to your levels of customization that you may perform. 
    These represent but a few of the customizations that you can perform to
    make your day more productive.</blockquote>
    Please send corrections and suggestions to [EMAIL][email protected][EMAIL]
    </body>
    </html>
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Jannatpour ([email protected]):
    < !doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Author" content="JDeveloper Product Management">
    <meta name="GENERATOR" content="Mozilla/4.72 [en] (WinNT; I) [Netscape]">
    <meta name="Description" content="Configuring JDeveloper for the Power User">
    <title>Configuring JDeveloper for the Power User</title>
    </head>
    <body>
    <center>
    <h2>
    <font color="#000000">HOWTO: Configure JDeveloper for Power Users</font></h2></center>
    <hr WIDTH="100%">
    The default JDeveloper installation installs many components, however,
    it does not create easily accessible menus and shortcuts that many power
    users need.
    The common configuration problems that developers often face, but may
    not know how to fix include:
    <ul>
    Quickly Launching JDeveloper</li>
    Invoking the JDeveloper Help system (without running JDeveloper)</li>
    Adding external tools to JDeveloper's Tools menu</li>
    Editing JDeveloper Configuration files</li>
    </ul>
    This document explains how to perform the above tasks, and hopefully, you
    will learn how simple customizing your Windows & JDeveloper environment
    can be.
    <center>
    <h2>
    <hr WIDTH="100%"></h2></center>
    <h2>
    Introduction</h2>
    This document contains instructions for configuring JDeveloper for the
    power user.
    The following instructions lead you through the steps necessary to:
    <ul>
    Add links to key JDeveloper configuration files from the windows start
    menu. This makes it simpler to change JDeveloper's behavior.</li>
    Create Short cut menus to JDeveloper Help system</li>
    <img SRC="PowerUser_StartMenu.JPG" height=89 width=332>
    Create a Quick Launch menu to JDeveloper</li>
    <img SRC="PowerUser_QuickLaunch.JPG" height=27 width=309>
    Add key utilities to the JDeveloper Tools menu. This makes your favorite
    utilities just a menu away from within JDeveloper.</li>
    <img SRC="PowerUser_ToolsMenu.JPG" height=351 width=214>
    Enable the JDeveloper Console window. This allows you to see the
    results of statements such as System.out.println( "message" ).</li>
    Let you understand how easy customizing various aspects can be</li>
    </ul>
    <h2>
    <hr WIDTH="100%"></h2>
    <h2>
    Detailed Instructions</h2>
    1. If you have not previously executed JDeveloper, Run JDeveloper once
    and exit.
    This creates the initial JDeveloper.ini
    2. Create links to JDeveloper's key files.
    <blockquote>Right click on the Windows Start menu
    Select [b]<u>Explore All Users</u> to launch an Explorer window
    We will refer to this as Explorer Window #2 because it has 2 panes
    (left & right)
    Note: This directory structure is also used by the Windows Start menu,
    thus adding folders here is the same as adding menu items to the Start
    menu decedents, Adding folders here is the same as adding sub-menus!
    In the right hand pane of Explorer Window #2, double click on Programs.
    Double click on the Oracle JDeveloper Folder.
    Select menu File | New / Folder to create a new folder.
    Name the folder, Customize
    Right click on the JDeveloper icon (either one)
    Select the <u>Properties</u> menu to launch the JDeveloper
    properties dialog,
    <blockquote>Switch to the Shortcut Tab.
    Copy the path portion of the Target string (exclude JDeveloper.exe)
    into the clipboard (Select + Ctrl-C )
    Cancel the Properties dialog</blockquote>
    Press windows Start | Run... menu
    Paste clipboard contents (Ctrl+V) in the open line.
    Press OK to create an Explorer window.
    We will refer to this as Explorer Window #1 because it has 1 pane.
    Note that Explorer Window #1 is focused on your JDeveloper bin
    directory.
    Next we will create shortcuts to key JDeveloper files which are directly
    accessible from your windows start menu.
    Situate the two explorer windows so they do not overlap (shrink window
    size if necessary)
    We will be dragging from Explorer Window #1 to Explorer Window #2.
    // Create Shortcut to JDeveloper.ini inside of Customize folder/menu.
    In Explorer Window #2, Double click on Customize folder
    In Explorer window #1, find and select JDeveloper.ini.
    <font color="#000000">***Important:</font> Right Click
    and Drag JDeveloper.ini from Explorer Window #1 and right-drag to Explorer
    Window #2 and release the right mouse button in the right pane.
    Then a small context menu appears, select the menu item <u>Create
    Shortcut(s) Here</u>
    This created a shortcut to JDeveloper.ini.
    // Create Shortcut to Tools.cfg inside of Customize folder/menu.
    Lets repeat the process for Tools.cfg
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Navigate to LIB dir
    In Explorer Window #1, lets navigate one directory level up by pressing
    the Folder UP arrow icon.
    Now Double click on the LIB directory Folder.
    // Create Shortcut to JDeveloper.properties inside of Customize folder/menu.
    Lets repeat the process for JDeveloper.properties.
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Create Shortcut to JBO.properties inside of Customize folder/menu.
    [Optional] Lets repeat the process for JBO.properties.
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Navigate to DOC dir
    In Explorer Window #1, lets navigate one directory level up by pressing
    the Folder UP arrow icon.
    Now Double click on the Doc directory Folder.
    In Explorer Window #2, lets navigate one directory level up by pressing
    the Folder UP arrow icon. This places us in the folder where the JDeveloper
    shortcut is.
    // Create Shortcut to JDeveloper.chm inside of JDeveloper folder/menu.
    Lets repeat the process for JDeveloper.chm
    Right click-drag from Explorer window #1 to Explorer Window #2 and
    choose Create Shortcut(s) Here.
    // Create Quick Launch Shortcut to JDeveloper.
    If you do not have the Windows Quick Launch Menu enabled, Right click
    on your Task bar, but not on any icons and Select Menu ToolBars | Quick
    Launch to display Quick Launch Menu
    Now Select JDeveloper from Explorer Window #1 and Right click-drag
    to the Quick Launch Area (on windows Task Bar) and choose Create Shortcut(s)
    Here.
    This creates a Quick Launch icon for launching JDeveloper from the
    Quick Launch area.
    To verify everything is OK, you can now select the Window Start menu
    | Programs | Oracle JDeveloper... and you should see links to all the new
    files we just added.
    When everything is as you like, close both explorer windows.</blockquote>
    3. Enable JDeveloper's output console window
    <blockquote>Select Windows Start menu | Programs | Oracle JDeveloper |
    JDeveloper.ini
    If windows asks you what to use to edit this file choose Write.
    Search for LogConsole=0 and change it to LogConsole=1
    Save the file and exit the editor.
    This Console window is very important for Advanced programmers because
    they can see various output including exceptions during their IDE interaction,
    Addin processing.</blockquote>
    4. Add more tools to JDeveloper's Tools menu
    <blockquote>Select Windows Start menu | Programs | Oracle JDeveloper |
    Tools.CFG
    If windows asks you what to use to edit this file, choose Write.
    Add the following lines to the END of your Tools.cfg file.
    <font color="#000000">***Important: </font>Be sure to make
    appropriate path changes suitable for your environment.
    Note: You may want to add your own favorite tools to this file for
    invocation from JDeveloper.
    <table BORDER COLS=1 WIDTH="80%" >
    <tr>
    <td><font face="Arial,Helvetica"><font size=-1>## Shortcut to Netscape
    Browser on current node (HTML, gif, etc)</font></font>
    <font face="Arial,Helvetica"><font size=-1>Navigator <Current
    Node></font></font>
    <font face="Arial,Helvetica"><font size=-1>"C:\Program Files\Netscape\Communicator\Program\netscape.exe"</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>$NodeName</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to Netscape
    Composer on current node (HTML, gif, etc)</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Note: Due to netscape
    modal issue, drag the node to netscape.</font></font>
    <font face="Arial,Helvetica"><font size=-1>Composer <Current
    Node></font></font>
    <font face="Arial,Helvetica"><font size=-1>"C:\Program Files\Netscape\Communicator\Program\netscape.exe
    -edit"</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>$NodeName</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    Tools.cfg</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit Tools.cfg</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\bin\Tools.cfg</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    Gallery.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit Gallery.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\bin\Gallery.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    JDeveloper.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit JDeveloper.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\bin\JDeveloper.ini</font></font>
    <font face="Arial,Helvetica"><font size=-1>## Shortcut to editing
    JDeveloper.properties</font></font>
    <font face="Arial,Helvetica"><font size=-1>Edit JDeveloper.properties</font></font>
    <font face="Arial,Helvetica"><font size=-1>C:\WINNT\system32\Write.exe</font></font>
    <font face="Arial,Helvetica"><font size=-1>.</font></font>
    <font face="Arial,Helvetica"><font size=-1>D:\jd3\lib\JDeveloper.properties</font></font></td>
    </tr>
    </table>
    Save the file and exit the editor.</blockquote>
    5. [Optional] To view the output of JDeveloper Addins as they are loaded,
    <blockquote>Select Windows Start menu | Programs | Oracle JDeveloper |
    JDeveloper.properties
    If windows asks you what to use to edit this file, choose Write.
    Search for jdeveloper.logOutput= line and change it to end with
    a dash
    jdeveloper.logOutput=-
    Save the file and exit the editor.
    This will place trace like statements invoked with Addin handling into
    the Console window.
    This is also the file which you will edit to add your Addin files to
    JDeveloper.</blockquote>
    6. Start Developing with JDeveloper.
    <blockquote>Your new shortcuts can make launching JDeveloper, JDeveloper
    help files, external utilities, and configuring JDeveloper super easy.</blockquote>
    <h2>
    <hr WIDTH="100%"></h2>
    <h2>
    Summary</h2>
    <blockquote>With the above configuration changes and the concepts understood,
    there is no end to your levels of customization that you may perform.
    These represent but a few of the customizations that you can perform to
    make your day more productive.</blockquote>
    Please send corrections and suggestions to [EMAIL][email protected][EMAIL]
    </body>
    </html><HR></BLOCKQUOTE>
    null

  • Edit entity object and use the Create() method for generating ID's

    Hello,
    I have and InserPage.jsp and defined the datasoucre correctly.
    <jbo:InputText datasource="ds" dataitem="Clientid" /> gives me
    the unique ClientID from the FIRST client-record in my table ,
    although this page is for inserting a NEW Client, with a new
    ClientID.
    So, on the Clients Entity i made a create() method and put the
    following code in it:
    public Number getClientid() {
    return (Number)getAttributeInternal(CLIENTID);
    public void create(AttributeList attributeList) {
    SequenceImpl seq = new SequenceImpl
    ("Clientid",getDBTransaction());
    Integer i=(Integer)seq.getData();
    setClientid(new Number(i.intValue()));
    super.create(attributeList);
    the getData() Returns a sequence value, but what sequence value?
    Do i have to create a sequence on the ClientID column in my
    Oracle Table in the DB too?
    The problem is, the first ClientID # is 819 and the current last
    one seems to be 2899, so how do i achieve that when opening the
    insert.jsp the new ClientID shows up (ie. 2900)?
    How can i achieve this?
    thx

    OK, managed to track down the HowTo on triggers? I created the
    trigger.
    create sequence client_seq
    start with 8900
    increment by 1
    nomaxvalue
    nocycle;
    I changed the create() method for the entity object to:
    public void create(AttributeList attributeList) {
    SequenceImpl seq = new SequenceImpl
    ("Clientid",getDBTransaction());
    SequenceImpl s = new SequenceImpl("client_seq",
    getDBTransaction());
    Integer next = (Integer)s.getData();
    setClientid(new Number(next.intValue()));
    and running the tester for the module works fine. ;-)
    But...
    The Insert.jsp page has to insert/show this sequenced value!
    After i defined the datasource and let us say:
    <jbo:InputText datasource="ds" dataitem="Clientid" />
    ...the number 819 shows up, which is the FIRST record, so i do
    not get the new ClientID with the correct number.
    Any help is always nice. ;-)

Maybe you are looking for