Get called back as the data table is being rendered

Hello:
I have a datatable, like this:
<t:column>
<f:facet name="header">
<t:outputText value="Process" style="font-weight: bold" />
</f:facet>
<t:commandButton id="ProcessButton" styleClass="sbttnHeader"
actionListener="#{ProcessQueueBBean.processAction}"
value="#{ProcessQueueBBean.processButtonNames[dbRow.status]}" >
</t:commandButton>
</t:column>I need to get called when the data table rows are being rendered. The reason I need to get called is that some columns have conditional data depending on the other values in the same row
Any ideas?
Thanks for your help

I don't know i've never tried this in the way you need it but let me know if it works.. in the <column tag render=> I know you can check infor
so have render = "#{row.num+row.othernumber >0}"
that probably will work .. like i said I never tried it in a table column.. Let me know if it works

Similar Messages

  • Updated software on Macbook Air and bootcamp partition disappeared.  Windows boot option no longer appears.  Can I get it back and the data?

    Updated software on Macbook Air and bootcamp partition disappeared.  Windows boot option no longer appears.  Can I get it back and the data?

    Amy, is there a chance they could both be Syncing to another device that has the data erased?
    What are the sizes & modification dates on the files you found?
    Could be many things, we should start with this to be safe, though 2 different ones would seem unlikely to be this problem...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • HT4859 my brother accidentally plugged my phone into his computer which has downloaded his itunes and wiped my phone - how do I get mine back - all the data and itunes /ocloud account on there is under his account and wont let me change it?

    My borther accidentally plugged my phone into his computer which wiped everything off my phone and downloaded his itunes imediately.  I have icloud but everything I try to do  on my phone just has his accounts detaiils - how do I change it back.  I am now home and plugged my phone into my computer to try to restore and all I get up on my computer is his itunes account - what do I do?

    Hey TBL64,
    Welcome to Apple Support Communities, and thanks for the question. I found the following information that should help you out:
    ...to restore from an iCloud backup, erase your device (by going to Settings > General > Reset > Erase All Content and Settings). When prompted to set up as new or to restore from previous backup, select Restore from iCloud Backup. Enter your AppleID and password when prompted.
    via:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/ht1766
    Cheers,
    David

  • Recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step

    recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step instructions xoxoxo
    And my iTunes sign in is also screwed up... It is underneath my friends email (the one with my backed up data on his Mac laptop) HOW DO I CHANGE THIS SO THAT I CAN DOWNLOAD APP's again...

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • After receiving a Generator error and prompt to restart. I restarted Photoshop and the app disappeared off my computer. How do I get it back. The cloud widget says it is all up to date?

    After receiving a Generator error and prompt to restart. I restarted Photoshop and the app disappeared off my computer. How do I get it back. The cloud widget says it is all up to date?

    CC desktop lists applications as "Up to Date" when they are not
    -http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

  • Call bar is now vertical on the right side of screen. How do I get it back on the bottom?

    Call bar is now vertical on the right side of screen. How do I get it back on the bottom? I've tried rebooting and changing screens but it won't change. I can't find a setting for that call bar.

        This isn't a native setting that I can find Relsea. Did you download an application that maybe has this function? Any luck if you reboot the phone by pulling out the battery?
    Please let us know what happens next. 
    Thanks,
    MikeS_VZW
    Follow us on Twitter @VZWSupport

  • I deleted gardens of time yesterday and need to get it back with the current data and progress. Is this possible?

    I deleted gardens of time yesterday and need to get it back with the current data and progress. Is this possible?

    Is that on an iPad, iPod Touch or iPhone?

  • Hi guys.. anyone can help me? I lost my iphone, how to get back all the data is there?

    I lost my iphone, how to get back all the data is there?

    Thank you for explain kappy..
    how if I want to get my skype message? is it can ? help me..

  • How do you "Unsort" a column to get it back to the way it was when you opened it?

    How do you "Unsort" a column to get it back to the way it was when you opened it?
    I like to sort by price or alphabetical etc but then I want to return the cells to where they were and I can't figure out a way to do that.
    For instance, the rows that don't matter so much like the ones that just describe what date is the follow are now all together and I want it back the way it was when I opened the document without losing any changes I've met to other things in the doc since I sorted.
    Can anyone help with this?
    Thanks.
    Tim

    Hi fl2,
    Adding to replies from Wayne and Barry. After you open that Numbers document, insert another column into a table before you sort it. The column can be anywhere in that table. Here is Column A (labelled "Original") that I inserted. It has numbers in sequence (1, 2, 3...)
    As Barry said, these must be numbers, not the results of a formula.
    Now you can sort by any column to your heart's delight and always go back to the original order by sorting that table by column A.
    Regards,
    Ian.

  • Getting selected values from a data table

    My data table gets values directly from a result set.
    I went through http://balusc.blogspot.com/2006/06/using-datatables.html#top ,
    however, the data table shown in this example takes values from a simple list. I have trouble in getting selected values.
    Can anyone suggest how to select multiple values. here is a small code sample of what I have
    SessionBean
    ResultSet rs= db.retrieve_draft();
    datamodel = new ResultSetDataModel();
    datamodel.setWrappedData(rs);This is the JSF
    <h:dataTable binding="#{Engineer.dataTable1}" headerClass="list-header" id="dataTable1"
    rowClasses="list-row-even,list-row-odd" style="left: 144px; top: 192px; position: absolute"
    value="#{SessionBean1.datamodel}" var="currentRow">
    <h:column id="column1">
    <h:outputText id="outputText77" value="#{currentRow['report_number']}"/>
    <f:facet name="header">
    <h:outputText id="outputText78" value="Report Number"/>
    </f:facet>
    </h:column>Edited by: ktip on Jul 29, 2008 11:04 AM

    Here is what I was doing :
    This is my Session Bean (viz. SessionBean1)
    private CachedRowSetDataProvider draft_infoDataProvider;
        private CachedRowSetXImpl draft_RowSet;
        public CachedRowSetDataProvider getDraft_info() {
            return draft_infoDataProvider;
        public void setDraft_info(CachedRowSetDataProvider draft_info) {
            this.draft_info = draft_infoDataProvider;
        public CachedRowSetXImpl getDraft_RowSet() {
            return draft_RowSet;
        public void setDraft_row(CachedRowSetXImpl draft_row) {
            this.draft_row = draft_RowSet;
    public void get_drafts()
                Class.forName("com.mysql.jdbc.Driver");
                String url = "jdbc:mysql://localhost:3308/test";
                String dbUser = "root";
                String dbPassword = "adminadmin";
                con = DriverManager.getConnection(url, dbUser, dbPassword);
            String  sql="SELECT report_id from reports WHERE status='Draft' ";
            ResultSet rs=null;
            try
                Statement stmt1=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
                rs=stmt1.executeQuery(sql);
                draft_RowSet=new CachedRowSetXImpl();
                draft_RowSet.populate(rs);
                draft_infoDataProvider=new CachedRowSetDataProvider(draft_RowSet);
                result="ok";
            catch(SQLException e)
              System.out.println(e); 
              result="fail";
    Here is my jsp page (developed in Netbeans 6.1) showing the data table
    <webuijsf:table augmentTitle="false" binding="#{Engineer.table1}" clearSortButton="true" deselectMultipleButton="true"
                                            id="table1" selectMultipleButton="true" sortPanelToggleButton="true"
                                            style="left: 48px; top: 144px; position: absolute; width: 450px" title="Table" width="0">
             <webuijsf:tableRowGroup id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.draft_infoDataProvider}" sourceVar="currentRow">
                      <webuijsf:tableColumn headerText="report_number" id="tableColumn1" sort="test_report.report_number">
                                            <webuijsf:staticText id="staticText1" text="#{currentRow.value['reports.report_id]}"/>
                        </webuijsf:tableColumn>
             </webuijsf:tableRowGroup>
       </webuijsf:table>Doing all this just resulted in a javax.Naming.Exception : Data Source is null
    I tested this piece of code to give me the number of rows in the underlying rowset and it worked well. But somehow I could not get to display the data. Am I missing something?
    Edited by: ktip on Jul 31, 2008 1:21 PM

  • Mozilla crashed yesterday and now bookmarks are not showing along the left side of page as they did before. They are on the menu bar but hubby does not like this location. Anyway I can get it back to the left side of the page?

    This spring we changed from IE to Mozilla after upgrading to Win 7. Everything has been fine with Firefox until yesterday when it crashed when I attempted to open an email. Since then the bookmarks (or favorites as my husband calls them) have not been in their usual place which was along the left side of the page. They are located in the Bookmarks bar at the top of the page but husband prefers the old IE way which we had until yesterday PM. Is there any way that we can get them back to the left side of the page other than going back to IE? Now that I have gotten used to Firefox I like it just fine.

    *You can open the Bookmarks in the sidebar via View > Sidebar > Bookmarks (Ctrl+B)
    *You can open the History in the sidebar via View > Sidebar > History (Ctrl+H)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.
    You can find toolbar buttons to open the bookmarks (star) and the history (clock) in the sidebar in the toolbar palette and drag them on a toolbar.<br />
    Firefox 4 versions and later have two bookmark buttons with a star in the Customize window.<br />
    One star button has a drop marker that open a Bookmark menu.<br />
    The other star button without the drop marker opens the bookmarks in the sidebar.<br />
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • HT201413 suddenly itunes will not open and I get a message that the "Data Execution Prevention" is blocking itunes from opening....why????

    itunes will not open and I get a message that the "Data Execution Prevention (DEP)" feature in Windows is preventing it from opening. (this is after I've been using itunes for years???? If I try to manually deselect itunes from the DEP filter, of course I get a message that itunes cannot operate without the DEP active...another Catch 22 from the evil program designers....

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • How to find the data table sin CRM 4.0

    Dear Guru's
    I want to know where can i get all the data tables in crm 4.0 for example if i want to know the data table for the Reason in activity Management.with the help of data table only the ABAP people can work.....na
    Points willbe given
    With Best Regadrs
    Sreeram Raghu

    Hi Raghu,
    There are many techniques in which you could find the database tables, few of them are given below:
    - Place your cursor in the field for ex: reason in activity and press F1
    - In F1 screen(performance assistant), Click on Technical Information (fourth button from left), you can find here the database table name.
    Another Option:
    - Go to transaction SE11
    - In Database Table Field type few letters, for example to find all the activity table type * act * and then press F4, all the tables related to activity will be displayed
    Wish this was useful to you
    regards
    Srikantan

  • My iphone5 crashed Wed May 29 and I am not sure why.. I had to do a restore and have been trying to slowly get everything back on the phone... Yesterday June 6 it blacked out once and I don't have everything on the phone as before.... New one?

    My iphone5 crashed Wed May 29 and I am not sure why.. I had to do a restore and have been trying to slowly get everything back on the phone... Yesterday June 6 it blacked out once and I don't have everything on the phone as before.... Is it damaged and should I try to get a new one?

    Thank you again for all of your help!! I really appreciate it!
    I think I am following -- I was able to upload to my iPhoto and all photos and videos are there that is a plus! I tried to create an Event in my iPhoto and put all of my photos in that event but for some reason, now my iTunes it not recognizing that Event in my iPhoto. It is not allowing me to import just that event at the moment but I may be doing something wrong. At least all of my pics and vids are in iPhoto so that is a plus and I know they are at least saved somewhere. Just for some reason, my iTunes it not locating the event that I created with only those photos.
    Thank you for letting me know about my contacts! How do I know if I have the contacts app?
    Also, I had no clue that my iCloud could be backed up via cellular data! However, is this a new feature with the most updated iOS?? Unforutnatly I am like 2 iOS updates behind because I don't have enough storage on my phone. I still get the notification that my phone needs to be plugged in and connected to wifi in order to back up to the cloud :-(
    How can I sync using USB? Right now when i click on the info tab for my iPhone in my iTunes this is the answer that I get -- I am a little unclear as to what it means.
    Sync Contacts:
    Your contacts are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone
    Sync Calendars:
    Your calendars are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone

  • "Deadlock in safepoint code. Should have called back to the VM"

    We experience a VM crash in Safepoint.cpp with the following message:
    # An unexpected error has been detected by Java Runtime Environment:
    # Internal Error (safepoint.cpp:558), pid=5452, tid=1900
    # Error: Deadlock in safepoint code. Should have called back to the VM before blocking.
    # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode windows-x86)
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    This happens in JRE 1.6.0.11 + Microsoft VS2008 C++, on Windows Server 2003. Happens in a busy customer site once in every few days, cannot reporoduce in the lab.
    There are two relevant threads:
    * Thread A: Created in Java right after system start up. It makes some preparations and then calls C++ code via JNI. In the JNI, Java data types are converted to C++ data types by GetBooleanArrayElements() and GetStringUTFChars(). It remains in C++ forever (until shutdown) and calls back the Java code via JNI every few seconds (that is: the stack contains Java frames, then C++ frames, then from time to time more Java frames and even further C++ frames).
    * Thread B: Created upon need, invokes a C++ function via JNI, converts parameters by GetStringUTFChars() and at return by ReleaseStringUTFChars(). The function may take few milliseconds and up to few minutes to complete, eventually it returns to Java and the thread is deleted.
    At time of crash we see the following:
    * Most of the threads in the system are in state threadblocked - we guess that the VM blocked them for GC.
    * Thread A is the active one. As far as we can tell it is in Java (called back from C++), maybe trying to invoke a C++ function via JNI. It locked and released a mutex ("synchronized") just before the crash (we suspect that while performing this lock its thread's Safepoint state may have changed to callback). The thread state is threadin_native_trans.
    * Thread B is blocked in the JNI trying to return to Java, maybe while invoking ReleaseStringUTFChars(). It's state is threadblocked.
    Another important detail: the crash happens usually certain time (few seconds or even few minutes) after thread B is blocked, and always while thread A is in Java called back from C++. We guess that something caused the Safepoint locking to wait forever while thread B tried to returns to from C++ to Java, and that the activity of thread A make the Safepoint realize that there's a deadlock (so its activity it's not the root cause but a side-effect).
    We always see two mutex / monitors with name UNKNOWN at time of error, and 100% "eden" memory utilization.
    hotspot error dump fragment:
    --------------- T H R E A D ---------------
    Current thread (0x26d51400): JavaThread "DialogicBridge" [_thread_in_native_trans, id=1900, stack(0x28490000,0x284e0000)]
    Stack: [0x28490000,0x284e0000]
    [error occurred during error reporting (printing stack bounds), id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j telemessage.telephony.DialogicBridge.initializeDialogic(Ljava/lang/String;IIIIIIIIIIIILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;IZZ[Z)I+0
    j telemessage.telephony.DialogicBridge$1.run()V+293
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    0x2ed00400 JavaThread "<< Call#16207 >> " [_thread_blocked, id=8604, stack(0x2e5c0000,0x2e610000)] // this is thread B
    =>0x26d51400 JavaThread "DialogicBridge" [_thread_in_native_trans, id=1900, stack(0x28490000,0x284e0000)] // this is thread A
    Other Threads:
    0x269f7000 VMThread [stack: 0x26a80000,0x26ad0000] [id=2104]
    0x26a29000 WatcherThread [stack: 0x26cb0000,0x26d00000] [id=9300]
    VM state:synchronizing (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x002a8be0] UNKNOWN - owner thread: 0x269f7000
    [0x002a9040] UNKNOWN - owner thread: 0x2ed00400
    Heap
    def new generation total 2816K, used 2707K [0x02730000, 0x02a30000, 0x04e90000)
    eden space 2560K, 100% used [0x02730000, 0x029b0000, 0x029b0000)
    from space 256K, 57% used [0x029f0000, 0x02a14f50, 0x02a30000)
    to space 256K, 0% used [0x029b0000, 0x029b0000, 0x029f0000)
    tenured generation total 30272K, used 17667K [0x04e90000, 0x06c20000, 0x22730000)
    the space 30272K, 58% used [0x04e90000, 0x05fd0d88, 0x05fd0e00, 0x06c20000)
    compacting perm gen total 12288K, used 10995K [0x22730000, 0x23330000, 0x26730000)
    the space 12288K, 89% used [0x22730000, 0x231ecdf8, 0x231ece00, 0x23330000)
    No shared spaces configured.

    Thanks for the advice.
    Eventually (after few days of digging) we found that in certain case we're using the JNIEnv of one thread in the other thread. This leads to sporadic crashes. We managed to simulate the situation in the lab and ensure that fixing the JNIEnv mixture really makes the problem go away.

Maybe you are looking for