Disble a specific checkbox

Dear all,
I have a block that diplay 10 recrod at a time.
And now I want to disable some checkbox in the block
bt not all, I used the Set_ITEM_INSTANCE property to set the Navigable and Updatable property of those
records. But those checkbox just look the same, how can I make the non-navigable and non-updateble looks like a disabled checkbox ?
Thanks !
RAy.

You first have to define a visual attribute for an inactive check box. Then assign this attribute. This is an example in a post-query trigger:
if :department_id = '20' then
set_item_instance_property('cb_1',current_record,navigable,property_false);
set_item_instance_property('cb_1',current_record,update_allowed,property_false);
set_item_instance_property('cb_1',current_record,visual_attribute,'inactive');
end if;

Similar Messages

  • Date Specific Checkbox

    Hey everyone. So, I've decided after using some mac financial software that it's just not doing what I want it to do, how I want it to do it. So, I've gone to making my own setup in Numbers. I'm almost done but I have on thing remaining, which is where I need help.
    I've got my budget on a table that has a checkbox once it's gone through or I've used that money. The checkbox is used to give a total of how much money has been used with the checkbox. Also, I enter a date of when the money was used. Now what I'm wanting to do is create two totals, one for the first half of the month, and another total for the second half of the month so I know how much I'm using between paychecks. Now, the date of the second paycheck changes month to month so what I'm hoping to do is make it so that if a category...let's say electric bill is checked but is dated past a date I chose, then it would go into a second total. I.E. I get my second paycheck on the 17th and I send in my bill on the 18th, I want it to total in the second total for the second part of the month rather than the first. I'm new to formula's and this one is beyond me. I'm able to total up the checkboxes all into one total, but when including a "cuttoff" date for the checkboxes, I'm just not sure.
    Any help is so much appreciated!

    I can't say I'm totally clear on what you need but it sounds like you need SUMIF or SUMIFS. You'll have to think of what you consider to be 1/2 of the month (and the formula to calculate it) if it isn't simply the number of days in the month divided by two then rounded up or down.
    If
    1) You want to sum up all the values in column B where the dates in column A are less than or equal to 1/2 of the month and
    2) 1/2 of the month is defined as above and
    2) Cell A2 has the date of the first of the month
    Then the formula might be
    =SUMIF(A,"<">="&A2+INT(DAY(EOMONTH(A2,0))/2),B)
    I may be making this harder than it needs to be. This is a first draft to get you started.
    EDIT: For some reason my entire post isn't getting through tonight. I see it all when I try to re-edit it but it isn't showing up in the forum correctly (at least not for me) plus the first formula didn't post correctly (there is also a formula for the second half of the month which may eventually show up) .
    EDIT 2: This post is getting all hosed up. I am going to save the text and post it again another time. Do not try to use the formula(s) you see here.
    Message was edited by: Badunit
    Message was edited by: Badunit

  • How to create 2 checkboxs in 2 different JTable cells within 1 buttonGroup?

    Hi,
    I have a JTable with dynamic number of rows and 5 columns. What I mean by dynamic is that new rows can be added and existing rows can be deleted so the number of rows may change. As I said before there are 5 columns. The first 3 columns will always contains Strings. The fourth and fifth column will have checkboxs. I'm creating the checkboxes be specifying that the forth and fifth columns will have boolean in them. As you all know JTable converts boolean values to checkboxes.
    Here is my problem:
    I want to add these 2 checkboxes in column 4 and column 5 to a buttonGroup, s� that if I check the checkbox in column 4 the checkbox in column 5 will be unchecked and vice versa. An importent thing is that every row has its own buttonGroup for its checkboxes.
    To use buttonGroup I have to have 2 checkboxes to add them to the group for example
    buttonGroupForRow1.add(checkBox1);
    buttonGroupForRow2.add(checkBox2);
    But in my case there are no specific checkBoxes to add, I only have boolean values in 2 different cells in the JTable.
    How can I solve the problem?
    Here is a part of the code to help you undersand my problem:
    JTableToggle getPrgMemberPopupTable() {
              if (prgMemberPopupTable == null) {
                   DefaultTableModel model = new MyTableModel(10,5);
                   prgMemberPopupTable = new JTableToggle(model) {
                        public boolean isCellEditable(int rowIndex, int vColIndex) {
                             if (vColIndex == 3 || vColIndex == 4)
                             return true;
                             else return false;
                   prgMemberPopupTable.setRowSelectionAllowed(false);
                   prgMemberPopupTable.setColumnSelectionAllowed(false);
                   prgMemberPopupTable.getColumnModel().getColumn(0).setHeaderValue("Name");
                   prgMemberPopupTable.getColumnModel().getColumn(1).setHeaderValue("Subrack");
                   prgMemberPopupTable.getColumnModel().getColumn(2).setHeaderValue("Slot");
                   prgMemberPopupTable.getColumnModel().getColumn(3).setHeaderValue("Active");
                   prgMemberPopupTable.getColumnModel().getColumn(4).setHeaderValue("Passive");
                   prgMemberPopupTable.setName("prgMemberPopupTable");
                   prgMemberPopupTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
                   prgMemberPopupTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
              return prgMemberPopupTable;
        class JTableToggle extends javax.swing.JTable {
            public JTableToggle(DefaultTableModel aDefaultTableModel){
                super(aDefaultTableModel);
            public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend) {
                // toggle is true in the case where the control key is pressed, i will invert that case.
                toggle = !toggle;
                super.changeSelection(rowIndex,columnIndex,toggle,extend);
         class MyTableModel extends DefaultTableModel{
              public MyTableModel(int a, int b){
                   super(a, b);
              public Class getColumnClass(int index){
                   if (index == 3 || index == 4)
                        return Boolean.class;
                   return super.getColumnClass(index);
         }Grateful for all help
    //Roomi

    Thanks for your help.
    2 requirements has to be fulfiled here:
    Req.1. A member is selected. The memeber is selected either by checking Active or Passive checkbox
    Req.2. Every selected member is either Active or Passive.
    My solution is build on the ide that when you check the active checkbox, then that member is selected and its is an active member. If the passive checkbox is selected then it is a passive member.
    The thing is, not every member in the JTable is selected, only those who are relative to that specfic case are selected.
    Let's say that I have 10 members in my table (which means 10 rows). Then I can select for example the second and fifth members as an active members and the seventh member as a passive one. That means only those members are selected (Req.1.). And (2 and 5) are actives and (7) is passive (Req.2)
    But lets say that I change my mind, and decide that the seventh member should be active and not passive. Then when I modify the selection and check the active checkBox (on column 3) the passive checkBox (on column 4) should become unchecked.
    Camickr, with your suggestion I can not distinguish between if the member is passive or it is not selected at all.
    Even if I use JRadioButtons instead of JCheckBoxes the problems still the same, 2 different JRadioButtons (or JCheckBoxs), both of them are in seperate columns (seperate cells), how can I add them to one ButtonGroup? Or let me refrase the last sentence (question), How can build up the solution so that when one of them is selected the other one is unselected. If I don't use ButtonGroup and have to build my own buttonGroup then I have to start thinking about mouse listner, and where the mouse click to plase, ...etc which is a lot of work for a simble thing to do.
    Unfortuntly I cannot change the layout either, I'm stricted to this layout by the company.
    //Roomi

  • Checkbox with java script

    Hello all,
    I am trying to have several page elements be conditional on whether a checkbox in a dynamic checkbox group is checked or not. Can some one tell me how to reference a spefic checkbox in a group based on a dynamic lov and how to reload the page to have the other elements conditional on a specific checkbox.
    Thank you,

    Ok, let me reformulate:
    I want at the top of my page a checkbox group of eight checkboxes, generated from an list that is based on a table.
    Within the rest of the page I have 8 other regions. If a checkbox is check the corresponding region is supposed to show, otherwise it should not show on the page.
    How can I do that?
    Thank you very much,

  • Checkbox with redirect

    Hello,
    how can I make a redirect to the page, when the user checks the checkbox??
    Thank you

    Ok,
    I have an admission (a page). In this admission I have a lot of checkboxes and input fields, so that the user can fill in which applications he wants etc. But some regions should only be visible if a specific checkbox is true. So I have to make a redirect to the page, when the user checks these checkboxes. Because I would like to write something like "if checkbox1 = true" in the conditional display field of some regions.
    I don´t want to show all the regions, when the user enters the page.
    Is that ok or you?

  • Which is the specific item inside the "Clear History" settings of Firefox 3.6.13 that, if checked, prevents or deletes the 'Yahoo Sign In Seal' ?

    My Yahoo Sign in Seal gets deleted from the cache or wherever it is saved in my computer after I close Firefox (3.6.13) and I don't see it again when I restart Firefox and browse to the Yahoo login page.
    I used to have the 'private browsing session' checked. But after unchecking it and unchecking all the items in the 'clear history' section, the Sign In Seal problem is resolved. But I want the maximum possible Privacy settings that this Sign In Seal can withstand, ie the minimum possible sacrifice of privacy in relation to the Seal. My question is, how can I do that ? Is there any specific checkbox - unchecking which (and not unchecking all the others like what I've done now) will prevent the Seal from getting deleted ?

    You can't use Private Browsing if you need to preserve or access specific cookies. In Private Browsing mode the cookies from a regular session are not available. Firefox will create a new set of cookies for every Private Browsing session that are removed if the PB mode session is ended.

  • Is there a way to auto check a check box triggered off the completion of a specific text box?

    I am using Conga Composer. I'm hoping when information is filled into a specific text box in a pdf, it will auto check a specific checkbox.  Any script ideas? Or if this is even possible? I've seen scenarios for the reverse, but my situation requires this particular flow.

    I highly doubt this process is going to trigger any of these scripts, if that's what you're planning...
    What you can do add a doc-level script that will execute when the file is opened and set the check-box based on the text field's value, in addition to the custom keystroke code. That would look something like this:
    this.getField("CheckBox").checkThisBox(0, this.getField("TextBox").value!="");

  • Adobe air install on android error -24

    I got the Asus Memo Pad 302C. I can not instrall the Adobe Air on this machie. It shows the error menssage -24.
    The Memopad is installed the Android 4.2.2
    Can any one help this? Thanks a lot.

    It gives you only three options:
    Signed packages for each target platform.
    Signed AIR package for installation on desktop.
    Intermediate AIRI package that must be signed later.
    For mobile apps, we need to select the first option to get the .apk and .ipa file as the second option would generate .air file. None of the options offer to package AIR runtime. Only the first option gives you the option on NEXT window to include the download link of AIR Runtime.
    If i am wrong, kindly point me to that specific checkbox.
    OR do i have to put Runtime.apk in the assets folder of my source code so that it gets packaged?

  • IMR7 : Creation of a new Screen Variant does not save Layout

    Hello,
    In IMR7, if I create a new screen Variant with a modified the default Layout field, the next time I log-in to SAP, system does not recognize my Layout selection.
    Do you have a suggestion?
    Thanks
    François

    Hello,
    Thanks for your support but it did not resolved my problem.
    When I save Layout I  have three fields:
    -Layout name
    -User-specific checkbox
    -Description
    Even though User-specific is not checked, next time I relog to SAP and choose my Variant, the layout I have chosen in this variant is not keeped in memory. A layout named 4_SAP_IM is always displayed.
    Do you have the same behavior?
    Thanks
    François

  • Adobe AIR Needed on Android / iOS to Run Adobe Flex Apps

    Hi all,
    I want to confirm if the user has to install Adobe AIR before launching Adobe Flex apps on Android and iOS Devices. Is there any way that we could embedd Adobe AIR setup in the app file so that the user dont have to hastle in installing Adobe AIR.
    Taimur

    It gives you only three options:
    Signed packages for each target platform.
    Signed AIR package for installation on desktop.
    Intermediate AIRI package that must be signed later.
    For mobile apps, we need to select the first option to get the .apk and .ipa file as the second option would generate .air file. None of the options offer to package AIR runtime. Only the first option gives you the option on NEXT window to include the download link of AIR Runtime.
    If i am wrong, kindly point me to that specific checkbox.
    OR do i have to put Runtime.apk in the assets folder of my source code so that it gets packaged?

  • Dynamic structure names in cfloop

    I have designed a web application that allows users to enter
    a number of records on one form – for example computer
    skills. The user can add up to 20 different computer skills.
    On another form, the user’s recorded computer skills
    are shown as a number of dynamic checkboxes. One computer skill
    means the user sees one checkbox. Twenty computer skills means the
    user sees 20 checkboxes. I have made a query loop to output these
    computer skills and checkboxes. I have also made structure
    variables so that the selection of the specific computer skill
    checkbox is retained for later use in the web application. If the
    user checks any of the checkboxes, on submission of the form, the
    structure value is updated from no to yes (and vice versa). This
    part is working, and I am happy with it.
    The problem I have is that I am unable to find a way to
    individually indicate that the specific checkbox value is checked
    or not. If the user selects the checkbox, submits the form and
    returns to the form, the checkbox should still show as ticked as
    the structure value of that checkbox is “yes” (as in
    checked=”yes”). As I am using structures, adding
    #currentRow# to the structure name inside the loop does not work,
    as CF views this as a different structure name that is not
    recognised. For example:
    <cfloop query=”rsReturnComputerSkills
    <cfinput type=”checkbox”
    name=”computerSkill#currentRow#”
    checked=”#structure.computerSkill##currentRow#”
    </cfloop>
    Essentially, I cannot place the dynamic structure value into
    the checkbox input field.
    I thought that using an array may overcome this, but alas I
    encounter the same problem.
    Is there a way to append #currentRow# to the structure name
    or is there another way to achieve the same that I have not thought
    of?

    Just list server gossip (so take with a large grain of salt).
    But some
    well regarded members have done simple timing tests and taken
    a look at
    the Java byte code generated. Evaluate() seems to be pretty
    trim in the
    latest versions of CFMX.
    But I still try to avoid it, because while it may or may not
    slow down
    execution, it definitely can slow down development if you do
    anything
    more complicated then concatenate a simple string and a
    variable.
    Kevin Schmidt wrote:
    > Interesting. Do you have the info on that Ian. As far as
    I know, at least in the latest Advanced CF Course, Adobe/MM was
    still saying that evaluate() brought with it a performance
    degradation.

  • How to populate BAM 11g TP4 data objects directly from jms?

    Anyone knows how to do it? Is there any step by step document for this? Any help will be apreciated.
    tks

    For a JMS Message that looks like:
    ==================================
    <PRE><Salesperson>ABCD 5555</Salesperson><SalesArea>gamma</SalesArea><SalesNumber>1000</SalesNumber><Timestamp>2007-06-07T08:10:00</Timestamp></PRE>
    Data Object being used here:
    =======================
    /Samples/Employees -- can be viewed using Architect
    Create EMS:
    ===========
    Open BAM Architect and select Enterprise Message Source from the drop down list.
    Click Create.
    EMS Details
    Name : TestEmployees
    InitilContextFactory : oracle.j2ee.rmi.RMIInitialContextFactory
    JNDI Service Provider URL : ormi://localhost:23791/
    Topic/Queue Connection Factory Name : jms/QueueConnectionFactory
    Topic/Queue Name : jms/demoQueue
    JNDI Username : fmwadmin
    JNDI Password : welcome1
    JMS Message Type : Text Message
    Durable Subscriber Name (Optional) : <Leave blank>
    Message Selector (Optional) : <Leave blank>
    Data Object Name : /Samples/Employees
    Operation : Insert
    Batching : No
    Transaction : No
    Start when BAM Server starts : Yes
    JMS Username (optional) : <Leave Blank>
    JMS Password (optional) : <Leave Blank>
    Pre-Processing checkbox : unchecked (as we do not have any XSL Transformations).
    Message Element Name : PRE
    Namespace Qualified checkbox : unchecked.
    Message Batching checbox : unchecked.
    Column Value : Select Attribute.
    DateTime Specification checkbox :unchecked.
    Source to DataObject Field Mapping:
    Click Add and enter names for the Tag/Attr Name corresponding to the Dataobject Field.
    Example: Salesperson(from the JMS Message xml) maps to Salesperson (Dataobject Field).
    Click Save.
    Click Continue.
    Click Start and the EMS should start correctly.
    Now if you send the JMS message, you should see that DataObject ("/Samples/Employees") is updated with the new row of data.

  • Adding a boolean field to an existing sbo table

    hi everybody
    i want to add a boolean field to an existing sbo table.
    when i try to do it from the tools ... manage user fields
    i get only types like numeric string..
    i dont get the booelan type
    does anybody know how can i do that thanks.
    for now i used the numeric type and the values 0 and 1

    Hi,
    you can do it in the following way:
    checkBox = ((SAPbouiCOM.CheckBox)(item.Specific));
    checkBox.Caption = this.caption;
    <b>checkBox.DataBind.SetBound(true, tableName, alias);</b>
    checkBox.ValOn = "1";
    checkBox.ValOff = "0";
    Andrey

  • ABAP Query display variant problem

    Hi,
      We have three different SAP clients development DV1, Staging ST1 and production PC1. I have created an abap query for which I m trying to create a global display variant (not user specific). I m able to do so easily in DV1 and PC1 systems. But when I try to create a display variant on ST1 by first running the report and then going to menu Settings->Layout->Save . I find that by default the User-Specific checkbox is selected and disabled. Because of this I can create only user specific display variants for my queries.
    Where can I change the settings so that when I go to the above menu the User-specific checkbox is enabled and I m able to create global display variants ?
    Thank you for reading.
    Krishna

    I am confuse after reading your question , any way we can adding "default" variant in SQ01. You can also assign the same variant in SE93 , when you create T-code for the specific query !!.
    Well if it doesn’t solve your problem ..please explain your question with the help of tr. codes and what you’re trying to do !!
    I’m sorry , its really making me knutt by reading your question again and again .
    Thanks
    Saquib
    Message was edited by: Saquib Khan

  • Create a Global Layout for Embargo Report

    Hi,
    Kindly advise on the below.
    I am attempting to create a Global Layout for the "Export Embargo Report for BP" .
    However, while attempting to save the same , the "user-specific" checkbox is turned on and grayed out.
    Kindly advise on how to go about to save a Global Layout.
    Thanks
    Jasmit

    Thanks Sameer , your understanding is correct.
    However, even if I save the layout as a default one ( Default checkbox set) , it will be applicable only for my id.. I am looking to create a layout, which everyone will be able to access the layout as well..
    Thanks
    Jasmit Kohli

Maybe you are looking for

  • Transport change request to two clients at the same time

    Hello all, we have two clients in QAS system - 600 and 700, now the extended transport control has been setup, once we release a TR in DEV system, there will be two entries in QAS import queue, one for 600 and one for 700, I would like to know whethe

  • Office 2013 : Ribbon some commands are not available

    hi, Sometimes, in excel or others applications, we have some issues regarding ribbon : commands are not functional ! We must close office applications to get back to a normal state. We did a migration from Office 2007 to Office 2013. best regards

  • Let JNDI use a own TrustManager interface implementation

    morning, i did now reach the point where my ldap enabled application is able to connect to a directory server over ssl. i further figured out, that it is possible to tell jsse to use a own implementation of the TrustManager interface so that i would,

  • How to restrict save on fbcj

    Dear All... how to restrict save on T-code:  fbcj thanks & best regards, Qwashty

  • Adobe - inconsistent output on different systems

    Hi, I am converting my smartform output to PDF and this output I am displaying as PDF file in print preview. In some of the PCs, occasionally, the output does not appear in the print preview(Adobe Reader). A pop up box in adobe reader appears that do