Strange check box behaviour on Linux

Hi,
I have a forms module (10g) that has a database block with a non-database checkbox. This checkbox has the following properties:
-Value when checked: 1
-Value when unchecked: 0
-Check box mapping to other values: Unchecked
-Initial value: 0
On 10g iDS (Win2k), when the query is executed on that block, the checkbox is unchecked for all records, which is my expected behaviour.
Running the same module on 10g ias server (Linux) against the same database shows all checkboxes checked!!
I can bypass this by coding a post-query-trigger and setting the value to 0, but I would like to know if someone knows anything about that.
Thanks in advance
Gerald

Thanks but didn't quite work.
This is a Seam application so I have a ClientOfficeList class which looks like this.
private static final String EJBQL = "select clientOffice from ClientOffice clientOffice";
public ClientOfficeList() {
          clientOffice.setClientGroup(new ClientGroup());
          setEjbql(EJBQL);
          setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
          setMaxResults(25);
     } then the ClientOffice entity bean looks like this.
I wasn't able to introduce a boolean property in the entity bean since it doesnt have a corresponding database column mapping
     public void setClientOffice(String clientOffice)
          this.clientOffice = clientOffice;
     @Column(name = "CLIENT_OFFICE_STATUS", nullable = false, length = 1)
     @NotNull
     public char getClientOfficeStatus()
          return this.clientOfficeStatus;
     }The xhtml looks like this
<h:column>
            <f:facet name="header">
                <ui:include src="layout/sort.xhtml">
                    <ui:param name="entityList" value="#{clientOfficeList}"/>
                    <ui:param name="propertyLabel" value="Office status"/>
                    <ui:param name="propertyPath" value="clientOffice.clientOfficeStatus"/>
                </ui:include>
            </f:facet>
            <h:selectBooleanCheckbox value="#{_clientOffice.clientOfficeStatus}" />
        </h:column>

