How to show under condition inside the table

Hi Experts,

JDev version 11.1.1.4.0.

I have a table inside the table, I have 2 Date.MinValue i.e startdate and enddate. The necessary should be fired in the click of a button, apart from the table record.

For each line, there is a date of start and enddate.

Scenario1:

StartDate = null. end date = null. When the click on save the date must be recorded and no message validation should be triggered when the click on the button Save. (It works fine).

Scenario2:

startDate = date and end date = null. When the click on save the date must be recorded and no message validation should be triggered when the click on the button Save. (It works fine).

Scenario3:

startDate = null and endDate = someDate. When the click on save the date must be registered and validation should be triggered only when the click on the button Save. (It works fine)

Scenario 4: When I go start date and end date and remove the start date and pulls on the validation tab manually. But I want to be pulled on save button that is outside the table.

Thank you

Roy

Try playing with the immediate property for af:table and autosubmit to date component. MinValue (must be false)

Tags: Java

Similar Questions

  • How to show/hide conditional text on the text selected with the FDK API

    Hello!

    Do you know how to show/hide conditional text in a selected text using the FDK API? I managed to do it on the whole document, but I need to do on specific selected text...

    Thanks in advance,

    Stefano

    Hi Stefano,

    This is not possible, the conditions are the properties of the document and cannot be changed from visible to hidden or v.v. for the full document.

    If you really need a more detailed method, you must create a separate condition for the selected text.

    -Michael

  • How always show left column on the screen, when I scroll to the right of a large spreadsheet

    How always show left column on the screen, when I scroll to the right of a large spreadsheet

    If the left column is a column header, you can check freeze header columns in the table menu.

    Better not to use TOO many columns.  Numbers works best with relatively little.

    SG

  • How can I escape commas inside the function listQualify?

    I have

    am a newbie in coldfusion. I need help. My database has records of names of companies as: abc, Inc. For now I'm using this query:

    SELECT DISTINCT COMPANY FROM ComapanyTable WHERE (Company IN (#ListQualify(form.cCompanyList2, "'", ",")#))

    This problem is that it separates CBA, Inc..

    SELECT DISTINCT Company FROM CompanyTableWHERE (Company IN ('abc',' Inc.','xyz','Inc.'))

    I need to get the list, as it is, i.e. as: "abc, Inc.", "xyz, Inc." so that I can later insert these values into a new table.

    Insert the code:

    <cfquery name="insertPair" datasource="#DSN#" dbtype="ODBC"> INSERT INTO tblChildCompanyToParent (Parent_Account_ID, Child_Account_ID) SELECT DISTINCT <cfqueryparam value = "#form.pCompanyList#" CFSQLType = "CF_SQL_VARCHAR">, Company FROM CompanyTable WHERE Company IN (<cfqueryparam value="#ValueList(insertSelect.Company,';' )#" CFSQLType = "CF_SQL_VARCHAR" list="true" separator=";">) </cfquery>

    Code of the selection list

    <select multiple name="cCompanyList2" id="cCompanyList2" class="selectCCompany" data-attribute="selCCompany" size="10"> <cfloop query="childCompanyList"> <option value="#childCompanyList.Child_Account_ID#">#childCompanyList.Company#</option> </cfloop> </select>

    Y at - it anyway to solve this problem.

    Thank you for your help.

    I managed to fix it.

    I posted the solution to StackOverflow

    SQL - how can I escape commas inside the function listQualify? -Stack overflow

    Thank you once again!

  • How to get a list of the tables more fragmented in Oracle?

    Is there a SQL on how to get a list of the tables more fragmented in the Oracle DBMS?

    Update the statistics on the table and try this, you should see very fragmented tables upstairs with high wasted_space.

    select table_name,round((blocks*8),2) "size (kb)" ,
                                round((num_rows*avg_row_len/1024),2) "actual_data (kb)",
                                (round((blocks*8),2) - round((num_rows*avg_row_len/1024),2)) "wasted_space (kb)"
    from dba_tables
    where (round((blocks*8),2) > round((num_rows*avg_row_len/1024),2))
    order by 4 desc
    

    I changed the query a little because the ORDER BY will not work if we concat | ' Ko ' with the column because this makes the output a character column data.
    And added a WHERE condition to see that these tables where the total size is greater than the actual size of data.

    Published by: zahid79 on July 23, 2010 13:40

  • How triggers can be created in the table?

    Hi all
    How triggers can be created in the table?
    is 12 or as far as we can?

    There is no technical limit to the number of triggers you set (or, at least, not one that any rational person has never touched). He usually would not make sense to have more than one trigger of a given type on a particular table, even if you can come up with situations where you can have multiple triggers of the same type on a single table.

    Normally, when people ask this question, it is because someone (foolishly) he asked in an interview. Frequently, the interviewer is trying to determine if you know how many types of triggers there is no if you know if there are some esoteric limit on the number of triggers.

    Justin

  • BUG: CheckBox inside the table (ADF 11.1.2.1) colum

    I find a bug using box inside the table, these are the steps to get the bug.


    1. create a database table view object.
    2. create a view object clause where clause
    3. create a form of parameter (using where clause)
    4. create an editable filter enable table

    -AFTER THE TEST, ALL WORK

    5 convert inputText to af:selectBooleanCheckbox

    -AFTER TEST GET THIS ERROR:
    Data and tabla 1-Filter adf is ok.
    2. apply a filter by using the shape parameter and the same filter adf: time table. (The data are wrong.)


    As I say it happened only when I change my inputText to af:selectBooleanCheckbox.

    With inputText work well, with bad job booleanCheacBox...


    Anyone know if it's a bug in 11.1.2.2?

    Once you have converted the text, checkbox, you drop the attribute on the box again. It will ask you to map to a text with boolean value. You should have something like this in the pagedef. The filter of the table can then take these string values (true/false). Remove the validator/converter within the checkbox tag.

  • Tool: how to choose an image inside the image area that is out of reach

    Tool: how to choose an image inside the image area that is out of reach?

    See the photo below reference.

    How to move the image inside a box that lies beyond the visible area? (The bottom box)

    When you click the image, you can't get the contour or more unless the image area is expanded to include the hidden area.

    Am I missing something? Thanks for the help.

    Vannon

    Picture 1.jpg

    You can move the object back in the frame by clicking on the button "Content Center" to the right (this is located in your toolbar at the top).

    Or you can use the arrows on your keyboard to move it as well.

  • scroll inside the table overflow

    Hello
    Is it possible in Dreamweaver to an overflow of scroll inside the table and no tables in the
    the browser window? I can't understand.
    Any suggestion? Thank you very much.






    This does not fit inside the box, therefore, it will open a scroll bar!

  • Num_rows reflecting is not good amount of lines inside the table

    Hello

    We use after an order for the analysis of our 10.1.0.4 database schemas:

    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname = > 'XXXX', estimate_percent = > 30, cascade = > TRUE, method_opt = > 'for all COLUMNS size 1', level = > 4);

    After analyzing the NUM_ROWS column dba_tables thinks not many lines for IOT. Is it planned?

    Kind regards
    Santi

    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname-online 'XXXX', estimate_percent-online 30, cascade-online TRUE, method_opt => ' for all COLUMNS size 1', degree-online 4 ');

    When you use a 30% sample, Oracle will analyze only 30% of the blocks. Based on the analysis of 30% of the block oracle estimated distribution of data across the table (this is an estimate and may or may not correct, based on the density of the data inside the table).

    SQL> create table test_iot
      2  (owner,object_id,object_name,
      3  constraint pk_test_iot
      4  primary key (object_id))
      5  organization index
      6  as
      7  select owner,object_id,object_name
      8  from all_objects;
    
    Table created.
    
    SQL> select count(*) from test_iot;
    
      COUNT(*)
    ----------
         68195
    
    SQL> select num_rows from dba_tables where table_name='TEST_IOT';
    
      NUM_ROWS
    ----------
    
    SQL> exec dbms_stats.gather_table_stats(ownname=>'SYS',tabname=>'TEST_IOT',estim
    ate_percent=>30,method_opt=>'FOR ALL COLUMNS SIZE 1',degree=>4)
    
    PL/SQL procedure successfully completed.
    
    SQL> select num_rows from dba_tables where table_name='TEST_IOT';
    
      NUM_ROWS
    ----------
         67997
    
    SQL> create table test_analyze
      2  as select * from all_objects;
    
    Table created.
    
    SQL> select count(*) from test_analyze;
    
      COUNT(*)
    ----------
         68197
    
    SQL> select num_rows from dba_tables where table_name='TEST_ANALYZE';
    
      NUM_ROWS
    ----------
    
    SQL> exec dbms_stats.gather_table_stats(ownname=>'SYS',tabname=>'TEST_ANALYZE',e
    stimate_percent=>30,method_opt=>'FOR ALL COLUMNS SIZE 1',degree=>4)
    
    PL/SQL procedure successfully completed.
    
    SQL> select num_rows from dba_tables where table_name='TEST_ANALYZE';
    
      NUM_ROWS
    ----------
         67880
    
    SQL> select table_name,AVG_ROW_LEN,sample_size from dba_tables where table_name
    in('TEST_ANALYZE','TEST_IOT');
    
    TABLE_NAME                     AVG_ROW_LEN SAMPLE_SIZE
    ------------------------------ ----------- -----------
    TEST_ANALYZE                           101       20364
    TEST_IOT                                34       20399
    
    SQL> exec dbms_stats.gather_table_stats(ownname=>'SYS',tabname=>'TEST_ANALYZE',e
    stimate_percent=>100,method_opt=>'FOR ALL COLUMNS SIZE 1',degree=>4)
    
    PL/SQL procedure successfully completed.
    
    SQL> select num_rows from dba_tables where table_name='TEST_ANALYZE';
    
      NUM_ROWS
    ----------
         68197
    SQL> select banner from v$version;
    
    BANNER
    ------------------------------------------------------------------------------
    
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    

    Based on the average table of line length "TEST_ANALYZE" (which is larger than 'TEST_IOT'), less than amount of lines/block so num_rows has less estimated total of lines. Note that when I ran the table with 100%, and then he gave an exact number of lines.

    Kind regards
    S.K.

  • How can I pass a condition of the table in the sql statement?

    For example, in the table in the COND Varchar2 column (200) there is the value ' VAR > 10'.

    | COND |

    |' VAR > 10' |

    where VAR is the name of the table column. I would like to make statement CASE WHEN VAR > 10 AND 0... I tried with as subquery

    WHEN BOX (SELECT COND FROM TABLE WHERE...) THEN 0, but it does not work.

    Hello

    You can do this by using dynamic SQL.

    that is to say:

    declare
      v_stm      varchar2(4000);
      v_cond      varchar2(100);
      v_result    integer;
    begin
      select cond
        into v_cond
        from yourtable
      where a=1;
    
      v_stm := 'select case when '||v_cond||' then 0 ...';
    
      -- dynamic sql
      execute immediate v_stm
        into v_result;
    
    end;
    /
    

    Remember that, in general, dynamic SQL has a performance degradation that SQL static and should be avoided when possible.

    Storage condition or the SQL statements in the tables is not a good practice.

    Kind regards.

    Alberto

  • How to create a dynamic lov inside the table?

    Hi all

    I use JDeveloper11.1.1.1.4.

    My scenario is that I have page with editable < af:table >. Table contains a < af:inputListOfValues > inside the column. I want to do this < af:inputListOfValues >

    as a dynamic. Because according to users, we have to get the chronogram different objects in different point of view. I tried with below link it works very well for forms.

    But editable tables, I'm not able to create the dynamic lov.

    ADF practice: dynamic linking LOV

    Thank you

    David.

    Hello David

    have you tried ADFbc lov switcher?

    See - Andrejus Baranovskis Blog: Groovy - multiple LOV by attribute in JDeveloper 11 g

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/89-adfbc-lov-switcher-454168.PDF

    Thank you

  • Define a field read-only under certain conditions in the table of the ADF

    Hi friends,
    I'm new to ADF. I created a page basic jsf and display of data from the countries in the table. I also have the createInsert and validation on the page buttons. When I click on create to insert a new record is created, and I am able to enter and save it with success. However, I want the records already entered to be read-only.

    Essentially, I want the user to enter details only by inserting the new record. Existing records or registered once newly created records should not be editable. I tried some things in the expression builder of the attribute read-only for the field, but this deos not work. Can anyone help me please with this.

    Thank you

    Using ADF BC?
    If so, check http://mjabr.wordpress.com/2011/07/15/control-row-updatability-part-2/

  • How to dynamically add columns to the table

    Hi all

    I'm new to ADF and need help on sub condition.

    We have created a ViewObject on the EMPLOYEE table that has under columns:

    EMP_ID,

    EMP_NAME,

    DEPARTMENT,

    COST_CENTER,

    BUSINESS_UNIT

    COUNTRY

    GCODE

    We need to create a page in the ADF with employee table to show only below the columns

    EMP_ID,

    EMP_NAME,

    DEPARTMENT,

    COST_CENTER

    Later, if necessary user should be able to add other columns to the page dynamically.

    Can you please advice on how to implement this feature.

    Thank you.

    Kind regards

    Vidya

    Hello.

    There could be a simple solution, which is to use the component PanelCollection.

    Drag ' drop your VO to a page and create a Table with all the attributes.

    For columns that emp_id, emp_name, cost_center, set the Visible property to false.

    Put the PanelCollection component on your page and drag your table inside.

    When you run the page you will see the view menu in the upper left corner of the table above. You can show/hide columns in this menu.

  • How to do a pagination on the table?

    Hi all
    I hava ORT with large value data, and I drop a table.
    How can I make I pagable? I koen some api such as setRangeSize (n), scrollToRangePage (P), but I didn't know how to use it
    are there examples?
    Thank you
    user

    The table pagination is under construction.
    Define the RangeSize in the pageDef file.

     
    

    AF:table definition:

     fetchSize="#{bindings.ViewObj12_1.rangeSize}"
    

    If you set 50 (default is 25, the value - 1 to extract all) whenever when you scroll the table he realized extraction 50 lines.
    Have a sufficient height of the table to display 50 lines. If the height is not enough to show that 50 lines, she can send multiple requests to the server to retrieve the data.

Maybe you are looking for

  • Bluetooth does not work on my Satellite C55 - A

    Hello.I have a problem with my Bluetooth device. Yesterday I bought a mouse bluetooth (HAMA), but in my computer bluetooth device does not work.My computer is a TOSHIBA Satellite C55 - A (Windows 7, x 64)It says that I can activate it by clicking on

  • Satellite P300D-12Y - problems with the support of the multimedia button/buttons

    Hellofirst sorry for my English bad propably. I had a problem a few days ago, I heard yesterday. On my laptop, I have 6 keys for some functions.Here is a picture where you can see what buttons I mean. I mean the six buttions between the speakers.[htt

  • Satellite P100-434 - how to activate VT?

    I have a P100-434 (obviously lol) and its ascent with a T5500 CPU. According to intel, it supports the VT, so how do I activate it?My google-fu breaks me down.

  • computer laptop m7 envy touchsmart: beat audio

    IM extremely unhappy with the removal of the audio beats laptop is nowhere as strong as it was before the update of the anniversary that has deleted the audio beats now why would u delete something that makes the best sigh system, I hope that you sen

  • WRT54G2 - no internet connection

    I have just replaced my WRT54G with a WRT54G2 router.  I used the same settings that were on my WRT54G.  Everything works fine as long as I have the blue cable plugged into my computer and the other end into Port 1 of the router.  As soon as I discon