Issue with row selection in VO

I have the following piece of code in my method,
OAViewObjectImpl myVO = this.getMyVO();
Row myVOCurrentRow = myVO.getCurrentRow();
The corresponding VO is getting executed and I have the row in my database.
Now the issue is, sometimes myVO.getCurrentRow() returns me the correct row instance while sometimes it is returning me null.
when I do myVO.first() it always returns me the correct row but I am not supposed to change this piece of code.
WHat can be the issue?
Why the VO row pointer is behaving weirdly ?

Hi Timo,
Which jdev version? : 11.1.1.6.0
Where does your code reside? : Dint get it
Under which circumstances is the code called? : I am running LRGs to test this method. I am dumping the data into db. To get data in this VO, I am executing it's parent VO which should automatically run this child VO. The regular code is working from UI but while testing through LRGs, or say while calling this method from back-end, it is causing issue.
Which technologies do you use in general for the application? : ADF Framework.
From your statement I don't see a 'weirdly' behavior. A VO doesn't have a current row at all points of time. This depends on some facts like if the VO is used on a page and you are just rendering the page. In this case the framework sets the first row as current row. If the VO is not used in the page there is no current row when you execute the query. To set the current roe, you have to navigate the VO (e.g. call first() on it). -->
I think this is the issue, because I am running this application from back-end. What else can I do before callin gthis method to make sure that this does not happen. My LRG code doesnot allow me to initiate this VO separately. I can only call this method after.
Thanks,
Dish
Edited by: Dish on Mar 20, 2012 12:09 AM

