Can I write Design-time for JSP custom tag(not JSF components)

I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
the Exception is shown as follow:
java.lang.ClassCastException
     at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
[catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
     at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
     at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
     at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
     at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
     at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
     at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
     at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
     at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
     at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
     at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
     at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
     at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
     at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
     at com.sun.rave.text.Document$5.run(Document.java:631)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
the Exception is shown as follow:
java.lang.ClassCastException
     at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
[catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
     at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
     at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
     at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
     at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
     at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
     at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
     at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
     at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
     at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
     at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
     at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
     at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
     at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
     at com.sun.rave.text.Document$5.run(Document.java:631)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Similar Messages

  • Design view for jsp custom tags.

    when we drag-and-drop custom tag control in the source of jsp page, when we switch to the design view of jsp we should be able to view controls as desired.
    Observation: 1) Eclipse 3.2 doesn't have design view for jsp pages.
    2) which software uses the design view. we need to extend eclipse core framework and we do not find any technical approach document to proceed further on this.
    3) RAD 6.0 we can see a JSP in design view.
    I'm searching for any technical approach document to create plugin that can intercept the custom tags and provide a design view.
    Will any one suggest the plugin for that.

    Jeff,
    I have checked with engineering and found that JSP Design View support on
    Linux is a planned feature for the next release. I don't think we will have
    this feature as part of a Service Pack for 8.1
    Regards,
    Raj Alagumalai
    WebLogic Workshop Support
    "Jeff Cassanvoa" <[email protected]> wrote in message
    news:3f4df04e$[email protected]..
    >
    Raj,
    Thanks for the information!! Any timeframe when it might be supportedon Linux
    Thanks,
    Jeff
    "Raj Alagumalai" <[email protected]> wrote:
    Jess,
    Unfortunately, the JSP design view is currently not supported on Linux.
    Workshop does allow to do remote development where the IDE is running
    on a
    Windows machine and connects to a server running on Linux/Solaris.
    Regards,
    Raj Alagumalai
    WebLogic Workshop Support
    "Jeff Cassanova" <[email protected]> wrote in message
    news:[email protected]..
    Does anybody else who is running the Linux version of Workshop 8.1have
    troubling
    getting the Design View of JSP files to come up. All I see is thesource,
    with
    no tabs at the bottom to switch to/from the Design View. When I bootover
    to
    Windows and run 8.1 Workshop, I see both tabs and I am able to useboth
    views.
    Is it something I have set in Preferences somewhere that disablesthe
    Design
    View ???
    Thanks,
    Jeff

  • JSP Custom tag not working correctly for multiple users

    I am doing some support work for an existing web system. When doing single user access (a custom tag is called within the JSP); the output of the Custom tag is fine. However, during multiple user access to the JSP, as I could see on the log files, 2 users access the custom tag at exactly the same time- the output of one of the users was incorrect. The custom tag btw, uses TreeMap, Stringbuffer and does not have a body, only attributes passed to it. It takes an input file and a Hashmap as input attributes and it sets a string in the page context which is later being used in the JSP. No error is logged, its just that the string produced(placed in the page context) is incorrect. This only happens when this tag is called at same time(when multiple users accessing the page) Has anyone encountered this problem? Is there a known pooling/thread problem with custom tags?

    in a servlet/jsp (a jsp is compiled into a servlet),
    the class atrributes are shared. only the
    variables declared in the doservice (doGet or doPost)
    method are threadsafe.
    post your jsp plzhere's the snippet of the jsp code:
    <%@ page language="java"
    errorPage="Error.jsp"
    autoFlush="false"
    buffer="128kb"
    import="java.text.*,
    java.math.BigDecimal,
    java.rmi.RemoteException,
    java.util.*,
    java.io.*,
    %>
    <%@ include file="Secure.jsp" %>
    // a set of request.getParameter are being called here
    HashMap myMap = new HashMap();
    myMap.put(xmlDPhoneNumber, dPhoneNumber);
    myMap.put(xmlDPhoneType, "D");
    myMap.put(xmlDPhoneExt, dExtension);
    myMap.put(xmlDPhoneDigits, dPhoneDigits);
    // other myMap putting of key values are called here
    %>
    <test:applyCustomerSearchValues id="resultXml" xmlTemplate="/xml/message/CustomerUpdateRequest.xml"
    xmlMap="<%= myMap %>" />
    <test:transformXMLString id="customerUpdateRequest"
    xmlString="<%= resultXml.toString() %>"
    xslFileName="/xsl/message/CustomerCreateRequest.xsl"
    paramMap="<%= PMap %>"/>
    now here's the thing: the xml produced by test:applyCustomerSearchValues is resultXml which is used in test:transformXMLString. I got no problem with the output of test:transformXMLString. I am sure that a phone number is being passed into the former as part of the HashMap key-value. However when test:applyCustomerSearchValues is called when 2 users access the jsp, it seems like the the first xml produced does not have the phone number in it - but the other has it. The xml is OK for both users, its just that the values of the HashMap do not seem to be passed correctly into the xml produced.
    --- here's the snippet of the log, the first httpWorkerThread-80-6 does not have the phone number, however the second one-httpWorkerThread-80-7 has the phone number. The first one should also have a phone number as in the start of the log, the number was listed, but as the system called the test:applyCustomerSearchValues tag, the number was not included. There are different phone numbers for the 2 users. The odd thing here is, the userID which is the 'LastUpdatedBy' element has been set correctly. The userID is being fetched from a session attribute while the phone number is fetched from a request parameter, both are being placed in the HashMap attribute passed to the custom tag.
    2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-6] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
    <Status>
         <CustomerType></CustomerType>
         <FirstContactDate>2007-06-05</FirstContactDate>
         <StatusFlags>
              <Fraud>N</Fraud>
              <BadCheck>N</BadCheck>
              <BadCredit>N</BadCredit>
              <DoNotMerge>N</DoNotMerge>
              <ARHoldRefundCheck>N</ARHoldRefundCheck>
         </StatusFlags>
         <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
         <LastUpdatedBy>5555</LastUpdatedBy>
         <OPAlertClass></OPAlertClass>
         <MailListStoreID></MailListStoreID>
         <OriginatingSource>CSA</OriginatingSource>
    </Status>
    <DPhone id="D">
         <DPhoneNumber></DPhoneNumber>
         <DPhoneDigits></DPhoneDigits>
         <DPhoneType></DPhoneType>
         <DExtension></DExtension>
         <DAreaCode></DAreaCode>
         <DPhoneCountryCode></DPhoneCountryCode>
    </DPhone>
    </Customer>
    </Values>
    2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-7] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
    <Status>
         <CustomerType>N</CustomerType>
         <FirstContactDate>2007-06-05</FirstContactDate>
         <StatusFlags>
              <Fraud>N</Fraud>
              <BadCheck>N</BadCheck>
              <BadCredit>N</BadCredit>
              <DoNotMerge>N</DoNotMerge>
              <ARHoldRefundCheck>N</ARHoldRefundCheck>
         </StatusFlags>
         <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
         <LastUpdatedBy>1840</LastUpdatedBy>
         <OPAlertClass></OPAlertClass>
         <MailListStoreID></MailListStoreID>
         <OriginatingSource>CSA</OriginatingSource>
    </Status>
    <DPhone id="D">
         <DPhoneNumber>(123) 123-4788</DPhoneNumber>
         <DPhoneDigits>1231234788</DPhoneDigits>
         <DPhoneType>D</DPhoneType>
         <DExtension></DExtension>
         <DAreaCode>123</DAreaCode>
         <DPhoneCountryCode>US</DPhoneCountryCode>
    </DPhone>
    </Customer>
    </Values>
    Message was edited by:
    Mutya

  • Can't find Design View for JSP page on Unix

    I'm using weblogic workshop to develop page flow on Solaris, and I can't find the Design View tab to build
    JSP page. I searched all menus and can't find one to enable this function. Is this function supported on Unix?
    Thanks
    Zhong

    Zhong--
    Unfortunately, no; Workshop 8.x does not support design view on UNIX.
    Eddie

  • Entering custom backend service in Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    However I cannot seem to insert my custom backend service in the Design Time for Processes and Forms workbench (t-code:hrasr_dt).
    Currently, I am just using SAP_PA for my backend service which is unable to load the ename into my form. The code in my custom class will not be triggered if I did not use my custom back end service in the Design Time for Processes and Forms.
    Whenever I tried using my custom back end service, I will encounter the assertion_failed dump.
    Anyone have any idea?
    Edited by: Siong Chao on Dec 22, 2010 6:35 AM

    Hi Siong Chao,
    The filter name you have used in the BADI for your generic service requires to be defined in the Create / Edit Generic Service - Definition.( You can see this on selecting the Back-end services node under Form Scenario definition while using HRASR_DT transaction code)
    Once you do that, you can import the fields defined in the Generic service BADI - using the same procedure used in standard SAP backend sevices.
    Hope this clarifies. Please let me know if you have any further questions.
    Best Regards
    G Raj

  • Design Time for Processes and Forms

    Hi experts,
    When trying to open  "Design Time for Processes and Forms" in order to create a process, I get a dump.
    Could you let me know what could be wrong ? config? etc..
    Hereunder is a sample of what I found in T.code ST22
    The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
        referenced node must exist
          READ TABLE object_hierarchy_nodes TRANSPORTING NO FIELDS
                     WITH KEY node_id = object_hierarchy_node_wa-ref_node_id
    >>>      ASSERT sy-subrc = 0.
        ENDIF.
      provider has to be specified (except in case of recursion)
        IF object_hierarchy_node_wa-ref_node_id IS INITIAL.
          ASSERT object_hierarchy_node_wa-provider_id IS NOT INITIAL.
        ENDIF.
    Thanks in advance,
    Louis

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

  • Assertion_Failed dump when accessing Design Time for Processes & Forms EP3

    After exhausting SAP note searches and the SDN community forums, blogs & wiki searches, I decide to make my first SDN post:
    After installing Enhancement Pack 3 to the base ECC 6.0, we got the Design Time for Processes & Forms node in the IMG under HR Administrative Services. I was able to get in to it the very first time without any issues; however once I selected one of the sample SAP processes, I received an "Assertion_Failed" dump in the section of code saying a referenced node must exist. In debugging, we did see a node that is referencing a node that does not exist,  which is causing the dump. The dump occurs in CL_HRASR00_DT_OBJECT_BROWSER, Method ASSERT_OBJ_HIER_IS_CONSISTENT (line 71). 
    I now get this dump each time I try to execute the Design Time for Processes & Forms node in the IMG. Note: when accessing process the old way, there is no issue.
    To me is seems like either EP3 was not installed completely, something went wrong in the activation of those business functions, or the copy of the sample forms from client 000 did not grab everything.  In debugging, it appears that the missing reference node is related to some form scenario node.   Also note that all the steps under Technical Settings were completed.
    Has anyone seen this issue before?
    Thanks for any help you can give.  If I find the solution, I will post the answer here as well.
    -Jeff Glynn
    Edited by: Jeffrey Glynn on Oct 22, 2008 1:54 AM

    Hi Jeff,
    I believe we had the same issue here.
    There is an SAP Note (below) for this. Please let me know if this works.
    Note 1075650 - New Design Time tool Corrections for the dump
    Note Language: English Version: 1 Validity: Valid from 18.07.2007
    Summary
    Symptom
    Dump on executing the transaction HRASR_DT which starts the new design time
    tool of the HR Administrative services
    More Terms
    Design time tool HRASR_DT HRadmin
    Cause and Prerequisites
    Solution
    The solution to the dump occuring would be resolved by applying the SP
    Alternately the dump can be
    resolved by performing the following steps manually :
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTOBJHIER and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Select the following entries:
    i. OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT
    ii.OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT_START
    5. Click on EDIT entries button on the header
    6. Enter in the field REF_OBJECT_TYPE the value as FORM_SCENARIO
    7. Click on the Next button on the header bar to navigate to the next entry
    8. Repeat Step 6 for this entry also
    9. Save the modification
    Additionaly, perform the following steps as well:
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTTOOLS and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Click on CREATE entry button on the header
    5.Enter the following to create a new entry:
    TOOL TYPE = FSCN_MSG_MAPPER
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_FST_MESSAGE_MAP
    6. Enter the following to create a new entry:
    TOOL TYPE = PROC_EXEC_FREQUENCY
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_PRT_EXEC_FREQ
    7. Save the new entries
    These adjustments should resolve the dumps hindering to start the new
    design time tool

  • Can anyone write a actionscript for flash project

    Hi All,
    Can anyone write a Actionscript for my project.
    I want to develop my project with the flash.
    My project scenario is, I have total no of 60 (.swf) flash
    movies and are about to take 4 to 5 minutes each, my aim is to
    display 20 .swf files randomly at a time on the screen.
    i.e., if we click on a button for the first time, it should
    display a 20 flash movies on the screen and when we click for the
    second time it should display other set of 20 flash movies it may
    or may not repeat the previous ones. It means every person should
    be displayed with a different set of flash movies, no two persons
    can get the same set of movies. The movies should be randomly
    selected.
    Could you please direct me to meet my scenario, could you
    please write a script for my flash.
    Thank you for your precious time.

    Ndippy,
    Folks on here are pretty good about helping out others who
    are trying to learn actionscript, or have trouble with
    understanding concepts. They are less likely to volunteer to do an
    entire project for you. I'd suggest trying to do it yourself, and
    asking specific questions about the process. Both of your posts are
    way to general to allow anyone to give advice that would be
    worthwhile. You have said that you have 60 .swfs in your first
    post. However, in your second, you said they were 60 quicktime
    files. There are very different processes for each option there.
    Are you planning to display 20 at once, or let people scroll
    through them? What size are your clips and what size are you
    developing for?
    Start small, like just trying to load one movie clip
    randomly, and then work your way up. Experiment with changing the
    positions, sizes, etc. When you run into trouble, ask a specific
    question about what you are trying to do, and people will be happy
    to help.

  • Can't write cache file for while creating domain in soa 11.1.1.5 on HP-UX

    Hi,
    Installing SOA 11.1.1.5 on HP-UX and during domain creation/configuration I am getting the below errors
    **sys-package-mgr: can't write cache file for**
    and have lots of cache file errors for different packages
    Any idea what might be wrong and whats the cause of these errors and is it safe to ignore these errors if not what is the work arround. As I already looked at the below post but I don't find */var/tmp/wlstTemp* on my machine as suggested in the post below.
    SOA 11.1.1.5 install got can't write cache file
    So wondering if there's anything else I can do i.e. while creating or configuring a Domain pass some parameter to config.sh etc.
    Thanks

    Hi,
    I don't see python.cachedir in config.sh. Here is config.sh
    #!/bin/sh
    mypwd="`pwd`"
    # Determine the location of this script...
    # Note: this will not work if the script is sourced (. ./config.sh)
    SCRIPTNAME=$0
    case ${SCRIPTNAME} in
    /*)  SCRIPTPATH=`dirname "${SCRIPTNAME}"` ;;
      *)  SCRIPTPATH=`dirname "${mypwd}/${SCRIPTNAME}"` ;;
    esac
    # Set the ORACLE_HOME relative to this script...
    ORACLE_HOME=`cd "${SCRIPTPATH}/../.." ; pwd`
    export ORACLE_HOME
    # Set the MW_HOME relative to the ORACLE_HOME...
    MW_HOME=`cd "${ORACLE_HOME}/.." ; pwd`
    export MW_HOME
    # Set the home directories...
    . "${SCRIPTPATH}/setHomeDirs.sh"
    # Set the config jvm args...
    CONFIG_JVM_ARGS="${CONFIG_JVM_ARGS} -DCOMMON_COMPONENTS_HOME='${COMMON_COMPONENTS_HOME}'"
    export CONFIG_JVM_ARGS
    # Delegate to the main script...
    "${WL_HOME}/common/bin/config.sh" "$@"Thanks

  • How can identify the default currency for a customer?

    How can identify the default currency for a customer?
    I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
    Blue

    Hi Gary,
    As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
    If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • How can we write the code for opening the command prompt and closing the

    how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)

    rakeshsikha wrote:
    how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)?

  • How can i write the trigger for Global Temporary Table

    Hi Grus,
    How can i write the trigger for Global Temporary Table.
    I was created the GTT with trigger using the below script .
    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    EMP_C_NAME VARCHAR2(20 BYTE)
    ON COMMIT PRESERVE ROWS;
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    trigger was create successfully, but the wouldn't insert into to EMPNAME Table..
    Please guide whether am correct or not? if not kindly give a correct syntax with example
    Thanks in Advance,
    Arun M M

    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    you are referencing old value in insert stmt.
    BEGIN
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    END;then run ur application it works fine...
    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    EMP_C_NAME VARCHAR2(20 BYTE)
    ON COMMIT PRESERVE ROWS;
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    dbms_output.put_line(:OLD.EMP_C_NAME||'yahoo');
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    dbms_output.put_line(:OLD.EMP_C_NAME);
    END;
    create table EMPNAME as select * from GLOBAL_TEMP where 1=2
    insert into GLOBAL_TEMP values('fgfdgd');
    commit;
    select * from GLOBAL_TEMP;
    select * from EMPNAME;
    output:
    1 rows inserted
    commit succeeded.
    EMP_C_NAME          
    fgfdgd              
    1 rows selected
    EMP_C_NAME          
    fgfdgd              
    1 rows selectedgot it Arun
    Edited by: OraclePLSQL on Dec 28, 2010 6:07 PM

  • Will my mac back up to time machine wile it is on but shut (asleep) and can you set a time for backups???

    will my mac back up to time machine wile it is on but shut (asleep) and can you set a time for backups???

    If your Mac Model supports POWERNAP under Mountain Lion, yes backups and software updates can occur while the mac is taking a power nap (kind of light sleep).

  • Design Time for processes and forms : Short Dump

    Hi All,
    When I try to execute Design Time for processes and forms - (tcode :HRASR_DT), I am getting below short dump.
    The following syntax error occurred in program
    "CL_HRASR00_DT_FSCN_PD_DATA====CP " in include
    "CL_HRASR00_DT_FSCN_PD_DATA====CM00E " in
    line 177:
    "The obligatory parameter "FORM_SCENARIO_VERSION" had no value assigned"
    " to it."
    Please suggest what could resolve this.
    Thanks.
    Tejas

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

Maybe you are looking for

  • Mainstage 2 crashing when loading concert made on another mac

    My Mainstage [2.2.2 on Lion] crashes when I try to load a concert created on someone else's mac. I have tried loading it several times but it crashes every time. Any ideas why this might be? I would post a crash report but it never finally crashes ju

  • Financial Report to get data of previous 2 months

    Hi, I got a requirement to create a report to show the data of previous 2 months based on the prompted month and year. Suppose if user selects March and year as *2009* then my report should show data for Mar followed by Feb and Jan of *2009*. I am ab

  • Oracle Reports in PDF output

    Hi everyone , We are using Oracle 11g. I have a custom Oracle report in PDF output. In some cases the value is changed. For example, when i run a query in toad i get a value 0.13, then I run my report, check the XML output - the value is still 0.13..

  • Where does iphone 4 store files

    I was looking for a free ebook file which I found through Safari on my iPhone 4 but accidentally clicked the link to download the file which I meant to do at home on my iMac. I don't know if the download even worked but if it did, does anyone know wh

  • Change request #063743 & WLS 6.1sp3

              Change request #063743 in the WLS sp4 resolved JMS issue list says:           "Fixed a problem with Message Driven Beans not acknowledging object messages"           Are there any more details on this? Would this affect any MDB onMessage()