Creating a changing level to load to

Hey everyone,
I am creating a navigation system that is comprised of
multiple swf's, and I am trying to create a transition. My goal is
to have the currently loaded swf play an outro while the new swf
plays it's intro. My idea was to do this by rotating the levels
that each of the swf's load into with a variable. As you will see
from my code . . . I am still fresh to AS, I keep getting an error.
I think I have the right idea, but I am missing something in the
syntax.
currClip is a variable that will change when the
corresponding button is pressed.
I am getting the syntax error on the _level + "currLevel" +
.play;
**Error** Scene=Scene 1, layer=a, frame=1:Line 13: Operator
'+' must be followed by an operande
_level + "currLevel" + .play;
Total ActionScript Errors: 1 Reported Errors: 1
Am I on the right track?

you are:

Similar Messages

  • Environment variables (user) created at OS level dont show up in BIDS 2008

    Environment variables (user) created at OS level don't show up in BIDS 2008.
    I had a variable ConfigLocation created and it is not showing up when I am trying to configure it in BIDS
    Is this a known issue or a bug?
    Now in BIDS it doesnt show up
    Mudassar

    Yes it shows up after restart of BIDS .
    But during design time this is a bug I hope Microsoft fixes this bug in the future releases
    Mudassar
    It's not really a bug. Visual Studio loads the environment variables when starting up.
    In future releases you use projects and parameters instead of environment variables, so the issue goes away ;)
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Item created at site level can not be seen in other responsibilities

    Hi,
    I've made changes to one of the iProcurement pages.
    I added an item (type : Tip) at the site level . The context is as follows:
    scope : page
    site : include
    organization : A
    responsibility : B
    The Tip item's rendering properties are as follows:
    Site : True
    Organization : Inherit
    Responsibility : Inherit
    Now, I go to another responsibility C and when I looked for this item, it can't be seen.. The item could not even be searched in the personalizations page.
    The context for this as follows:
    scope : page
    site : include
    organization : D
    responsibility : C
    I just want to know that when an item created at site level should be seen by all the responsibilities right?
    why is that it is not getting displayed here?
    Thanks in advance

    Hi Ram,
    I could clearly see that the item got created at site level.
    The function in the context window is left blank.
    site: include
    organization : A
    responsibility : B
    I could see the item in the B responsibility.
    But when I go to some other responsibility ( with a different organization), I could not see the item.
    This page I'm talking about is NonCatalogShoppingPG (iProcurement).

  • Create and change hierarchies via ABAP

    Hi,
    I'm searching for a function module or class which allows me to create and change hierarchies from a abap report.
    regards,
    Karen

    There a number of Standard Function Modules in SE37 :
    BUPA_HIERARCHY_BW_CATALOG      Transfer of Hierarchy Directory
    BUPA_HIERARCHY_BW_CONSTRUCT    Transfer of BP Group Hierarchy to BW Adapter (Full Upload)
    BUPA_HIERARCHY_BW_GET_DETAIL   Delivers Program Names of Exit Routines
    BUPA_HIERARCHY_BW_GET_INTRVALS Validity Intervals for Hierarchies That Can Be Loaded
    BUPA_HIERARCHY_BW_READ         Read Partner Hierarchy
    BUPA_HIERARCHY_BW_TRANSFER     Transfer of BP Group Hierarchy to BW
    Do a seach on HIER in se37

  • Risk Analysis of created or changed Roles automation

    Does anyone know how to automate the risk analysis directly in the backend SAP system when a role is created or changed without implementing Risk Terminator?  We are using GRC AC 10.0 with support pack 16 active and all I can find to activate this ability is to implement Risk Terminator.  In GRC 5.3, there were settings that you could set and the functionality became active at the tcode (transaction) level and then again at the permission level when you attempted to generate the profile.  Can this be doen in GRC 10?
    Thanks --
    Sara B.

    Hello Sandeep,
    Doing Org Lvl Analysis is not so simple in RAR.
    Firstly this is only user based.
    For using it you will have to schedule one job in configuration which will update Org Values for users in the database table. I don't remember name of this Utility however it will be something Orguser, just search in Configuration tab.
    As mentioned by you, org lvl are already enabled and make sure there values is $.......,
    Reason being Org Rules will be generated at runtime and then anlysis will be done.
    It will be better you take help of SAP on this. As they have document which will be very helpful to you.
    Regards,
    Surpreet

  • How to know I'm creating or changing the service order in ICweb?

    Hi,
    I need to disable or enable some fields based on if the service order is being created or changed . I'm new to IC web .. .can someone pelase help me understand how can I differentiate ?

    Hi,
       Which view in service order are you referring to? Normally there will be two seperate inbound plugs in the window level e.g. IP_CREATE and IP_EDIT that displays the same edit view.
    One way will be to set a flag in either of the inbound plugs for you to identity in the corresponding view whether it is a edit scenerio or a create scenerio. Depending on this flag value, you can proceed to disable fields selectively (may be in do_prepare_output method).
    Reward points if helpful!
    Thanks,
    Sudipta.

  • RPM error Message- when try to select Price Changes - Create Price Change

    Hi, can anyone help me with this error message.
    I am getting this error message when I try to open Price Changes -> Create Price Change in RPM.
    Also the same error is thrown when I link codes -> Create Link codes.
    com.retek.platform.exception.RetekNetworkException: Server connection failed and retries were not successful .
    exception id: null
         at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:383)
         at com.retek.rpm.app.RPMServiceAccessorProxy.remoteTransaction(RPMServiceAccessorProxy.java:24)
         at com.retek.platform.service.ServiceAccessorProxy.invoke(ServiceAccessorProxy.java:52)
         at $Proxy5.resolveRequests(Unknown Source)
         at com.retek.rpm.gui.request.RpmRequestResolver$1.getValue(RpmRequestResolver.java:60)
         at com.retek.platform.client.util.SynchronousWorker$1.run(SynchronousWorker.java:67)
         at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
         at java.security.AccessController.doPrivileged(Native Method)
         at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
         at foxtrot.Worker.post(Worker.java:108)
         at foxtrot.Worker.post(Worker.java:131)
         at com.retek.platform.client.util.SynchronousWorker.runSynchronousTask(SynchronousWorker.java:61)
         at com.retek.platform.client.gui.framework.FrameworkUtil.runSynchronousTask(FrameworkUtil.java:141)
         at com.retek.platform.client.gui.framework.ContentContainerImpl.runSynchronousTask(ContentContainerImpl.java:678)
         at com.retek.platform.client.gui.framework.ContentContainerContextImpl.runSynchronousTask(ContentContainerContextImpl.java:119)
         at com.retek.platform.client.gui.framework.ContentContainerContextImpl.runSynchronousTask(ContentContainerContextImpl.java:112)
         at com.retek.rpm.gui.request.RpmRequestResolver.resolve(RpmRequestResolver.java:87)
         at com.retek.request.RequestManager.doResolve(RequestManager.java:123)
         at com.retek.rpm.gui.request.RpmRequestManager.resolve(RpmRequestManager.java:26)
         at com.retek.rpm.gui.pricechanges.PriceChangePanel.<init>(PriceChangePanel.java:95)
         at com.retek.rpm.gui.pricechanges.PriceChangeCreateWorkflow.doInit(PriceChangeCreateWorkflow.java:34)
         at com.retek.rpm.gui.RPMAbstractPage.init(RPMAbstractPage.java:164)
         at com.retek.platform.client.gui.framework.ContentSessionImpl$1.getValue(ContentSessionImpl.java:138)
         at com.retek.platform.client.util.SynchronousWorker$1.run(SynchronousWorker.java:67)
         at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
         at java.security.AccessController.doPrivileged(Native Method)
         at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
         at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.retek.platform.exception.RetekNetworkException: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: java.lang.reflect.InvocationTargetException
    exception id: 1304356963275 [method=com.retek.rpm.app.core.service.RequestBrokerAppService.resolveRequests, params=com.retek.platform.service.ClientContextjava.util.LinkedHashSet]
         at com.retek.platform.service.EjbServiceLocator$ServiceToEjbAdaptor.invoke(EjbServiceLocator.java:381)
         at $Proxy1.executeCommand(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:282)
         at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:300)
         ... 28 more
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: java.lang.reflect.InvocationTargetException
    exception id: 1304356963275 [method=com.retek.rpm.app.core.service.RequestBrokerAppService.resolveRequests, params=com.retek.platform.service.ClientContextjava.util.LinkedHashSet]
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at com.retek.rpm.app.core.service.RPMCommandExecutionService_7g9s0b_EOImpl_1033_WLStub.executeCommand(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.retek.platform.util.ForwardingProxy.invoke(ForwardingProxy.java:252)
         at com.retek.platform.util.ForwardingProxy.invoke(ForwardingProxy.java:194)
         at com.retek.platform.service.EjbServiceLocator$ServiceToEjbAdaptor.invoke(EjbServiceLocator.java:378)
         ... 34 more
    Caused by: com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: java.lang.reflect.InvocationTargetException
    exception id: 1304356963275 [method=com.retek.rpm.app.core.service.RequestBrokerAppService.resolveRequests, params=com.retek.platform.service.ClientContextjava.util.LinkedHashSet]
         at com.retek.rpm.domain.core.service.RPMSessionBeanCommand.execute(RPMSessionBeanCommand.java:94)
         at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb.executeCommand(RPMCommandExecutionServiceEjb.java:114)
         at com.retek.rpm.app.core.service.RPMCommandExecutionService_7g9s0b_EOImpl.executeCommand(RPMCommandExecutionService_7g9s0b_EOImpl.java:128)
         at com.retek.rpm.app.core.service.RPMCommandExecutionService_7g9s0b_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: java.lang.reflect.InvocationTargetException
    exception id: 1304356963275 [method=com.retek.rpm.app.core.service.RequestBrokerAppService.resolveRequests, params=com.retek.platform.service.ClientContextjava.util.LinkedHashSet]
         at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb$1.doExecute(RPMCommandExecutionServiceEjb.java:100)
         at com.retek.rpm.domain.core.service.RPMSessionBeanCommand.execute(RPMSessionBeanCommand.java:78)
         ... 12 more
    Caused by: com.retek.platform.exception.RetekUnknownSystemException: java.lang.reflect.InvocationTargetException
    exception id: 1304356963275
         at com.retek.rpm.app.core.service.RequestBrokerAppServiceImpl.resolveRequests(RequestBrokerAppServiceImpl.java:93)
         at sun.reflect.GeneratedMethodAccessor495.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:282)
         at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb$1.doExecute(RPMCommandExecutionServiceEjb.java:94)
         ... 13 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor556.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:282)
         at com.retek.rpm.app.core.service.RequestBrokerAppServiceImpl.resolveRequests(RequestBrokerAppServiceImpl.java:79)
         ... 18 more
    Caused by: com.retek.platform.persistence.PersistenceException: Hibernate Error
    exception id: 1304356963275
         at com.retek.rpm.domain.core.persistence.PersistenceManagerImpl.find(PersistenceManagerImpl.java:91)
         at com.retek.rpm.domain.core.service.BusinessObjectServiceImpl.find(BusinessObjectServiceImpl.java:49)
         at com.retek.rpm.app.admin.service.SystemOptionsAppServiceImpl.getSystemDefaultsVO(SystemOptionsAppServiceImpl.java:28)
         ... 23 more
    Caused by: net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: com.retek.platform.bo.StringObjectId@43, of class: com.retek.rpm.domain.core.bo.DiffTypeImpl
         at net.sf.hibernate.UnresolvableObjectException.throwIfNull(UnresolvableObjectException.java:38)
         at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1964)
         at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:69)
         at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:208)
         at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2219)
         at net.sf.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:319)
         at net.sf.hibernate.loader.Loader.doQuery(Loader.java:309)
         at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
         at net.sf.hibernate.loader.Loader.doList(Loader.java:1063)
         at net.sf.hibernate.loader.Loader.list(Loader.java:1048)
         at net.sf.hibernate.loader.CriteriaLoader.list(CriteriaLoader.java:118)
         at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3660)
         at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238)
         at com.retek.rpm.domain.core.persistence.PersistenceManagerImpl.find(PersistenceManagerImpl.java:86)
         ... 25 more
    Thanks
    saima
    Edited by: 856041 on May 2, 2011 10:41 AM

    This is the output i get when i change the getMessage with printStackTrace.
    String getMessage() replaced with printStackTrace:
    G:\studies\Chapter11\MakeDB.java:33: 'void' type not allowed here
                   System.out.println("Could not drop primary key on UserStocks table: "
    ^
    G:\studies\Chapter11\MakeDB.java:43: 'void' type not allowed here
                   System.out.println("Could not drop UserStocks table: "
    ^
    G:\studies\Chapter11\MakeDB.java:54: 'void' type not allowed here
                   System.out.println("Could not drop Users table: "
    ^
    G:\studies\Chapter11\MakeDB.java:64: 'void' type not allowed here
                   System.out.println("Could not drop Stocks table: "
    ^
    G:\studies\Chapter11\MakeDB.java:83: 'void' type not allowed here
                   System.out.println("Exception creating Stocks table: "
    ^
    G:\studies\Chapter11\MakeDB.java:102: 'void' type not allowed here
                   System.out.println("Exception creating Users table: "
    ^
    G:\studies\Chapter11\MakeDB.java:119: 'void' type not allowed here
                   System.out.println("Exception creating UserStocks table: "
    ^
    G:\studies\Chapter11\MakeDB.java:133: 'void' type not allowed here
                   System.out.println("Exception creating UserStocks index: "
    ^
    G:\studies\Chapter11\MakeDB.java:159: 'void' type not allowed here
                   System.out.println("Exception inserting user: "
    ^
    9 errors
    Tool completed with exit code 1

  • Error creating site collection - Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0

    Hi,
    When creating a Site collection using Central admin, i am getting the error "One or more types failed to load. Please refer to the upgrade log for more details." . Microsoft.ApplicationServer.Caching.Core dll version on my machine is 1.0.4632 (App
    Fabric 1.1). 
    Stack Trace
    SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
    find the file specified. dd64ad9c-0f90-e07d-aaaa-13533e0e9e4f
    Thanks,
    Thomas

    Hi Thomas,
    According to your description, my understanding is that you got an error when you created a site collection in SharePoint 2013.
    I found a similar thread with yours, maybe it also was created by you. Anyway ,in the thread, the workaround is Changing the virtual directory web config of CA (Option 1 and 2 mentioned at
    http://technet.microsoft.com/en-us/library/dn473937.aspx ) and it worked.
    More information, please take a look at:
    http://sharepoint.stackexchange.com/questions/111439/error-creating-site-collection-could-not-load-file-or-assembly-microsoft-appl
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Swc / accordion problem, trying to create a 3-level dynamic nav

    Hi!
    First time poster, long-time troller. I've been working on a
    CMS system and having a little trouble creating a three level
    navigation, that's uses the functionality of the accordion
    component, but styled with dynamically loaded fonts.
    I'm using the "flexlibs" swc (and was playing with degrafa,
    but think it's a little much for what I'm trying to do). What I'm
    doing is:
    - pulling the three level navigation (1st level - brand, 2nd
    - campaign, 3rd - job),
    - a VBOX holds the entire nav, the first level is an
    accordion with:
    -- a header (that somehow draws the data (this is my first
    question) to put in a swc I created, in a Header.mxml component.);
    and a
    -- repeater that does the same thing for "campaign" (2nd
    level): vbox, vaccordion (header + repeater), that holds:
    -- a swc component, called "JobComp" (I've been playing
    swapping it with a flash-made swc but can't seem to figure out how
    to pass initialization variables in the constructor)
    I used "swc"'s for the nav components, because the fonts are
    "AGBuchBQ-Bold" and I thought it'd be easier this way.
    I guess my question(s) are:
    1. How do I pass a variable in the constructor of a swc
    Component?
    2. Am I doing this right? Or should I construct the
    navigation ALL in flash, export as a swc, and just pass in the xml
    to the flash component (which means I need to understand #1...)
    3. Is there a way to load / set font in the accordion / list
    components that are not the basic fonts? If I can style it all in
    the .css, that'd be really really helpful, I think, since it's 90%
    there.
    Thanks again, for any input,
    Dom

    My bad i didn't see that you want to create a swc.
    Well, as i said earlier, for me, the only way to pass
    parameter to a constructor (i suppose you mean like new Label("my
    title")) is using actionscript.
    What you can do if you want to create an MXML file is
    creating public parameters (or getters) in the script tag and use
    the [bindable]. As far as i understood Flex, properties in an MXML
    will have no action on your component if you don't use this tag.
    You can as well create a method that will apply these
    parameter after its creation, example :
    You create a MyComponent class which has different properties
    like displaySubComponent and maximumValue. In your class, you
    create a method called "applyParameters" which will do something to
    initialize it.
    Then you call use it like this:
    <c:MyComponent id="a_component" displaySubComponent=[ A,
    B, D] maximumValue=5
    onCreationComplete={a_component.applyParameters()} />
    And yes, i thought
    "dataProvider="{repeatCampaign.currentItem..job }" was strange but
    it's good to know that we can do that ;)
    Hope, i was understandable ^^"

  • Create a change request for multiple customers from spreadsheet

    Hello Experts,
    1.We have a spreadsheet with 100's of Customer data maintained in it , can we create a change request by downloading data from spreadsheet directly instead of manually entering the data in the CR. Also can we create a single change request for multiple Create customers.
    2.Can we create CR's automatically , lets say we have 100's of customer data loaded into MDG hub by Data Services using DEBMAS Idoc , can this create automatic CR's , is this possible.
    Thanks.

    Dear Collins,
    1.We have a spreadsheet with 100's of Customer data maintained in it , can we create a change request by downloading data from spreadsheet directly instead of manually entering the data in the CR. Also can we create a single change request for multiple Create customers.
    Answer:there are various options are available in MDG to process multiple material as shown below
    you can down load the customers using file down load funcationality and same change,upload the customers using the file Upload process.
    you can create a single CR for muntiple customers options are shown below.
    2..Can we create CR's automatically , lets say we have 100's of customer data loaded into MDG hub by Data Services using DEBMAS Idoc , can this create automatic CR's , is this possible.
    Answer:Yes you can create CR automatically using DTIMPORT tcode and some configuration needs to be done further reading go to the link SAP Master Data Governance - SAP Library
    regards
    shankar

  • Created and changed columns strategy in HtmlDb?

    I have two date columns on all my tables created and changed. Created is not null. The columns are maintained by database triggers. I would like for these two columns to be displayed but not changed in a form.
    I have tried different ways to do this:
    1) Text Field (Disabled, does not save state)
    Create works fine but updating gives an error because the created column can not be null.
    2) Text Field (Disabled, saves state)
    Create works fine but updating gives ORA-01821: date format not recognized. I use a format mask like this: DD.MM.YYYY HH24:MI:SS
    3) Date Picker (use application format mask)
    Works fine but it ignores my format mask and the user can now change the dates.
    Has anybody done this with success? Also it would be nice with a solution that does not involve a lot of code sine I have to do this lots of places :-)

    I got pretty much the same as you can se below. It's not a problem with the triggers. But I got it working now with the :new = :old and it don't want to waste more time on this. But thanks a lot for your help!
    create or replace trigger tilbud_under_kategori_b_ins_r
    before insert on tilbud_under_kategori
    for each row
    begin
    if :new.id is null then
    :new.id := util.getSeqNextVal;
    end if;
    if :new.oprettet_af is null then
    :new.oprettet_af := util.getUserName;
    end if;
    if :new.oprettet_tidspunkt is null then
    :new.oprettet_tidspunkt := sysdate;
    end if;
    end;
    create or replace trigger tilbud_under_kategori_b_upd_r
    before update on tilbud_under_kategori
    for each row
    begin
    :new.oprettet_af := :old.oprettet_af;
    :new.oprettet_tidspunkt := :old.oprettet_tidspunkt;
    if :new.opdateret_af is null then
    :new.opdateret_af := util.getUserName;
    end if;
    if :new.opdateret_tidspunkt is null then
    :new.opdateret_tidspunkt := sysdate;
    end if;
    end;
    /

  • Getting "An attempt is made to create or change an object ..." in one env.

    I have a colleague who wrote some JAX-WS client code using what WebLogic 10.3.3 provides out of the box. His code is creating a "wsse:Security" element by using SOAPFactory and SOAPElement and related classes. This has worked fine on a couple of dev boxes. They've now promoted the deployment to the next environment, and now the attempt to add the constructed "Security" element fails with:
    org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
    They have verified the problem environment is running the same version of the JDK and WebLogic, but they haven't yet confirmed they have the same WebLogic patches.
    I repeat, this is working fine on his development environment and on at least two development servers, and is having this problem on the next environment down the line towards production.
    I looked for some other experiences with this error, and the only substantive code suggestion I found from that was to add all the used namespaces to the envelope. He did that, but it didn't make a difference.
    The relevant block of code is the following (it fails on the last line):
                        SOAPEnvelope envelope = soapMsgContext.getMessage().getSOAPPart().getEnvelope();
                        SOAPFactory soapFactory = SOAPFactory.newInstance();
                        // WSSecurity <Security> header
                        SOAPElement wsSecHeaderElm = soapFactory.createElement(
                                  "Security",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        QName wsSecHdrMustUnderstandAttr = new QName("S:mustUnderstand");
                        wsSecHeaderElm.addAttribute(wsSecHdrMustUnderstandAttr, "1");
                        SOAPElement userNameTokenElm = soapFactory.createElement("UsernameToken",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        Name userNameTokenIdName = soapFactory.createName(
                                  "id",
                                  "wsu",
                                  "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd");
                        userNameTokenElm.addAttribute(userNameTokenIdName, "Id-8zvykuwmK8yg6dxn3632nQJB");
                        SOAPElement userNameElm = soapFactory.createElement("Username",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        userNameElm.addTextNode(userName);
                        SOAPElement passwdElm = soapFactory.createElement("Password",
                                  AUTH_PREFIX,
                                  AUTH_NS);
                        Name passwdTypeAttr = soapFactory.createName("Type");
                        passwdElm.addAttribute(passwdTypeAttr, "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
                        passwdElm.addTextNode(password);
                        userNameTokenElm.addChildElement(userNameElm);
                        userNameTokenElm.addChildElement(passwdElm);
                        // add usernametoken to Security header
                        wsSecHeaderElm.addChildElement(userNameTokenElm);
                        // create SOAPHeader instance for SOAP envelope
                        SOAPHeader sh = envelope.getHeader();
                        // add SOAP element for header to SOAP header object
                        sh.addChildElement(wsSecHeaderElm);
    -------------------------

    if it matters, after extensive gnarly debugging, we found the problem was this expression:
    new QName("S:mustUnderstand")
    When we changed this to properly specify the prefix and namespace, the environment it was failing on worked.
    What was odd about this is that other server environments seemingly using the same jars (we turned on verbose:class to verify this) had no problem with this code.
    What was really annoying about this problem is that the error message could have been much more informative. I'm sure the code reporting the error must have known it was this attribute that was having the problem, but it only gave us a very vague error message about the entire element we were creating, which had several sub-elements.

  • Can the genre of a song or album in my itunes library be changed?  While loading to the itunes library, or after the song or album has been loaded?

    Can the genre of a song or album in my itunes library be changed?  While loading to the itunes library, or after the song or album has been loaded?

    Kay -
    Glad it helped.  Enjoy the music!
    Ed

  • Change the SWF loading text for a single presentation

    This question was posted in response to the following article: http://help.adobe.com/en_US/Presenter/7.0/WS8815BC0A-5D22-4f29-87B9-D9047B5B57E4.html

    Hi,
      I have Adobe Presenter 7.0.5, in which with recently updating to 7.0.7 version.
    When I tried the fix of this "Change the SWF loading text for a single presentation" workaround fix, I passed to have the error:ReferenceError: Error #1069: Property ADOBE_PRESENTER not found on Pool_P75.Resource.UIText
    But before this error comes, I see that the loading text is changes from the original 2Adobe Presenter" to the one defined by me on the UIText, as the fix said.
    And what's happen is that the scrren with the loading text is not being changed by the learning first slide....
    Is there any workaround to correct that error?
    Many thanks in advance for any feedback from the adobe support team or from any other colleagues that are using Adobe Presenter (;-)).

  • Error while creating publisher change tables in CDC

    Hi,
    I am implementing Change Data Capture. I got getting following error while creating publisher change tables in Staging database. My database version is 10.2.0.2.0 .
    I appreciate your help.
    ERROR at line 1:
    ORA-29540: class oracle/CDC/PublishApi does not exist
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
    ORA-06512: at line 2
    Thanks,
    Venkat.

    This problem got fixed when I ran below script!!
    @$ORACLE_HOME/rdbms/admin/initcdc.sql;

Maybe you are looking for