Similar Messages

  • Strange Bounding Box Behaviour

    Hi
    I have been working in Illustrator recently - and a problem has arisen which is making it hard to produce an accurate artwork. When drawing a simple rectangular box around a 500 x 830 px page - the bounding box is misaligned to the content box.
    What I mean by that is that there is a gap between the edge of the bounding box - and the actual border of the box. To make matters worse - if I move the node for the bounding box - the line doesn't necessarily maintain the offset which appeared in the first instance. Meaning I literally cannot accurately draw a box to fit the page - as the border is always out of position.
    I have attached a couple of pics to probably better illustrate the problem than my explanation is doing. Please note, in the pics - I have literally just moved the btm left node of the bounding box (ignore the diagonal lines as this is a sep element) - not other changes have been made.
    Any ideas anyone....please....?
    Thanks
    Miles

    Thanks for the reply. Just tried the prefs deletion option but sadly to no avail. Previously I have also reinstalled the entire CS (for other reasons) and the problem had existed prior to this also.
    Interestingly if I switch the settings to "align stroke to center" it renders accurately - but the line jumps (all snapping to options are off) to either inside or outside of the artboard and wont sit nicely on the line. It becomes an issue more when exporting as a jpeg as it either renders with no bottom border atall i.e. off of the artboard, or with a pixels space beneath the bottom of the graphic - which obviously is a little unsightly.
    Very odd stuff indeed.
    M

  • About Check box Prompt in OBIEE 11g

    Hi All,
    I really wonder about strange behaviour of check box prompt in OBIEE11g.
    I have created a check box prompt and associate it with my report. Now when i tried to view result with select any of check box, report run properly, But when i deselect check box and re run report, the check box automatically select again and result of report filtered.
    Any one have any Idea about this, as this seems a BUG in OBIEE11g...
    Many Thanks.

    Hi Archie,
    Are you saying, when you deselect a prompt and try to run the report, it still selects the prompts from the first selection and filters the same again?
    -Amith.

  • Goods receipt check box in PO

    Hi, I want to flag the goods receipt check box in PO under delivery tab.But in me22n it is showing in non editable mode..please help me how to do it?
    Regards
    Prabha

    Hello Prabha,
    After posting a goods receipt or an invoice you cannot change the goods receipt indicator (see note 457511 questions 10 to 12).
    It should not be possible to change the the indicators for expected goods receipt or expected invoice receipt after posting follow-on documents.
    Being follow-on documents, even if the goods receipt has been cancelled, the "goods receipt indicator" (EKPO_WEPOS) cannot be modified. This is not an error but the standard system behaviour.
    There is no customizing setting or tool that you could use inside the standard system to change it. This change should be done as a specific code change.
    Regards,

  • Check box with Boolean data type is not behaving properly

    Hi,
    I create a sample application with one entity driven view object with two attributes. One is of String data type [Value will be Y/N] and another (transient) attribute with Boolean data type. I planned to bind this boolean data type attribute to UI. I overridded the view row impl class and included setting of boolean attribute inside the setter of String attribute. Also in the getter of boolean attribute, added code to check the string attribute and return true/false based on that. Everything is working fine in application module tester. But when i test the same in view controller project in a page, it is not working. Always Check box component is not checked eventhough when i explicitly check it.
    [NOTE: I have given the control hint of Boolean attribute as check_box. Also i don't want selected/unselected entries in the page def file. That's why followed this approach]
    Have i missed out anything? Why this behaviour.
    Thanks in advance.
    Raguraman

    what is the value that is going in when u check it.. did u debug it.. is the viewRowimps setter and getter getting called.. and is it having the right value set and got.. and ur sure that ur using selectBooleanCheckBox..
    ur binding the checkbox to the transient value right??

  • ** Create New Transaction Check Box in BPM

    Hi Friends,
    I have ticked the check box 'Create New Transaction' for every step in BPM. In Block I have mentioned 'Block Start' & 'Block End' property as 'New Transaction'.
    I have gone through SAP Help Transactional Behaviour of BPM. Somewhere it is mentioned by check this to increase system performance, database hit time will be reduced. Somewhere 'No New Transaction' is recommened.
    I am confusing on this.
    Could you kindly help me to understand this clearly ? (Like, what is the advantage of 'Create new Transaction'?, If untick what will happen ? ...)
    Kind regards,
    Jegathees P.

    it depends on how you decide to use the property.
    in help it mentions;
    Transactional Behavior for Specific Step Types
    At runtime, the system normally creates a separate transaction for each step. The transaction then covers this step only. However, you can influence the transactional behavior of particular step types. In the step properties, you can define that the system is not to start a new transaction when the step is executed. The system then executes the step in the transaction that was started at the time of execution. Consequently, no background work item is created for the step and the database does not need to be accessed. In this way you can improve system performance.
    by defining to not use a new transaction at the right place you can improve performance.
    It also depends on step types. For example in case of a sync send this is what help says;
    No New Transaction: You can expect better system performance if the system does not create a new transaction for the send step. However, only select this setting if by repeating the send step the result is not changed (idempotency). This is the case, for example, with lookup operations.
    Note
    If you have selected this setting and an error occurs, synchronous sending can also cause problems in the pipeline and the receiver system following the rollback. Messages with an error status can also remain in the pipeline.
    New Transaction: If the result is changed when the step is repeated, choose Create New Transaction. Otherwise the following error situation can occur: The system successfully executes a synchronous send step but an error occurs in the subsequent step. The system rolls back processing and executes all steps in the transaction - including the send step - again. If the send step results in a write-to operation in the receiver system, for example, creating a purchase order, this is also repeated. This can result in semantic errors. 
    Mainly transaction processing helps to have a roll back implemented.

  • Check box showing double when PDF opened in Preview

    I'm setting up a simple check box functionality on a PDF my company sends out. I noticed the check boxes look strange when the PDF is opened up in Preview on Mac. Not sure about PC as we don't have one here. It appears to look fine in Acrobat but I believe a good portion of our clients will use Preview. What you see in the image below is the result when I make a check box and change the color to blue green. The black check mark over it comes out of nowhere. My temporary work-around is to make the check mark art invisible so just that crappy black line shows up instead, although I hate the way it looks.
    Any help is much appreciated, thanks!

    You should always include a link to the FREE Adobe Reader with advice that best results will be seen using it when you distribute a PDF.
    Of course you cannot control what others will use, but if you expect them to use Preview you need to dumb down the design accordingly.

  • Why does the check box untick itself?

    I have a program which has a GUI control that I designed. It consists of several check boxes inside a panel, the user can tick one or more of them. There are various methods to get all the selections, untick boxes in code etc. In one place in my software, I need a dialog box to appear when the user ticks a box. So I got my control to raise a property change event whenever one of the check boxes is ticked or unticked. I then catch this in another part of the code, and cause a dialog to appear which asks the user for further options.
    My problem is this: for some strange reason, when the dialog appears, it is causing the check box to be unticked again immediately after it is ticked. I have prepared a simplified version of the problem code, below. If you comment out the call to ticking(), then it works ok (but the dialog doesn't appear obviously). Has anyone got any ideas, please?
    import java.awt.GridLayout;
    import java.awt.event.*;
    import java.beans.*;
    import java.util.HashSet;
    import javax.swing.*;
    public class Testing {
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                @Override public void run() {                 
                    Testing testing = new Testing();
        public Testing() {
            JFrame fmMain = new JFrame();
            CheckBoxes cb = new CheckBoxes("one", "two", "three");
            cb.addPropertyChangeListener(new PropertyChangeListener() {    
                @Override public void propertyChange(PropertyChangeEvent pce) {
                    String category = (String) pce.getPropertyName();
                    if(category.equals("ticking")) {            
                        ticking();  //commenting this out means the boxes are ticked ok
            fmMain.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
            fmMain.add(cb);
            fmMain.pack();
            fmMain.setVisible(true);
        private void ticking() {
            final JDialog dlg = new JDialog();
            JButton okbutton = new JButton("OK");
            okbutton.addActionListener(new ActionListener() {
                @Override public void actionPerformed(ActionEvent ae) {
                    dlg.dispose();
            dlg.add(okbutton);
            dlg.setModal(true);
            dlg.pack();
            dlg.setVisible(true); 
        class CheckBoxes extends JScrollPane {
            public CheckBoxes(Object... arr) {
                super();
                GridLayout gl = new GridLayout();
                gl.setColumns(1);
                JPanel panel = new JPanel();
                setViewportView(panel);
                gl.setRows(arr.length);
                panel.setLayout(gl);
                ItemListener cl = new ItemListener() {
                    @Override public void itemStateChanged(ItemEvent ie) {
                        JCheckBox cbi = (JCheckBox) ie.getSource();
                        String propertyName = cbi.isSelected() ? "ticking" : "unticking";     
                        System.out.println("Item event: "+propertyName);
                        CheckBoxes.this.firePropertyChange(propertyName, null, cbi.getText());
                HashSet data = new HashSet();
                for(Object o: arr) {
                    if(!data.contains(o)) {
                        JCheckBox candidate = new JCheckBox(o.toString());
                        panel.add(candidate);
                        candidate.addItemListener(cl);
                        data.add(o);
    }

    Thanks Malcolm, I used the different thread as you suggested and it works fine :).
    import java.awt.EventQueue;
    import java.awt.GridLayout;
    import java.awt.event.*;
    import java.beans.*;
    import java.util.HashSet;
    import javax.swing.*;
    public class Testing {
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                @Override public void run() {                 
                    Testing testing = new Testing();
        public Testing() {
            JFrame fmMain = new JFrame();
            CheckBoxes cb = new CheckBoxes("one", "two", "three");
            cb.addPropertyChangeListener(new PropertyChangeListener() {    
                @Override public void propertyChange(PropertyChangeEvent pce) {
                    String category = (String) pce.getPropertyName();
                    if(category.equals("ticking")) {   
                        ShowDlg sd = new ShowDlg();
                        EventQueue.invokeLater(sd);
            fmMain.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
            fmMain.add(cb);
            fmMain.pack();
            fmMain.setVisible(true);
        class CheckBoxes extends JScrollPane {
            public CheckBoxes(Object... arr) {
                super();
                GridLayout gl = new GridLayout();
                gl.setColumns(1);
                JPanel panel = new JPanel();
                setViewportView(panel);
                gl.setRows(arr.length);
                panel.setLayout(gl);
                ItemListener cl = new ItemListener() {
                    @Override public void itemStateChanged(ItemEvent ie) {
                        JCheckBox cbi = (JCheckBox) ie.getSource();
                        String propertyName = cbi.isSelected() ? "ticking" : "unticking";     
                        System.out.println("Item event: "+propertyName);
                        CheckBoxes.this.firePropertyChange(propertyName, null, cbi.getText());
                HashSet data = new HashSet();
                for(Object o: arr) {
                    if(!data.contains(o)) {
                        JCheckBox candidate = new JCheckBox(o.toString());
                        panel.add(candidate);
                        candidate.addItemListener(cl);
                        data.add(o);
        class ShowDlg implements Runnable {
            @Override public void run() {
                final JDialog dlg = new JDialog();
                JButton okbutton = new JButton("OK");
                okbutton.addActionListener(new ActionListener() {
                    @Override public void actionPerformed(ActionEvent ae) {
                        dlg.dispose();
                dlg.add(okbutton);
                dlg.setModal(true);
                dlg.pack();
                dlg.setVisible(true); 
    }Edited by: 892190 on 19-Oct-2011 08:02

  • Strange Dialog boxes popping up

    During the past several weeks I have been getting strange dialog boxes popping up on my desktop and all my efforts, including stripping out my hard drive and reinstalling a brand new version of Mac OS10.5.0 then upgrading to 10.5.6 via the combo download, has failed to cure the problems.
    The first one is:
    The application aosnotifyd quit unexpectedly
    2008-12-31 17:51:59 +0700
    EXCBADACCESS (SIGBUS)
    KERN PROTECTION FAILURE at
    0x00000000000000005
    Thread 0 Crashed
    0 CFRetain + 36
    1 CFDictionaryAddValue + 530
    2 CFDictionaryCreate + 132
    3 _CopyDevice Attributes + 618
    4 _initializeServiceOnce + 148
    5 main +622
    6 start + 54
    The others refer to GrowlMenu and GrowlHelper also quitting unexpectedly.
    Can you advise what might be causing these and what might be done to solve the problem?
    Many thanks
    Roger

    Hi Carolyn,
    Many thanks for the prompt response. However, it is not a kernel panic as I have had several of these in 2007 which I have satisfactorily resolved.
    No, the dialog box is not like that. I have been trying to get picture into the reply box (it's a .pdf file) but am unable to do so. The box is a white square with a yellow warning triangle sign with an exclamation mark followed underneath by the words as shown below :
    The application aosnotifyd quit unexpectedly
    2008-12-31 17:51:59 +0700
    EXCBADACCESS (SIGBUS)
    KERN PROTECTION FAILURE at
    0x00000000000000005
    Thread 0 Crashed
    0 CFRetain + 36
    1 CFDictionaryAddValue + 530
    2 CFDictionaryCreate + 132
    3 _CopyDevice Attributes + 618
    4 _initializeServiceOnce + 148
    5 main +622
    6 start + 54
    Underneath there are two buttons "Ignore" and "Report". The "Report" button reports the problem to Apple while the "Ignore" button dismisses the dialog box.
    What I have done so far is:
    1. Wiped my HDD clean and did a reinstall of OS 10.5.0 then upgraded to 10.5.6 followed by all the system ugrades from the Apple Update application.
    2. Reinstalled all my apps and settings from my Time Machine backup.
    3. From the OS10 startup disk, I repaired my permissions and the hard drive. No problems there.
    4. Booted into terminal mode and ran the /sbin/fsck -fy check and no problems there either.
    5. Checked the install disk that came with to computer but there is no extended hardware test suite on it (Go figure!) so I am unable to go that route.
    Other than this, I do not see what I can do so any help you, or anyone else can give would be most appreciated.
    Incidentally, in May 2008, I posted a question very similar to yours regarding the intermittent and unintended restart problems but, strangely, did not get one response.
    Again, my sincere thanks and i look forward to receiving some more helpful advice.
    Cheers
    Roger

  • Firefox security settings will not save any of my passwords even when i click on the check box for saving passwords. please help.

    When a pop-up comes up on the screen it will ask to save my password or not, well, I click on save password but it doesnt save any passwords even when I have the check box checked for remembering my passwords for certain sites it will not save any type of passwords at all. What am I doing wrong? I am using linux-mac OS user.

    Simply because I don't think about using this option that takes more time to close... I always close ALL my windows with the X.
    Firefox doesn't hang at exit also...
    Using Firefox / Exit doesn't always save the bookmarks also... let's say there is 80% chances it will but not always... I noticed the first time I open firefox after booting the computer... Bookmarks won't be saved... But if I close firefox and re-open it, then it might save it... 50% guess...
    I tried the safe mode, but since its closing firefox and re-open it... new saved bookmarks sometimes work, sometimes don't... it's pretty unstable...
    Hopefully there is a solution to this problem in a near update, annoying... else I will simply reverse to firefox 3.6.16

  • No check box for "Share disks over Ethernet WAN port"

    I've recently bought an AirPort Extreme and have no problem on connecting to Internet and sharing disks. But my "AirPort Utility" looks different from other people's, and I feel uncomfortable about it.
    I saw many users' AirPort Utility screen shots, but all of them have "Share disks over Ethernet WAN port" check box under Disks > File Sharing tab. But mine doesn't; at the place where that check box should exist I have "Advertise disks globally using Bonjour" check box, which is usually under "Share disks over Ethernet WAN port" check box.
    I think this is very unusual. Does anybody have the same problem?
    Here is the my screenshot:link
    Power Mac G5   Mac OS X (10.4.9)  
    Power Mac G5    
    MacBook Pro   Mac OS X (10.4.9)  

    I have !
    i don' t understand neither...
    so strange ...
    Are you guys running version 7.1 of the Airport software?

  • Help needed regarding check box

    Hi,
    I have report which displays all the records and at the end it has a check box column. If i select the check box and click on the button 'GO' a mail should be sent to those check box selected.
    Please can any one help me in this.
    Thanks,

    user12174050 wrote:
    Here the mail is going but if i select more than one check box then mail is not going to the second one selected.Presumably because your call to apex_mail.send is taking place outside of the loop, so it should only send one mail.
    And by the way, looking at your process, you have the call: P17_BASE_LOGIN := v_base_login; -if you select multiple chckboxes, :P17_BASE_LOGIN is going to get changed each time, is that your expected behaviour?
    Also, don't forget to surround your code with: tags
    Ta,
    Trent                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Federal Tax Rules - Multiple Percentage Check box

    Does anyone know what the Multiple Percentage Check Box is for on the Federal Tax Rules Form? What is the rule for using it? In all examples seen, it is checked, but why is it there? Any help would be appreciated. We can find nothing in documentation. If you can e-mail any help to [email protected] Thanks very much

    No Body responded very strange !!!!!

  • Check Box Fields

    I am creating a form that has conditions that a person must follow. I need to set up a way to capture other conditions that haven't been included. I'm trying to figure out if there is a way to select other and have it automatically create check box fields and if it has the ability to have more than one field that comes up.

    To recap...
    Drop-down list - The drop-down list is part of a subform where a subform represents a page. Next and previous buttons are used to page up and page down through the subforms. The form was defined as a static form. Defining the form as a dynamic form resulted in the proper behaviour.
    Checkboxes - The form contains check boxes that are untitled. Untitled check boxes do not get a binding definition. Since the three check boxes in row 1 were all untitled there was no binding definition. Defining each checkbox with a name, which propogated to the binding definition, resulted in the proper behaviour.

  • Check boxes gone

    Hi,
    I've made a Application but I've a strange thing.
    When I select al columns to be shown in the program (and I run the program) I can select a record and modify it, thts perfect!
    BUT...
    When I deactivate some columns (Application->Page defenition->Regions->Reports and deactivate some columns). When I run the program I cant modify the records anymore... Anyone an idea?
    regards,
    Richard

    Richard,
    I have a few points with regards to your post that might make it a bit easier to help you:
    Is this a tabular form, if so, have you created it manually, or using the wizard? Your subject is regarding Check Boxes, but you have not mentioned them again in your post.
    Is it a process that is not firing, or your application that is erroring when trying to show this report and finally when you say you "deactivate" columns, are you setting the "Show" checkbox to unchecked, or are you setting them to be displayed conditionally?
    Cj

Maybe you are looking for

  • Windows 7 running PC thinks my iPod Touch is a digital camera?

    Hi everyone. I've had my second generation iPod Touch for over 2 years now. I originally had it synced up with iTunes on a laptop running Windows Vista, and it worked perfectly. I then switched it to a new laptop, running Windows 7. That laptop let m

  • SSD Cache Not Working U840 after Clean Install Intel Smart Response Technology

    Hello, I completed a clean install of Windows 8 on my ultrabook model U840 (Core i3, 16GB SSD).  I would appreciate any advice to get the SSD to use the Intel Smart Response Technology (SRT) for SSD Cache. I used the Intel Rapid Storage Technology (R

  • Saving Numbers spreadsheet with password.

    How do I save a Numbers spreadsheet with a password to encrypt it? With Microsoft excel, it is quite easy and part of the "Save as" box, but I can't see how to do this in Numbers, and nothing in the help function either.

  • Re: equipment inventory

    Could someone help. Is it possible to use or configure the Oracle database 10g express edition to run as a maintenance management system (database) for logging jobs and recording events against each equipt on the inventory. I know that to use it as a

  • Cumulative Query

    Hi, I am writing logic to fetch and display summary of transactions between two given dates. The required columns are shown below(Please paste in excel to display correctly). Have used analytic function to fetch summary of cumulative units fund wise.