Similar Messages

  • Issue with Exclude Selection in Bex

    Hi all,
       I have created a query to display the Top 10 Customers.
    Here I have excluded all the customers apart from the Top 10 since they differ
    based on different regions. There are 4 different regions and the customers differ
    for all of them. Here the issue being I dont get the exact percentage of Orders and
    Sales because of these excluded values. Here I cant use include selection since i
    need different top 10 customers for the 4 regions.
        How to compute percentage with Exclude Selection? Could anybody help?
    Points would be surely assigned.
    Regards,
    Sunitha.R

    Dear Anil,
         I have my Orders, Sales, percentage calculations in columns and the excluded
    Top 10 customers in rows. I get the individual percentage values for each customer.
      My scenario being :
      Orders 06  : Values computed with Calculate Result as Summation - Properties.
      Orders 07 : Values computed with Calculate Result as Summation - Properties.
      Orders % : Here I have given Calculated Result as Nothing - properties.
           I get the individual percentages say :
         <b>                  Orders 06              Orders 07        Percentage</b>
    <b>Customer 1 : </b>       12.1                       91.2                    75.5
    <b>Customer 2 :</b>          7.6                          7.9                   104.3
    <b>
    Overall Result:</b>         19.7                         99.1                 Wrong Value
        Considering the above example, total percantage is computed wrongly. The excluded value's total is not considered at all. Can you now give me your suggestion?
    Regards,
    Sunitha.R

  • Issue with Hierarchy selection in Filter area

    Hi experts,
    We have an issue with BEx query selection.
    Structure of Quey
    1. Filter Area
    => Characteristic Relations : Restriction condition with hierarchy
    2. Rows
    => Display characteristic with hierarchy active
    3.Columns
    => Formula with keyfigure using sign reverse of hierarchy (formula variance).
    <symptom >
    When I use context menu, "Keep filter value", with the displayed hierarchy node,
    and drilldown with other characteristics, the result became wrong. Filter value I kept became inactive.
    Workaround I found was like belows.
    1. Remove sign reverse calculation in Formula.
    2. Keep sign reverse calculation and move restriction condition with hierarchy in filter area TO default values.
    I wonder this symptom was right technically or bug ocurred after version upgrade or something.
    Thanks in advance.
    BEx BI Addon 7.X(based on 710)/SP11 Revision 634

    Hi
    This depends on the logical database that the report is based on. Secondly I have experienced that the report variant overwrites the date selections and therefore it looks like that the dates are not parsed (which I think is your problem).
    For e.g. logical PHP and PHPCE both the period and data dates are filled with the data selection from the portal. (check on the report attributes in SE38 which logical DB used) For e.g. PTRVP (travel) no date are passed at all in the call of the report!!
    To make sure that the report variant isnu2019t overwriting I normally set the variant for the report to u201CSave field without valuesu201D for the date selection periods and then it isnu2019t filled by the variant.
    Data selection period
    Data selection period: Start
    Data selection period: End
    Employee selection period
    Employee selection period: Start
    Employee selection period: End
    Regards,
    Lars

  • Strange issue on row selection in a wd_table

    Hi all gurus,
    I'm working on an SRM 7 system, specifically on the WD Component /SAPSRM/WDC_CTR_DOTC_IT, view V_CTR_DODC_ITEMS.
    In the view there's a table showing items of a contract; we created a custom button ("item deletion") which simply triggers a method that sets the field ZZ_DEL_IND value to 'X' for the selected line(s).
    Here's the method code:
    METHOD onactionzdelete .
      DATA lv_action              TYPE /sapsrm/pdo_action_type.
      DATA lo_transaction_context TYPE REF TO /sapsrm/cl_transaction_context.
    * Get instance of transaction object
      lo_transaction_context ?= /sapsrm/cl_transaction_context=>/sapsrm/if_transaction_context~get_instance( ).
    * Set action id
      lv_action = 'DELETE_ITEM'.
      lo_transaction_context->set_current_action( iv_current_action = lv_action ).
    * start ZZDEL_IND management
      DATA : lon_ctr_item     TYPE REF TO if_wd_context_node.
      DATA : lt_elem_set      TYPE wdr_context_element_set.
      DATA : ls_element       TYPE REF TO if_wd_context_element.
      DATA : deleted          TYPE abap_bool.
      CALL METHOD wd_context->get_child_node
        EXPORTING
          name       = 'CTR_ITEM'
        RECEIVING
          child_node = lon_ctr_item.
    * Get the selected elements of the item table
      lt_elem_set  = lon_ctr_item->get_selected_elements( abap_true ).
    * for each selected element, set ZZ_DEL_IND value
    * Get the static attributes of all SELECTED elements into an internal table
      LOOP AT lt_elem_set INTO ls_element.
        CALL METHOD ls_element->set_attribute
          EXPORTING
            value = abap_true
            name  = 'ZZ_DEL_IND'.
        CALL METHOD ls_element->set_changed_by_client
          EXPORTING
            flag = abap_true.
      ENDLOOP.
      CALL METHOD wd_comp_controller->mo_bom_ctr->/sapsrm/if_cll_bo_mapper~fire_event_refresh( ).
    ENDMETHOD.
    Now, the problem:
    - if I select a single row and press the button, ZZ_DEL_IND is set correctly for the selected row;
    - if I select all the positions using the standard button SELECT->SELECT ALL , ZZ_DEL_IND is set correctly for all the selected rows;
    BUT...
    - if I select more than a single position (holding CTRL key down), ZZ_DEL_IND is NOT set.
    In debug, I've seen that the problems are in the fire_event_refresh( ), which in case of single selection or all positions selected triggers correctly an update process, while in case of multiple selection "by hand" does not.
    In details: /sapsrm/if_cll_bo_mapper~fire_event_refresh triggers a method:
    me->/sapsrm/if_cll_xo_mapper~fire_event_update( )
    which itself launches the update process:
    me->fire_event_update( IMPORTING ev_update_performed = ev_update_performed )
    Here, the method extracts all the mappers for the WD and loops over them to check for something changed:
    LOOP AT lt_mapper ASSIGNING <ls_mapper>.
          CLEAR: lv_exception_occured, lv_update_performed.
          IF <ls_mapper>-mapper->is_ui_changed_by_client( ) EQ abap_true.
    And that's the problem; when processing the mapper -> (in debug), I can see that:
    - when a single row is selected, or all the rows are selected via "SELECT ALL" standard method, then the mapper results changed by client (the above condition is then satisfied)...
    - while in case of multiple selection , is_ui_changed_by_client( ) = abap_false.
    Has anyone suggestions on how to overcome this problem? I guess it deals with multiple selection process.
    Thanks in advance

    I found something that seems useful here:
    [http://help.sap.com/saphelp_nw70ehp2/helpdata/en/4b/5d0d7a7f142b5fe10000000a42189c/content.htm]
    in particular, differences between the onSelect and onLeadSelect actions.
    By default, the wd I'm working on has the following table events - action bindings::
    onLeadSelect -> row_select
    onSelect, as a consequence, empty.
    I tried the following modification (yes, I know, it's "technically" a standard modification, anyway I'm doing some attempts to make things work):
    onLeadSelect -> empty
    onSelect -> onSelect (that's a std action defined in the WD... perhaps SAP provided both ways to let the customer choose?)
    Anyway... Let's go for a good and a bad news:
    - the good one: onSelect is triggered anytime an item position is selected, and triggers an event, so... seems THE solution.
    - the bad one: it dumps :-D and here's the motive... this is the standard code of onSelect:
    METHOD onactionon_select .
    * Object reference
      DATA: loe_context_element   TYPE REF TO if_wd_context_element.
    * Constants
      DATA: lc_context_element  TYPE string VALUE 'CONTEXT_ELEMENT'.
    * Get context element
    ----> loe_context_element = wdevent->get_context_element( name = lc_context_element ). <-----
      loe_context_element->set_changed_by_client( ).
    * Call mapper class' hadle approve hier item mehtod
      wd_this->mo_dodm_ctr_items->/sapsrm/if_cll_do_tree_mapper~handle_approve_hier_item( io_wd_event = wdevent ).
    ENDMETHOD.
    The problem is in the marked line, as wdevent has the parameter with name CONTEXT_ELEMENT set to INITIAL.
    As a consequence, loe_context_element is initial and the set_changed_by_client() method dumps - OBJECTS_OBJREF_NOT_ASSIGNED_NO.
    What am I doing wrong? I simply swapped from onLeadSelect use to onSelect one, using methods provided by the standard. Can anyone help on this point? Seems quite an interesting task
    Edited by: Matteo Montalto on Feb 22, 2011 10:39 PM

  • Performance issue with view selection after migration from oracle to MaxDb

    Hello,
    After the migration from oracle to MaxDb we have serious performance issues with a lot of our tableview selections.
    Does anybody know about this problem and how to solve it ??
    Best regards !!!
    Gert-Jan

    Hello Gert-Jan,
    most probably you need additional indexes to get better performance.
    Using the command monitor you can identify the long running SQL statements and check the optimizer access strategy. Then you can decide which indexes might help.
    If this is about an SAP system, you can find additional information about performance analysis in SAP notes 725489 and 819641.
    SAP Hosting provides the so-called service 'MaxDB Migration Support' to help you in such cases. The service description can be found here:
    http://www.saphosting.de/mediacenter/pdfs/solutionbriefs/MaxDB_de.pdf
    http://www.saphosting.com/mediacenter/pdfs/solutionbriefs/maxDB-migration-support_en.pdf.
    Best regards,
    Melanie Handreck

  • RSA1 Document - Issue with "multiple selection" Characteristic

    Hi,
    I have the following issue with a web template showing monthly reporting results (act/plan/var) for a specific cost center broken down following a cost element hierarchy.
    My purpose is to attach each month some comments and these comments are made at the query level, not for each individual cost element.
    However, as explained in note 501593, when creating my document, I have to restrict my cost elements since they are regarded as "multiple selections".
    I could go and limit from 6 to one single value through table RSODADMIN but I never know for sure that this single cost element would always show up in my query.
    In RSA1 > document > properties of the comment, is there any way for me to go and input a range for my cost elements, instead of having to enter cost element by cost element ?
    Thx
    Stéphane

    Hi,
    I have the following issue with a web template showing monthly reporting results (act/plan/var) for a specific cost center broken down following a cost element hierarchy.
    My purpose is to attach each month some comments and these comments are made at the query level, not for each individual cost element.
    However, as explained in note 501593, when creating my document, I have to restrict my cost elements since they are regarded as "multiple selections".
    I could go and limit from 6 to one single value through table RSODADMIN but I never know for sure that this single cost element would always show up in my query.
    In RSA1 > document > properties of the comment, is there any way for me to go and input a range for my cost elements, instead of having to enter cost element by cost element ?
    Thx
    Stéphane

  • Performance issue with the Select query

    Hi,
    I have an issue with the performance with a seclet query.
    In table AFRU - AUFNR is not a key field.
    So i had selected the low and high values into s_reuck and used it in Where condition.
    Still i have an issue with the Performance.
    SELECT SINGLE RUECK
    RMZHL
    IEDD
    AUFNR
    STOKZ
    STZHL
    FROM AFRU INTO table t_AFRU
    FOR ALL ENTRIES IN T_ZSCPRT100
    WHERE RUECK IN S_RUECK AND
    AUFNR = T_ZSCPRT100-AUFNR AND
    STOKZ = SPACE AND
    STZHL = 0.
    I had also cheked by createing an index for AUFNR in the table AFRU...it does not help.
    Is there anyway that we can declare Key field while declaring the Internal table....?
    ANy suggestions to fix the performance issue is apprecaited!
    Regards,
    Kittu

    Hi,
    Thank you for your quick response!
    Rui dantas, i have lill confusion...this is my code below :
    data : t_zscprt type standard table of ty_zscprt,
           wa_zscprt type ty_zscprt.
    types : BEGIN OF ty_zscprt100,
            aufnr type zscprt100-aufnr,
            posnr  type zscprt100-posnr,
            ezclose type zscprt100-ezclose,
            serialnr type zscprt100-serialnr,
            lgort type zscprt100-lgort,
          END OF ty_zscprt100.
    data : t_zscprt100 type standard table of ty_zscprt100,
           wa_zscprt100 type ty_zscprt100.
    Types: begin of ty_afru,
                rueck type CO_RUECK,
                rmzhl type CO_RMZHL,
                iedd  type RU_IEDD,
                aufnr type AUFNR,
                stokz type CO_STOKZ,
                stzhl type CO_STZHL,
             end of ty_afru.
    data : t_afru type STANDARD TABLE OF ty_afru,
            WA_AFRU TYPE TY_AFRU.
    SELECT AUFNR
            POSNR
            EZCLOSE
            SERIALNR
            LGORT
            FROM ZSCPRT100 INTO TABLE T_ZSCPRT100
            FOR ALL ENTRIES IN T_ZSCPRT
            WHERE   AUFNR = T_ZSCPRT-PRTNUM
            AND   SERIALNR IN S_SERIAL
            AND    LGORT   IN S_LGORT.
        IF sy-subrc <> 0.
           MESSAGE ID 'Z2' TYPE 'I' NUMBER '41'. "BDCG87
           stop."BDCG87
        ENDIF.
      ENDIF.
    SELECT    RUECK
                  RMZHL
                  IEDD
                  AUFNR
                  STOKZ
                  STZHL
                  FROM AFRU INTO TABLE T_AFRU
                  FOR ALL ENTRIES IN T_ZSCPRT100
                  WHERE RUECK IN S_RUECK     AND
                        AUFNR = T_ZSCPRT100-AUFNR AND
                        STOKZ = SPACE AND
                        STZHL = 0.
    Using AUFNR, get AUFPL from AFKO
    Using AUFPL, get RUECK from AFVC
    Using RUEKC, read AFRU
    In other words, one select joining AFKO <-> AFVC <-> AFRU should get what you want.
    This is my select query, would you want me to write another select query to meet this criteria..
    From AUFNR> I will get AUFPL from AFKO> BAsed on AUFPL I will get RUECK, based on RUEKC i need to read AFRU..but i need to select few field from AFRu based on AUFNR....
    ANy suggestions wil be appreciated!
    Regards
    Kittu

  • Issue with table selection and display the seleted rows in another page as a table data

    Dear ALL,
    I have a  requirement as below:
    I have a custom OAF  page having one button, on pressing the button it will open a popup window, in that i am doing search operation and data would populate in table region below.
    Then from the table i am doing multiple selection of rows and i have a button, on pressing the button the seleted rows should display in the base page where i called this popup window and popup window should close.
    so i am able to perform multiple selection of row  from the table but how i can display the seleted rows in my base page  and how i can close the poup window after the seleted rows displayed in the base page, please help me on this.
    Thanks
    Deb

    Hi,
    For navigation data from one page to another  you can use  a hashmap that contains the parameters.
    // processFormRequest()
    HashMap hsp = new HashMap(1);
    hsp.put("myParam", "myParamVal");
    pagecontext.setForwardURL("MY_FUNCTION", (byte)0, null, hsp,true, "N", (byte)0);
    You can then retrieve this parameter in processRequest() via:
    pagecontext.getParameter("myParam")
    //Code for redirect to base page with commit
    Refer to the setPostToCallingPage method, from OADialogPage Class how to make the dialog page action buttons submit back to the calling page. In the example, the OK button commits the changes on the dialog page and the NO button rolls back the changes.
    OADialogPage dialogPage = new OADialogPage(OAException.*, mainMessage, null, "", "");
    dialogPage.setOkButtonItemName("okButton");
               dialogPage.setOkButtonToPost(true);
               dialogPage.setNoButtonToPost(true);
               dialogPage.setPostToCallingPage(true);
               dialogPage.setOkButtonLabel(yes);
               dialogPage.setNoButtonLabel(no);
    Thanks,
    Dilip

  • Issue with row id range position in jHeadstart.

    Hi,
    I have a range issue in jdev 10.1.3.1 version. The scenario is like i have an application where i have the records list in a table. Here we have an rangesize as "20" that has been configured in the pageDef file.
    Then when we select an "ShowAll" option from the dropdown list and select an record say "75" and click on the detail button if goes to the detail page for that record. In the detail page i have an command link that takes me back to the original page.
    After comes back to the original page,it is displaying the list of "20" records starting from the "75" to "95". Here i required to show the range of records "60-80"
    with the "75" record selected in the select row radio button.
    Any one please advise how to resolve?
    My command link code in the detail page is below..
    <af:commandLink action="#{bc.goToDestination}"
    text="#{bc.label}" immediate="true"
    onclick="return alertForChanges();">
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.DoRollbackActionListener"/>
    <af:resetActionListener/>
    </af:commandLink>
    Regards
    Raj.

    Hi Chitra,
    Can you specify some links to implement RangePaging.....We need to implement pagination.If possible can you share the code or specify the steps how you achieved it.
    Thanks

  • Issue with treetable selection listner in ADF

    Hi Experts,
    we are working on JDEV 11.1.1.2.
    here we have a tree table.
    Inorder to get the selected row data in a tree table we are using following code in backing bean.
    public void qaTableSelectList(SelectionEvent selectionEvent) {
    String selectedQaCode ="";
    RichTreeTable treeTable = (RichTreeTable)getQaReasontreeTable();
    RowKeySet _selectedRowData = treeTable.getSelectedRowKeys();
    Iterator rksIterator = _selectedRowData.iterator();
    while (rksIterator.hasNext()) {
    List key = (List)rksIterator.next();
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    JUCtrlHierNodeBinding nodeBinding =
    treeTableBinding.findNodeByKeyPath(key);
    selectedQaCode = nodeBinding.getAttribute(0);
    //use this var "selectedQaCode".
    Initailly this code are working fine for a long time
    Now suddenly its stopped working.
    some time its returning the selected value some times not.
    What will be the issue can any one suggest alternate solution.
    regards
    Gayaz

    It changed about 2-3 weeks ago.
    I haven't done anything to it at all. I just drag an mp3/wav, chop it, save it and I'm done, so I'm not sure why it would all of the sudden change
    It's also noteworth that I reinstalled it several times and it hasn't fixed it. Could it be left-over files from the initial install that weren't unistalled and remained, which affected the reinstall? If so, where would I find them?

  • Issue with table selection in popup window in oaf

    Hi ALL,
    I have a popup seach window in that i am displaying search data in table region below, from that i need to select the number of rows and clicking on a button the same selected rows should display in another page.
    i tried with using RowSetIterator but not able to achive this , please help me out on this.
    Thnaks

    Can anyone please help me on this
    Thnaks

  • Issue with BEx selection screen

    Hi Gurus,
    We recently upgraded from BW 3.5 to 7.0. After the upgrade, while running the BEx queries the selection screen is not popping up and the query runs without the selections in it. Then the report errors out.... " Error Specify a value for variable XXXX".
    Apparently, the query runs fine with selection when executed on WEB.
    Did anyone of you come across with this issue..
    Thanks
    James.

    Hi Guys
    Run your query without the variable ,Try by removing the restrcition , if it is working fine without the variable then
    I would suggest to check your  variable once again like
          Check if 'Ready for input' check is checked for the respective variable,
           Remove the restriction ( drag out the variable )
          check your variable once again with all the setting and variable type
    OR create a new varilable, if it is a customer exit type then check ABAP code written for populating values.
    let me know if this helps,
    cheers
    sukhi

  • Issue with worksheet.Select(true) after hosting Excel window in WPF application

    The issue is with Office 2013.
    We are hosting excel workbook window in WPF application using HwndHost class. In overridden BuildWindowCore method of HwndHost class, we are creating a MDICLIENT Window and setting this MDICLIENT window handle as parent for Excel
    main window handle and returning HandleRef object of MDICLIENT window handle from BuildWindowCore method.
    Once HwndHost control is loaded, we are selecting sheet of excel in the loaded event of HwndHost control. The code for selection of sheet is given below.
    dynamic workSheet =
    this.excelApplication.Workbooks[1].Worksheets[sheetName];
    this.excelApplication.Workbooks[1].Activate()
    workSheet.Activate();
    workSheet.Select(true);
    The first time execution of
    workSheet.Select(true)
    halt for few seconds and then it throws exception “System.Runtime.InteropServices.ComException”
    with message “The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))”.
    But it executes successfully without delay on subsequent calls. Sometimes the execution halt for minutes on different Systems.
    This absurd behaviour is seen only once in application instance life time and that too after excel window gets loaded in WPF application. If we execute
    workSheet.Select(true)
    before loading of window then it executes properly. Once
    workSheet.Select(true)
    executed for first time with exception, it executes successfully without delay on subsequent calls.

    No, I dont have any macro in the sheet and it is happpening with all workbooks. The problem is consistent with all workbooks and also it throws exception only for first time in the application. If I execute it again in same application instance, it works
    properly.

  • Help with Row Selection

    Hi all,
    this is my first post here, I hope you guys can help me out.
    I'm creating a inbox where users will be able to receive messages. I need to set it so that when they click on one of the messages in the inbox, the body of the message gets displayed below the inbox.
    I'm having two problems currently, the first one is that I don't know how to make the text area display the body of the message when the row is clicked (right now i have it showing a random string of letters, I'm fairly new to the programming world). The second thing is, even that random string of letters isnt displayed immediately, i have to click on one of the buttons (currently they dont do anything) for the page to refresh and display the message.
    Can you guys help me out? Here is my code. Im using jDev11.1.1.5 R1.
    Table Code:
    <af:table value="#{TableBean.messageAll}" var="message"
    inlineStyle="color:Navy; border-style:outset; border-color:Background; border-width:thick; font-size:small; text-align:center; vertical-align:middle; height:135.0px;"
    width="610" rows="5" rowBandingInterval="0"
    id="t1" rowSelection="single"
    selectionListener="#{TableBean.messageSelected}"
    immediate="true" summary="Message Inbox"
    disableColumnReordering="true"
    columnSelection="none"
    columnResizing="disabled">
    <af:column sortable="false" align="center"
    id="chechboxCol" width="25"
    minimumWidth="25">
    <f:facet name="header">
    <h:selectBooleanCheckbox id="selectAll"
    onclick="selectAll();"></h:selectBooleanCheckbox>
    </f:facet>
    <h:selectBooleanCheckbox id="selectMessage"
    immediate="true"></h:selectBooleanCheckbox>
    </af:column>
    <af:column id="urgentCol" width="25" align="center"
    minimumWidth="25">
    <f:facet name="header">
    <h:outputText id="urgentHeader">
    <img src="urgent.gif" height="14"
    width="14" alt="Urgent Icon"/>
    </h:outputText>
    </f:facet>
    </af:column>
    <af:column sortable="true" headerText="From"
    align="start" id="fromCol" width="175"
    minimumWidth="175">
    <af:outputText value="#{message.from}"
    id="ot1"/>
    </af:column>
    <af:column sortable="true" headerText="Subject"
    align="start" id="subjectCol" width="175"
    minimumWidth="175">
    <af:outputText value="#{message.subject}"
    id="ot2"/>
    </af:column>
    <af:column sortable="true" headerText="Type"
    align="start" id="c5" width="100"
    minimumWidth="100">
    <af:outputText value="#{message.type}"
    id="ot3"/>
    </af:column>
    <af:column sortable="true"
    headerText="Date Received" align="start"
    id="c6" width="80" minimumWidth="80">
    <af:outputText value="#{message.date}"
    id="ot4"/>
    </af:column>
    <af:column sortable="true" headerText="Body"
    rendered="false" align="start" id="c7"
    width="100" minimumWidth="100">
    <af:outputText value="#{message.body}"
    id="ot5"/>
    </af:column>
    </af:table>
    </td>
    </tr>
    <tr>
    <td style="background-color:White;" width="600">
    <p>
    <af:commandButton text="Print" id="printButton"
    inlineStyle="font-size:x-small;"/>
    </p>
    <af:inputText binding="#{TableBean.textArea}" rows="10"
    readOnly="true"
    contentStyle="width:620px;"
    inlineStyle="color:Black; outline-color:Background; outline-style:outset;"
    id="it1"></af:inputText>
    Backing Bean Code:
    package Backing;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import org.apache.myfaces.trinidad.event.SelectionEvent;
    public class TableBean {
    private RichInputText textArea;
    private message[] messageAll =
    new message[] { new message("Sender 1", "Author 1", "Message 1",
    "Alert", "6/21/2011",
    "This is the body 1."),
    new message("Sender 2", "Author 2", "Message 2",
    "Notification", "6/22/2011",
    "This is the body 2."),
    new message("Sender 3", "Author 3",
    "Message 3", "Broadcast", "6/23/2011",
    "This is the body 3."),
    new message("Sender 4", "Author 4",
    "Message 4", "Alert", "6/24/2011",
    "This is the body 4."),
    new message("Sender 5", "Author 5", "Message 5",
    "Notification", "6/25/2011",
    "This is the body 5."), };
    public message[] getmessageAll() {
    return messageAll;
    public void messageSelected(SelectionEvent selectionEvent) {
    textArea.setValue("gnejhkafnawjkfa");
    public void setTextArea(RichInputText textArea) {
    this.textArea = textArea;
    public RichInputText getTextArea() {
    return textArea;
    public class message {
    boolean selected;
    String from;
    String to;
    String subject;
    String type;
    String date;
    String body;
    public message(String from, String to, String subject, String type,
    String date, String body) {
    this.from = from;
    this.to = to;
    this.subject = subject;
    this.type = type;
    this.date = date;
    this.body = body;
    public String getFrom() {
    return from;
    public String getTo() {
    return to;
    public String getSubject() {
    return subject;
    public String getType() {
    return type;
    public String getDate() {
    return date;
    public String getBody() {
    return body;
    Edited by: xeneize368 on Jul 12, 2011 8:26 AM
    Edited by: xeneize368 on Jul 12, 2011 11:46 AM

    I'm not quite sure what you mean. As I said, I'm a beginner, could you please be clearer? maybe show me how to do it?
    I figured out the auto refresh using the partialTriggers but I still dont know how to get it to populate with the message body instead.
    Edited by: xeneize368 on Jul 12, 2011 10:31 AM

  • Animated GIF files, anyone had issues with the selected animation delay not saving as specified?

    I am working on PSE 9 for Mac and have created my psd file with the layers.
    Selected 'Save for Web' and chose GIF as the file format.
    Ticked 'Animation', then from the bottom right hand corner under 'Animation' I have ticked 'loop' and in the 'delay' drop down selected 2.0 (so 2 seconds).
    When I check the file in 'preview in' web it shows the file flashing faster than 2 seconds a frame. I also checked it by uploading it onto my website and it is flashing faster than 2 seconds.
    I have saved the file several times to check. It appears that even though you are given a choice that is automatically saves the delay at the auto-populated delay speed of 0.2 seconds.
    Thoughts anyone?

    As far as i know, the frame delay has been broken
    for several versions on the mac pse.
    Since version 4 maybe?
    You can comment on this post and hopefully adobe will fix it in pse 10.
    http://feedback.photoshop.com/photoshop_family/topics/photoshop_elements_9_mac_frame_delay _in_save_for_web
    MTSTUNER

Maybe you are looking for