Chkbox

Hi All,
How to add the refresh button at application tool bar. at report output.
regards.

Hi Srinivas,
Use <b>SET PF-STATUS 'XXXX' </b>
In place of XXXX give any status name and double click on it... it will take u to new screen i.e screen painter where u hv options menu bar,  application tool bar select wht u want  click that and give the function name as REFRESH and give the icon name. SAVE and Activate.
and in ur report use the follwoing syntx.
Case Sy-ucomm.
when 'REFRESH'.
ur code....
endcase.
there refresh button will apper in output report.
hope this ll give u idea....
<b>reward if useful</b>
regards,
sunil kairam.
Edited by: sunil kairam on Feb 7, 2008 5:27 PM

Similar Messages

  • How to display the fields,chkbox and a button

    Hi All,
    Here is the screen shot I may .
    Can anyone let me know the code to display a chkbox, button, textfield and a Jlabel fields on the screen in swing.
    Thanks
    Smi

    Minimalist exampleimport java.awt.*;
    import javax.swing.*;
    public MyFrame extends JFrame {
      private JLabel label;
      private JButton button;
      private JTextArea textArea;
      public MyFrame() {
        super("frame");
        label = new JLabel("label");
        button = new JButton("button");
        textArea = new JTextArea(10,10);
        Container container = getContentPane();
        container.add(label, BorderLayout.NORTH);
        container.add(textArea, BorderLayout.CENTER);
        container.add(button, BorderLayout.SOUTH);
        pack();
        setVisible(true);
      public static void main(String[] argv) {
        new MyFrame();
    }

  • Depndng on chkbox, should display selection screen block on selectionscreen

    Hi,
    Depending upon the chkbox it should display selection screen block on selection screen. 
    If not checked it should display B3 and If checked it should display Block B2 .
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS P_DAT AS CHECKBOX USER-COMMAND FLAG.
    SELECTION-SCREEN COMMENT 3(79) text-112.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-109.
    PARAMETER:      p_year1   LIKE ce1rh03-gjahr,
                    p_perid1  LIKE ce1rh03-perde.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-109.
    PARAMETER:      p_year    LIKE ce1rh03-gjahr MODIF ID MO1,
                             p_period  LIKE ce1rh03-perde MODIF ID MO1.
    SELECTION-SCREEN END OF BLOCK B3.
    If P_Dat is checked     .... It should display the Block B2 and
    If p_Dat is not checked .... it should display the Block B3
    Any suggestions will be appreciated!
    Regards,
    Kittu

    Hello Kittu,
    You can try this code:
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS p_dat AS CHECKBOX USER-COMMAND flag.
    SELECTION-SCREEN COMMENT 3(79) text-112.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-109.
    PARAMETER:      p_year1   TYPE gjahr MODIF ID mo1,
                    p_perid1  TYPE perio MODIF ID mo1.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-110.
    PARAMETER:      p_year    TYPE gjahr MODIF ID mo2,
                    p_period  TYPE perio MODIF ID mo2.
    SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_dat = 'X' AND screen-group1 = 'MO2'.
          screen-active = '0'.
        ELSEIF p_dat <> 'X' AND screen-group1 = 'MO1'.
          screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Hope this helps.
    BR,
    Suhas

  • Inspection setup chkbox not checked while inspection details exists

    i am facing a wierd problem.
    i have craeted a MM01 bapi -->> using FM BAPI_MATERIAL_SAVEDATA.
    it is working perfectly fine.
    also to update the inspection setup in quality managment tab.
    m using FM -->> BAPI_MATINSPCTRL_SAVEREPLICA.
    here is the code snippet:
      WA_VT_INSPECTIONCTRL-INSPTYPE = '03'.
        WA_VT_INSPECTIONCTRL-MATERIAL = WA_DATATAB-MATNR.
        WA_VT_INSPECTIONCTRL-PLANT = WA_DATATAB-WERKS.
        WA_VT_INSPECTIONCTRL-IND_INSP_WITH_TSK_LIST = 'X'.
        WA_VT_INSPECTIONCTRL-IND_INSP_BY_CHARAC = 'X'.
        WA_VT_INSPECTIONCTRL-INSP_PERCENTAGE = 0.
        WA_VT_INSPECTIONCTRL-IND_SKIPS_ALLOWED = 'X'.
        WA_VT_INSPECTIONCTRL-IND_SINGLE_UNITS_POSSIBLE = 'X'.
        WA_VT_INSPECTIONCTRL-AVE_INSP_DURATION = 0.
        WA_VT_INSPECTIONCTRL-QUAL_SCORE_PROCEDURE = '06'.
        WA_VT_INSPECTIONCTRL-IND_INSPTYPE_MAT_ACTIVE = 'X'.
        WA_VT_INSPECTIONCTRL-PREFERRED_INSPTYPE = 'X' .
        APPEND WA_VT_INSPECTIONCTRL TO VT_INSPECTIONCTRL.
        CLEAR WA_VT_INSPECTIONCTRL.
        CALL FUNCTION 'BAPI_MATINSPCTRL_SAVEREPLICA'
          TABLES
            RETURN         = RET_INSP
            INSPECTIONCTRL = VT_INSPECTIONCTRL.
    this FM also ding well,
    here is the wierd thing starts:
    after BAPI_TRANSACTION_COMMIT:
    when in MM03 I SEE AT QUALITY MANAGMENT VIEW -> INSPECTION SETUP CHECKBOX IS NOT CHEKCED
    But when i click on inspection setup pushbutton,inspection details are displayed.
    And after clicking yes on this inspection detail pop up window.
    Inspection setup checkbox is checked .
    I want inspection setup is checked initially.(no need to open the pop up window just to check the checkbox).

    what's you fininal solution for this problem?  I also face same question

  • Passing values of some chkboxes to a function. Function recieving NULLs:(

    Hi,
    My aim is to pass the values of some checkboxes on a JSP to a function. I performed these steps
    but the function is getting called with NULL values(noticed that while debugging). Could somebody please tell me what I have missed ?
    These are the steps I did
    0. Start with my application module AppModule
    1. Create the custom method on AppModuleImpl.java
    2. Shuttle the method into the selected list of my AppModule's client interface
    3. Open JSP with some checkboxes
    4. In Structure Window, click on UI model and create one
    5. Right click model and click Data Bindings | Actions | Action
    6. Choose function
    7. For each parameter of that function I change its name to a name of a valid checkbox or radio button
    from the JSP page.
    8. Create a submit button with the name of the that function event_FunctionName
    Thanks in advance
    Michal
    p.s. I use Struts, JSP in JDeveloper 10.1.2 on WinXP Pro.
    I am attaching also the JSP page and the UI model xml.
    <%@ taglib uri="http://xmlns.oracle.com/adf/ui/jsp/adftags" prefix="adf"%>
    <adf:uimodelreference model="WEB_INF_JSP_StatPageUIModel"/>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1250"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/>
    <title>a</title>
    </head>
    <body>
    <html:errors/>
    <html:form action="StatPage.do">
    <input type="checkbox" name="checkbox1" checked/>Checkbox1
    <input type="radio" name="grp1" id="r11" value="AND" checked/>
    <label for="r11">and</label>
    <input type="radio" name="grp1" id="r12" value="OR" />
    <label for="r12">or</label>
    <input type="checkbox" name="checkbox2"/>Checkbox2
    <input type="submit" name="event_getStatOptions" value="Calculate"/>
    </html:form>
    </body>
    </html>
    <?xml version='1.0' encoding='windows-1252' ?>
    <DCContainer
    id="WEB_INF_JSP_StatPageUIModel"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.2.17.96"
    Package="adf.struts.view"
    FindMode="false"
    EnableTokenValidation="true" >
    <Contents >
    <DCControl
    id="getStatOptions"
    SubType="DCMethodAction"
    Action="999"
    RequiresUpdateModel="false"
    DataControl="AppModuleDataControl"
    InstanceName="AppModuleDataControl.dataProvider"
    MethodName="getStatOptions"
    ReturnName="AppModuleDataControl.methodResults.AppModuleDataControl_dataProvider_getStatOptions_result" >
    <Contents >
    <NamedData
    NDName="checkbox1"
    NDType="java.lang.String"
    NDValue="%null%" >
    </NamedData>
    <NamedData
    NDName="grp1"
    NDType="java.lang.String"
    NDValue="%null%" >
    </NamedData>
    <NamedData
    NDName="checkbox2"
    NDType="java.lang.String"
    NDValue="%null%" >
    </NamedData>
    </Contents>
    </DCControl>
    </Contents>
    </DCContainer>

    Thanks Frank but what I am looking at is Action Binding a checkbox and not Data binding it.
    Either I am hitting a bug here or I am missing something. I will be grateful for reproducing my case.
    If somebody prefers, I can send the code for this example by mail.
    Send me a mail
    mikeeria*interia.pl
    (change * to @)
    1) Create a New Application workspace and accept default values
    2) Right click on Model | New ... | Business Components | Application Module
    3) If Jdeveloper asks for a db connection just choose anything(ex HR schema) and click next
    4) Leave default values for package and Name and click finish
    5) Open AppModuleImpl.java and add the following function just after the default constructor
    public void getStatOptions(String chkbox1,String chkbox2) {
    String variable1;
    String variable2;
    variable1 = chkbox1;
    variable2 = chkbox2;
    6) save all
    7) Right click on the application module | go to client interface | shuttle the getStatOptions function and click ok
    8) Open Struts-Config.xml
    9) Add new data page
    10) In data control palette, select AppModuleDataControl | Operations | getStatOptions
    11) drag and drop as "Button with Form"
    12) Choose HTML from Coponent palette and drag two checkboxes
    13) Change names to chkbox1 and chkbox2
    15) Go to UI Model of JSP page and expand the getStatOptions
    16) Click on "param" and in the Property Inspector window change Name to chkbox1
    17) Click on "param1" and in the Property Inspector window change Name to chkbox2
    14) Go back to AppModuleImpl.java and add a breakpoint on first line of code in getStatOptions function
    18) mark ViewController Node and from menu choose Debug | UI Debug ViewController.jpr
    19) Notice that the function is recieving NULL values
    Many Thanks
    M.

  • How to make Form Ask for commit, when a rec is inserted when chkbox checked

    A record should be inserted when check box checked, deleted when unchecked.
    I have Insert/delete statement in WHEN_checkbox_changed trigger. This is happening perfectly.
    I want form to ask the user weither to save/ not save the changes...
    Please help me with this...
    Thanks,
    Deepthi

    hi
    please create key-commit trigger and try the following code.
    DECLARE
    FormErr   NUMBER;
    dbErrNo   NUMBER;
    dbErrTxt  VARCHAR2(200);
    FormTxt   VARCHAR2(80);
    ErrTyp    VARCHAR2(3) ;
    BEGIN
      commit;
        FormErr := ERROR_CODE;
        IF FormErr = 40400 THEN
          -- get the database error and text
          dbErrNo := DBMS_ERROR_CODE;
          dbErrTxt := DBMS_ERROR_TEXT;
          -- display the real problem
          MESSAGE('ORA'||TO_CHAR(dbErrNo)||': '||dbErrTxt, ACKNOWLEDGE);
        ELSE
          -- get the form messages
          FormTxt := ERROR_TEXT;
          ErrTyp := ERROR_TYPE;
          -- show the complete form message and error
          MESSAGE(ErrTyp || '-' || TO_CHAR(FormErr) || ': ' || FormTxt);
        END IF;
        RAISE FORM_TRIGGER_FAILURE;
    END;sarah

  • Multiple chkboxes submit..help!

    Hi,
    I have a dynamically generated tree of checkboxes which I need to submit to a JSP for performing a search..
    Can anyone pl suggest as to how I can submit the values of all the checkboxes which are checked??
    TIA,
    sands

    Not 100% sure on what you need but with the checkboxes all given the same form name and different values you can gather all of the checkboxes selected in one String which is comma seperated. From there, use a StringTokenizer and place them into an array and act on the information as needed, use a switch/case routine to handle large amounts of information like that. Hope that helps.

  • Vertical scrolling of chkbox

    Hello,
    Usng obiee 11g,
    have a problem,I have a checkbox in many dashboard pages in prompts.
    In firefox no problem but in IE 7 there is a small vertical scrolling bar which is coming along side chechbox?
    Any help?
    Thanks

    Hello,
    I am using IE 7.0 , this browser is included in the list in the xls.
    Problem is there in all the machines.
    Checkbox comes with scrolling bar and also pivot charts not visible.
    It just comes as cross sign on the top left corner of the chart region?
    I wanted to know whether is there a problem with browser itself?
    So that we can tell our clients to avoid such browsers or some other problem?
    Thanks

  • Insert statement in to internal table

    I have an editable ALV LIST report with the check box to it. When the user checks the check box on the report and hits a push Button it should copy the row from the internal table and insert the row to the same internal table in the next line.
    I had my code in this way,
        WHEN 'COPY'.
          LOOP AT t_output INTO wa_output.
            IF wa_output-chkbox = 'X'.
              wa_output-zactual = 0.
              wa_output-zqty = 0.
              INSERT wa_output INTO t_output INDEX sy-tabix.
            ENDIF.
          ENDLOOP.
    However the problem was,
    For e.g. let say I have only 3 rows in the internal table. So when the user selects the last, 3rd row and hits the push button the 3rd row copied and is inserted in the 3rd row. The user wanted the copied row in the next row, ie the 4th row.
    SO I changed the above code as below and now it goes to an endless loop.
        WHEN 'COPY'.
          LOOP AT t_output INTO wa_output.
            IF wa_output-chkbox = 'X'.
              wa_output-zactual = 0.
              wa_output-zqty = 0.
              Sy-tabix = sy-tabix + 1.
              INSERT wa_output INTO t_output INDEX sy-tabix.
            ENDIF.
          ENDLOOP.
    <b>I dont want to use another internal table.</b>
    I hope I am clear.
    Please suggest,
    Ster.

    Hi,
    Change the code as follows.
      data: lv_cnt type i.
        describe table t_output lines lv_cnt.
         LOOP AT t_output INTO wa_output where wa_output-chkbox = 'X'          
                                                                and  wa_output-zactual = 0
                                                                and  wa_output-zqty = 0.
              lv_cnt = lv_cnt + 1.
              INSERT wa_output INTO t_output INDEX lv_cnt.
          ENDLOOP.
    Regards
    Sailaja.

  • How can i create an event from a cell of JTable ?

    Hi , I am having a JTable which has two types of render : checkboxCellRender and DefaultTableCellRenderer
    i want to generate an event by clicking the checkbox which will do color changes for other cells . How can i do that ? Can i pass the events ?
    code snippet :
    class checkboxCellRenderExt extends checkboxCellRender
              public checkboxCellRenderExt(){}
              public Component getTableCellRendererComponent(JTable table, Object value,
                        boolean isSelected, boolean hasFocus,
                        int row, int column)
    JCheckBox c=(JCheckBox)super.getTableCellRendererComponent( table,value,isSelected,hasFocus,row, column);
    JTableModel md = (JTableModel)m_TablePan.getTable().getModel();
    Vector currentRow = md.getRow(row);
    if(isSelected)
    boolean m_bavail = ((Boolean)currentRow.get(COLUMN_TCM_STATUS)).booleanValue();
    if(!m_bavail)
         c.setForeground(Color.BLACK);
         c.setBackground(Color.WHITE);
    else
         c.setForeground(table.getSelectionForeground());
         c.setBackground(table.getSelectionBackground());
    else
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    return this;
    class CustomcellRenderer extends DefaultTableCellRenderer
         public CustomcellRenderer()
         public Component getTableCellRendererComponent(JTable table, Object value,
                                  boolean isSelected, boolean hasFocus,
                                  int row, int column)
              checkboxCellRender chkbox =null;
              JLabel lb;
              Component c = super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row, column);
              if (value == null)
         return c;
              if (value instanceof String)
                   String s = (String) value;
                   lb = (JLabel)c;
                   lb.setBorder (noFocusBorder);
                   lb.setText(s);
         JTableModel md = (JTableModel)m_TablePan.getTable().getModel();
         Vector currentRow = md.getRow(row);
              this.setHorizontalAlignment(JCheckBox.CENTER);
    if(isSelected)
                   boolean m_bavail = ((Boolean)currentRow.get(COLUMN_TCM_STATUS)).booleanValue();
                   if(!m_bavail)
                        c.setForeground(Color.BLACK);
                        c.setBackground(Color.WHITE);
                   else
                   c.setForeground(table.getSelectionForeground());
                   c.setBackground(table.getSelectionBackground());
    else
                   setForeground(table.getForeground());
                   setBackground(table.getBackground());
    return this;
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    Add a TableModelListener to the TableModel. An event is fired when the contents of the cell are changed.

  • How to differentiate between Radio Buttons with the same name?

    My form has two fields, to which I gave the same name ("Radio Button 1.0") in order to achieve mutual exclusivity.
    Now, I would like to use JavaScript to retrieve the value of one the two fields:
    var checkMark = this.getField("Radio Button1.0");
    if (checkMark.value == "Yes") {
    Questions:
    What is the proper way to inspect the value of a Radio Button? I have tried this:
    if (checkMark.value == "No") [...]
    but it doesn't seem to work.
    How can I tell apart 2 radio buttons with the same name?
    TIA,
    -RFH

    When Radio Buttons and Check Boxes are unchecked their value is "Off", so if you have "Yes", "No" buttons you will also encounter an 'Off" value. Now if you want to look at a given button, you will have to use the "isBoxChecked(nWidget)" method.
    nWidget:
    The 0-based index of an individual radiobutton or checkbox widget for this field. The index is determined by the order in which the individual widgets of this field were created (and is unaffected by tab-order).
    Every entry in the Fields panel has a suffix giving this index, for example MyField #0.
    Returns
    true if the specified widget is currently checked, false otherwise.
    Example
    var f = this.getField("ChkBox");
    if(f.isBoxChecked(0))
    app.alert("The Box is Checked");
    else
    app.alert("The Box is not Checked");

  • IS THERE A WAY TO CHANGE THE NOTIFICATION SOUNDS FOR REMINDERS?

    IS THERE A WAY TO CHANGE THE NOTIFICATION SOUNDS FOR REMINDERS?

    Yes you can, in the sense that this is an "Alert" sound you've set for the whole Mac software, and of course this is set in System Preferences > Sounds > Sound Effects. This will change the "alert sound" for the whole Mac.
    So, No, you can't change only this particular Alert sound. If you could, it would be done in System Preferences > Notifications, and your only option there is whether you want the sound or not (Chkbox on "Play sound when receiving Notifications")

  • How to make icon_checkbox enable in ALV list

    Hi,
    I am using the checkbox icon (icon_checkbox) to write into my ALV by using this FM REUSE_ALV_HIERSEQ_LIST_DISPLAY.
    The output of the ALV will be like this:-
    header-                        | Col A    | Col B      | Col C      | Col D
    line item1-                     chkbox   1               456          789
    line item2-                     chkbox   2               xyz          kkk
    The first coloumn (Col A) is the checkbox.
    I am facing problem when using icon_checkbox to display it at the ALV. Currently my checkbox is showing all check in all item and I can't check and uncheck it.
    My question is:
    1. Is it possible to make the checkbox enable/editable by writing the icon_checkbox?
    2. How to make the checkbox enable/editable?
    Thanks for your time for reading this. Let me know if more info is needed.

    This can be done one of two ways:
    1. Customize the form in Infopath, right click your field and disable the control.
    2. Use JavaScript/jQuery on the page to disable the element.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Adf table issue on 1st selection,from 2nd selection all works. Please help !!!

    I am using Jdev 11.1.1.4.0 .
    I have a table which consists of 2 check box and a button plus other data. Now the problem is when we select the table/check box for the 1st time the table events behave unusally.
    When I click the check box for the 1st time it gets unchecked.
    But from 2nd selection everything works as expected. I am not pasting all columns of the table , if you ppl need them i'll paste it too.
    Please feel free to ask any details you need, I am giving as much as possible from my side.
    Note:- I have implemented paginaton so I had to use rangeSet ,cant use CollectionModel to do that.
    <af:table value="#{bindings.GESearchVacancyTableVO1.rangeSet}"
                                                              var="row"
                                                              rows="#{bindings.GESearchVacancyTableVO1.rangeSize}"
                                                              emptyText="#{bindings.GESearchVacancyTableVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                              fetchSize="#{bindings.GESearchVacancyTableVO1.rangeSize}"
                                                              first="#{bindings.GESearchVacancyTableVO1.rangeStart}"
                                                              rowBandingInterval="0"
                                                              selectionListener="#{PaginationBean.rowSelected}"
                                                              rowSelection="multiple"
                                                              columnSelection="multiple"
                                                              id="t1"
                                                              contentDelivery="immediate"
                                                              autoHeightRows="#{bindings.GESearchVacancyTableVO1.rangeSize}"
                                                               styleClass="reqTables"
                                                               inlineStyle="width:700px; height:598px;"
                                                              binding="#{pageFlowScope.UpdateRequestSearch.vacancyTable}">
                                                            <af:column sortProperty="update"
                                                                       sortable="false"
                                                                       headerText="UPDATE"
                                                                       id="c0" align="center">
                                                                    <af:commandButton text="UPDATE"
                                                                                      id="cb1"
                                                                                      action="#{pageFlowScope.UpdateRequestSearch.onClickTravel}"
                                                                                      actionListener="#{pageFlowScope.UpdateRequestSearch.onSelect}"
                                                                                      styleClass="buttonA">
                                                                            <af:setActionListener from="#{row.VacancyNumber}"
                                                                                                  to="#{sessionScope.searchVacancyNo}"/>
                                                                    </af:commandButton>
                                                            </af:column >
                                                            <af:column sortProperty="HOLD"
                                                                       sortable="false"
                                                                       headerText="HOLD"
                                                                       id="c100" align="center">
                                                                       <f:facet name="header">
                                                                       <af:panelGroupLayout id="pgHold" layout="vertical">
                                                                       <af:commandButton text="HOLD"
                                                                                      id="cb61"
                                                                                      styleClass="buttonA">
                                                                            <af:showPopupBehavior popupId="p1" triggerType="click"/>
                                                                        </af:commandButton>
                                                                 </af:panelGroupLayout>
                                                                       </f:facet>
                                                                                              <af:selectBooleanCheckbox text=""
                                                                                              label=""
                                                                                              id="sbc1"
                                                                                              immediate="true"
                                                                                              autoSubmit="true"
                                                                                              rendered="#{row.Status eq 'Approved' and row.Chkbox eq '0'}"
                                                                                              value="#{row.HOLD}"
                                                                                              valueChangeListener="#{pageFlowScope.UpdateRequestSearch.onHold}" >
                                                                                              <af:clientAttribute  name="attr" value="#{row.VacancyNumber}" />
                                                                    </af:selectBooleanCheckbox>
                                                            </af:column>
    </af:table>
    //On check box click .
        public void onHold(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            DCIteratorBinding itr=ADFUtil.findIterator("GESearchVacancyTableVO1Iterator");
            RowSetIterator rsi=itr.getRowSetIterator();
                UIComponent holdBox=valueChangeEvent.getComponent();
                String vacnum=holdBox.getAttributes().get("attr").toString();
                Key key=new Key(new Object[] {vacnum});
               Row currRow=itr.getCurrentRow();
                 if (currRow!=null){
                     System.err.println("Row found:::DDDD"+currRow.getAttribute("VacancyNumber"));
                try{
            if(valueChangeEvent.getNewValue().equals(Boolean.TRUE)){
                System.err.println("Selected TRUE for vacNum"+currRow.getAttribute(0));
                currRow.setAttribute("HOLD", true);
                currRow.setAttribute("CANCEL", false);
                if( getKeyListCancel().contains(key))
                       getKeyListCancel().remove(key);
                getKeyList().add(key);
            }else if(valueChangeEvent.getNewValue().equals(Boolean.FALSE)){
                System.err.println("Selected FALSE");
                currRow.setAttribute("HOLD", false);
                getKeyList().remove(key);
              ADFUtil.doPartialRefresh(vacancyTable);
              System.err.println("Now the size list "+getKeyList().size());     
            }catch(oracle.jbo.AttrSetValException e){
                currRow.setAttribute("HOLD", false);
              itr.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
              AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
              adfContext.addPartialTarget(vacancyTable);
              // ADFUtil.throwErrorMsg(null, e.getMessage());
    // SelectionListner which basically sets the selected row as current row
        public void rowSelected(SelectionEvent se){
          JUCtrlRangeBinding staffView = getStaffView();
          staffView.getIteratorBinding().setCurrentRowIndexInRange((Integer)se.getAddedSet().toArray()[0]);
        private JUCtrlRangeBinding getStaffView(){
                    String view="GESearchVacancyTableVO1";      
          BindingContext bindingCtx = BindingContext.getCurrent();
          BindingContainer bindings = bindingCtx.getCurrentBindingsEntry();
          JUCtrlRangeBinding objView=(JUCtrlRangeBinding)bindings.getControlBinding(view);
          return objView;

    Same issue in 11.1.1.7 . I am using out of the box pagination for this purpose though. Any pointers plz? Somehow the very first action of check box is being reset by the framework. Even though the state of the check box on UI shows up as selected, the column value is reset to its original value(false).

  • Alert rule not working! Please help!

    Hi All,
       I have a Async XI scenario IDOC ---> XI -
    > JMS
       In order to receive alerts if JMS adapter or server is down, I have configured alert rule in runtime workbench. The associated alert category is setup correctly with fixed recipients.
       Following are the settings in my alert rule.
       1. Conditions: Connected to message - Not Relevant
           Sender component: I have given my IDOC source system.
           Receiver component : I have given by JMS target system.
           Remaining all values: *
       2. Where did the error occur? : No Restriction
       Now for testing purpose if I give a junk server name in JMS communication channel and send the IDOC from source system, then I found that the corresponding XI message is showing as successfully processed. AT the same time in communication channel monitoring in runtime workbench I get an error:
    Error creating JMS connection. JMS provider gave error message as Failed to connect to the server
    But I don't receive any alert. Why? Is there anything wrong with the alert rule?
    Why is the message in XI showing successfully processed even though there is an error in adapter?
    Is this the normal behavior of any Async communication?
    Please help! I am struggling with this issue for a long time.
    I will be grateful if somebody can help me.
    Thanks & Regards
    Gopal
    Edited by: GOPAL BALIGA on Mar 23, 2009 9:31 AM

    Dear Gopal,
    you have a couple of questions...
    1. Even thought the receiver communica channel is in error , why is the moni showing successfully processed?
    Ans...This is not an unusual behavior... what is happening is as your mapping is correct the message is passing through the IE properly but when the adapter engine ( JMS receiver channel ) tries to coomunicate with the receiver JMS system it is giving error ..as u have given some wrong server details
    2. Alert e-mail not received
    chk whether the alert catergory u created is attached to your alert rule..
    you can do this in the alert configuration tab in the RWB
    Also you need to activate your alert rule ..this again can be done in alert config tab..there is a chkbox of "rule activation".
    Givind points is another way to say thanks
    Edited by: Tarang Shah on Mar 23, 2009 9:46 AM

Maybe you are looking for