Get default row fillColor value

Hello,
Sorry for my english it's not my native language.
The problem i have is that i am using a table that grow each time a row is filled in.
When some value's are chosen in a dropdownlist the backgroundcolor has to change in red.
This part is working good already.
The problem is that the table has alternating row shading.
So when the specified values are chosen the color changes to red.
But when the form filler chose another value the color stays red.
Now i want to get the default fillColor value as a variable and use it for the else color.
So the variable = the default background color of the alternathing row.
This i the code i got already:
form1.InventarisKoelinstallaties.Subform4.Table1.Row1.Cell8::change - (JavaScript, client)
var RowDefaultColor = Row1.fillColor();
if (xfa.event.newText == "R22"){
Row1.fillColor = "255,0,0";
else if (xfa.event.newText == "R12"){
Row1.fillColor = "255,0,0";
else if (xfa.event.newText == "R409a"){
Row1.fillColor = "255,0,0";
else if (xfa.event.newText == "R408a"){
Row1.fillColor = "255,0,0";
else{
Row1.fillColor = "RowDefaultColor";
I hope someone can help me.

What you want to do is access the template object (as it exists in Designer) of your subform. Here's a function I found awhile back that John Brinkman wrote:
function findTemplateField(vField)
var vSOM = vField.somExpression.replace(/\[[0-9]*\]\./g, ".");
vSOM = vSOM.replace(/xfa\.form/, "$template");
return xfa.resolveNode(vSOM);
Put that any where in your change event or even reference it through a script object, your choice.
Edit the final else line in your code to:
Row1.fillColor=findTemplateField(Row1).fillColor;
Kyle

Similar Messages

  • How to get selected Row/Cell value in i5Grid

    Hi Friends,
    Can anyone help to how to find the selected Row/Cell value of a i5Grid object. I am able to register the event handlers which are getting invoked on row/cell selection. But I want to know how can I get the value of selected Cell/Row. I would like to add selected Items from one i5Grid to another one.
    So want to know how can I get and set the value of i5Grid object.
    MII version 14.0 SP4 Patch
    Thank in advance
    Shaji Chandran

    Hi Shaji,
    Here is my code.
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
        <TITLE>Your Title Here</TITLE>
        <META http-equiv="X-UA-Compatible" content="IE=edge">
        <META http-equiv='cache-control' content='no-cache'>
        <META http-equiv='expires' content='0'>
        <META http-equiv='pragma' content='no-cache'>
        <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
        <SCRIPT>
            var Grid = new com.sap.xmii.grid.init.i5Grid("STC/C5167365/i5Grid_TagQuery", "STC/C5167365/TagQuery");
            Grid.setGridWidth("640px");
            Grid.setGridHeight("400px");
            Grid.draw("div1");
        function setCellValue()
        Grid.getGridObject().setCellValue(1,1,"Set");
        function setCellValueAgain()
        Grid.getGridObject().setCellValue(1,1,"Changed Again");
        </SCRIPT>
    </HEAD>
    <BODY>
        <DIV id="div1"></DIV>
        <INPUT type="Button" value="setCellValue" onClick="setCellValue()"/>
        <INPUT type="Button" value="setCellValueAgain" onClick="setCellValueAgain()"/>
    </BODY>
    </HTML>
    Regards,
    Sriram

  • To get a row of value by taking table name and primary key value

    i can't find out what's wrong.. pliz help.. m a fresher in SAP.
    code is here
    PARAMETER tname(10) TYPE c.
    PARAMETER pkv(10) TYPE c.
    DATA:
    lt_dd03l TYPE STANDARD TABLE OF dd03l,
    ls_dd03l TYPE dd03l.
    DATA: my_table TYPE REF TO data,
    wa_ref TYPE REF TO data.
    FIELD-SYMBOLS: <it_tname> TYPE STANDARD TABLE,
      <tname_wa> TYPE ANY,
       <primary_key> TYPE ANY,
      <is_tname>.
    SELECT * FROM dd03l INTO TABLE lt_dd03l
                 WHERE tabname EQ tname.
    LOOP AT lt_dd03l INTO ls_dd03l.
      IF ls_dd03l-fieldname NE 'MANDT' AND ls_dd03l-keyflag = 'X'.
    WRITE:/ ls_dd03l-fieldname.
       primary_key = ls_dd03l-fieldname.
        EXIT.
      ENDIF.
    ENDLOOP.
    CREATE DATA my_table TYPE STANDARD TABLE OF (tname).
    ASSIGN my_table->* TO <it_tname>.
    CREATE DATA wa_ref LIKE LINE OF <it_tname>.
    ASSIGN wa_ref->* TO <tname_wa>.
    WRITE: / ls_dd03l-fieldname.
    ASSIGN ls_dd03l-fieldname TO <primary_key>.
    SELECT * INTO TABLE <it_tname>  FROM (tname)
    WHERE <primary_key> =  pkv.
    WRITE sy-subrc.
    *WRITE : /   primary_key,
    kv .
    LOOP AT <it_tname> INTO <tname_wa> .
      DO.
        ASSIGN COMPONENT  sy-index
                 OF STRUCTURE <tname_wa> TO <is_tname>.
       WRITE:/ <is_tname>-(primary_key).
        IF sy-subrc <> 0.
          WRITE :/ 'sy-subrc is not zero'.
          EXIT.
        ENDIF.
    IF ls_dd03l-fieldname = pkv.
        WRITE: <is_tname>.
    ENDIF.
      ENDDO.
    ENDLOOP.
    *ASSIGN <t_itab> TO <t_isturct>.
    *SELECT * FROM (tname) INTO TABLE <t_itab>.
    *LOOP AT <t_itab> INTO <t_isturct>.
    WRITE :/
      <t_isturct>.
    *ENDLOOP.

    Please check whether bname has any conversion exits.
    try hardcoding the value like '0000105397' and passing into the query.
    SELECT * FROM (tname) INTO table <it_tname>
    where <primary_key> = '0000105397'.  "If it works then use conversion exit.
    or try like this
    types : begin of ty_where,
            line type char100,
            end of ty_where.
    data:it_where type table of ty_where.
    data:wa_where type ty_where.
    data:val type char100.
    concatenate <primary_key> 'EQ' into wa_where-line seperated by space.
    concatenate `'` pkv `'` into val. condense val no-gaps.
    concatenate wa_where-line val into wa_where-line seperated by space.
    append wa_where to it_where.
    SELECT * FROM (tname) INTO table <it_tname>
    where ( it_where ).

  • How to get the Row and Column values in ALV (without using Objects)

    Hi All,
    I need to get the Row / Column when double click is used in ALV, I can use the double click event for this. However, I do not want to use the Object Oriented ALV. I want to implement the same functionality using general (using functions) ALV.
    Is there any way to get the row / column values for a Generia (non-OOPs) ALV report.
    Please help.
    Thanks,
    Vishal.

    Hello,
    The only think you have to do is to get the index where the user clicked, and then read the internal table you sent to the alv
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = 'prg_name'
          i_callback_pf_status_set = 'SET_PF_STATUS'
          i_callback_user_command  = 'USER_COMMAND' " this is to the click event!!
          i_callback_top_of_page   = 'TOP_OF_PAGE'
          is_layout                = alv_layout
          it_fieldcat              = alv_fieldcat
          i_save                   = 'A'
          it_events                = alv_events[]
        TABLES
          t_outtab                 = i_totmez.  ---> TOUR IT.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    " then....
    FORM user_commandUSING r_ucomm     TYPE sy-ucomm
                                    ls_selfield TYPE slis_selfield.
    " r_ucomm -> HAS THE STATUS
    " ls_selfield-tabindex  -> HAS THE SELECTED INDEX
    " THEN READ THE INTERNAL TABLE
    " HERE YOU WILL HAVE THE SELECTED ROW
    READ TABLE i_totmez INDEX ls_selfield-tabindex.
    ENDFORM.
    cheers,
    Gabriel P.

  • Issue in getting current row value using getCurrent Value

    Issue:When I call ththe method executeSearchVO from controller class
    with Row row = personalActionSearchVO.first();
    I am getting the corresponding value.
    but my requirement is I have multiple record , If i press action on any of the record, I need to read SITName value for the particular record and need to pass it as parameter to other pager(i mean If i select any record, I need to get corresponding value in the attribute for the record.)
    if i comment personalActionSearchVO.first(); i am getting null pointer exception.
    Pl. helpme how to get current row instead of first row always.
    AMIMPL Clause
    public void executeSearchVO(String loginPersonId)
    XXHRPersonalActionSearchVOImpl personalActionSearchVO =getXXHRPersonalActionSearchVO1();
    personalActionSearchVO.initQuery(loginPersonId);
    // Row row = personalActionSearchVO.first();
    row = personalActionSearchVO.getFirstFilteredRow("action","1");
    Row masterRow = row;
    personalActionSearchVO.setCurrentRow(masterRow);
    OARow Row1 = (OARow)personalActionSearchVO.getCurrentRow();
    System.out.println("Org "+Row1.getAttribute("Organization"));
    calling this method from controller clause
    if("action".equals(pageContext.getParameter(EVENT_PARAM)) )
    System.out.println("Person Id "+ pageContext.getParameter("XXHRPersonId"));
    Serializable methodParams[] = {pageContext.getEmployeeId()+""};
    applicationModule.invokeMethod("executeSearchVO",methodParams);
    need it urgently. pl. help
    thanks
    siva

    Timo,
    I am new to Jdevloper. I will explain the issue in detail.
    Version: Oracle 9i Jdeveloper
    I have a query page with multiple records. when I perform action , I need to pass 2 parameters from query screen to my actual page.
    1 parameter is Login person Id,. Now the issue is with getting current value for 2nd paramenter. 2nd Parameter will be changed depends upon record i am choosing in my query page: column is : Information Name.
    when I use getcurrentrow , I am getting null pointer exception.
    My controller class when I click action button :
    if("action".equals(pageContext.getParameter(EVENT_PARAM)) )
    Serializable methodParams[] = {pageContext.getEmployeeId()+""};
    applicationModule.invokeMethod("executeSearchVO1",methodParams);
    {color:#993300}
    // Here I need to get InformationName value based on the record I am choosing{color}
    HashMap hashMap = new HashMap(2);
    hashMap.put("XXHRPersonId", pageContext.getParameter("XXHRPersonId"));
    // hashMap.put("InformationName", methodParams);
    pageContext.forwardImmediately(
    "OA.jsp?page=/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui/XXHRPersonalActionPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hashMap,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    my AMIMPL Clause :
    I am just pasting whatever I have tried. Pl. suggest me If my code is wrong.
    *{color:#993300}I need to get current row information value from the below method*
    *{color}*
    public void executeSearchVO1(String loginPersonId)
    XXHRPersonalActionSearchVOImpl personalActionSearchVO =getXXHRPersonalActionSearchVO1();
    personalActionSearchVO.initQuery(loginPersonId);
    System.out.println("Row count "+personalActionSearchVO.getRowCount());
    // Row row = personalActionSearchVO.first();
    Row row = personalActionSearchVO.getCurrentRow();
    System.out.println("Informaton Name "+row.getAttribute("InformationName");
    In this , If i initialzie with Row row = personalActionSearchVO.first();I am able to get value for my column Information Name.
    whereas, if I use directly Row row = personalActionSearchVO.getCurrentRow();, i am getting null pointer exception.
    Pl. let me know how to get current row value for Information Name.
    Looking for the reply at the earliest.
    Thanks
    siva

  • How to get view attribute old value

    Hello,
    I have an update page which has a view object associate with, I first execute query to display view attribute value on the page, then I edit the page, and before saving to database, I want to compare row attribute value before editting and the one after editting. row.getAttributeName("attributeName") always returns whatever value currently on the screen.
    Is there any method that allows me to get old row attribute value, the value comes from database?
    thanks
    Lei

    Lei,
    If you are concerned only about a couple of attributes, then you can manage with a separate copy of the data. But if the data is in bulk, better leave it to pl/sql side of validation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Default firewall configuration values

    Hi,
    I've trying to modify my ipfw rules and i got the idea of use a script. After use it i cannot conect to internet and i reverted those new rules but there is one rule that start with my mac and i need to " sufo ipfw flush" to flush it and connect again
    it is "add 65534 deny log logamount 1000 ip from any to any in"
    I searched the firewall.conf file  on /etc/ folder and re-write
    "65535 0 0 allow ip from any to any" instead the other one
    The problem is that im not sure is this is the preconfigured value, if anyone know what are those values and can write here I'll be grateful with you (:

    I agree that getting default method parameter values implemented will be a good thing.
    If you really have a large number of methods (>5) that usally just add a parameter with a default value, you could introduce a "Parameter Object" that contains the defaults for the parameters. The drawback is of course an extra indirection to get to the parameter.
    class MyParameterClass() {
      String name = "";
      boolean sort = false;
      List values = Collections.EMPTY_LIST;
      Date date = new Date();
    myMethod(String arga, String argb) {
       return myMethod(arga, argb, new MyParameterClass());
    myMethod(String arga, String argb, MyParameterClass params) {
    }arga and argb are there to illustrate you might have parameters you don't have defaults for. (Yes, you could include them in the constructor of MyParameterClass instead.)

  • How to get  current row(Based on Radio button check)  submit button Click

    Hi i hava Query Region Search(Based On Auto Customization Criteria).
    For Showing Results iam Using Table Region.
    Using Radio button How we get the row reference value using Submit button Click.
    Please Help on this .
    Thanks & Regards
    San

    Hi san ,
    Try this
    if ("EventID".equals(pageContext.getParameter(EVENT_PARAM)))
    String rowRef = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow)am.findRowByRef(rowRef);
    VORowImpl lineRow = (YourVORowImpl)findRowByRef(rowRef); // Replace your vo name .
    Please refer this link , Let me know if its not clear .
    Single Selection in table Region in OAF .
    Keerthi

  • Default method parameter values

    I really, really think that they should incorporate default method parameter values in the next major release.
    It is time-consuming, obstructing and confusing to have methods with 1...n parameters.
    I.e.
    public void doStuff(int id)
        doStuff(id,"",false,Collections.EMPTY_LIST, new Date());
    public void doStuff(int id, String name)
    doStuff(id,name,false,Collections.EMPTY_LIST, new Date());
    public void doStuff(int id, String name, boolean sort)
    doStuff(id,name,sort,Collections.EMPTY_LIST, new Date());
    public void doStuff(int id, String name, boolean sort, List values)
    doStuff(id,name,sort,values, new Date());
    public void doStuff(int id, String name, boolean sort, List values, Date date)
    doStuff(id,name,sort,values, date);
    }Not to mention the amount of JavaDoc-tags it requires.
    Wouldn't it just be simpler, more understandable and easier to have it as:
    public void doStuff(int id, String name : "", boolean sort : false, List values : Collections.EMPTY_LIST, Date date : new Date())
        //Do the stuff here
    }Suggestions?

    I agree that getting default method parameter values implemented will be a good thing.
    If you really have a large number of methods (>5) that usally just add a parameter with a default value, you could introduce a "Parameter Object" that contains the defaults for the parameters. The drawback is of course an extra indirection to get to the parameter.
    class MyParameterClass() {
      String name = "";
      boolean sort = false;
      List values = Collections.EMPTY_LIST;
      Date date = new Date();
    myMethod(String arga, String argb) {
       return myMethod(arga, argb, new MyParameterClass());
    myMethod(String arga, String argb, MyParameterClass params) {
    }arga and argb are there to illustrate you might have parameters you don't have defaults for. (Yes, you could include them in the constructor of MyParameterClass instead.)

  • Getting selected row values of a classic report

    Hi Guys,
    i'm using Apex 4.1,
    I have a classic report on my apex page. First column of this report is check box for row selection. and its binded to primary key of a table. i know that i can get the selected row's primary key (Check box value) using APPLICATION_ITEM.G_FO1() function. What i need is how can i get the other cell values of the selected row ?
    Appreciate if someone can help on this,
    Thanks.

    Apex-Ape wrote:
    i'm using Apex 4.1,
    I have a classic report on my apex page. First column of this report is check box for row selection. and its binded to primary key of a table. i know that i can get the selected row's primary key (Check box value) using APPLICATION_ITEM.G_FO1() function. What i need is how can i get the other cell values of the selected row ?If you really have a report with just one checkbox column and the rest of the data standard read-only report columns then it's not clear exactly what the requirement is. What do you want to do with them when you get them?
    I can think of 2 possible approaches:
    <li>Stick with the current report. On page submit you get an array of zero or more PKs. Create a collection with a row containing each PK. Whatever it is that you want to do next can then use a query that is a clone of the original report query plus a join to the PK values in the collection.
    <li>Recreate the report with shadow <tt>apex_item.hidden</tt> columns in the query for each value. In the report column attributes, do not display the <tt>apex_item.hidden</tt> columns, but include them with each displayed column (or stuff them all into one column for convenience) using HTML Expressions. The values will then be available in <tt>apex_application.g_fxx</tt> arrays like the row selector checkbox.
    I prefer the first one, but really it depends on what the next step is...
    (If it's actually a tabular form then the values will be in other <tt>apex_application.g_fxx</tt> arrays.)

  • Excise rate and value is not getting defaulted from the purchase order

    Hi all,
    While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
    Regards
    Vishal

    Hi,
    Follow STO Process for this;
    1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
    11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
    10. Create Delivery: VL10G
    12. Picking, PGI: VL02N
    13. Billing: VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Rgs

  • In badi ME_PROCESS_PO_CUST how to get preivious row value from table ctrl?

    hi Friends,
    I am Using ME_PROCESS_PO_CUST badi for validation in Purchase oreder (ME21N),
    For that I implementaed PROCESS_ITEM method which fires during each row now i want to add another validation in same implimentation for that i need privious row's value so how to get that value ?
    following is my current validation code. 
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
      DATA:ls_poitem TYPE mepoitem.
      DATA:ls_poheader TYPE MEPOHEADER.
      DATA:lm_poheader TYPE ref to IF_PURCHASE_ORDER_MM.
      DATA:w_mara TYPE mara.
      DATA:IT_ZMMTBL039 TYPE STANDARD TABLE OF ZMMTBL039 ,
           WA_ZMMTBL039 TYPE ZMMTBL039 .
      DATA:ls_poitem1 TYPE mepoitem.
      DATA:V_KUNNR1 TYPE KNA1-KUNNR.
      DATA:V_KUNNR2 TYPE KNA1-KUNNR.
      ls_poitem = im_item->get_data( ).
      lm_poheader = im_item->GET_HEADER( ).
      ls_poheader = lm_poheader->GET_DATA( ).
      CLEAR: WA_ZMMTBL039,w_mara.
      REFRESH:IT_ZMMTBL039[] .
      SELECT *
        INTO  TABLE  IT_ZMMTBL039
        FROM ZMMTBL039
       WHERE bsart EQ ls_poheader-bsart.
      IF sy-subrc EQ 0.
        CLEAR: WA_ZMMTBL039,w_mara.
        SELECT SINGLE *
          INTO w_mara
          FROM mara
         WHERE matnr EQ ls_poitem-MATNR.
        IF SY-SUBRC EQ 0.
          READ TABLE IT_ZMMTBL039 INTO WA_ZMMTBL039 WITH KEY  bsart = ls_poheader-bsart
                                                              mtart = w_mara-mtart
                                                              spart = w_mara-spart.

    Hello
    If you had searched the SDN forums you would have found plenty of answers to your question.
    Following is some sample coding:
    method IF_EX_ME_PROCESS_PO_CUST~POST.
    DATA:
        ls_header TYPE mepoheader,
      lt_items   TYPE purchase_order_items,
      ls_item   TYPE purchase_order_item,
      ls_item TYPE mepoitem.
      ls_header = im_header->get_data( ).
      lt_items = im_header->get_items( ).
      LOOP AT items INTO ls_item.
        ls_item = line_item-item->getdata( ).
        " process item data...
      ENDLOOP.
    ENDMETHOD.
    Regards,
      Uwe
    PS: Do not use such kind of pseudonyms instead of your real name. Because my impression is that a nobody (in term of ABAP development competence) tries to claim to be a somebody who fills his knowledge gaps via SDN. Using pseudonyms significantly decreases your changes to get any answers at the SDN forums.

  • How to get current row value from table when press the submit button

    Hi,
    I want to get the current row value of SuccessionPlanId which is one of the column in a advanced table.
    I created one button (created using personalization, action fired thru CO)in the table as column, so each row having one button, if i press the first row's button means then i want to fetch the first row's SuccessionPlanId and if it is 3rd means then i want to get the value of third row's value.
    How to do it in controller extension?
    Please reply soon, its urgent.
    Thanks in advance,
    SAN

    Pratap,
    Yes, I tried with 'delete' button which is seeded one.
    For this, our code using row reference is working too fine. it throws exact SuccessionPlanId value of corresponding row.
    I created MessageStyledText, but here i need to give text value right, then only it 'll appear in the page.
    Instead i created one image and fired explicitly from the controller processRequest method.
    But the same problem remains..
    here my code:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean){
    super.processRequest(pageContext, webBean);
    OAButtonBean oabb = (OAButtonBean)webBean.findChildRecursive("XXSubmit");
    FireAction action = new FireAction("XXSubmit");
    oabb.setAttributeValue(UIConstants.PRIMARY_CLIENT_ACTION_ATTR, action);
    OAImageBean oaib=(OAImageBean)webBean.findChildRecursive("XXSubmitImage");
    oaib.setFireActionForSubmit("XXSubmitImage", null, null, true);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean){
    if("XXSubmitImage".equals(pageContext.getParameter("event"))){
    String succIdI="";
    String rowRefI = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    if(rowRefI != null && !("".equalsIgnoreCase(rowRefI ))){
    PerSuccPlanSearchVORowImpl rowI = (PerSuccPlanSearchVORowImpl)oaam.findRowByRef(rowRefI);
    if(rowI != null)
    succIdI=rowI.getAttribute("SuccessionPlanId").toString();
    }else{
    throw new OAException("Row is null");
    throw new OAException(succIdI, OAException.INFORMATION);
    }else{
    super.processFormRequest(pageContext, webBean);
    If i run the page using this controller, it throws exception without any value, because for 'succIdI' i initialized without any string.
    Can you please suggest me how to solve?

  • How to get Current Row values in Af:ForEach

    Hi,
    We have a requirement to conditionally Display/Hide CommandLink item in af:forEach Loop.
    <af:forEach items="#{bindings.RegionalAreaPVO.rangeSet}" var="parent">
    <af:spacer height="10" id="s1"/>
    <af:commandLink inlineStyle="font-weight:bold;" text="#{parent.ItemName}" partialSubmit="true" actionListener="#{backingBeanScope.RegionalAreaBean.launchTaskflow}" id="cl1" rendered="*#{backingBeanScope.XXWFCRegionalAreaBean.modelEligibleflag eq true}*">
    <af:setActionListener from="#{parent.Code}" to="#{parentNode}"/>
    </af:commandLink>
    </af:forEach>
    I have added a Cutom Managed Bean Class and Returning boolean value to Control Render property which is working. But now i want to add business Logic based on 'parent.ItemName' or 'parentNode' Values in the bean method to return proper Boolean value.
    But i am unable to get the Current Iteration values in the bean method.
    I am using below EL expressions to get the values. But no luck.
    String nameel = (String)ADFUtil.evaluateEL("#{bindings.parent.ItemName}");
    String codeel = (String)ADFUtil.evaluateEL("#{parent.Code}");
    String nodeEl = (String)ADFUtil.evaluateEL("#{parentNode}");
    Also, i have tried getting the Row object like below but i am getting the First row details always. My intention is to get Current row values and use them for Business logic.
    ViewRowImpl row =
    (ViewRowImpl)ADFUtil.evaluateEL("#{bindings." + VoName +
    "Iterator.currentRow}");
    String code = (String)row.getAttribute("Code");
    Any help is highly appreciated.
    Thanks
    Kaja

    Hi Sascha,
    I have tried that. But in my case the functional logic behind the Rendering is based on more complex logic. Hence i am trying to add a method to return a boolean in Render property of the Link.
    But the real problem for me is, in the Managed bean method i am not finding a way to get the Current Iteration index. If i can get the Current iteration index, i can get the Corresponding Component ID of Command link (In the forEach Loop Component Id's are getting generated Dynamically based on Iteration Index), i can use that and add additional logic and derive true/false to return.
    Any inputs?
    Thanks
    Kaja

  • How to get fourthly row (row4) first column value (col1) in matrix

    Hi to all,
    In FMS, how to get fourthly row (row4) first column value (col1) in matrix in document.
    select $[$38.1.4]
    But it display the first row
    Please give me hint.
    Thank you

    Hi Eric,
    FMS may only apply to current row.  There is no way to get any other fixed row.
    Thanks,
    Gordon

Maybe you are looking for

  • Service Order status  Not Changing From Resloved to Closed status

    The service order Status not automatically moving from Resolved to closed after 30days. Observation We Revived program Z program ,seems to be fine. I am set the program in debugging mode for testing the Service orders by  reduce the time duraion for

  • What is the significance of Hash Partition ?

    Hi All, First time i am going to implement Hash partition as well as subpartition also.before implementing i have some query regarding that. 1.What is the Max no. of partition or sub partition we can specify and default ? 2.How do we know whch data c

  • I can't create pdf/x-1a from my word doc with acrobat x?

    I just bought acrobat x to convert a book to pdf from Word and I can't get it to print.  All my setting work until I select pdf/x-1a(acrobat 5 compatable).  I previously was using a trial version of acrobat XI and I could swear that the conversion wa

  • File to Soap Syn Scenario

    Hi Experts, I have created File to Soap syn Scenario. I am getting following error in RWB (CC monitoring):: SOAPFault received from Integration Server. ErrorCode/Category: XIProtocol/WRONG_VALUE; Params: SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfi

  • Ipod classic won't hold charge

    My apple ipod classic which is just a yr or two old won't hold a charge.  The battery icon has a lightning bolt in it so it says its charging but it won't hold a charge.  Any ideas?