MouseMoved not working correctly applied to JPanel where image is displayed

Hi!!
I try to solve the problem by my own but resources available in internet would not help me.My wish is to create an application to image segmentation.
The main part of it is JPanel where JScrollpane is added. It is used to display image after calculations. I ude "BufferedImage" to keep image. An it works fine.
The problem is when i try to do this thing: when image is displayed and when cursor moves accros it, then the position (coordinates on image) of cursor will be printed.
I added mouselistener and MouseMotionListener and event "mouseMoved".
The effect is that i get only one pair of coordinates when cursor get first time into the image. When cursor will cross the border of image this will be the entry coordinates. But when i move cursor in imagearea there no changes od coordinates.
I use Netbeans 6.5 and JDK 6u10 and win2000.
Generaly i learned about java and image on this example:
http://wws2.uncc.edu/tpw/tpwJavaNtebeansTutorial/index.html
so when you can tell me how solve my problem on that example i would solve problem in my application.
thx

lipkerson
Welcome to the forum. Please don't post the same question multiple times.
I'm locking this thread. Any responses may please be posted in the Swing forum.
[http://forums.sun.com/thread.jspa?threadID=5349917]
db

Similar Messages

  • Mouseevent-mouseMoved: not working correctly applied to JPanel

    Hello!
    I try to solve the problem by my own but resources available in internet would not help me.My wish is to create an application to image segmentation.
    The main part of it is JPanel where JScrollpane is added. It is used to display image after calculations. I ude "BufferedImage" to keep image. An it works fine.
    The problem is when i try to do this thing: when image is displayed and when cursor moves accros it, then the position (coordinates on image) of cursor will be printed.
    I added mouselistener and MouseMotionListener and event "mouseMoved".
    The effect is that i get only one pair of coordinates when cursor get first time into the image. When cursor will cross the border of image this will be the entry coordinates. But when i move cursor in imagearea there no changes od coordinates.
    I use Netbeans 6.5 and JDK 6u10 and win2000.
    Generaly i learned about java and image on this example:
    http://wws2.uncc.edu/tpw/tpwJavaNtebeansTutorial/index.html
    so when you can tell me how solve my problem on that example i would solve problem in my application.
    thx

    To get better help sooner, post a SSCCE that clearly demonstrates your problem.
    To post code, use the code tags -- [code]Your Code[/code] will display asYour CodeOr use the code button above the editing area and paste your code between the {code}{code} tags it generates.
    db

  • ** Filtering is not working correctly in ALV (REUSE_ALV_GRID_DISPLAY)

    Hi Friends,
    We have one Z report that output is displayed in ALV. We are using the standard FM 'REUSE_ALV_GRID_DISPLAY. 
    We have requirement to remove leading zeros for the field like Material Number (MATNR), Equipment Number (EQUNR) etc. We did the changes by applying the field catalog properties as below.
    lw_fieldcat-lzero = space.
    lw_fieldcat-no_zero = 'X'.
    After this, the MATNR and EQUNR is displayed correctly in the ALV. (Leading zeros are suppressed). But, when we do filter for these fields, in the filter window it displays all the values with leading zeros.
    1. We don't understand why it is showing in the Filter widow with all leading zeros. All it shows all the records instead of unique items.
    Later on, we removed the above fieldcat coding. Then, we have called the CONVERSION_EXIT routines (in the domain) for the fields to remove leading zeros.
    Now, the MATNR and EQUNR is displayed correctly (without leading zeros) in ALV. When we do filter, it is also doing filtering correctly. But, when we do filter which have EQUNR having long values (after zero suppression), it is not working correctly. i.e no items are displayed in the ALV.
    Not only for this items. If we filter character columns which have long text, it is not filtering correctly.
    2. It is not able to understand why the filtering is not working for long items. But in the standard report, the filtering is working correctly.
    We are using SAP ECC 6.0.
    Friends, can you clarify the about doubts. It is surprising for me.
    Kind regards,
    Jegathees P.
    Our customer is asked to remove the leading zeros for the numeric field

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • Key Figure calculation in Abap is not working correctly - Overlooping

    Hi,
    I wrote a logic to calculate the ratio of key figure but it is not working correctly
    For example I have a requirement to split 1 Product into Several new Products and also the Net Amount will be splitted to these several new products as well. The total Amount of the new product will be equivalent to the Net Amount.
    So far my Logic is splitting the product to several new products but the amount is incorrect as the calculation is over looping.
    Sample
    A PRODUCT has Net Amount 1000. And this product needs to be splitted into 3 new products. Each of this new product is assigned a ratio of 0.3, 0.2 and 0.7 respectively. total sum of the ratio is 1.
    PRODUCT1 0.3 = 1000 * 0.3 = 300
    PRODUCT2 0.2 = 1000 * 0.2 = 200
    PRODUCT3 0.7 = 1000 * 0.7 = 700
    The total amount of this new products is 1000.
    Now my logic is working this way.
    PRODUCT1 0.3 = 1000 * 0.3 = 300
    PRODUCT2 0.2 = 1000 * 0.2 * 0.3 = 60
    PRODUCT3 0.7 = 1000 * 0.2 * 0.3 * 0.7 = 42
    Only the PRODUCT1 is working correctly and there is overlooping for the remaining products
    Logic used
    DATA: t_data TYPE data_package_structure OCCURS 0 WITH HEADER LINE.
    DATA: t_newdso LIKE /bic/newdso OCCURS 0 WITH HEADER LINE.
    DATA: t_olddso LIKE /bic/olddso OCCURS 0 WITH HEADER LINE.
    DATA: amount LIKE data_package-netamount.
    DATA: zidx LIKE sy-tabix.
    REFRESH t_data.
    LOOP AT data_package.
      zidx = sy-tabix.
      MOVE-CORRESPONDING data_package TO t_data.
      REFRESH t_newdso.
      SELECT * FROM newdso INTO TABLE t_newdso WHERE prod =
      data_package-prod.
      SORT t_newdso BY prod.
    *LOOP AT T_NEWDSO.
      READ TABLE t_newdso WITH KEY prodh4 = t_data-prod.
      IF sy-subrc EQ 0.
        LOOP AT t_newdso.
          t_data-prod = t_newdso-/bic/znew_mp.
          t_data-material = t_newdso-material.
    *T_DATA-NETAMOUNT = T_DATA NETAMOUNT * T_NEWDSO-/BIC/ZSP_RATIO.*
          APPEND t_data.
        ENDLOOP.
      ELSE.
        REFRESH t_olddso.
        SELECT * FROM olddso INTO TABLE t_olddso WHERE prod =
        data_package-prod.
        SORT t_olddso BY prod.
        READ TABLE t_olddso WITH KEY prodh4 = t_data-prod.
        t_data-prod = t_olddso-prod.
        t_data-material = t_olddso-material.
        APPEND t_data.
      ENDIF.
      MODIFY data_package INDEX zidx.
    ENDLOOP.
    REFRESH data_package.
    data_package[] = t_data[].
    thanks
    Edited by: Matt on Sep 27, 2010 2:25 PM - added  tags

    Hi,
    I am not really good at debugging Abap code since I am a newbie. however  I have tried to add CLEAR T_DATA before the first loop.
    REFRESH T_DATA.
    LOOP AT DATA_PACKAGE.
    ZIDX = SY-TABIX.
    MOVE-CORRESPONDING DATA_PACKAGE TO T_DATA.
    and before the second loop and select statement and at the end of the loop.
    REFRESH T_NEWDSO.
    SELECT * FROM NEWDSO INTO table T_NEWDSO WHERE PROD =
    DATA_PACKAGE-PROD.
    SORT T_NEWDSO BY PROD.
    READ TABLE T_NEWDSO WITH KEY PROD = T_DATA-PROD.
    IF sy-subrc EQ 0.
    LOOP AT T_NEWDSO.
    but then not all data are being fetched.
    thanks
    Edited by: Bhat Vaidya on Sep 28, 2010 8:33 AM

  • I bought an IPAD air from state and the screen is not working correctly and right now i'm in Egypt ,can i send my ipad to service in Egypt and the warranty will work in Egypt or what?

    i bought an IPAD air (32 gb wifi only) from USA just one month ago and the screen is not working correctly(picture attached) and right now i'm in Egypt ,can i send my ipad to service in Egypt and the warranty will work in Egypt or what?

    Have you tried a soft-reset to see if that fixes it ? You might be able to get warranty service in Egypt for your iPad, but the warranty includes :
    IMPORTANT RESTRICTION FOR iPHONE AND iPAD SERVICE.
    Apple may restrict warranty service for iPhone and iPad to the country where Apple or its Authorized Distributors originally sold the device.
    As it's wifi-only you should have a better chance of it being serviced under warranty, but there are no guarantees, it might depend upon the repairer.
    Egypt authorised service providers : https://locate.apple.com/eg/en/

  • Function keys are not working correctly

    I've been looking all over the various threads and I can't find an answer that solves my problem.
    Here are the details:
    I bought the computer in the U.S. where I live.
    I have a iMac 2.4GHz intel Core 2 Duo  EMC 2133 with a 20" screen. Bought it new in February 2008.
    I have Mac OS X 10.5.8  (I am waiting for my order for OS Snow Leopard to come in!!)
    I have been using a wireless mouse and Keyboard (Love not having cords!)
    Recently, my wireless keyboard got a short and quit working. I went down to the apple store and got a new wireless keyboard.
    I had the computer with me at the genius bar so, yes, the apple employee saw exactly what I have.
    I took it all home got the thing all put back together and got the new keyboard paired up and working with the computer.
    Here are the problems:
    Went to go use the function keys while using iTunes and found they weren't working properly. The F10, F11 and F12 do not control the volume of sound as the keyboard indicates they would, they instead activate dashboard, spaces, and application windows. 
    Following the advice of other threads, I looked over in the system preferences and made sure the "Use all F1, F2 etc." box was unchecked (it was unchecked), things still didn't work.
    I tried the fn key but it appears to not work at all it has no effect on the functioning of the function keys.
    I went under keyboard shortcuts in system preferences and found the F10, F11 and F12 keys, it confirms that those keys control spaces, dashboard and application windows as they are performing but shows no options to either reassign to volume control (as marked on the keyboard) or make the fn key work.
    I've gone back and forth trying various combinations of checked and unchecked boxes to see if anything would work, so far I've come up with nothing.
    A couple more important or interesting facts:
    Yes I have turned off and taken the batteries out of the old keyboard. My bluetooth connection currently shows it as disconnected.
    I have restarted the computer.
    One thing I find odd; when I go under preferences and go to Keyboard and Mouse when I go under the section "Bluetooth" it shows Bluetooth mouse with the name of the mouse and the battery level. BUT nothing is showing up under bluetooth Keyboard, I can't figure out how to change this and don't know if it is contributing to the problem.
    When I go under the bluetooth logo on the top bar I find the mouse and both keyboards referenced, the old keyboard is shown as disconnected and the other two are connected. I have tried to update the device's name but it doesn't seem to let me.
    I have double clicked on the device under bluetooth and it shows the new keyboard as discoverable, paired and connected. Hence, I am using the new keyboard to write this inquiry.
    Please, any assistance would be of great help. I have tried to be thorough in order help narrow the possible problem. Thanks!!

    Hendry
    Just thought I'd let you know.  Our suspicions were correct, it was the OS. After I installed Snow Leopard (10.6.8) all the problems were corrected.  I also updated the RAM from 1 gb to 6 gb. The mac is working all around better. Sorry it took so long to get back to everyone. My superdrive had pooped out. Rather than replace it I got an external drive from OWC connected with firewire 800.  So far everything is running very well, as far as I can tell this external drive is better than the original superdrive. My superdrive has always acted funny, infact I returned the first mac I got after a week because its superdrive was also malfunctioning. Anyway, all that to say everything seems to be fully functioning again.
    Roy
    Re: Function keys are not working correctly 

  • Forecast splitting not working correctly

    Hello
    I have a problem with the forecast splitting not working correctly.  We are using 2M->W     2 MONTH IN WEEKS     0  GLEI and most of the time this appears to work fine but there are occasions where the forecast is split for May, did not split Jun but split July.
    E.g. 
    06.05.2008     IndReq     VSF               9,424-
    12.05.2008     IndReq     VSF               20,845-
    19.05.2008     IndReq     VSF               30,925-
    27.05.2008     IndReq     VSF               24,740-
    02.06.2008     IndReq     VSF               134,257-
    01.07.2008     IndReq     VSF               25,771-
    07.07.2008     IndReq     VSF               32,213-
    14.07.2008     IndReq     VSF               32,214-
    21.07.2008     IndReq     VSF               32,213-
    28.07.2008     IndReq     VSF               25,770-     
    Do any of you Guru's have any idea why this would happen?
    Many thanks
    Sue

    I checked it in MD67
    it is working fine.
    In MD61 - my demand is 800 each for June and July. it hjas splited as below
    system is dividing the total qty on daily basis and then multiplying by no days in that week covered by requirement
    W 22.2008             26.667
    W 23.2008            186.667
    W 24.2008            186.666
    W 25.2008            186.667
    W 26.2008            186.667
    W 27.2008             26.666
    W 27.2008            154.839
    W 28.2008            180.645
    W 29.2008            180.646
    W 30.2008            180.645
    W 31.2008            103.225

  • Query is not working correctly

    Hi all,
    Below query is not working correctly. Please let me know, if you find the mistake
    select
    a.name,
    b.VOD_NAME,
    count(xm.ATTRIB_03)
    from
    siebel.s_vod b
    left outer join ISS_OBJ_DEF c on b.OBJECT_NUM=c.PAR_VOD_ID
    left outer join vod d on c.VOD_ID=d.row_id
    left outer join PROD_INT a on d.OBJECT_NUM=a.CFG_MODEL_ID
    left outer join PROD_INT_XM xm on a.row_id=xm.PAR_ROW_ID
    where
    b.VOD_TYPE_CD='CLASS_DEF'
    and
    c.LAST_VERS = 0
    and
    b.vod_name='Componentes'
    group by a.name,b.vod_name having count(xm.ATTRIB_03) >=5

    user9522927 wrote:
    Hi all,
    Below query is not working correctly. Please let me know, if you find the mistake
    select
    a.name,
    b.VOD_NAME,
    count(xm.ATTRIB_03)
    from
    siebel.s_vod b
    left outer join ISS_OBJ_DEF c on b.OBJECT_NUM=c.PAR_VOD_ID
    left outer join vod d on c.VOD_ID=d.row_id
    left outer join PROD_INT a on d.OBJECT_NUM=a.CFG_MODEL_ID
    left outer join PROD_INT_XM xm on a.row_id=xm.PAR_ROW_ID
    where
    b.VOD_TYPE_CD='CLASS_DEF'
    and
    c.LAST_VERS = 0
    and
    b.vod_name='Componentes'
    group by a.name,b.vod_name having count(xm.ATTRIB_03) >=5I couldn't see through the internet what happend when you ran said query. How about helping us out by showing us the evidence that it "is not working correctly".
    "Here's a picture of my car sitting in the driveway. Why won't it start?"

  • Delete Statement is not working correctly

    Hello,
    The following delete statement is not working correctly.
    If I press delete it will delete everything in the category table
    I don't know whats wrong with it.
    ----delete row from category if there is not infrastructure to support------
    IF :P12_DFCY_SEQNO4 IS NOT NULL AND :P12_DFCY_CATG_C = '7' THEN
    DELETE FROM DFCY_CATG
    WHERE NOT EXISTS(SELECT I.DFCY_SEQNO
    FROM DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
    WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
    AND :P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
    end if;
    Thanks
    Mary

    Hi,
    IF :P12_DFCY_SEQNO4 IS NOT NULL AND :P12_DFCY_CATG_C = '7' THEN
    DELETE FROM DFCY_CATG
    WHERE NOT EXISTS(SELECT I.DFCY_SEQNO
    FROM DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
    WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
    AND :P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
    end if;So, if P12_DFCY_SEQNO4 does not exist, then I would expect all records to be deleted because the NOT EXISTS() function would just return TRUE for every record on the table. Somewhere in the statement, I would expect to see something that links between the table being deleted from and the NOT EXISTS() data or, perhaps, using the P12_DFCY_CATG_C value as a filter?
    Andy

  • Clip name effect not working correctly in 2014/2014.1

    I'm referring to these notes from the latest bug fixes here...
    Bugs fixed in Premiere Pro 2014.1 Release | Premiere Pro work area
    "Clip name effect doesn’t work correctly if Source Track is set to a different track."
    "The Clip Name effect does not work when applied to a transparent video track item, with Source Track set to a video clip."
    I've just updated Premiere (2014.1) to specifically fix these two bugs. The Clip name effect isn't using the correct file names. It uses something close but not quite e.g. clip 100 shows as 100B which is down the timeline.
    The effect is applied to a transparent layer (have also tried it in a black video layer) and the clip name drawn from a different video track (video/PNGs in track 1, transparent video and effect is in track 3). This problem only appears when videos are in the timeline. When used with stills (PNGs) it works fine.
    Any idea of a fix or workaround that isn't using some kind of titling filter? I'm looking to automate the shot naming process for a pipeline in creating animation animatics and this would be perfect. If to actually worked properly.
    Using Premiere on a Mac Book Pro with 10.9.5.

    Anyone from Adobe care to offer some insight as it's something that is reportedly fixed?

  • Internet Explorer 11 "Enterprise Mode" do not work or do not work correctly!

    Dear community,
    Since yesterday we test the Feature "Enterprise Mode" for "Internet Explorer 11". However, we have many problems
    with this Feature. We have configured it as described by officially instruction by MS, but it does not work
    properly. Here is what we have done exactly to test this Feature:
    In Registry Key " HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Internet Explorer \ Main \ Enterprise Mode " we have created the Entry " Site List " and create the string " Enable" . In the
    String "Enable" we have added no value . 
    In Case of String "Site List" , we have specified the path to the XML file , as value of this String.
    The XML file was created with the Site List Manager from Microsoft
    And now, we regocnized following Problems:
    The "Enterprise Mode" ist only "active", if the User(!) check "Enterprise Mode" under "Tools"...!
    The site list is seemingly ignored, although in the Registry "currentversion" is pulled correctly, everytime we change
    the XML File. So we think "SiteList" is configured well.
    On one of our test computer freezes Internet Explorer 11 , if you try to hook the corporate mode
    In Summary, it seems to be configured properly but it even do not work or not work correctly.
    Our goal would be:
    Enterprise Mode + access to the Site List by IE11 should be "on" by Default!
    Entrys of sitelist.XML should be filtered and shown in "Enterprise Mode" or/and the right "DocMode", as configured.
    The user should have no chance  to check on or off the"enterprise mode"
    We use "Windows 7" on all our Clients, as test Clients are also running the same operating System...
    Please reply
    Thank you very much
    Greetings!
    Ps: Please do not be angry if pronunciation or grammar do not fit well. English is not my nature language (my nature language is german)

    Hi,
    According to your description, seems the end-users can manually turn on\off the enterprise mode, If you don''t want this, you can disable the option.
    Computer(User) Configuration > Administrative Templates > Windows Components > Internet Explorer\Let users turn on and use Enterprise Mode from the Tools menu option
    Disable this option, user will not have "Enterprise Mode" under "Tools", after that, please run gpupdate /force to update the policy, and get "Use the Enterprise Mode IE website list" applied again in the target system.
    After that, the enterprise mode website list get applied again, and user don't have an option to disable it.
    Yolanda Zhu
    TechNet Community Support

  • Why can I not import pictures any more? Lightroom says "Your Lightroom 5 64-bit does not work correctly"

    Why can I not import pictures any more?
    Lightroom says "Your Lightroom 5 64-bit does not work correctly"
    Technical informations:
    PC with Windows 7 64-bit, Lightroom 5.7.1 64-bit installed.
    What I have done:
    I downloaded the newest LR 5.71 and installed it again - mode repair; without success
    I checked my PC with Norton 360: full scanning and optimizing registry
    I restarted the PC and than I installed the LR 5.7 again - repair
    Trouble 1:
    Two days ago I could work with my LR 5 and to import pictures from a SD was no problem. Now I can start LR 5 and I can watch/modify pictures, but as soon as I try to import new pictures LR 5 stops and gives the message "your LR 5 64-bit does not work correctly - searching for solution". I have not changed anything in my computer since lasttime LR 5 worked properly, only the registry was optimized by Norton 360.
    Trouble 2:
    I live in Switzerland and my language ist German. I dit not find a place where I can present my problem in German, e.g. a phone number oder email-address oder german-chat. My English is to week for a discussion for computer problems and do understand it.
    Help:
    I would very appreciate if anybody can help me, either to trouble 1 or to trouble 2. Thanks.

    Sehen Sie diesen Beitrag:
    Photoshop CS4 & Lightroom 2.6 X64 funktionieren nicht mehr
    Wacom Tablet-Treiber-Problem?

  • Filters not working correctly

    We have the strange situation, that filters in calendar views are not working correctly (anymore?).
    If i set up a filter to search for my name as attendee, teaming still shows all entries instead of only just mine. This behavior applies to customized and standard calendar views.
    Filters for (customized) file folders still work as expected.
    Any ideas?

    jasi,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • XSLT not working correctly in BPEL

    Hi,
    We are using XSLT to remove namespaces from our XSL. When testing this XSL in Jdeveloper, it works fine. But when we using it in BPEL, the transformation is not working correctly.
    Please find below the XSL content
    +<xsl:stylesheet version="1.0"+
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"                xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"+
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    exclude-result-prefixes="xsl xref xp20 bpws ora ehdr orcl ids hwf">
    +<xsl:template match="comment()|processing-instruction()|/">+
    +<xsl:copy>+
    +<xsl:apply-templates/>+
    +</xsl:copy>+
    +</xsl:template>+
    +<xsl:template match="*">+
    +<xsl:element name="{local-name()}">+
    +<xsl:apply-templates select="@* | node()"/>+
    +</xsl:element>+
    +</xsl:template>+
    +<xsl:template match="@*">+
              +<xsl:choose>+
                   +<xsl:when test="name() != 'xmlns'">+
                        +<xsl:attribute name="{local-name()}">+
                             +<xsl:value-of select="."/>+
                        +</xsl:attribute>+
                   +</xsl:when>+
              +</xsl:choose>+
    +</xsl:template>+
    +</xsl:stylesheet>+
    The BPEL code of the transform is:
    +<assign name="Transform_1">+
    +<bpelx:annotation>+
    +<bpelx:pattern>transformation</bpelx:pattern>+
    +</bpelx:annotation>+
    +<copy>+
    +<from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('inputVariable','payload'))"/>+
    +<to variable="TempVar" part="payload" query="/ns1:mthReplacement_input"/>+
    +</copy>+
    +</assign>+
    Not sure why the transformation isnt working in BPEL. Has anyone faced similar issues? Please share your experiences.
    Thanks
    John

    Hi John ,
    We have tried this instead of writing new code in the xslt , pls do the following
    1.Open the xslt in jdev.
    2.Remove the attribute exclude-result-prefixes for the element xsl:stylesheet.
    3.Your new XSLT file should look like below,
    <xsl:stylesheet version="1.0"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    +xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    >
    ....business logic...
    </xsl:stylesheet>
    4.Compile and deploy your BPEL Process.
    5.You should not see any namespaces in the BPEL Console now for this xslt.
    Thank you.
    Regards
    Venkat.

  • I have an iPhone 4 on contract and its not working correctly , what should I do ?

    I have an iPhone 4 on contract , I only have this 5 and a half months and the iPhone is not working correctly and i do not have insurance .. What should I do ??

    It sounds like you did not purchase it at the Apple store? That doesn't matter - you can still take it to Apple to troubleshoot it.
    You can also try to troubleshoot it with the help of the folks here - if you want to do that, let me know and I'll ask that your post be moved to the iPhone forum where you're more likely to get knowledgeable answers, ok.

Maybe you are looking for

  • Need info on FSB to DRAM ratio

    I'm looking for information on FSB to DRAM ratio. I've done a search but no luck so far. In most cases I see the ratio at 1:1 but there are others as you may all know. What are the implications if one is at 1:1 versus something else? Thanks

  • Repeatedly getting stuck on spinning wheel and grey screen, even after multiple re-installs of the OS

    Ok, so running Lion on a MacBook, (2010 i think) and the OS got corrupted(stuck on spinning wheel and grey screen on boot) Tried to repair the disk via disk utility using an install CD, no go, couldn't repair, so, did a clean install. New install wen

  • Contacts not updating in address book 5.0.3

    I have an iPhone OS 4.2.1 and the Contacts on the phone are no longer updating in my Address Book 5.0.3 on my Mac computer when i attempt to sync within iTunes 10.5.3.  Within iTunes in the Info section, "Sync Address Book Contacts" is checked, and w

  • LEGALLY convert iTunes DRM protected .MP4 to .MP3 on a Mac?

    How can I legally do this? I'm looking to move my library off of my Mac, and onto a PC without using iTunes, and am trying to use a more "open" file format.

  • JOGL End User Files

    I am creating a program with JOGL, which requires the jogl.jar file and the jogl.dll file. The jogl.jar must be in the ClassPath and the jogl.dll must be in the java.library.path. SO I have two questions: 1. How do I, on my computer, change my java.l