Calling all SWFVMD1 gurus

Hi,
I am trying to configure object visualization for workflow attachments in NWBC (Netweaver Business Client). Apparently this is done via SWFVMD1 instead of SWFVISU.
It just won't work for me however.. the documentation is patchy and I can't find any _working_ examples. No, that's a lie, I can't find any examples at all.
Has anyone successfully configured SWFVMD1 for object visualization, and if so could they please share some screenshots?
FYI
I am trying to activate a link to a TRM formbundle. The OBN method TRM_NAVI.DISPLAY_FORMBUNDLE
just has two undocumented parameters called PARA1 and PARA2. No, I'm not kidding!
What values are we supposed to pass to these parameters? All help/hints greatly appreciated.
thanks
Paul Bakker
PS When I finally sort this out I promise to put it all in a big fat blog

Neil,
  OK, I don't have access to a system at the moment, but I can outline what I did to enable clickable links for my custom object ZCL_REG_FORM_BUNDLE in workitems. Hopefully it's useful.
Note that I was using a custom class (while your Purch Req is a standard BOR), so please take that into account.
(1)
transaction SWFVMD1
object/method tab
CL ZCL_REG_FORM_BUNDLE OBN
the parameters are:
OBJECT_TYPE 0 TRM_NAVI
OPERATION 0 DISPLAY_FORMBUNDLE
PARA1 1 &_OBJECT_KEY&
PARA2 1
What this means is that when you want to display (click) the object ZCL_REG_FORM_BUNDLE,
it will use the OBN construct TRM_NAVI.DISPLAY_FORMBUNDLE to find the appropriate role (of yours) that contains this OBN construct, and from there determine the REAL transaction or webdynpro application to execute.
The only parameter that it needs in this case is &_OBJECT_KEY&;
I found this by using F4.
(2)
The basic flow of logic for OBN is this:
someone clicks on a formbundle link in a workitem; we know it is an object of type ZCL_REG_FORM_BUNDLE, so
SWFVMD1 is consulted; it seems we want display this guy using TRM_NAVI.DISPLAY_FORMBUNDLE
which, by the way, is a method with no code.
SAP looks through all your security roles to see which have TRM_NAVI.DISPLAY_FORMBUNDLE in their menu list
it picks one (any?) role and then reads what the real display method is; in this case, webdynpro application FMCA_WDY_FPF.
In other words, TRM_NAVI.DISPLAY_FORMBUNDLE is a dummy method that needs to be resolved via your security roles, to find the real display method! Ingenious.
(3) Security Role example: Y.SCC.SPECIALIST
transaction PFCG, menu tab
look down the hierarchy for 'Display Formbundle'
click on it; the right-hand-side window shows that it maps to:
  - Web Dynpro Application
  - FMCA_WDY_FPF
  - Display form bundle
