Geometry objects and Applets

hello,
I'm writing a servlet which should pass a Geometry object to an applet. The problem is that the applet
getParameter method doesn't seem to work with Geometry objects. Can anyone suggest anything please ?
Here's the code I was using in the applet access the Geometry object:
Geometry geom = (Geometry)getParameter("geomObject");
Thanks in advance,
Trish.

What do you mean by this "PO number should open in workbench"?
Do you want the PO transaction to open? Or what is this "workbench"?
If you want to display the PO, you can try the following:
- Most likely you have the PO business object BUS2012 in the workflow container (check this in SWDD)
- Bind this object from the WF container to the user decision step/task (into the "_Adhoc_Objects" container element)
-Now you will have the PO object as an attachment in the work item, and when you click it in business workplace, the purchasing document should open
-Please make sure to start new workflow after your changes, since your changes will not have an effect to the old WF instances.
Regards,
Karri

Similar Messages

  • Programatically Creating a SDO GEOMETRY Object and Finding its Centroid

    Dear Gurus,
    I have the following requirement.
    List of Lat Long pairs will be loaded from a text file. Ex: List<String> list = new ArrayList<String>(); //Here String is lat value,long value_
    Each list contains lat lon pairs of a polygon.
    Similarly we have n number of lists.From each list, using the lat long pairs i need to find out the centroid. Can you please suggest me the best way of doing it.
    ** Note : we don't have any DB operations. Everything needs to be done using Java API.
    Thanks & Regards,
    Kiran Konjeti

    This is more a mathematical question
    This should be the solution http://local.wasp.uwa.edu.au/~pbourke/geometry/polyarea/
    Timo

  • RMI and Applet

    I have my connection from the server to the client via RMI.
    I can transfert an Object who is serialize.
    At the client side, I use a method to get an String attribute from my object and it worked. Fabulous.
    At this point, all worked perfectly.
    The problem is : When I transform my client's class into an applet and view it from a browser. It return Null or null exception.
    The question : What can I do? Some persons says that using IE6 is THE solution. What do you think?
    Thank you for your support

    The problem may be that M$ doesn't support RMI at all. So install the Java Plugin from Sun, and it should work.
    P.J.

  • Muliple Geometry Objects into a Single geometry

    Hello,
    Is it possible to store multiple geometry objects into one geometry. ie I am having an ARC and SHAPE geometry , I need to combine these geometries into one geometry .
    So that the geomtry which I have created is a container for ARC and SHAPE.
    Thanks in Advance
    Senthil

    Hi Senthil,
    I am confused a little by your terminology, so I will try to answer as best I can.
    A single geometry can be made from multiple elements.
    The elements that make up the geometry can be all the same kind (points, lines, polygons).
    The elements that make up the geometry can be heterogeneous (points and lines, lines and polygons, polygons and points, points lines and polygons). These are known as heterogeneous collections (sdo_gtype 2004 if 2 dimensional).

  • Ora-13033 Invalid data in the sdo_elem_info_array in sdo geometry object

    Hi,
    I am getting this error when I am creating spatial index on geometry.
    I suspect I have some problem with some rows of my geometry data. I have identified and fixed these problems so far. but I still getting error on spatial index creation.
    -emptry Gtype in some rows
    -wrong Gtype in some rows
    Complete Error.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: mdidxrbd
    ORA-13249: iError in Spatial Index: index build fialed
    ORA-13200: Internal error RowID:AAANZE/AAFAAALFaAAP..... in spatial indexing
    ORA-13206: internal error [] while creating the spatial index
    ORA-13033: Invalid data in the sdo_elem_info_array in sdo geometry object
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    I have line data for this table and below is the sample data.
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    598520.994, 4837106.63, 598462.359, 4837164.63))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    599229.43, 4837127.13, 599089.675, 4837264.62))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    599280.002, 4837024.46, 599295.689, 4837048.09, 599296.21, 4837055.13, 599294.64
    5, 4837062.43, 599229.43, 4837127.13))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    599089.675, 4837264.62, 599028.567, 4837324.34))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    595925.144, 4839146.42, 596002.765, 4839128.11, 596007.989, 4839126.85, 596013.5
    22, 4839123.09, 596056.926, 4839089.74, 596100.769, 4839065.62, 596106.694, 4839
    063.81, 596110.438, 4839064.27, 596115.548, 4839066.47, 596181.122, 4839135.22,
    596183.623, 4839140.59, 596183.706, 4839145.03, 596183.319, 4839148.15, 596181.1
    78, 4839152.64, 596174.794, 4839163.26, 596165.136, 4839174.75, 596143.191, 4839
    194.57))
    Please also note that I have correct dimension in "sdo user geom meta data" table and in my table.
    Any help is greatly appreciated.
    Rose

    Hi Rose
    If you take a look at the error message, you will find a line there that starts with ORA-13200
    ORA-13200: Internal error RowID:AAANZE/AAFAAALFaAAP
    This points to the ROW containing the geometry that triggers this error (described in the error message).
    So if you could post the geometry of that specific row that might help. Use the following sql statement:
    Select geometry from YOUR_TABLE_NAME WHERE ROWID = 'AAANZE/AAFAAALFaAAP';
    tx
    Luc

  • Difference between abap object and function

    hi all,
    i read the book on abap object of the difference between abap object and classical abap.
    i know that there is only 1 instance of a specific function group but somehow i still not so clear why subsequent vehicle cannot use the same function. i also can use the do and loop to call the function? if cannot then why?
    hope can get the advice.
    thanks
    using function *********
    function-pool vehicle.
    data speed type i value 0.
    function accelerate.
    speed = speed + 1.
    endfunction.
    function show_speed.
    write speed.
    endfunction.
    report xx.
    start-of-selection.
    *vehicle 1
    call function 'accelerate'.
    call function 'accelerate'.
    call function 'show_speed'.
    *vehicle 2
    *vehicle 3
    *****abap object*******
    report xx.
    data: ov type ref to vehicle,
             ov_tab type table of ref to vehicle.
    start-of-selection.
    do 5 times.
    create object ov.
    append ov to ov_tab.
    enddo.
    loop at ov_tab into ov.
    do sy-tabix times.
    call method ov->accelerate.
    enddo.
    call method ov->show_speed.
    endloop.

    Hi
    Now try this:
    REPORT ZTEST_VEHICLEOO .
    PARAMETERS: P_CAR   TYPE I,
                P_READ  TYPE I.
    *       CLASS vehicle DEFINITION
    CLASS VEHICLE DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA: MAX_SPEED   TYPE I,
                    MAX_VEHICLE TYPE I,
                    NR_VEHICLES TYPE I.
        CLASS-METHODS CLASS_CONSTRUCTOR.
        METHODS CONSTRUCTOR.
        METHODS ACCELERATE.
        METHODS SHOW_SPEED.
        METHODS GET_SPEED EXPORTING E_SPEED TYPE I.
      PRIVATE SECTION.
        DATA: SPEED      TYPE I,
              NR_VEHICLE TYPE I..
    ENDCLASS.
    *       CLASS vehicle IMPLEMENTATION
    CLASS VEHICLE IMPLEMENTATION.
      METHOD CLASS_CONSTRUCTOR.
        NR_VEHICLES = 0.
      ENDMETHOD.
      METHOD CONSTRUCTOR.
        NR_VEHICLES = NR_VEHICLES + 1.
        NR_VEHICLE  = NR_VEHICLES.
      ENDMETHOD.
      METHOD ACCELERATE.
        SPEED = SPEED + 1.
        IF MAX_SPEED < SPEED.
          MAX_SPEED   = SPEED.
          MAX_VEHICLE = NR_VEHICLE.
        ENDIF.
      ENDMETHOD.
      METHOD SHOW_SPEED.
        WRITE: / 'Speed of vehicle nr.', NR_VEHICLE, ':', SPEED.
      ENDMETHOD.
      METHOD GET_SPEED.
        E_SPEED = SPEED.
      ENDMETHOD.
    ENDCLASS.
    DATA: OV     TYPE REF TO VEHICLE,
          OV_TAB TYPE TABLE OF REF TO VEHICLE.
    DATA: V_TIMES TYPE I,
          FL_ACTION.
    DATA: V_SPEED TYPE I.
    START-OF-SELECTION.
      DO P_CAR TIMES.
        CREATE OBJECT OV.
        APPEND OV TO OV_TAB.
      ENDDO.
      LOOP AT OV_TAB INTO OV.
        IF FL_ACTION = SPACE.
          FL_ACTION = 'X'.
          V_TIMES = SY-TABIX * 2.
        ELSE.
          FL_ACTION = SPACE.
          V_TIMES = SY-TABIX - 2.
        ENDIF.
        DO V_TIMES TIMES.
          CALL METHOD OV->ACCELERATE.
        ENDDO.
        CALL METHOD OV->SHOW_SPEED.
      ENDLOOP.
      SKIP.
      WRITE: / 'Higher speed', VEHICLE=>MAX_SPEED, 'for vehicle nr.',
                VEHICLE=>MAX_VEHICLE.
      SKIP.
      READ TABLE OV_TAB INTO OV INDEX P_READ.
      IF SY-SUBRC <> 0.
        WRITE: 'No vehicle', P_READ.
      ELSE.
        CALL METHOD OV->GET_SPEED IMPORTING E_SPEED = V_SPEED.
        WRITE: 'Speed of vehicle', P_READ, V_SPEED.
      ENDIF.
    Try to repeat this using a function group and I think you'll undestand because it'll be very hard to do it.
    By only one function group how can u read the data of a certain vehicle?
    Yes you can create in the function group an internal table where u store the data of every car: in this way u use the internal table like it was an instance, but you should consider here the example is very simple. Here we have only the speed as characteristic, but really we can have many complex characteristics.
    Max

  • What's the difference between a not-initialed object and a null object

    hi guys, i wanna know the difference between a not-initialed object and a null object.
    for eg.
    Car c1;
    Car c2 = null;after the 2 lines , 2 Car obj-referance have been created, but no Car obj.
    1.so c2 is not refering to any object, so where do we put the null?in the heap?
    2.as no c2 is not refering to any object, what's the difference between c2 and c1?
    3.and where we store the difference-information?in the heap?

    For local variables you can't have "Car c1;" the compiler will complain.That's not true. It will only complain if you try to use it without initializing it.
    You can have (never used, so compiler doesn't care):
    public void doSomething()
       Car c1;
       System.out.println("Hello");
    }or you can have (definitely initialized, so doesn't have to be initialized where declared):
    public void doSomething(boolean goldClubMember)
       Car c1;
       if (goldClubMember)
           c1 = new Car("Lexus");
       else
           c1 = new Car("Kia");
       System.out.println("You can rent a " + c1.getMake());
    }

  • Anchored objects and first line in InDesign CS3

    Hi, thanks for reading. I know that when you want an achored object at the beginning of a text block to all push away ("wrap around") the text, including the first line, you have to put it into a line before that.
    What I don't like about it, is that I then have an empty first line and everything else is pushed one line down. Now I could move the whole textbox up, to fit to the rest of my layout, but that's not the way one should work in InDesign. Is there a way to get around the first line?

    T-
    Select the anchored object and put text wrap on it. Then select the anchored object and go to Object/Anchored Object/Options. Select Position: Inline and set the Y Offset to the negative number that aligns your text where you want it.

  • How to create dynamic View Object and Dynamic Table

    Dear ll
    I want to create a dynamic view object and display the output in a dynamic table on the page.
    I am using Jdeveloper 12c "Studio Edition Version 12.1.2.0.0"
    This what I did:
    1- I created a read only view object with this query "Select sysdate from dual"
    2- I added this View object to the application module
    3- I created a new method that change the query of this View object at runtime
        public void changeVoQuery(String dbViewName) {
            String sqlstm = "Select * From " + dbViewName;
            ViewObject dynamicVo = this.findViewObject("DynamicVo");
            if (dynamicVo != null) {
                dynamicVo.remove();
            dynamicVo = this.createViewObjectFromQueryStmt("DynamicVo", sqlstm);
            dynamicVo.executeQuery();
    4- I run the application module for testing the method and I passed "Scott.Emp" as a parameter and the result was Success
    5- Now I want to show the result of the view on the page, so I draged and dropped the method from the data control as a parameter form
    6- I dragged and dropped the view Object "DynamicVo" as a table and I choose "generate Column Dynamically at runtime". This is the page source
    <af:panelHeader text="#{viewcontrollerBundle.SELECT_DOCUMTN_TYPE}" id="ph1">
            <af:panelFormLayout id="pfl1">
                <af:inputText value="#{bindings.dbViewName.inputValue}" label="#{bindings.dbViewName.hints.label}"
                              required="#{bindings.dbViewName.hints.mandatory}"
                              columns="#{bindings.dbViewName.hints.displayWidth}"
                              maximumLength="#{bindings.dbViewName.hints.precision}"
                              shortDesc="#{bindings.dbViewName.hints.tooltip}" id="it1">
                    <f:validator binding="#{bindings.dbViewName.validator}"/>
                </af:inputText>
                <af:button actionListener="#{bindings.changeVoQuery.execute}" text="changeVoQuery"
                           disabled="#{!bindings.changeVoQuery.enabled}" id="b1"/>
            </af:panelFormLayout>
        </af:panelHeader>
        <af:table value="#{bindings.DynamicVo.collectionModel}" var="row" rows="#{bindings.DynamicVo.rangeSize}"
                  emptyText="#{bindings.DynamicVo.viewable ? 'No data to display.' : 'Access Denied.'}"
                  rowBandingInterval="0" selectedRowKeys="#{bindings.DynamicVo.collectionModel.selectedRow}"
                  selectionListener="#{bindings.DynamicVo.collectionModel.makeCurrent}" rowSelection="single"
                  fetchSize="#{bindings.DynamicVo.rangeSize}" filterModel="#{bindings.DynamicVoQuery.queryDescriptor}"
                  queryListener="#{bindings.DynamicVoQuery.processQuery}" filterVisible="true" varStatus="vs" id="t1"
                  partialTriggers="::b1">
            <af:iterator id="i1" value="#{bindings.DynamicVo.attributesModel.attributes}" var="column">
                <af:column headerText="#{column.label}" sortProperty="#{column.name}" sortable="true" filterable="true"
                           id="c1">
                    <af:dynamicComponent id="d1" attributeModel="#{column}"
                                         value="#{row.bindings[column.name].inputValue}"/>
                </af:column>
            </af:iterator>
        </af:table>
    when I run the page this error is occured
    <Nov 13, 2013 2:51:58 PM AST> <Error> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
    Caused By: java.lang.NullPointerException
    Can any body help me please
    thanks

    Have you seen Shay's video https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-_for_a
    All you have to do is to use the dynamic table to get your result.
    Timo

  • Is Active Directory's ExtensionAttributes9 a field in user object and how to retrieve it in the class type userprincipal?

    Hi, I'm using VS2012.
    I want to use this ExtensionAttributes9 field to store date value for each user object.  I use UserPrincipal class, a collection of these objects are then bind to a gridview control.  Is ExtensionAttributes9 a field in AD user object? 
    How can I access it and bind to the gridview?
    If this field isn't available then what other field can use?
    Thank you.
    Thank you

    UserPrincipal is basically a wrapper around DirectoryEntry:
    http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry.aspx and only provides a subset of the Active Directory, although the most common, attributes that are available for the user object.  The attribute that you
    seek is not one of them.
    By utilizing the method that I provided you a link to, it will return the underlying DirectoryEntry that was used to build the UserPrincipal object and should allow you to access the attribute that you seek.
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • Iterating through master view objects and child view objects in same page

    I am working on a project using ADF UIX and Business Components.
    I have an application module with two view objects one the master view object and the second the detail object. They are related via a view link.
    I would like to iterate through the master view objects displaying a customer name as bold text and then below each customer name I'd like to display the detail records in a table via the detail view object i.e. a seprate table for each customer.
    Is this possible - I haven't had much luck!?
    Thanks in advance.

    That's because
    $(".ms-vb2 a").
    is bringing back all the pieces that have that class with an anchor on the whole page, not just the ones in the .ms-wpContentDivSpace
    I don't know the exact syntax, but I think you need to iterate through all the '.ms_vb2 a' items as well - there are multiple ones, and do something like this inside your other grouping
    $(".ms-vb2 a").each(function(index) {
        var val=$(this).html();
       var val2=val.replace(/_/g," ")
       $(this).html(val2);
    That's not quite right but maybe that will help.
    Robin

  • Can Designer generate ADF Entity Objects, View Objects and Apps Module ?

    Hi all,
    On what way can Designer integrate with JDeveloper (+ ADF) ?
    Can Designer generate ADF Entity Objects, View Objects and Apps Module ?
    Thank you for your help,
    xtanto

    Designer itself has no direct integration with JDeveloper. However, there are three options. First of all, you can get a JDeveloper extension (download this separately) that lets you create a Connection to a Designer repository. From that Connection you can find modules that you defined in Designer and generate Entity and View objects for the tables and columns that you used in those modules, and an Application Module. It does not create JSPs or other user interface objects.
    Another option is to buy JHeadstart from Oracle. This contains a set of code generators and ADF extensions that include an ability to get information from a Designer repository. JHeadstart works fine for non-Designer users too, but was built by the same people who wrote Designer Headstart - they know the repository API intimately.
    The third option is to download Oracle Designer Extension Builder (ODEB) which was just recently made available. This is a product of a collaboration between Designer users from the Oracle Development Tools Users Group (ODTUG) and Oracle to extend the capabilities of Designer with user written tools and utilities. You could use ODEB to write your own generators for ADF Business Components. Or you could wait and see if someone else in the user community does this. I hope that you or whoever does such a generator will be willing to share it with us all.

  • How do I set up the "Objects and Attachments"

    Hi .... I'm new at WorkFlow (and SAP for that matter) and have inherited a WF that is already built.  In several of the steps I can see "Objects and Attachments" on the work item screen where a User can click to be directed to a transaction. For example, on one screen the User can click on "Incoming Invoice: 5105601690" to be directed to the Invoice Display Screen that is populated with information for that particular invoice (5105601690).
    I am looking at the WF using TCode SWDD and cannot figure our how the original developer set this up.  So my question is ..... for a particular WF step, how do you set up the "Objects and Attachments: area so that the User will be directed to a particular transaction when he/she clicks on it.
    Thanks in advance, and sorry for such a "juvenile" question.
    Dan A

    Thanks for your reply Rajkumar,
    I am looking at the screen you have directed me to.  Business object is BUS2081 (actually it is ZMMWBS2081 which is a customized version BUS2081) Method is "Display" and Attribute is "InvoiceDocNumber".  How do I know by looking at this that "Display" means Display Invoice?  What if I wanted to display the PO instead?
    Thanks for the "spoon feeding".
    Dan A

  • How to store Connection object and call it from other programs.

    Hi,
    I am trying to connect to the database, store the connection object and use this connection object from other standalone java programs.
    Can any one tell me how to do this? I've tried in the following way:
    In the following program I am connecting to the database and saving the connection object in a variable.
    public class GetKT2Connection {
       public static void main(String[] args) {
          String url = "jdbc:odbc:SQLDsn;
          String dbUser = "sa";
          String dbPwd = "sa";
          Connection kt2conn = Connection connection = java.sql.DriverManager.getConnection(url, dbUser, dbPwd);
          if(kt2conn == null) {
             System.out.println("Database Connection Failure!");
          else {
             System.out.println("Connected to Database...");
         GetKTConnectionObj.storeKT2ConnectionObj(kt2conn);
    } Here is the program to save connection object in a variable.
    public class GetKTConnectionObj {
       static Connection kt2Connection = null;
       public static void storeKT2ConnectionObj(Connection conn) {
       kt2Connection = conn;
       public static Connection getKT2ConnectionObj() {
       try {
          return kt2Connection;
       catch(Exception e){
          System.out.println(e);
      return null;
    }Now from the following code I am trying to get the connection object that is stored. But this is throwing NullPointerException.
    public class Metrics_Migration {
      public static void main(String args[]) {
         try {
        java.sql.Connection connection_1 =   GetKTConnectionObj.getKT6ConnectionObj();
         catch(Exception e){
    }

    kt2Connection is null. You need to store it first, to make it not null. Otherwise it will stay null forever. And why on earth are you trying to do this THIS way?
    If you are running the two applications separately, it wont work either.

  • Smart Object and blend mode issue

    I have an object that I moved from another image and needed to resize. The object is an image of a bottle and glass, with both the bottle and glass having reflections from their base. They both also have some layer masks with the reflections. I grouped the glass and bottle and created a smat object before the move to the new file). Anyway everything worked fine, except the reflections are much stonger in the new file (they are sitting over the same colored backgrond as in the original. If I open up the smart object and put a background behind the images  and the reflections (background is transparent)everthing looks as they should. The reflections have a blend mode of multiply).
    So why does the smart object not render the reflections properly (without lowering the opacity more within the smart object group) they appear almost at 100% in the new file. Any suggestions?
    Can't post the files as this happened at work.
    Thanks
    Jeff

    Anything to do with soft proofing?  Does the new document have the same colour space as the original?

Maybe you are looking for

  • Cannot link to FM document when starting new project

    Hi, We are using FM12 and RH HTML 11. We recently upgraded from TCS 4 to TCS 5. We would like to dynamically link our FM books in RH. However, the option is greyed out. We encountered the problem with TCS 4, so I don't think it is related to the upgr

  • SGA_TARGET and SGA_MAX_SIZE?

    Dear Professional, I have been asked by my client, He wants me to install Oracle 11g software in three servers. One server has  16GB another has 32 GB, and another has 64 GB of RAM? What would be the Best swap size? How memory I need to assign to SGA

  • Language other than bash for calling external programs

    Hi, sorry for the unspecific title, I couldn't think of a better summary. The problem is this: I have written a script to encode a DVD to H264 and Vorbis. Since it basically just performs some (OK, by now: A lot of.) management and then calls a exter

  • [SOLVED] bash expansion problem

    I have a partial file name, suppose file=night I want to find files having similar names with *$file* since given file names can contain spaces, the search string should be '*$file*' so I do q=\'  and string=$q*${file}*$q    echo $string produces '*n

  • Aperture 3.1.3 and iPhoto sync problems

        Upgraded to Aperture 3.1.3. Then upgraded to Lion. Tried to sync my iPhone and it got as far as photo's and got a -50 Sync error. Went to iTunes and turned off photo sync and the phone syn'd perfectly. Went back to iTunes turned photo sync back o