Yet another question "check box in a table"

Hi everyone - I feel like this issue has been beaten to death, but I'm not super techno and it is very hard for me to decipher the many solutions that have been offered in this forum.

I downloaded and installed the plugin simple checkbox. I want to use it to allow the user to select a checkbox that should be updated then a varchar2 column (1) in my table of database with a "Y" or "n" depending on whether the box is checked. In a simple form of APEX it works easily and without any problems that I can choose the plugin Simple checkbox in the dropdown list of "display as" for a given when creating the form item.

In a tabular presentation there is no option to select the plugin simple checkbox for display "like." So can I assume that this is not supported and so I need to use the apex_item.checkbox function in my select statement?

I tried this and I see a box on my sub form of table, but when I select the check box for a given row, and click Update I get this error:
'Current version of data in database has changed since user initiated update process. current row version identifier = "9660AA52272606105296577232D033C7" application row version identifier = "AC661FC2F31800615ABE16CA014BB96F" (Row 1)'
I looked at the example of the Dene here > http://deneskubicek.blogspot.com/2008/10/tabular-form-checkbox-for-setting.html, but I just can't believe that this a lot of code is needed to do something so simple.

I have a http://apex.oracle.com sample app installation where I have reproduced my setup:
Workspace: Leppard
username/pw: guest/app_1000
MyTestApp > MyTabularForm.
The column in question is 'Checkbox' and the db column in Emp is also named chechbox.
Any suggestion would be appreciated.

Thank you
John

Hi John,.

Thanks for the creation of an example, this of course made easier :-)

The error you are getting is because your column name is different from the column name in your query.

I changed your query to this ("CheckBox" checkbox)

select
"ROWID",
"EMPNO",
"ENAME",
"JOB",
"MGR",
"HIREDATE",
"SAL",
"COMM",
"DEPTNO",
"CHECKBOX"
from "#OWNER#"."EMP"

Your box was also no definition LOV so I wrote 'Y, N' it

It seems to work now.

Tags: Database