click on 'Other Node Details' & scroll to the bottom
Object-Based Navigation has this entry:
- TRM_NAVI.DISPLAY_FORMBUNDLE RETURN_ID={PARA1}&WORKITEM_ID={PARA2}
These parameters match the PARA1 and PARA2 in step (1)
So webdynpro application FMCA_WDY_FPF is the real display method.
(Note: PARA2 is supposed to contain the workitem id, but as far as I can tell, that is not required or necessary for this to work. We just want to display the formbundle, and it doesn't matter which workitem it is in).
Here endeth the lesson. Let me know how you go.
If it proves useful, I might put this content in a blog later.
cheers
Paul

Similar Messages

  • Calling all tech gurus

    I've done several tests with the antenna. I've put a death grip on the bottom where the antenna is located and the signal does drop from 5 bars to ZERO in about 30 seconds. The crazy thing is the call quality doesn't change. I'm getting ZERO bars during the test, but the call seems as if I have 5 bars. My question to you folks that are far more technical than I am, doesn't this appear to possibly be a software issue like Apple first reported? If it's hardware, then I would think the call would drop but it doesn't. Also, I've done this test about 10 times and all the results are the same.

    The way bars are displayed on the iPhone IS flawed. They update very slowly and do not give you an accurate measurement of signal. Using bars is not a practical way to determine your signal (at this point, anyway). Dropping calls, on the other hand, DOES say that you have lost signal. Users that are measuring their signal in bars and not in call quality and dropped calls will find themselves mistaken.

  • Calling all java gurus - i cant figure out what is wrong with my code

    please can someone see why a null pointer exception is being thrown and how do i fix it?
    my current code which throws the null pointer is as below - the key issues that i need some java expert to tell me about is
    1. is the usage of resultSet ok in the way i'm doing it , i'm not able to look at the code in debug mode as don't have an IDE and don't know how to do a log4j setup. - i tried doing an out.println("Got........"); but servlet keeps on forwarding the request object to results.jsp even when i comment out the code. and recomplie and restart tomcat 4.1.
    2. is the way i'm declaring the List object and the adding stuff to bean and then stuffing bean into list ok?
    3. why is the List object null? although i know the query works fine - and that using the below original code where only one row of data was being retrieved and set into bean worked fine.
    current code with problem in the List object:
    package com.bt.ros;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import javax.sql.*;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.naming.NamingException;
    * This class is a servlet that searches for a Finder Aid.
    * @author
    public class FinderAidsSearchS extends HttpServlet {
       * This is the static initializer,
       * executed the first time this class is referred to.
       * It makes sure the JDBC pool driver is loaded.
       * This method examines an HTTP request and searches for the
       * specified Finder Aid record in the database. It then redirects
       * the response to the <tt>Results.jsp</tt> JSP page.
      public void service(HttpServletRequest req, HttpServletResponse res)
           throws IOException
        HttpSession session = req.getSession(true);
    //res.setContentType("text/html");
    //PrintWriter out = res.getWriter( );
    //out.println("<HTML>");
    //out.println("<HEAD>");
    //out.println("<TITLE>");
    //out.println("A Servlet Example");
        String year   = req.getParameter("Year");
        String year_range      = req.getParameter("Year_Range");
        String county          = req.getParameter("County");
        Connection conn = null;
        try {
    //example code from tomcatmanual
    Context initContext = new InitialContext();
    Context envContext  = (Context)initContext.lookup("java:/comp/env");
    DataSource ds = (DataSource)envContext.lookup("jdbc/rosDS");
    //Connection
    conn = ds.getConnection();
              Statement stmt = conn.createStatement();
          String select = "select * from abridgment where " +
                          "(a_county = '" + county +
                          "' AND a_year_date = " + year +
    out.println("<DEBUG> <select> the select staement is : " + select);
          stmt.execute(select);
          ResultSet resultSet = stmt.getResultSet();
         Results abridgeresults = new Results();
         abridgeresults.setName("NaeemColl");
         Abridgment varabridgment = null;
          int nRows = 0;
          while(resultSet.next()){
            nRows++;
               varabridgment = new Abridgment();
           varabridgment.seta_county(county);
          varabridgment.seta_year_date(Integer.parseInt(year));
            varabridgment.seta_sub_year_volume(resultSet.getInt("a_sub_year_volume"));
           // out.println("varabridgment - attributes are:");
              //out.println("varabridgment - attributes are:" +varabridgment.geta_sub_year_volume());
              //out.println("varabridgment - attributes are:"+resultSet.getInt("a_sub_year_volume"));
              varabridgment.seta_page_id(resultSet.getString("a_page_id"));
            varabridgment.seta_month_date(resultSet.getInt("a_month_date"));
            varabridgment.seta_day_date(resultSet.getInt("a_day_date"));
            varabridgment.seta_year_sequence(resultSet.getLong("a_year_sequence"));
            varabridgment.seta_day_sequence(resultSet.getLong("a_day_sequence"));
            varabridgment.seta_year_volume(resultSet.getInt("a_year_volume"));
            varabridgment.seta_volume_id(resultSet.getString("a_volume_id"));
            varabridgment.seta_summary(resultSet.getString("a_summary"));
            varabridgment.seta_batch_id(resultSet.getLong("a_batch_id"));
            varabridgment.seta_image_id(resultSet.getLong("a_image_id"));
              abridgeresults.addAbridgment(varabridgment);
              //trying to use vector construct
          req.setAttribute("results",abridgeresults);
          //session.setAttribute("results", abridgeresults);
          stmt.close();
          conn.close();
    //out.println("</BODY>");
    //out.println("</HTML>");
    //      String sURL = res.encodeRedirectURL("/rossearch/results.jsp");
            try{
    //TEMPCOMM        res.sendRedirect(sURL);
    req.getRequestDispatcher("/rossearch/results.jsp").forward(req, res);
    //TEMPCODE
    //out.println("</BODY>");
    //out.println("</HTML>");
          catch(Exception e){
            System.err.println("Exception: FinderAidsSearchS.service: " + e);
        catch (Exception e) {
          System.err.println("Exception: FinderAidsSearchS.service: " + e);
    original code that worked fine - for one test row retrieved by query
      public void service(HttpServletRequest req, HttpServletResponse res)
           throws IOException
        HttpSession session = req.getSession(true);
    res.setContentType("text/html");
    PrintWriter out = res.getWriter( );
    out.println("<HTML>");
    out.println("<HEAD>");
    out.println("<TITLE>");
    out.println("A Servlet Example");
    out.println("</TITLE>");
    out.println("</HEAD>");
    out.println("<BODY>");
    out.println("Using servlets");
       // if (! checkParams(req, res))
       //      return;
        String year   = req.getParameter("Year");
        String year_range      = req.getParameter("Year_Range");
        String county          = req.getParameter("County");
        Connection conn = null;
        try {
    //example code from tomcatmanual
    Context initContext = new InitialContext();
    Context envContext  = (Context)initContext.lookup("java:/comp/env");
    DataSource ds = (DataSource)envContext.lookup("jdbc/rosDS");
    //Connection
    conn = ds.getConnection();
          Statement stmt = conn.createStatement();
          String select = "select * from abridgment where " +
                          "(a_county = '" + county +
                          "' AND a_year_date = " + year +
    out.println("<DEBUG> <select> the select staement is : " + select);
          stmt.execute(select);
          ResultSet resultSet = stmt.getResultSet();
          Abridgment abridgment = new Abridgment();
          abridgment.seta_county(county);
          abridgment.seta_year_date(Integer.parseInt(year));
        //  abridgment.a_sub_year_volume        = Long.parseLong(c_phone);
          if (resultSet.next()){
            abridgment.seta_sub_year_volume(resultSet.getInt("a_sub_year_volume"));
            abridgment.seta_page_id(resultSet.getString("a_page_id"));
            abridgment.seta_month_date(resultSet.getInt("a_month_date"));
            abridgment.seta_day_date(resultSet.getInt("a_day_date"));
            abridgment.seta_year_sequence(resultSet.getLong("a_year_sequence"));
            abridgment.seta_day_sequence(resultSet.getLong("a_day_sequence"));
            abridgment.seta_year_volume(resultSet.getInt("a_year_volume"));
            abridgment.seta_volume_id(resultSet.getString("a_volume_id"));
            abridgment.seta_summary(resultSet.getString("a_summary"));
            abridgment.seta_batch_id(resultSet.getLong("a_batch_id"));
            abridgment.seta_image_id(resultSet.getLong("a_image_id"));
            session.setAttribute("isNewAbridgment", new Boolean(false));
          else{
            session.setAttribute("isNewAbridgment", new Boolean(true));
            out.println("<DEBUG> <AbridgmentSearchS-service> Abridgment not found: " + abridgment);
          session.setAttribute("abridgment", abridgment);
          stmt.close();
          conn.close();
    out.println("</BODY>");
    out.println("</HTML>");
          String sURL = res.encodeRedirectURL("/rossearch/results.jsp");
              try{
            res.sendRedirect(sURL);
          catch(Exception e){
            System.err.println("Exception: FinderAidsSearchS.service: " + e);
        catch (Exception e) {
          System.err.println("Exception: FinderAidsSearchS.service: " + e);
    exception being thrown is:
    2005-11-07 02:45:20 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    ----- Root Cause -----
    java.lang.NullPointerException
         at org.apache.jsp.results_jsp._jspService(results_jsp.java:95)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
    ......etc..
    the problem line in the results_jsp.java is:
    for (int i = 0; i < myAbridgments.size(); i++) in a scriptlet in the jsp to retrieve the List of beans and go through each one as follows:
    <% List myAbridgments = (List) request.getAttribute("results");
    for (int i = 0; i < myAbridgments.size(); i++) {
                    abridgment = (Abridgment) myAbridgments.get(i);
    %>ok then all wanabe java experts lets see who is the first and best at resolving this one!
    i have 10 points on offer - and a HUGE AMOUNT of graditude and appreciation for any one who can help me resolve this - Thanks.

    Check replies here
    http://forum.java.sun.com/thread.jspa?threadID=680127

  • CALLING ALL DVD GURUS!

    Hey guys,
    Burning DVD's is all new to me never really had to do till now. But I'd like to ask just some general questions and clear some things up:
    -MPEG2 is the proper format for DVD, it contains both audio and video, right?
    -Will an MPEG2 play directly off a DVD in a DVD-player?
    -Do you need to convert for ,example, a .MOV file to a MPEG2 before using DVDSP?
    -Also are there any other authoring programs for Mac besides DVDSP?...does TOAST count??
    Thanks a million!!

    -MPEG2 is the proper format for DVD, it contains both
    audio and video, right?
    Not necessarily. If you are taking something from a dvd it will have muxed audio along wiht the video, but going to the dvd the mpeg and audio will be different files.
    -Will an MPEG2 play directly off a DVD in a
    DVD-player?
    Not sure what you mean--Um, yes? That's a dvd. They play in dvd players?
    -Do you need to convert for ,example, a .MOV file to
    a MPEG2 before using DVDSP?
    No, but you should. DVDSP will do the mpegging for you, but it is a better workflow to do it outside and bring it in cuz dvdsp returns errors a lot when converting.
    -Also are there any other authoring programs for Mac
    besides DVDSP?...does TOAST count??
    Toast will write a dvd but it's not an authoring ap, you can't put menus, etc. together.
    Good luck.

  • IPhone 5S: does anybody has this problem. During a successful voice call all of a sudden people can't hear me while I can hear them

    iPhone 5S: does anybody has this problem. During a successful voice call all of a sudden people can't hear me while I can hear them. Signal is strong and call quality (me hearing the other) is still very good but it looks as if I’m going on mute while I’m not muting my iPhone. When dropping the call and re-dialing it works fine again. It’s a brand new iPhone 5S but it now happened already 4 or 5 times in 2 days.
    It feels like a hardware/iOS problem and not a network issue. It happend with iOS7.03 but I just see 7.0.4 is available so will install that one now.
    Thanks in advance for feedback
    Best regards,
    Marco

    Hello Jeff,
    Thank you for providing so much detail about the issue you are experiencing with the audio on your iPhone.  I would be concerned too if the audio on my iPhone was not working unless using speaker phone.  I found an article with some steps to take when you are experiencing issues like this:
    iPhone: Can't hear through the receiver or speaker
    http://support.apple.com/kb/TS1630
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    If you are using Apple's Mail app 6.5 is the latest version irrespective of what a previous poster says. It does sound though that you are using a gmail account online via a web browser. Please confirm and fill in missing information.

  • TS1702 I have an iphone and my 2 children have ipods.  all 3 on the same apple id.  when one of their ipods gets a face time call , all 3 devices ring. i dont want to get these face time calls on my iphone or the other ipod .  what is the solution to this

    i have an iphone and my 2 children have ipods. all 3 on the same apple id.  when one ipod gets a facetime call, all 3 devices ring.  how do i prevent all three devices getting the facetime call as it is intended for only one of the ipods?

    You can all have independent AppleIDs for iCloud or iMessage etc, but share the same one for iTunes Store / AppStore purchases.

  • After a recent update, the Bookmarks menu has an extra folder called "All Bookmarks" which appears to be a copy of the bookmarks. It is causing problems and how do I fix it?

    I recently updated Firefox. The Bookmarks menu shows a new menu item called "All Bookmarks". It appears to be a copy of the bookmarks. When I try to add a new bookmark, the All Bookmarks folder is the only one shown in the dialog. I tried deleting the All Bookmarks folder, but then nothing is shown in the dialog when I try to add a new bookmark.
    If I do add a new bookmark, it is put under the All Bookmarks folder and does not show up under the top-level item I want it under. Any ideas about what I can do to fix this.
    The update went normally without my intervention.
    Thanks

    I was able to fix the problem after following the bookmark backup and restore procedures on the following page:
    http://kb.mozillazine.org/Locked_or_damaged_places.sqlite#Problems_limited_to_bookmarks
    I also had to restart Firefox so that the "Bookmark This Page" dialog would show the normal bookmarks.
    Thanks.

  • Calling all Dell L501X owners! [Solved]

    Calling all Dell L501X owners! Specifically the i7 with Nvidia GT435
    Can anyone  comment on if they are having any issues running dual monitors with KDE?
    My issue is that the 'org.kde.powerdevil.backlighthelper' is called randomly and switches the displays LVDS + DP1 between cloned and singular when I've had it set to extended via both TwinView and randr.
    I'm now running XFCE without problems but its bugging me that I can't use KDE.
    My initial post was placed here https://bbs.archlinux.org/viewtopic.php?id=162545 but I have created this to try and find where the peculiarities lie. I'm connected to a Dell U2311 monitor via DisplayPort
    Last edited by Hutchism (2013-05-30 14:27:20)

    Problem fixed now as mentioned in other post. Seems that it doesn't like the function keys been set to default as opposed to the media keys in the BIOS settings. Hope this helps someone in the future. Surprised no-one else has run across this problem.
    If anyone know of a fix for this would be appreciated. Save me from doing yoga with my fingers when trying to do simple keyboard shortcuts. Currently using latest Dell BIOS "A04" (http://www.dell.com/support/drivers/us/ … erId=K5CNF)
    Last edited by Hutchism (2013-05-30 11:12:17)

  • SQLException: After clearParameters() has been called, all parameters must be reset before executing

    Hi,
    I am running: Weblogic 6.1, SP2
    Driver : weblogic.jdbc.oci.Driver
    Reason for not using the "thin" driver, which works, is limit
    on size of Clob
    Previous references to this problem in this newsgroup indicate driver problems
    with older versions of WL.. I am using the latest..
    The SQLException I get is "After clearParameters() has been called, all parameters
    must be reset before executing". This happens the second time the code below is
    excuted ( ok the first time )
    "clearParameters()" is never called explicitly in my code.
    The exception occurs on the "spFunc.execute();" statement at the very end of this
    code:
    // OBS:connection, conn_, is opened from a connection pool
    before this code is called and cloesed afterwards.
    conn_.setAutoCommit(false);
    // ============== Initializing clob ==================
    SerialStatement stmt = (SerialStatement)conn_.createStatement();
    stmt.execute("INSERT INTO lc_clob_temp VALUES (1, EMPTY_CLOB())");
    // OBS: using a prepared statement here will result in SerialClob
    // exception when using setClob in the prepared statement
    below
    // This is probably a bug ( worked in WL 5.1 ). We had this
    as a support case 270952 with WebLogic.
    stmt.execute("SELECT * FROM lc_clob_temp WHERE id = 1");
    ResultSet crs = stmt.getResultSet();
    weblogic.jdbc.rmi.SerialClob xmlClob = null;
    while ( crs.next() ) {
    xmlClob=(weblogic.jdbc.rmi.SerialClob)crs.getClob("newclob");
    // Call Oracle's stored procedure for calling Oracle XSU.
    SerialCallableStatement spFunc =
    (SerialCallableStatement)conn_.prepareCall(
    "declare " +
    "insCtx sys.DBMS_XMLSave.ctxType; " +
    "begin " +
    "insCtx := sys.DBMS_XMLSave.newContext(?); " +
         "sys.DBMS_XMLSave.setBatchSize(insCtx,0);" +      "sys.DBMS_XMLSave.setCommitBatch(insCtx,
    0);" +
    "? := sys.DBMS_XMLSave.insertXML(insCtx,?); " +
    "sys.DBMS_XMLSave.closeContext(insCtx); " +
    "end;"
    spFunc.setString(1, viewName );
    spFunc.registerOutParameter (2, Types.NUMERIC);
    Writer outstream = xmlClob.getCharacterOutputStream();
    outstream.write(xml.toString());
    outstream.flush();
    outstream.close();
    spFunc.setClob( 3, xmlClob);
    spFunc.execute();
    spFunc.close();

    Hi,
    I am running: Weblogic 6.1, SP2
    Driver : weblogic.jdbc.oci.Driver
    Reason for not using the "thin" driver, which works, is limit
    on size of Clob
    Previous references to this problem in this newsgroup indicate driver problems
    with older versions of WL.. I am using the latest..
    The SQLException I get is "After clearParameters() has been called, all parameters
    must be reset before executing". This happens the second time the code below is
    excuted ( ok the first time )
    "clearParameters()" is never called explicitly in my code.
    The exception occurs on the "spFunc.execute();" statement at the very end of this
    code:
    // OBS:connection, conn_, is opened from a connection pool
    before this code is called and cloesed afterwards.
    conn_.setAutoCommit(false);
    // ============== Initializing clob ==================
    SerialStatement stmt = (SerialStatement)conn_.createStatement();
    stmt.execute("INSERT INTO lc_clob_temp VALUES (1, EMPTY_CLOB())");
    // OBS: using a prepared statement here will result in SerialClob
    // exception when using setClob in the prepared statement
    below
    // This is probably a bug ( worked in WL 5.1 ). We had this
    as a support case 270952 with WebLogic.
    stmt.execute("SELECT * FROM lc_clob_temp WHERE id = 1");
    ResultSet crs = stmt.getResultSet();
    weblogic.jdbc.rmi.SerialClob xmlClob = null;
    while ( crs.next() ) {
    xmlClob=(weblogic.jdbc.rmi.SerialClob)crs.getClob("newclob");
    // Call Oracle's stored procedure for calling Oracle XSU.
    SerialCallableStatement spFunc =
    (SerialCallableStatement)conn_.prepareCall(
    "declare " +
    "insCtx sys.DBMS_XMLSave.ctxType; " +
    "begin " +
    "insCtx := sys.DBMS_XMLSave.newContext(?); " +
         "sys.DBMS_XMLSave.setBatchSize(insCtx,0);" +      "sys.DBMS_XMLSave.setCommitBatch(insCtx,
    0);" +
    "? := sys.DBMS_XMLSave.insertXML(insCtx,?); " +
    "sys.DBMS_XMLSave.closeContext(insCtx); " +
    "end;"
    spFunc.setString(1, viewName );
    spFunc.registerOutParameter (2, Types.NUMERIC);
    Writer outstream = xmlClob.getCharacterOutputStream();
    outstream.write(xml.toString());
    outstream.flush();
    outstream.close();
    spFunc.setClob( 3, xmlClob);
    spFunc.execute();
    spFunc.close();

  • Call all instances of a symbol

    Hej,
    i need to place 10 different kinds of symbols, a hundred times each on my stage. Theses symbols have the same shape, but different colors. I need to filter them out in a tiny top-menu.
    So, if i click e.g. on a red circle, i want all non red symbols to set there opacity to 0.5.
    It could be simple if i place all red symbols into a container "$color-symbols" and set the opacity to them. But that is not possible, because I need to place each symbol manually. And if they are childs of another symbol, drag and drop is horrible.
    Now i am wondering if it is possible to call all symbols on stage that are instances of a symbol in my library.
    And is there a nice way to call "all-other-colors" instead of
    sym.$("color-1").animate({opacity:0.5},500);
    sym.$("color-9").animate({opacity:0.5},500);
    sym.$("my-own-color").animate({opacity:1},500);
    on every button on stage?

    Thanks for your help,
    i use the classes to specify a target url for each symbol.
    For Example:
    I have three red symbols and three blue symbols.
    The classes for the red-ones are:
    33451, 56789 and 45678
    for the blue ones:
    983, 4, 1002
    Inside of my symbols i have a script:
    var names = (e.target.id).split("_");
    var page = names[2];
    var link = "http://www.url.no/subpage/"+page;
    window.open(link, "_self");
    If i find another way to put a specific ID (and it must be a number) on to each Instance, i could use the way you describe.
    Because your idea is to use the class-names, there is no way to call all instances of a given symbol?
    Is it possible to use wildcards for my array?
    So i could name them "red-33451#1", "red-56789#2", "red-45678#3". And cut out everything between "-" and "#".
    But remember that i need to place a few hundreds of them, which isn't fun. And if i need to insert one later or if i delete another one, i need to verify all my functions.

  • Call all elements with similar id in symbol

    Hi,
    I use this
    var text = $("[id*='Text']");
    for call all of elements says Text1_01, Text1_02, Text2_01,....
    And this works perfectly but when the elements are in a symbol this don't work.
    Why?
    How i can do this variable?
    Thanks

    var text = sym.getSymbol('symbolname'). $("[id*='Text']");
    This ignore me and selection all of "Text" out of symbols
    var all = sym.getChildSymbols(). $("[id*='Text']");
    And this ignore all of "Text"

  • Calling all Matrox Millenium G550 graphics cards...

    Calling all Matrox Millenium G550 graphics cards...
    Has ANYONE got the Cover Flow view working with this card?
    If you have you have what did you do (if anything)?
    I've already tried:-
    * the latest Matrox drivers
    * the latest DirectX
    * ensuring that Hardware Acceleration is at Full
    * uninstall & re-install iTunes
    * install latest Quicktime before re-installing iTunes
    P4 2GHz, 1GB RAM   Windows XP Pro   SP2; Matrox G550; Dual screen

    At home, I have a Matrox Parhelia and the cover flow mode works great. I have a G550 in my work computer but I don't have any music local on the hard drive. I use my iPod Photo as axteranal HD to play via iTunes. So, cover art doesn't show up.
    However, I have brought to work some hummingbird videos that took last week and added them to the Movie section in Itunes on my Work PC. So, I tried cover flow in the movie mode. It looks awful! Each picture is made up of little pictures in a 18x9 mosaic. I can even see though the gaps where there are grid lines. I don't see this at home with the Parhelia.
    I have the latest everything installed as well. I'm running WinXP SP2. Have you found a solution?
    Thanks,
    Steven

  • When i make calls, all i can hear is static, and when i plug in headphones or turn the speaker on, it still doesnt work. but facetime, music, an apps sound still work. help? iphone 5

    when i make calls, all i can hear is static, and when i plug in headphones or turn the speaker on, it still doesnt work. but facetime, music, an apps sound still work. help? iphone 5

    Hello Delaney1130,
    It sounds like you are getting static on both the receiver and the speaker when you make a call. I would use the troubleshooting from the following article to help resolve the issue named:
    iPhone: Troubleshooting issues making or receiving calls
    https://support.apple.com/kb/TS3406
    Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
    Check your phone settings:
    Check your Do Not Disturb settings: Tap Settings > Do Not Disturb.
    Check for any blocked phone numbers: Tap Settings > Phone > Blocked.
    See if Call Forwarding is turned on: Tap Settings > Phone > Call Forwarding.
    Ensure that your software is up to date:
    Check for a carrier settings update.
    Check for an iOS software update.
    Note: Some updates may require a Wi-Fi connection.
    If the iPhone has a SIM card, reseat the SIM card.
    If the iPhone 4 or iPhone 4s is on the Verizon network, dial *228 from the iPhone and select option 2 to update the Preferred Roaming List (PRL). The PRL determines the cellular towers the phone uses for cellular service, selecting those with the best signal strength.
    Reset the network settings: Tap Settings > General > Reset > Reset Network Settings.
    Try to make or receive calls in another location.
    Attempt to isolate to one network band:
    If you're having the issue on LTE, disable LTE, if possible, and try again.
    If you're having the issue on 3G/4G, disable 3G/4G, if possible, and try again.
    Contact the carrier to check the following:
    Your account is properly configured to use the specific iPhone that has the issue.
    There are no localized service outages.
    Your account doesn't have a billing-related block.
    Your calls don't have errors on the carrier system.
    Restore the phone as new.
    If the above steps don't resolve the issue, go to an Apple Retail Store, carrier, Apple Authorized Reseller, or contact AppleCare to send the phone in for service.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • When someone calls all the IPhones in the house ring, what is wrong?

    When someone calls all the IPhones in the house ring, what is wrong.

    You share the same Apple ID and in iOS 8 there is a new feature, which if you didn't share the same ID, you can answer a call on another device if one is another room as long as they are both on iOS 8.  To stop this, go to Settings > Facetime and turn off iPhone Cellular Calls.  That will stop this for you.

Maybe you are looking for

  • Mail crashing after 10.5.6 update

    I've just installed the update to 10.5.6 from 10.5.5 via the Software Update, and everything went fine until I tried to open a new mail that had an attachment. Mail immediately crashed. It crashes now with every message that has an attachment. I had

  • External hard drive which used to be recognised by my new iMac is no longer being recognised?

    I recently bought an iMac. I have an external hard drive which was formatted to my old MacBook Pro. Initially it worked fine on my new iMac, but all of a sudden it is not being recognised by it. Any ideas what I can do?

  • How to generate another event in an event processing structure?

    Because event 1 processing should use the code for event 2 processing. Event 2 is pressing a button. I can not use value change in property Node because of the latching mechanism.How to solve the problem?

  • ITunes music files are too large, how can I compress them?

    So yeah today was my first day using iTunes and buying some songs. I got 12 songs and it came out to 80.6MB, I really want to know if there is a converter in iTunes for this or if there is a trusted software I can use to convert them?

  • Smart bitmap selection?

    My use case: I made a screenshot of a user interface which contained a button on white background. After pasting this into Fireworks, I want to select this button together with a tiny shadow it creates on the white background. Is there a tool like "S