Obtaining the memory adress of an object..HOW?

Hello, could anyone please help me how I can return the memory adress of an object? Any methods for that? Thanks..

I need it because i need to implement this method and the representation consists of the objects memory adress...
public String toString()
Returns a string representation of this book. The representation consists of the class name followed by the object's memory address.
Overrides:
toString in class Object
Returns:
a string made up of the class name followed by the object's memory address.
Any other ideas how to implement this method maybe? thank you

Similar Messages

  • When I close firefox I get an error message that says:The instruction at 0x7758144 referenced memory @ 0xffffffff, The memory could not be read, how to fix ths?

    I get an error message that says , nsAppShell:EventWindow:firefox.exe... Application E...
    The instruction at 0x7758e1144 referenced memory at 0xffffffff. the memory could not be read. Click on OK to terminate the program. What's wrong and how do I fix it?

    I knew how to do that, sorry. I didn't know if you wanted a copy of each individual report or just the page. Here it is...
    Submitted Crash Reports
    Report ID Date Submitted
    bp-af8afb9c-406f-4843-b5f0-f341c2140704 7/2/2014 7:12 PM
    bp-500df430-465f-44ec-9a7e-c34372140702 7/2/2014 4:52 PM
    bp-2c14d0a2-b4a2-4eee-a72d-85b912140702 7/2/2014 4:51 PM
    bp-2e8bc220-7e16-4291-b3c3-59a7b2140702 7/2/2014 4:50 PM
    bp-ea8a52d4-ff08-48f4-b641-539202140702 7/2/2014 4:49 PM
    bp-7ff8483e-468a-4324-b788-336e02140702 7/2/2014 4:46 PM
    bp-ee0edfa1-f678-428c-868d-1f80b2140702 7/2/2014 4:44 PM
    bp-dd32ccd5-4a84-4582-baa9-d731a2140701 7/1/2014 5:29 PM
    75d1f4f1-730e-4e6d-a9aa-7bf08527c14e 5/14/2014 7:40 PM
    a5d77b9b-5adc-40ed-8926-245f9c1711b2 4/23/2014 6:24 PM
    42ef8c1d-dd05-401f-b91c-15633c5080f5 2/17/2014 2:33 PM
    0a233130-e0e9-4a78-ac7c-70ce42d07fcd 2/17/2014 2:33 PM
    90b4e67a-5655-4dbf-96aa-b1ceb622cffb 2/17/2014 2:33 PM
    1222611d-88cd-4c2b-a165-48dc2ae60888 2/17/2014 2:33 PM
    921660a9-b14c-4b71-81c0-4864f246f531 2/17/2014 2:32 PM
    84c51953-118a-4b16-a65c-5b0472c31885 2/17/2014 2:32 PM
    b12c8c12-b5d2-4028-8804-7831fff1e059 2/17/2014 2:32 PM
    fa608271-c2c6-4ff2-8fee-dd12d9cddca5 2/17/2014 2:32 PM
    110a075b-5209-4b48-98fb-51f6c18747b7 2/17/2014 2:32 PM
    f6b7c7f8-edb5-4c8a-9f9d-95cdf9dae28f 2/17/2014 2:32 PM
    38df997b-6c08-4b04-9e10-79114e21b087 2/17/2014 2:32 PM
    58e8b80b-0482-4df7-874e-e3c051e3a390 2/17/2014 2:32 PM
    2649763b-3e51-414c-87a9-c429e2542a1c 2/17/2014 2:32 PM
    f3323912-ee94-40ac-9378-891cf8d04454 2/17/2014 2:32 PM
    db9a70c3-8de0-4b52-b7f2-999da7fa4584 2/17/2014 2:32 PM
    ac6c20aa-fd8b-4068-8fee-777fddba34a9 2/17/2014 2:32 PM
    86068336-7d23-42de-ae1e-30c58f38ed20 2/17/2014 2:32 PM
    da68f0b9-1b9f-4fc6-b16d-1f7b3e57a111 2/17/2014 2:32 PM
    a5a07386-14fb-44e3-aabe-2dcf350980f8 2/17/2014 2:32 PM
    3f447cee-1105-416e-9b66-163fcb2f25fb 2/17/2014 2:32 PM
    968c04e0-00bd-4489-8ac3-13e2100b0f70 2/17/2014 2:32 PM
    84a12490-7aff-43a3-8b18-e596eef73ece 2/17/2014 2:32 PM
    8f5bc390-2805-41df-8d60-48c2b6b61816 2/17/2014 2:32 PM
    088af5c3-ec72-47a6-be3e-5635daf4bd7c 2/17/2014 2:32 PM
    30f469f8-4802-4708-ad13-01b0f69a5087 2/17/2014 2:32 PM
    33080078-0b63-4db7-8f06-0ae2547e8118 2/17/2014 2:32 PM
    f03a4616-d0bb-41a6-b322-b5edfbaaede8 2/17/2014 2:32 PM
    577bb1ab-2f33-4707-b3f5-a89fab3ecdfb 2/17/2014 2:32 PM
    e05818d0-59b2-4e32-aa85-88a76401a12c 2/17/2014 2:32 PM
    0d6c09fa-bc59-438a-b306-7775f4339846 2/17/2014 2:32 PM
    95d256b1-f1d2-4443-99f1-2373246e2c40 2/17/2014 2:32 PM
    fa943610-9b45-4e01-ba2e-137fff6b0278 2/17/2014 2:32 PM
    1d918c94-c13e-4e1b-89f6-6931e0aa99a8 2/17/2014 2:32 PM
    b7a0218c-de80-4a2f-9aea-8df9bda565fe 2/17/2014 2:32 PM
    9b9d142f-e411-4529-840d-b0ad9bae57e6 2/17/2014 2:32 PM
    cbdc8180-d488-4a74-954a-2b209954cee9 2/17/2014 2:32 PM
    b0d7cb88-4f57-4650-8863-d085d7eaa255 2/17/2014 2:32 PM
    fc56f033-1b12-4588-8ffb-8742245d8e0b 2/17/2014 2:32 PM
    603c27c7-d40e-45bb-8a23-85cd5e3ad974 2/17/2014 2:32 PM
    03778c8d-1e07-4532-a692-cc13200c9bd8 2/17/2014 2:32 PM
    e8a1bcbd-9109-48a3-9d4b-7ad2c66ba12f 2/17/2014 2:32 PM
    5c063da2-6949-44cf-9f8a-12d45e41b053 2/17/2014 2:32 PM
    6758ff53-9c38-472f-83b0-466c7d38080a 2/17/2014 2:32 PM
    a252f676-f745-415b-b640-5eb8df5cbc6d 2/17/2014 2:32 PM
    a0ffc786-3e64-4d41-8518-1545ec39ca90 2/17/2014 2:32 PM
    922ea6d5-6204-4a10-8208-68dddef1afcb 2/17/2014 2:32 PM
    8bf8a1b9-33ce-48df-9f73-36d09da7d3b2 2/17/2014 2:00 PM

  • Is there any procedure to get the memory warning levels using objective C

    I want know the different levels of memory warnings programmatically using objective C.Is there any procedure to get that.

    AmirTs wrote:
    my device connects to my server and need to authenticate with a unique number
    and i need access to the number to add it in the server.

  • Is it possible to create the memory for a Java object in C/C++?

    Is it possible to have a C/C++ program allocate some memory, then have JNI use that memory for primitive java objects (such an array of bytes) that are passed to Java objects ?
    I would like to allocate a region of memory in C++, then give that memory to a Java object (via some kind of JNI type) and have that Java object fill the memory region with data.
    My impression from reading the JNI API and the few examples I've looked at is "No", there is a strict boundary between C++ and JNI as regards memory management. There may be serious implications as to why what I'm suggesting is not feasible, I am not enough of a JNI expert to know yet, and would greatly appreciate any input/comment.
    Many thanks,
    Colm.

    No, you cannot. However, writing your JNI code you should not use memory of Local Heap (if it possible). Because Local Heap Memory used also by JVM. I have developed tools that generate C++ wrappers for JNI code. In these wrappers I use mainly Global/Virtual Memory. I also reduce to minimum creation of local/global references, as it is affects to JVM memory use. If you are writing JNI code under MS Windows then you can try my tools that automate JNI code writing:
    http://simtel.net/product.php[id]93174[SiteID]simtel.net
    http://simtel.net/product.php[id]94368[SiteID]simtel.net
    Now I am developing this tool for .Net. In two weeks it will be finished.

  • Can't find the memory leak in Managed Object

    Hey guys...I am trying to find the memory leak that Instruments says I have in this section of code setting up a managed object:
    oCurrentSection = (Section*) [NSEntityDescription insertNewObjectForEntityForName:@"Section" inManagedObjectContext:[[CoreDataManager sharedData] oManagedObjectContext]];
    oCurrentSection.nsSectionName = [attributeDict objectForKey:@"name"];
    oCurrentSection.nsImgUrl = [attributeDict objectForKey:@"imgURL"];
    oCurrentSection.nsDesc = [attributeDict objectForKey:@"desc"];
    oCurrentSection.iOrder = [NSNumber numberWithInt: [[attributeDict objectForKey:@"order"] intValue]];
    Can anyone help me out?

    Thanks everyone! That makes a lot more sense. Yes, kjon, I do come from windows. But please don't reference my troubled past. Actually, I typically use "ps aux | sort -n +3 | tail -1" rather than simply "ps aux" - I just wanted to make sure I wasn't missing something by looking at only the top memory-user. Glad to know there's no massive memory leak in my system
    Procyon, what's wrong with a huge swap? Wouldn't you do it too if you were given a system with 200GB hdd more than necessary and told to make a webserver?
    [root@norpass ~]# df -H
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 7.9G 1.1G 6.8G 14% /
    none 1.1G 0 1.1G 0% /dev/shm
    /dev/sda1 40M 9.9M 28M 27% /boot
    /dev/sda4 238G 4.5G 234G 2% /home

  • How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.

    I have developed the small windows based application tool with help of  Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
    The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
    Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D. 
    The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
    The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends.  If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
    Database objects and crystal report objects are properly used in the tool. The object release commands properly  communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool.  Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
    The memory consumption will be reduced once the server restarted or kill the application.
    Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
    Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
    Could you please suggesst how to avoid the memory consumption keep increasing and  how to release the memory consumption  once the crystal object disposed???

    Hi Don..
    My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
    Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
    Our client is using a application to help to print their reports. The application is developed with Windows service.
    Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock  report) which designed for clients need and the reports will be printed from printer. 
    10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running.  Memory cosumption of application will be 160 MB in business hours.
    For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB  in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
    On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday.  The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
    Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process".  If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
    From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that  application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
    Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
    the memory.
    Crystal report 2008 Serive Pack 2 setup installed in the server. 
    As you said, If Crystal report runtime is not released from memory then memory consumption keep increase???  In service oriented architecture application, how to unload the crystal report runtime??
    Do you any fix for this kind of issue??
    Willl Crystal report 2008 service pack 3 help on this issue??

  • How to liberate the memory fast !!!!!!!!!!!!!!!!!!!!!!

    Hello, and thanks for read this lines.
    Well my problem is that my objects are or to null or I reuse more of them, but when I'm testing my midlet on my device (nokia 7650), the heap memory along the time is big.
    And when i`m using my app (5 minutes) it stops.
    How can I solve this problem??
    I must to storage the objects that I reuse on rms????
    Can I force to liberate the memory??
    My objects have images and if the user dont call another method the image is the same, but if the user change the screen, I reuse the object (previously I put the image to null) and load another image.
    The problem is that when I'm using this (5 minutes) the images aren't liberate of the heap memory and (pooofff), it stops.
    Thanks for all.
    Regards

    some times this happens with "while(ok){}" loop structures where the image is being called/loaded and the code just goes crazy in the wtk 2.0 memory monitor after a while and memory runs out. This is becuase the "ok" conditon is never met to solve this use a "switch" or an "if else" statement.
    This happened when I used too many images in my menus. The examples of the menu implementations are available in the j2me tech tips section of this site.
    I hope this helps. Some more details of the problem and the code would help however.

  • How to increase the memory of oracle

    Hi,
    I am having oracle database version 11.0.1.6 on windows server 2003 R2.
    My Server Ram size is 12 GB.
    select * from V$SGAINFO;
    Fixed SGA Size     1335136     No
    Redo Buffers     12529664     No
    Buffer Cache Size     1073741824     Yes
    Shared Pool Size     176160768     Yes
    Large Pool Size     8388608     Yes
    Java Pool Size     16777216     Yes
    Streams Pool Size     8388608     Yes
    Shared IO Pool Size     0     Yes
    Granule Size     8388608     No
    Maximum SGA Size     1297321984     No
    Startup overhead in Shared Pool     58720256     No
    Free SGA Memory Available     0     
    I want to increase my memory for oracle because i need to insert 31 billion rows into a table with nologging. I am inserting them chunk by chunk and commit after each chunk. But it is taking 62 hours to insert the rows. So i think if i increase the memory i could reduce the time to insert the rows.
    I really am not sure whether i am thinking in the right way. Please advise. If i want to increase the memory please let me know how to increase it.
    Thanks in advance

    Are all columns in the WHERE clause indexed?
    Are statistics current & accurate for all tables & indexes?
    post EXPLAIN PLAN for SQL below
    PROCEDURE Pro_unpvt_usm_dr
    IS
    BEGIN
        FOR k IN (SELECT DISTINCT pr_id
                  FROM   unpvt_im_dr_e0322) LOOP
            INSERT /*+ append */ INTO unpvt_usm_dr_e0322
            SELECT pr_id,
                   nr,
                   col,
                   Corr(n, m) val
            FROM   (SELECT a.pr_id,
                           a.nr,
                           b.nr  col,
                           a.n,
                           b.val m
                    FROM   unpvt_usm_drpre1_e0322 a,
                           unpvt_im_dr_e0322 b
                    WHERE  a.pr_id = k.pr_id
                           AND b.pr_id = k.pr_id
                           AND a.col = b.col)
            GROUP  BY pr_id,
                      nr,
                      col;
            COMMIT;
        END LOOP;
        dbms_output.Put_line('POPULATED UNPVT_USM_DR_E0322');
    END pro_unpvt_usm_dr;

  • Is the Memory Suite thread safe?

    Hi all,
    Is the memory suite thread safe (at least when used from the Exporter context)?
    I ask because I have many threads getting and freeing memory and I've found that I get back null sometimes. This, I suspect, is the problem that's all the talk in the user forum with CS6 crashing with CUDA enabled. I'm starting to suspect that there is a memory management problem when there is also a lot of memory allocation and freeing going on by the CUDA driver. It seems that the faster the nVidia card the more likely it is to crash. That would suggest the CUDA driver (ie the code that manages the scheduling of the CUDA kernels) is in some way coupled to the memory use by Adobe or by Windows alloc|free too.
    I replaced the memory functions with _aligned_malloc|free and it seems far more reliable. Maybe it's because the OS malloc|free are thread safe or maybe it's because it's pulling from a different pool of memory (vs the Memory Suite's pool or the CUDA pool)
    comments?
    Edward

    Zac Lam wrote:
    The Memory Suite does pull from a specific memory pool that is set based on the user-specified Memory settings in the Preferences.  If you use standard OS calls, then you could end up allocating memory beyond the user-specified settings, whereas using the Memory Suite will help you stick to the Memory settings in the Preferences.
    When you get back NULL when allocating memory, are you hitting the upper boundaries of your memory usage?  Are you getting any error code returned from the function calls themselves?
    I am not hitting the upper memory bounds - I have several customers that have 10's of Gb free.
    There is no error return code from the ->NewPtr() call.
         PrMemoryPtr (*NewPtr)(csSDK_uint32 byteCount);
    A NULL pointer is how you detect a problem.
    Note that changing the size of the ->ReserveMemory() doesn't seem to make any difference as to whether you'll get a memory ptr or NULL back.
    btw my NewPtr size is either
         W x H x sizeof(PrPixelFormat_YUVA4444_32f)
         W x H x sizeof(PrPixelFormat_YUVA4444_8u)
    and happens concurrently on #cpu's threads (eg 16 to 32 instances at once is pretty common).
    The more processing power that the nVidia card has seems to make it fall over faster.
    eg I don't see it at all on a GTS 250 but do on a GTX 480, Quadro 4000 & 5000 and GTX 660
    I think there is a threading issue and an issue with the Memory Suite's pool and how it interacts with the CUDA memory pool. - note that CUDA sets RESERVED (aka locked) memory which can easily cause a fragmenting problem if you're not using the OS memory handler.

  • How do I obtain the next number for a Primary Key using an ADF View Object?

    I have two separate View Objects (A & B) for the same Entity Object. View Object A does a SELECT on all of the fields in the table. This View Object is where I execute my adds and updates. View Object B is only used to retrieve the next number for the primary key. This is done so that when I add a row to the database, I always get the max number of the primary key and add one to it. I accomplished this by setting the SQL mode to Expert and using the SQL: "SELECT MAX(NBR) AS MAX_NUMBER FROM TABLE_1". This may be overkill having a seperate View Object for this, but so far this is the only way I have found to obtain the next number. However, I have discovered that this way does not always work.
    The problem I'm running into is when I try to add multiple records to View Object A without committing the transaction between each add. Because View Object B is disconnected from View Object A, the MAX_NUMBER of View Object B comes back with the same number for each add I do on View Object A. So I know I must retrieve the MAX_NUMBER from View Object A.
    I've tried using the following code in my Table1ViewImpl class:
    this.setQuery("SELECT MAX(Table1.NBR) AS MAX_NUMBER FROM TABLE_1 Table1");
    this.executeQuery();
    The view object now has what I want, but I have yet to figure a way to extract the MAX_NUMBER out of the View Object. I've also looked into using the method addDynamicAttribute() but I can't figure out any way to set the attribute with the MAX_NUMBER.
    I can't be the only one trying to retrieve the next number from a database table using ADF. Can anyone help me with this? FYI - I'm using JDev 10.1.3 EA.

    You missing the point.
    On a multi-user db knowing the next highest number doesn't guarantee the number will be available when it comes time to commit the record. You can prove this to yourself by opening two instances of your app and do whatever you do to add a new record to your VO. Both will assume the same number, and when you commit an error will be generated
    You must use sequences to avoid the possibility of duplicate keys. If you are trying to avoid gaps in your numbering then you need to convince yourself why this is necessary.

  • I utilise Entourage for my mails. When I tip a mail adress and write a wrong one, I change. When I will send again a mail to the same adress the wrong and good one appears both.  How can I delete the wrong one

    Question is here above but more details here under
    I use Entourage as Mail sender. I don't use the adress book.
    When I tip a wrong adress  and make the correction, the old one stays in the memory of my computer ( apple I Mac ).
    When I wish to send a new message to the same adress, the wrong one appears in the same time , and some time I don't remember wich is the good one .
    To avoid that problem, how can I delete the wrong adress for future sending of mails.

    Solution, use Apple Mail
    I can highly recommend migrating to the Address Book. You won't have the typo'ed history in your email.
    Here's the KB on how to clear the list
    http://support.microsoft.com/kb/823667

  • How do I get the value of a field object programatically after loading a report

    I'm using CR 11.5 and VS2005 in a console application, there is no GUI. I have a report with a page header that has 3 field objects. These field objects, their values change for every record and I want to be able to capture the value of these field objects in code for further processing outside of CR. Is this possible?
    Thanks in advance!
    I should explain a little more, the information I'm trying to obtain is in the Page Header section of the main report. There are subreports. Basically what I'm trying to put together is a list of how many pages are part of each record, the number of pages fluctuates per records so I need to be able to cycle through. Any other suggestions?

    When accessing the fields on the report through the SDK you will only get what database field they are using for data.  The internal data collection that is used by the report can be gathered using the rowsetcontroller from the ReportClientDocument.

  • How to obtain the pricing condition data from sales data?

    Hi all!  I have googled many times and read through many sites to understand how I can obtain the pricing condition data that's specific to a specific sales line.  However, the answer I got usually are as follow:
    Tables to be used:
    KONV
    KONH
    KONP
    VBRK
    VBRP
    And the thing is to obtain KNUMH data from VBRP and link it to KONP which will get the exact pricing condition data that's relating to the specific transaction.
    However, my challenge is that the field KNUMH in either VBRP or VBAP, it is empty.  Therefore, how can I have a report with my sales data as the primary file, and appending the pricing condition data so that I can analyze the different kinds of pricing condition types that the company is using.  The only field that I can use is KNUMV which does not give me the pricing condition that was used in this particular invoice line.
    I also know that there is the A*** tables, which contains the KNUMH file.  However, this file is split into many different tables.  Thus, is there a more efficient method to download all the data?  In any case, I still do not know how to link to my sales data.
    FYI, I only have SE16N and VK13's access.
    I hope that someone can help me, please!
    Thank you!

    Hi,
    Data flow :
    BW :
    When u right click on the Master Data Info object -> Select Data flow.Then  it will  show u the details like DS name,IS (If 3.x)
    Once u know the DS then you need to find out the source tables for the R/3 DS.This information will get using ROOSOURCE or ROOSFIELD tables  or help.sap.com.
    My suggestion better to search in Help site for DS source tables.
    DS Tables :
    The following link will provide you the source tables for some of the LO DS.
    https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 22, 2009 9:29 AM

  • How to obtain the row data in the component datatable?

    if I want to edit a row data, and then know which row is edited in the component datatable, and how to do?
    How to obtain the row data in the component datatable, and update it to database, not simplely edit a simple table
    Any ideas? Thanks

    Thank you very much for your help Alexander !
    It's quite confusing when you leave Struts and try to adapt your projects for JSF for the first time...
    I wanted to click on a row with a "onMouseClick" on the TR tag like I used to do in Struts/JSTL. But it seems to be impossible in a dataTable.
    Ok then. I've added a column at the end of the row with an icon.
    But eventually I didn't need to declare link parameters.
    In my BackingBean I did like this :
    public String selectEventForUpdate() throws IllegalAccessException, InvocationTargetException {
            PortletAgenda event = (PortletAgenda) JSFUtils.getInRequestMap("event");
            BeanUtils.copyProperties(this, event);
            return null;
       }JSFUtils.getInRequestMap(...) is a method I wrote in a util object :
    public static Object getInRequestMap(String name) {
            Object res = null;
            Map requestMap=FacesContext.getCurrentInstance().getExternalContext().getRequestMap();
            if (requestMap!=null) {
                res=requestMap.get(name);
            return res;
    }  " event " is the name of the item in my dataTable list.
    My backingBean has the same attributes as "event".
    So when the page is reloaded I have a backingBean full with the selected properties to edit/update.
    Thanks to your reply I realized that putting this form in the middle of the dataTable seems to be impossible.
    So I put this form in a floating DIV in front of the table with a shadow.
    It works :o) !
    But I'm a little bit disapointed to be honest...
    I used to build my web applications with Struts and JSTL and doing this kind of interface was really easy.
    I've decided 3 days ago to convert into JSF because the "GUI Layer" seemed to be improved.
    But now I realize that I cannot put a onMouseOver and onMouseClick on a row and I cannot display a different row in the middle of a table....
    I think it's a shame because there is a facet for header and footer.
    And it would be great if we could create our own personal facet that appears only if a condition is true.
    For exemple " if the current item id is the same as the request parameter id then display the following facet content ....... (with a panel group and a form inside to update the row) "
    It's easy to do that with JSTL thanks to c:forEach and c:if but it seems to be impossible to use JSTL tags like this during the dataTable iteration.
    And JSF tags seems to have no logical tags like " if " or loops that can be nested in dataTable.
    I really need to realize this interface (you click on a row then an edit form appears where you clicked).
    Do I have to write a component myself that extends dataTable?
    Do you know if writing such a component is hard to do for a beginner like me?
    (I've juste discovered JSF 3 days ago and I've used Struts/JSTL for 2 years til now)
    I'd be glad to have much advices from you about that.
    Regards

  • How can I get the memory allocation info of a java thread?

    Now I am going to write a program to monitor the execution condition of the java threads. But it seems that the classes in standard edition of JDK does not provide facilities to get the information such as the memory allocation and CPU time of a running thread. How can I do with it? Can I use JNI or JVMDI to get them? If it could do, how?

    Thanks a lot. I just browsed the specification of jvmpi. It is interesting and it seems that I can get the information I need. However, if I want to get the information in my program, I mean, if I want to build a class which may use JNI method to invoke the function written with JVMPI, and then forward the data to other upper layer objects, can it be done?

Maybe you are looking for

  • Photoshop not supported on my Mac

    I'm at the tail end of setting up Photoshop on my Mac via Creative Cloud and when I attempt to launch the app this is popping up "You can't open the application "Adobe Photoshop CC" because it's not supported on this type of Mac. What no?

  • How to Run F110 Check Payment with Sorting from Vendor Name?

    Hi All,   We have a problem when I run F110 to create checks for many vendors. How can I run the check number sorted from vendor name alphabetically?   We can print it according to the vendor name alphabetically however the check running number is no

  • Same photo in multiple projects?

    Hi there. New Aperture user here so hope this isn't a stupid question. I was wondering if it's possible to have the same photo in multiple Projects? My understanding is that all photos are stored in my Aperture Library but the photos in the Projects

  • Nokia 5130 XpressMusic "Contact Service" Error

    I used my phone extensively for a little more than a couple of years. Yesterday night the battery died and I connected the charger and started it. I got an error on startup saying "Contact Service". Any idea what the problem could be and how to resol

  • WRT54GL: Losing Internet Connection after shutting down computers

    I've got a Linksys wireless router, the WRT54GL. When we set up the router and connect to the internet everything works fine. But when we shut down our wired computers and restart the laptop, the internet connection is gone, but I keep my local area