Similar Questions

  • If else check box in the table does not properly

    I'm new to this forum and hope someone can help me with that.

    I created a dynamic array and I have 2 types of boxes.

    One is a check box for the individual lines that fills a value in a cell. Otherwise, it will be zero.

    Another is a master checkbox that activates the check all lines and value box

    Problem statement:

    When I click on the master check box, every individual is selected. However, the value of the cell is incorrect. Value of all the rows is based on the value of the first row.

    Here is my code:

    Master Checkbox (using the formcal in click):

    If (CheckBoxAll == "1") then

    Table.Row1 [*]. CheckBox1 = "1";

    Table.Row1 [*]. Cell4 = table.row1 [*]. Cell2;

    on the other

    Table.Row1 [*]. CheckBox1 = '0 '.

    Table.Row1 [*]. Cell4 = 0;

    endif

    Check box for the individual line (using the formcal in click):

    If (CheckBox1 == "1") then

    Cell4 = Cell2

    on the other

    Cell4 = 0

    endif

    Otherwise, I tried to turn the master value of the box fill off & put a validation in each line instead. This time it works! but it kept prompting a message for each rows whenever I unchecked the box: "the value of Checkbox1 is not valid.

    Here is my code:

    Master Checkbox (using the formcal in click):

    If (CheckBoxAll == "1") then

    Table.Row1 [*]. CheckBox1 = "1";

    on the other

    Table.Row1 [*]. CheckBox1 = '0 '.

    endif

    Check box for the individual line (using the formcal to validate the event):

    If (CheckBox1 == "1") then

    Cell4 = Cell2

    on the other

    Cell4 = 0

    endif

    Appreciate all the help that I am at a loss as to why the tis error occurs and how to solve it.

    Thank you!

    Hello world

    I managed to find a solution to my problem. I write for the benefit of any1 facing the similar problem.

    I changed formcal to Javascript.

    Master box (Click event):

    vRows var = Table._Row1.count;

    for (var i = 0; i)

    {

    If (this.) RawValue is "1")

    {

    xfa.resolveNode ("Table.Row1 [" + i + "]"). CheckBox1.rawValue = "1";

    xfa.resolveNode ("Table.Row1 [" + i + "]"). Cell4.RawValue = xfa.resolveNode ("Table.Row1 [" + i + "]"). Cell2.RawValue;

    }

    on the other

    {

    xfa.resolveNode ("Table.Row1 [" + i + "]"). CheckBox1.rawValue = "0";

    xfa.resolveNode ("Table.Row1 [" + i + "]"). Cell4.RawValue = 0;

    }

    }

    Another point to note, it only works for the table of data binding. If the row in the table has been created original, somehow the Table._Row1.count does not work. It detects that the value = 1.

    Thanks to all who tried to help me!

  • Select the check box for the table of the ADF

    Hi all

    I want to add the check box in front of each line. The user will select the row by clicking the box and going to treatment by clicking on a button.

    I just almost all possible discussions on OTN.

    What I've done so now
    1] added a transitional Boolean attribute in my VO. added as a selectBooleanCheckbox in .jspx page.
    [2] a button with backing bean that will do the processing. [He will pick up the attributes of all ranks and be written in a file]
    [* 3] it works fine if I use the default option of line by Ctel selection + A, or by pressing Ctrl + click or SHIFT + arrow key. Backing bean is not the issue.*
    [4] try to intercept the TableSelection Listner also.

    It comes

    When I select the check box, only the last selected line is processed and not all lines. How to make the selectable online by clicking on the checkbox.

    I use JDeveloper 11.1.1.5

    Refered links
    http://www.gebs.ro/blog/Oracle/Oracle-ADF-row-selection-using-checkboxes/
    http://technology.AMIS.nl/2010/07/29/ADF-11g-select-all-rows-in-an-ADF-table/
    http://Sameh-Nassar.blogspot.nl/2009/12/use-checkbox-for-selecting-multiple.html
    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/99-checkbox-for-delete-in-table-1539659.PDF

    Mukesh.
    https://www.dropbox.com/s/1gqsaobgyjycie6/AddDeleteEmployees.rar
    
  • Check box in the table

    Hello

    on my jspx page I want to delete lines that are selected by box in a table.

    I took a temporary variable in view, I need a viewRowImpl method that returns the key of the selected lines.

    If possible give me a code example.

    Thanks in advance
    Vikas

    Hello

    Here's an example how you can do this:

    String selectedColumnName = "IsRowSelected; transient domain name
    CollectionModel tableModel = (CollectionModel) table.getValue (); the table is richeTableau object bound to a component af:table
    JUCtrlHierBinding = adfModel
    (JUCtrlHierBinding) tableModel.getWrappedData ();
    Rank [] allRows = adfModel.getAllRowsInRange ();
    for (int i = 0; i)< allrows.length;="" i++)="">
    Line line = allRows\ [jemti];

    Selected Boolean = (Boolean) row.getAttribute (selectedColumnName); transient field type cast
    If {(selected)
    Row.Remove ();
    }

    }

    or using ViewRowImpl:
    ....
    Selected Boolean = (Boolean) rowView.getAttribute (selectedColumnName);
    If {(selected)
    rowView.remove ();
    }
    ...

    Hope it helps you,

    A beautiful day,
    Bogdan

  • BlackBerry smartphones yet another question of Storm vs App Store

    Hi all

    I have a storm on the Vodafone UK network with the latest version of the software installed, version 4.7.

    I received the email from BB with the link to the App Store, I click on the link in the email through my BB and be taken to a page telling me that my phone is not supported.

    I think I did what I'm supposed to do here, I free memory, the right software etc.

    Any chance to get the App store on my phone or I will give just straight up?

    RyanJohnH wrote:
    Hmm, I think that this may be the problem then

    That is the question

    Good luck with all that.

  • Yet another question on the planning of the CPU

    Hello!

    CPU Scheduling is one of those endless, and although I read a lot about it, I found different answers to the same question. Moreover, this is the last document on this subject and recommended... read http://www.VMware.com/files/PDF/Techpaper/VMware-vSphere-CPU-Sched-perf.PDF .

    Is it possible to run 2 virtual machines at the same time in the same logical processor? Very basic question, I'll appreciate any response and if it has links to the official documentation, even better!

    Kind regards

    elgreco81

    Ah, I think I see the confusion. There is no such thing as using a fraction of a nucleus within a single cycle. You CAN use all of a nucleus for a fraction of the total cycles over a period of time, but a physical core is busy or idle. There is no in-between, especially since we are ignoring hyperthreading in this example.

    All of a core to aid for a fraction of the total time in a given sampling period, is what gives the illusion of the use of 'part' of a core. Split in fact one heart in this way would require States and the architecture that simply do not exist in the x 86 world.

    Note that in the article by Frank Denneman he calls specifically free cycles "shopping on ' Planner. In your example, there will be always 1 free cycle at any time. There are 1000 cycles per second in your original example, and many of these cycles may be free, but there is never more than one at a time.

    To say things, otherwise, you cannot use all 1000 MHz in the first millisecond.

    The paragraph you cited in the guide to management resources assumes a Jepp 2 GHz. keep in mind that any measure of frequency REQUIRES a time interval. There is no literal split 'given time' is implied here. What they're saying is that if over a certain period of time, say a second, VM1 only consumes 500 cycles and ask no more, then VM2 is welcome to help itself to one of the unused 500 cycles initially entitled to VM1, and cycles of 1000 that VM2 was already entitled.

    I would like to know if there is still no ambiguity, or whatever it is that I does not really there.

  • Yet another question of color management

    Hi people,

    I have read several of the very detailed color management messages/discussions here already but that you did not find the answer I'm looking for. So I hope that some experts might be able to save me time and the entry...

    I'm under a Windows 7 (32-bit) environment with a Dell screen Ultrasharp u2711 attached. I left the monitor prepare to close on 30 minutes and ran an 'Easy' calibration with Lacie's eye - one device using the Gretag Macbeth 3.6 software. (I guess I could have used the calibration of the "Advanced" option but thought that I would allow me to save time and has always been pleased with the results on my older Sony CRT).

    I'm under LR3.2 and CS4. Viewing images in LR RAW skin tones are much too saturated, but when I export images as sRGB JPEGs results seem very nice when displayed in the (much less saturated) Windows Photo Viewer. If I open the same image in Internet Explorer, it is identical to the way she looks in LR. (I haven't installed so have not compared to Firefox). If I open the image in CS4 by default it has the same appearance it does in Windows, but if I change the format of RGB monitor test it corresponds to what I see in LR and IE.

    I guess it is somehow related to the new wider gamut range that the monitor can display (compare to my previous CRTs). I read in one of the messages of Jao that LR is always right and other unmanaged applications will do weird things on high range screens. IE is not color managed then why it display very similar colors to what I see in LR, when the standard Windows image viewer displays much less saturated color (which seems to be the opposite of what others are experiencing)?

    I usually always export to JPEG sRBG images usually go online, but this series is going to a customer who will be most likely took to printing and viewing on a PC.

    Looking forward to your comments on this.

    Kind regards

    Chris

    Can anyone confirm 100% if the Windows in Windows 7 Photo Viewer is color managed?

    This is the case.

    Check out this thread on the calibration range as your monitors. Adobe RGB is perhaps not the best starting point, and certainly the luminance to any monitor that is used for the treatment of the image must use 120cd/m2 as an absolute maximum. The best results will be obtained my ambient light control (monitor hoods etc) in order to use around 100 cd/m2 luminance values or less. A decent calibration device should be able to measure the ambient light and the recommendation on the lowest luminance setting allows you to calibrate.

  • Yet another question of model

    Recently, my model started inserting his own repertoire of all the URLs in the site when I update the pages, so:

    href = "site/index.htm"

    became:

    href="site/templates/index.htm".

    The links in the site are enterred like this:

    href = "Stories.htm"

    For a page that is located in the directory of the site. The model transformed into:

    href = ' templates/Stories.htm'

    This just started happening. Before that, there was no problem. No idea why this happens and what to do about it?
    Of course, none of the work of the image or the links of the CBC.

    Help

    -Kenoli

    Thanks for your quick response. I'm helping a friend here and what threw me was that it works and then suddenly wasn't. Of course, I don't know what she could do to cause that, even if she is not conscious of having anything other than make a small change and update related files to the model. I discovered that inserting a "... / ' from each link solved the problem. Here are answers to your questions:

    > Are these pages * in * the Templates folder?

    NO.

    > Are you put these links of coding, or by searching for the target files?

    I don't know, but try the method browse inserts the "... / 'syntax in front of the link." (should have tried it immediately)

    > Can we see your template page?

    I think this is resolved, so...

    > DW did only what you tell it to do...

    Gotcha, although, as in life, sometimes we don't know exactly what we said.

    Thank you

    -Kenoli

  • Yet another question regexp_replace

    Hi guys,.

    I am trying to replace the list of columns in a select statement as follows:
    SELECT regexp_replace('select col1, col2 from table',
                          '(select )(.+)( from )(.+)',
                          '\1'||'col3, col4'||'\3\4'
                          )
      FROM dual;
      
    OUTPUT: 'select col3, col4 from table'
    The problem is that if I have internal queries, it will not work.
    SELECT regexp_replace('select col1, col2 from (select col1, col2 from table)',
                          '(select )(.+)( from )(.+)',
                          '\1'||'col3, col4'||'\3\4'
                          )
      FROM dual;
    You guys can give me some advice.

    Thanks in advance.

    Manuel Vidigal wrote:
    ...
    ... but I already do not know what are the columns that will be replaced. I don't know with what I want to replace it with.

    Ultimately I want to replace everything from the first select statement until the first of a string custom.

    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> with t as (
      2    select 'SELECT col1, col2 FROM (SELECT col1, col2, col3, col4 FROM table1);' x
      3    from dual)
      4  --
      5  select :x as x,
      6         regexp_replace(:x,
      7                        '^SELECT (.*?) FROM',
      8                        'SELECT ''my_custom_string'' FROM') as modx
      9    from t;
    
    X                                                                      MODX
    ---------------------------------------------------------------------- ---------------------------------------------------------------------------
    SELECT col1, col2 FROM (SELECT col1, col2, col3, col4 FROM table1);    SELECT 'my_custom_string' FROM (SELECT col1, col2, col3, col4 FROM table1);
    
    1 row selected.
    
    test@ORA10G>
    test@ORA10G>
    

    isotope

  • Yet another question of password

    It is a system running Vista Home Premium. Recently, the password has been changed and is now unknown (don't ask). But the old password is well known. Tried to use the instructions in section # 740765 but who overcharged a username and a password. Is there a way to do a restore system without login? The administrator account has never been activated. Thank you.

    You have forgotten the password.

    http://support.Microsoft.com/default.aspx/KB/189126

    "Microsoft's strategy concerning lost or forgotten passwords"

    Microsoft cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features.

    Mick Murphy - Microsoft partner

  • Yet another question: How do the update of Windows (Windows 7)

    My Dell laptop running Win7 fine until recently when the WU stop working, which seems to be a very common problem.   After many, many hours to try dozens of fixes, I gave him room and upgraded to Win10.  After discovering that Cortana (surprisingly) cannot be uninstalled and uses massive memory resources, I have reinstalled Win7 from the original dvd.    Window update still doesn't work, but I downloaded a 'stand-alone' Windows Update version and it worked.  Downloaded and installed updates 225, but subsequently of course, Win Update does still not work.   It just displays a message that updates are downloaded, but nothing else happens (several hours).   I tried Fixit kb971058, and it is also just here for hours.

    I used Windows since 3.0 and with each major release, maintainability got progressively more difficult.

    I don't know how Win Update might have gotten this done but has hundreds of discussions on the issue on the forums, etc, I think maybe that Win7 is now a lost cause and it's time to switch to Linux?

    Download KB3145739 from the Microsoft web site and install it.32 bit version: 64-bit version of https://www.microsoft.com/en-us/download/details.aspx?id=51857 : https://www.microsoft.com/en-us/download/details.aspx?id=51853

    You must include KB3153199 in this guide. There is no update of windows running performing normally without KB3153199 and a few others installed. Links and info provided here:

    http://Wu.krelay.de/en/

    KB3153199 and KB3145739 are still necessary, after installing the rollup of convenience.

    https://blogs.technet.Microsoft.com/windowsitpro/2016/05/17/simplifying-updates-for-Windows-7-and-8-1/

    Best regards, VZ

  • Yet another question about the update with the shutters tab

    I am quite new to this, but I've been scouring the boards and try many different things, and I decided to ask for advice.

    There are other threads similar to my problem such as:

    http://supportforums.BlackBerry.com/T5/Java-development/SetFocus-issue-with-tabbed-screen-page/m-p/6...

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-delete-a-Manager-or-a-field-that-is-c...

    I have a set up tabbed pane based on the example and everything works fine until I have delete a line from a VerticalFieldManager. It is by default the focus on the first item on the screen, and I get this. My problem is trying to substitute or replacement behavior.

    My screen implements the FocusChangeListener for the buttons on the tab (custom LabelFields).

    I tried many different variations - I tried to manage the update completely manual and ended with a bit of a mess. I tried to capture the event navigationUnclick() and coding of the focusChanged() method to manually switch the update, but it seems that the focusChanged() method is called before the focusChanged(), which doesn't help me.

    As I said I am pretty new to this so I could do something very stupid, but I don't really understand the focus handling implementation. A kick in the right direction would be appreciated.

    Thank you.

    You can have a NullField in your managers before all other areas - in this way, even if you delete the rest, the NullField might keep the focus.

    If this does not help, try the substitution of sublayout for your managers, call super.sublayout and then explicitly setFocus to your NullField (the deletion of any field causes a display Manager to rearrange).

  • Yet another question of upgrade!

    Hello

    Basically, we have two virtual Centres in bound mode 4.1.

    I'm looking to upgrade this weekend.  The main concern I have is with a permit.  I want to be able to improve the VC of the first and the hosts later (in the next few months as we put in scene in worms Dominican Republic / Dev / DMZ / Live).

    Are there problems to upgrade just the VC (especially with a permit) and then upgraded the laer hosts?

    Thank you very much


    S

    There is no problem with that, in fact, that's the way correct i.e. vCenter first.  vCenter 5 held the license information for ESX/ESXi 4.x guests and guests of ESXi 5.x, you need just to make sure that you add your 5 vCenter during or license keys once you have made your updates to vCenter.  Then, when you're ready, simply add ESXi license 5.x to vCenter and begin the upgrade of your hosts.

    Doug.

  • Yet another question of disk configuration

    I know that this has been discussed ad nauseum, but I am confused on some points and need advice on disk configuration. I just ordered a laptop that has a 256 gb msata ssd + two other SSD of 256 MB and a removable 7200 RPM 750 GB drive in the optical drive slot. So I will, indeed, have four disks (3-256 gb SSD & 1-7200 RPM HD). I know that the general concepts between dedicating different disks for OS / programs, scratch disk, make media player, &, but after reading suggestions from Adobe, manual first and forums, I'm not clear on the fixed assets can be placed on removable drive and what assets I can return the drive 7200 RPM to optimize the Assembly & rendering speed for the global configuration of disk? First manuals I've read everything it say to not place scratch them files on a removable disk, & of course I use the removable drive to OS & programs - that render leaves or media for 7200 RPM disk. Which would be best?

    With our specialized needs is change above your recommendations somehow?

    Not mine.

    By the way, you can just make the PP sequence to ensure smooth playback, and then use his Cinema display mode (CTRL + "") to go full screen without GUI.  The space bar will always start and stop playback.  Connect the computer to the projector and speakers, and you're golden.

  • Yet another question about VCP, training materials

    Hi guys,.

    I'm sure you asked this several times, but I hear that the best study materials are unique to VMware .pdf but who exactly those? There are thousands!

    I would be correct in saying the .pdf is available for download on this page would be a good starting point?

    http://www.VMware.com/support/pubs/vi_pages/vi_pubs_35.html

    I just finished CBT of Elia Khnaser (very good) and also bought the VCP Exam Cram book which I'll go through once my knowledge base is preferable.

    Reserved (e) to participate in the day 4 training this month, but seeks to focus on the good material so far here. If you know of any other material which is good please let me know.

    Not interested in brain shocks - the reason for the test is if it forces me to learn the in-depth product!

    -Is it possible to book your exam prior to attending the training and the calendar for after training?

    Thanks in advance for your answers.

    Matt MC

    Yes - URL is the place for the PDF files, you will need to study for and yes it is possible to book your exam before taking the class.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

Maybe you are looking for