selectBooleanCheckBox within the column of the table - on the behavior of the interface problems user loads

Inside the af: Table, the af: colum contains af:selectBooleanCheckbox

I am trying to load the check box value based on the value of the database column,

< af:column sortProperty = "statusFlag" sortable = "false".
headerText = "status".
width = "106" >
< af:selectBooleanCheckbox value = "#{row.bindings.statusFlag.inputValue == 'Y'? true: false}" "
simple = 'true' autoSubmit = 'true '.
immediate = "true" / >

< / af:selectBooleanCheckbox >
< / af:column >

so if status = 'Y' is ticked or not and that part works very well

But, checkboxes are not editable, means that I can not select/deselect, is not readonly, and it is not disabled either but his behave like that

any ideas?

Thank you

Hello

To the editable selectBooleanCheckbox, the value attribute must point to an l-value valid, so a property of bean with both get and set. In your example, the value is a value of r only:

#{row.bindings.statusFlag.inputValue == 'Y' ? true : false}

What you need is to put a converter on your selectBooleanCheckbox that will convert ' don't and 'Y' to false and true respectively. You can do this with a class simple converter prety that you can then set on your component to help

Kind regards

~ Simon

Tags: Java

Similar Questions

  • IP overlapping between VPN remote access and within the interface

    Hi all

    I tried to replace an ASA and configured vpn for remote access using cisco VPN client.

    Remote access users are not able to access within the network, but have no problem accessing the network through a VPN site-to site.

    One thing to note is that remote access VPN users are assigned an ip address of 10.X.3.1 - 10.X.3.200 mask 255.255.255.0. The inside interface is on 10.X.1.2 255.255.0.0.

    Remote access users will have no problem to access within the network if the pool of the vpn client is changed to 192.168.1.1 to 192.168.1.100.

    ASA errors

    6 January 7, 2012 16:25:08 302013 10.X.3.1 27724 3389 10.X.1.66 built of TCP connections incoming 20940 for outside:10.X.3.1/27724 (10.X.3.1/27724)(LOCAL\Cisco) at inside:10.X.1.66/3389 (10.X.1.66/3389) (Cisco)

    6 January 7, 2012 16:25:08 106015 10.X.1.66 3389 10.X.3.1 27724 Deny TCP 10.X.1.66/3389 to 10.X.3.1/27724 flags SYN ACK on dmz interface (no link)

    I understand that the overlap between access ip address range remote vpn network interface network and inside will cause routing problems, but why the syn - ack makes its appearance in the DMZ interface? The interface of the DMZ is on ip address 172.16.Y.1 255.255.255.0.

    I intend to reduce the interface 10.X.0.0 255.255.254.0 inside if it is in fact a routing problem due to the IP address that overlap, but I understand why the syn - ack comes from the dmz interface and the diagnosis of the problem is correct. I check with the customer and was informed that the existing design works on an another ASA with no such problems.

    I agree what you said and also tried, but it does not work.

    http://www.Cisco.com/en/us/products/ps6120/products_tech_note09186a00807e0aca.shtml#overlap

    Solution, that you already know

    Solution

    Always ensure that the IP addresses in the pool should be assigned to VPN, network clients internal head unit and the internal network to the VPN Client must be in different networks. You can assign the same major network with different subnets, but sometimes the routing problems.

    Thank you

    Ajay

  • suddenly, when starting InDesign, I got this window: "could not load the Indesign because it requires Layout UI.please install available to the interface plugin user and restart InDesign.» I tried to reinstall, it did not help. I use CS4 on PC windos 7. a

    indesign error.jpg

    Finaly

    I copied the plugin: layout of the user interface of another PC and pasted into my PC to: c: Program Files (x 86) \Adobe\Adobe InDesign CS4\Required

    and ii work!

  • Configure the interface service user using IBM HTTP server

    Hello

    I do an install of the 9.2.1. WebSphere has been used as the application throughout the installation server. When I go to set up the user interface services (web analysis etc.) I have to enter the location of the IBM http server. However, I do not know what file to use. I also heard that it is a separate installation?

    I'd appreciate any help.

    Thank you

    Nathan

    Hello

    I think you need to install the IBM http server before configuring, you can download it from http://www-01.ibm.com/software/webservers/httpservers/

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Through remote access vpn Ipsec within the host is not available.

    Team,

    I have a question in confiuration vpn crossed.

    ASA 3,0000 Version 5

    the only question is, to access remote vpn clinet IP cannot access inside the host. However able to reach the branch of IP and it uses corprate Internet.

    In SAA from the external interface I am able to ping remote clint IP but not from within the interface. Please help and let me know if additional information is required.

    Thank you

    Knockaert

    Hello

    For the NAT0 configuration, you only need NAT0 instruction for the interface "inside".

    This single command/ACL should allow for 'inside' <-->'vpn-pool' communication.

    NAT0 configurations on the 'external' interface should be necessary only if you make NAT0 between 2 VPN connections. I guess you could do this since you mention traffic crossed?

    I suggest using different 'object-group' to define networks of NAT0 destination for different ' object-group' to the 'outside' to 'outside' and 'inside' users NAT0.

    I also obsessively using beaches too wide network in the statements of NAT0. According to some records, they can cause problems

    For example, this network ' object-network 172.16.0.0 255.240.0.0 "contains the 172.x.x.x.x set private IP address range. And in this case it contains some of your 'inside' networks too?

    How is this a problem of crossed by the way? You say that the problem is between the VPN clients on the 'external' interface and network local hosts behind the 'internal '? Crossed would mean you have connection problem between 'outside' <->'outside' perhaps.

    I don't know if I made any sense. Can be a bit messy. But can not give very specific answers that I don't know the entire configuration.

    Also make sure you have the "inspect icmp" configured under the policy-map of the world, so that the response to ICMP echo messages are automatically allowed through the ASA.

    -Jouni

  • "Unable to connect to the computer error' user profile failed to connect.

    Original title: reset windows password after being locked up and he treated the new password, but I'm still locked. I don't have a password reset disk. What should I do now?

    Tour computer off standby. And when I turned it back the next morning that my password would not work. Figured out how to change the password but still getting the same message and still locked. He did deal with the new password, but just do not let me in. I don't have a password reset disk. What should I do now? Any help is greatly appreciated. I have to deal with my computer and must be able to use it as soon as possible. Thank you

    Also says "Service user profile service does not logon.

    You suffer from the dreaded problem 'user profile '. I don't have a good solution, but if you type the entire error message into a Google search box, you will get countless successes with at least some of them containing good advice.

    No one gets a Windows repair CD when buying a PC. You need to burn it yourself via the control panel / backup and restore. It only takes three minutes and having one is absolutely essential for those who wish to make their own PC maintenance.
    Talking about the essential things: a fully tested alternative admin account is one of them. Without one, you can get in diabolical trouble (the same as when not having is not a spare House key where to break a window is a radical and totally useless but effective solution).
    It might be possible to solve your current problem as follows:
    1. keep tapping F8 during the first phase of startup.
    2. select Repair from the menu.
    3. Select an administrator account, and then enter its password.
    4. When you are prompted, select System Restore.
    5. set Windows to a point well before this problem occurred. This will outline also all passwords to their old values.
  • Download the news lines and columns of a table Cluster

    I have a table with a cluster of 2 elements (string and double). In my application, I use the architecture of State Machine with a Structure of the event. When I click on an item in the table of the bunch, is there a way to retrieve the row and column? I saw the coordinates within the mouse event to the bottom, but I don't think it will work.

    Any ideas?

    How to return the Index of a table of mouse-Select item:

    https://decibel.NI.com/content/docs/doc-6406

  • How can, during the collection of data, start a new column in my table every 100 data points?

    Hello! I have a problem with my data - I get in a wide range of 1 x 1000, but it's the repeated measures, each taking about 500 data points. I want to break this table for this data string start a new column in my table every 500 points given. I don't know how to do it-please help!

    datacompiler100 wrote:

    Hey thanks for the sponsor and the first off I must apologize for the State, I am attaching my VI. I put the part of the VI that I am working on (my team has access, so didn't post everything here) and also attached the data file (when just written in a spreadsheet file, not through the attached VI). I want to convert the long row of data and then start a new column every 50, 100, 5 points (user-defined).

    Using the data from the file, you can reshape everything simply (as you already!), followed by transposition (since you want columns instead of rows). 2D arrays must always be rectangular, so the last column is filled with zeros if necessary. Is that what you want?

    Of course if you try to add a new column in a file, that will not work. You can only add lines in an existing file because of the way the data is organized. To add columns, the entire file must be read, intertwined and all re-written new data in the file.

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • With CVI SQL Toolkit, how to add the new variable param column in a table.

    Dear all:

    I used the CVI Sql toolkit to create a database, but now I don't know how to add a new column to a table in variable param.

    I know, to add a column with the name of constant column could be down by below:

    DBImmediateSQL ((hdbc, "alter table table1 add column1 char [100]");

    But if Column1 is a param variablae how can I write the code? Please advise?  It will be appreciated if you could give me an example.

    Best regards!

    HI -.

    If you look at the parameters that you pass to the SQL function, you can see that the second parameter is a string constant. In your code, you can create an array of characters (string). You can then use sprintf to programmatically determine what will be the contents of this variable. In the function call, you can put the variable instead of the literal string, and you will have a customizable SQL statement.

    Hope this helps-

    John M

  • Need help to build the query/pl-sql block to get the query result and the name of column from DB table in the form of key-value pairs.

    Hi Experts,

    I have a DB table has columns of more than 50.

    I question this table, it should only return one line at any time. as sqldeveloper below image.

    here, I need to build block pl/sql-query, Discover the column in the table as a key and query result as values.

    Eg:     Key                         -  Value

    TASK_EVENT_ID - 1765

    EVENT_TYPE - ASR_UPDATE

    ... etc until all of the columns in my table.

    Experts please comment on that point, appreciate your help on this.

    Thank you

    -Vincent.

    Here is an approach using DBMS_SQL to iterate over the columns of key / value to assign... (Little code snipped for brevity)

    create or replace procedure (task_expired)

    v_store_id in full,

    v_task_action_id in full,

    v_job_id in full

    )

    as

    -[SNIP code...]

    v_sql VARCHAR2 (4000): = ' select * from my_table where PK = 123';  -Your SQL here!

    v_v_val VARCHAR2 (4000);

    v_n_val NUMBER;

    v_d_val DATE;

    v_ret NUMBER;

    c NUMBER;

    d NUMBER;

    col_cnt INTEGER.

    f BOOLEAN;

    rec_tab DBMS_SQL. DESC_TAB;

    col_num NUMBER;

    vAsString VARCHAR2 (4000);

    BEGIN

    -[SNIP code...]

    Message_properties. CORRELATION: = "EDF_EVENT";

    MSG: = SYS. AQ$ _JMS_BYTES_MESSAGE. Construct();

    Msg.set_string_property ('queueName', ' shipping/csi_cth');

    Msg.set_string_property ('MODE', 'CR8');

    c: = DBMS_SQL. OPEN_CURSOR;

    DBMS_SQL. PARSE (c, v_sql, DBMS_SQL. NATIVE);

    d: = DBMS_SQL. Execute (c);

    DBMS_SQL. DESCRIBE_COLUMNS (c, col_cnt, rec_tab);

    1.col_cnt J

    LOOP

    CASE rec_tab (j) .col_type

    WHEN 2 THEN

    DBMS_SQL. DEFINE_COLUMN (c, j, v_n_val);      -Number

    WHEN 12 CAN

    DBMS_SQL. DEFINE_COLUMN (c, j, v_d_val);      -Date

    ON THE OTHER

    DBMS_SQL. DEFINE_COLUMN (c, j, v_v_val, 2000);   -Else treat as varchar2

    END CASE;

    END LOOP;

    LOOP

    v_ret: = DBMS_SQL. FETCH_ROWS (c);

    WHEN OUTPUT v_ret = 0;

    1.col_cnt J

    LOOP

    -Fetch each column to the correct data type based on coltype

    CASE rec_tab (j) .col_type

    WHEN 2 THEN

    DBMS_SQL. COLUMN_VALUE (c, j, v_n_val);

    vAsString: = to_char (v_n_val);

    WHEN 12 CAN

    DBMS_SQL. COLUMN_VALUE (c, j, v_d_val);

    vAsString: = to_char (v_d_val, ' DD/MM/YYYY HH24:MI:SS');

    ON THE OTHER

    DBMS_SQL. COLUMN_VALUE (c, j, v_v_val);

    vAsString: = v_v_val;

    END CASE;

    Msg.set_string_property (rec_tab (j) .col_name, vAsString);

    END LOOP;

    END LOOP;

    DBMS_SQL. CLOSE_CURSOR (c);

    DBMS_AQ. ENQUEUE (queue_name-online 'cbus.aqjms_common',

    Enqueue_options => Enqueue_options,

    Message_properties => Message_properties,

    Payload-online msg,

    Msgid => Message_handle);

    dbms_output.put_line ('00 Msgid =' |) Message_handle);

    dbms_output.put_line('===Done=');

    -[SNIP code...]

    END;

    /

  • Disable the previous dating date picker in the column in a table

    can someone please help.

    on the date column in a table, need to disable previous dates.

    Current functionality. But when the validation page gets updated and the user is able to select earlier dates.



    To restrict the datePicker for new lines changed the URL of the button 'Add Row '.

    javascript:myAddRow();

    In the page edit, I added this to "Javascript > function and Variable global statement.

    function myAddRow()

    { apex.widget.tabular.addRow();

    $("td[headers='DETAIL_DATE'] input:last")

    .datepicker("option","changeMonth",false)

    .datepicker("option","minDate",$v("P2_MASTER_MONTH_MINDATE"))

    .datepicker("option","maxDate",$v("P2_MASTER_MONTH_MAXDATE")); };

    https://Apex.Oracle.com

    w/u/p: nani5048/test/test

    App 92603 5 page

    Thank you

    Nani

    I created a dynamic action

    the loading of the page

    $("td [en-têtes = 'STATUS_DATE'] entrée")

    . DatePicker ("option", "minDate", $v ("P5_MASTER_MONTH_MINDATE"));

    as well as the global javascript function

    function myAddRow() {}

    apex.widget.tabular.addRow ();

    $("td [en-têtes = 'STATUS_DATE'] entrée")

    . DatePicker ("option", "minDate", $v ("P5_MASTER_MONTH_MINDATE"));

    }

  • How to add the new column in existing table to our desired location?

    How to add the new column in existing table to our desired location?

    For example, I have to add the new column 'course' before the salary column in the emp table.

    I think the best way is to add the column at the end of the table and create a new view with the order of the columns...

    Another option...

    places the data into a temporary table and recreate the table with the correct order of the columns, and then insert data to the table from the temporary table

    Refer

    Add column (from table) in the desired position

    Example:

    CREATE TABLE temp_my_user LIKE)

    SELECT * FROM password);

    DROP TABLE password;

    (Password) CREATE TABLE

    userID NUMBER

    , first name VARCAHR2 (25)

    , middleInitial VARCHAR2 (1)

    (, name VARCHAR2 (25));

    INSERT INTO password (userID, firstName, lastName)

    (SELECT username

    first name

    lastName

    OF temp_my_user);

    DROP TABLE temp_user;

  • Deactivation of the column in a table based on the setting in the search box

    Hi all

    I use Oracle Apex 4.1. I have two region

    1. search box

    2. in the form of a table

    In the search box, I have a LOV field where the user can select the value. Based on this LOV in the search box, tabular column f06 must disable or read-only.

    For example if I select THREE in LOV then only column f06 is expected on the other it must disable. How to get there.

    Thanks in advance

    Ravi

    Hi Bobo,

    Hope link below will solve your query.

    Disable the column in a table.

    BR,

    Patrick

  • Find the name of the column in all tables

    How to find the name of the column in all tables in the database for any column to reveal the name of the person?


    We have over 1000 tables looking for.and in some places, the name column FNAME LNAME, First_NAME, DNAME

    For example we have Customer table, Table EMPLOYEE and the ORDER Table

    --------------------------------

    Customer table
    --------------------------------

    LNMAE

    EMPLOYEE table

    EMP_ID
    DEPT_NAME (we don't want this column as it is not a name column)
    Last_name (he must propose this column because it is named)

    ----------------------------

    CONTROL Panel

    -----------------------------

    ORDER_ID
    ORDER_NAME (we don't want this column as it is not a name column)
    Last_name (he must propose this column because it is named)

    -------------------------

    Dept table

    -------------------------

    Dept_ID
    DEPT_NAME (we don't want this column as it is not a name column)

    Please advise...

    Thank you.

    Hello

    What exactly do you do?

    If you want to display the tables containing these columns, you can query the view data dictionary USER_TAB_COLS (or ALL_TAB_COLS, or, if you have privileges, DBA_TAB_COLS).

    For example:

    SELECT table_name, column_name

    Of user_tab_cols

    WHERE nom_de_colonne IN ('DNAME', 'FNAME', 'FIRST_NAME', 'LAST_NAME', 'LNAME') - or else

    ORDER BY table_name, column_name

    ;

Maybe you are looking for