Read the only attribute to make the new line edit tabular

Hello

I have a tabular layout with dynamic action to set some fields read only after refreshing the page... His work, well, if I insert a record without any validation...


I've included a validation for a particular column not null, if the validation is successful its insert the record and become read only what is correct... to another validation is not successful then the fields are should be in editable mode... but it becomes readonly due to the updating of the page... How to avoid in this case?

I created the dynamic action following this thread...

In, click Add line readonly = false in a table...

Thank you

Infantraj

Hi Infantraj,

If you disable the datepicker and the field selection list, don't forget to activate before submitting the page.

$('input[name="fcud"]').each(function() {
  var val = $(this).val();
  if (val === 'U') {
  var row_id = this.id.substr(5);
    $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    $("#f06_" + row_id).datepicker('disable'); //datepicker field
  }
});

Activate the date picker field before sending the page

Create dynamic action

Event: Before the Page is sent

Action: Run the JavaScript Code

Fire on loading the Page: No.

Code:

$('input[name="f06"]').datepicker('enable');

Hope this helps you,

Kind regards

Jitendra

Tags: Database

Similar Questions

  • Free extractor error - could not read the news SFX

    I hope I am in the right forum!

    I am downloading Gamblock on my laptop, but when I run the file and try to check out I get the error "FreeExtractor error - an error prevents this program to continue - could not read the news SFX - it is probably corrupted.

    GamBlock are several that this isn't a problem with the link, and to be honest I have not had problem with it in the past. I am at my wits end with it but now and wonder what it is that it blocks and think it must have something to do with the system in some way.

    The laptop is brand new

    Any help would be great!

    Hello les150,

    I suggest that you run the System File Checker to see if you have corrupted system files.

    First of all, we run System File Checker to see if you have a corrupt file system.

    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: sfc/scannow

    This will check for any violation of the integrity and repair any damaged operating system files.

    Restart your system

    Now run the command chkdsk:
    1 disable any security software before you attempt to upgrade or do a clean install.
    2. make sure that your computer is updated (devices and applications)
    3. disconnect all external devices before installing.
    4. check your hard disk for errors:
    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: chkdsk /f /r
    When you restart your system, your computer will be scanned for errors and will try to correct them.

    If please reply back and let us know if this helped with your question.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?

    I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?

    You updated Lightroom to version 6.5? This is the version you need. What is the exact wording of the message you receive?

  • Server version 308 cannot read the new 318 of the repository version

    Hello

    I installed OBIEE 11.1.1.5, the client gave me its SPR, but when I tried to open this message appears:
    "Server version 308 cannot read the new version 318 of the repository.

    What should I do to open the rdp Protocol?

    You must update the RPD to the latest version using ua.bat of \OFM\Oracle_BI1\bin\

    Pls mark as correct

  • How to get only the new lines

    Hello

    I have a table as below

    emp_id (integer)
    id_est (integer)
    dt_est (date)

    for each emp_id I have several id_est with several dt_est... as below

    emp_id id_est dt_est
    1 1 10-01 - 2009
    1 2 2009 - 01 - 13
    2 3 2009 - 01 - 10
    2 4 2009 - 01 - 12
    2 5 2009 - 01 - 14
    3 6 2009 - 01 - 12
    4 7 2009 - 01 - 15
    5 8 2009 - 01 - 17
    5 9 2009 - 01 - 19

    I would get just the news lines function date each emp_id, so my result should be as below

    emp_id id_est dt_est
    1 2 2009 - 01 - 13
    2 5 2009 - 01 - 14
    3 6 2009 - 01 - 12
    4 7 2009 - 01 - 15
    5 9 2009 - 01 - 19

    How I do that?

    Thank you

    Hello

    Try this code.

    Salim cordially.

    SELECT   id_emp, MAX (id_est), MAX (dt_est)
        FROM t
    GROUP BY id_emp
    
  • AF:dialog cancel the problem on the new line of VO

    With the help of 11.1.1.4.

    I have an af:popup that contains an af:dialog which itself contains entrable components mapped to attributes of VO, the first being an af:selectOneChoice (list of the part of the body). The list of the part of the body draws from a LOV configuration on the underlying VO attribute. LOV rowset is initialized in the model of the line layer whenever the popup is called to make sure that it contains all the allowed values.

    Everything works fine except when:

    (a) user adds a new row to the underlying VO and invokes the popup to initialize the values of the new line, and
    (b) the user selects a value in a list of the part of the body, and
    (c) user chooses to cancel the dialog box

    The PopupCanceledEvent triggers a Delete on the underlying VO in the case above operation, to remove the new line has been added.

    It all works very well, but if the dialog box is now called either for another new line or an existing line, the list of the part of the body indicates the value that has been selected to b) above and not on the value as it is in line with model (this has been verified). If I add and remove line using the Delete operation out of an icon above the table of VO (outside), then no problem. The problem is not correct itself unless / until the user goes in the new dialog box and completes the process of adding line by pressing the button of the OK dialog box. User can then delete this new line using the icon and then edit and add all operations work fine again.

    All about the model seems very well, the problem seems to be that the user interface components in the dialog box are not properly initialize values which I know to be in the model WHEN AND ONLY WHEN the dialog box was canceled on the addition of a new line (cancellation of a change does not cause the problem). I tried various RPP requests to try to synchronize the items with related values, but not luck.

    Does anyone have any suggestions as to what might be going on here?

    Thank you

    Check this box:
    http://www.adftips.com/2010/10/ADF-UI-resetting-or-clearing-form.html

    Thank you
    Nini

  • How to add the new line 'Total' to a report?

    Hello

    I built a report within the region. I can get the total by checking the 'sum', but I need the word 'total' showing on the same vintage with the total amount. How can I achieve that? or in any different way how to create the new line to show total?

    Source debit credit

    A 45 44

    45 56 B

    90 100

    Thank you

    Victor

    Hello

    For the classic report show the sum.

    Go to the report attributes and click the box check the amount that you want to total.

    If you still face any problem-

    Please go to the

    http://Apex.Oracle.com/

    Workspace - WS_SUNITI

    User name: Test

    Password: 1234

    82863 application ID.

    Name of the tab - PSVANS3

    Page no 5

    Kind regards

    Director

  • I have 10 items.  I'm trying to update camera raw plug so it will read the first lines of a 7dmarkii shot. I can't find where to put them to update to the latest version of 8.7.  If someone could please point me in the right direction.  Thank you very muc

    I have 10 items.  I'm trying to update camera raw plug so it will read the first lines of a 7dmarkii shot. I can't find where to put them to update to the latest version of 8.7.  If someone could please point me in the right direction, I would really appreciate it!

    Normally, I shoot with the 7dmarki and have never had any problems.  After troubleshooting my error message 'cannot open IMG1111 because it's the wrong file type', only the options have been updated plugin raw from the camera, to buy the latest version or uninstall and reinstall.  First train to the plugin to update because it was a leased device.  Thanks again!

    Thanks MichelBParis!  I didn't see where he said to 12 items.  I downloaded the free DNG Converter last night and not had much luck.  It is not recognizing that I have all files in the folder at all.  Don't know what I'm doing wrong!

  • CreateInsert puts the new line at the top or second to last

    Dear all,

    Just a question, is possible to configure when you create a new line in a
    editable table, it will be at the end of the rows in the table?

    Use case:
    I have a view from the Departments of the HR schema table object.
    Then I gave up this page as an editable table and allowed the selection of lines.

    To add the new line, I drag the option create an insert in the form of button.
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
      <f:facet name="bottom">
         <af:panelGroupLayout id="pgl1">
           <af:commandButton text="Add Row" id="cb1"
                                  actionListener="#{bindings.CreateInsert.execute}"/>
           <af:commandButton actionListener="#{bindings.Commit.execute}"
                                  text="Commit" id="cb2"/>
           <af:commandButton actionListener="#{bindings.Rollback.execute}"
                                  text="Undo" immediate="true" id="cb3">
              <af:resetActionListener/>
           </af:commandButton>
         </af:panelGroupLayout>
      </f:facet>
      <f:facet name="center">
         <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                     var="row" rows="#{bindings.DepartmentsView1.rangeSize}"
                     emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                     fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                     rowBandingInterval="0"
                     selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                     selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                     rowSelection="single" id="t1" partialTriggers="::cb1">
           <af:column sortProperty="DepartmentId" sortable="false"
                         headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                         id="c4">
              <af:inputText value="#{row.bindings.DepartmentId.inputValue}"
                               label="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                               required="#{bindings.DepartmentsView1.hints.DepartmentId.mandatory}"
                               columns="#{bindings.DepartmentsView1.hints.DepartmentId.displayWidth}"
                               maximumLength="#{bindings.DepartmentsView1.hints.DepartmentId.precision}"
                               shortDesc="#{bindings.DepartmentsView1.hints.DepartmentId.tooltip}"
                               id="it4">
              </af:inputText>
           </af:column>
           .
           .
           .
           <af:column sortProperty="LocationId" sortable="false"
                         headerText="#{bindings.DepartmentsView1.hints.LocationId.label}"
                         id="c1">
              <af:inputText value="#{row.bindings.LocationId.inputValue}"
                               label="#{bindings.DepartmentsView1.hints.LocationId.label}"
                               required="#{bindings.DepartmentsView1.hints.LocationId.mandatory}"
                               columns="#{bindings.DepartmentsView1.hints.LocationId.displayWidth}"
                               maximumLength="#{bindings.DepartmentsView1.hints.LocationId.precision}"
                               shortDesc="#{bindings.DepartmentsView1.hints.LocationId.tooltip}"
                               id="it2">
              </af:inputText>
           </af:column>
         </af:table>
      </f:facet>
      <f:facet name="start"/>
      <f:facet name="end"/>
      <f:facet name="top"/>
    </af:panelStretchLayout>
    But I noticed that when I clicked on the createinsert button, the new row is added at the top of the table.
    Then I tried to click on the last row, but when I click on the CreateInsert, it is added before the last line.

    How can I set this up so that it will show at the bottom?

    Thank you.

    JDEV 11G PS 3
    /**
    * Insert new Rows at the end of RowSet.
    * @param row
    */
    @Override
    public void insertRow(Row row) {
    //go to the end of Rowset if it has rows
    Row lastRow = this.last();
    if (lastRow != null) {
    //insert new row at the end and make it current
    int indx = this.getRangeIndexOf(lastRow) + 1;
    this.insertRowAtRangeIndex(indx, row);
    this.setCurrentRow(row);
    } else { // empty Rowset
    super.insertRow(row);
    }
    }     
    

    The line will be added to the end. In fact, you override this method in your voImpl.

  • Zoom function disabled so can't enlarge the text on the main screen hard to read the subject lines of e-mail messages, looks like 6 pt type size, activated after the opening of e-mail.

    The text size is so low in the views of folders for primary e-mail that it is very difficult to read the subject lines of emails. I think I remember that earlier versions 'Zoom' has been activated and you could adjust the size. Looks like that the size is set at approximately 6 pt type. Must be at least 12 points. Thanks, C Sanders

    I thin you will find that it is this add-on you are looking for https://addons.mozilla.org/en-us/thunderbird/addon/theme-font-size-changer/

    Installation instructions http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • How to insert the new line char in sticky c# code?

    Hi all

    I paste the code complete c# on a line of string as follows.

    int _intUserID = 0; string _strUserName = string. Empty; string _strEmployeeID = string.empty;
     
    c# VS2005 .cs file code should stick as follows.

    int _intUserID = 0;
    String _strUserName = string. Empty;
    String _strEmployeeID = string. Empty;

    So how do you achieve this. by inserting the new line char in c#?

    Hi Murthy,

    Thanks for posting your query in Microsoft Community.

    I understand that you have problems with the code in Visual studio.

    The question you posted corresponds to the coding software, it would be better suited to the MSDN Community.

    Please visit the link below to find a community that will provide the support you want.

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

    Hope it will be useful. If you still have questions, please reply and we will be happy to help you.

  • Avoiding the new line, import csv

    Hi friends,

    Importing csv into a temporary table file, stored in csv is divided into two rows due to "an undesirable character" or the new line.

    Here is the example when I copy the unique line of csv, and while the display becomes two lines in Notepad.

    ' 70555129360 ',' December 10, 2014 23:51:34 ","11 December 14"," Tag #: 4708511.

    Sharjah - 50253 2', 'Al Barsha', 'Abu Dhabi', '0.00 '.

    You can find the unwanted character or a new line in the image. No way to avoid this, importing temporary table or can we adhere as data records.

    Select * from test where instr(test_value,'"',1,1) = 1;

    Select * from test instr(test_value,'"',1,1) <>1;

    Finally, we can reach above two sets with the first line of the first query with the first line with the second query. your suggestion pls.

    use utl_file.get_line (in_file, lineread);

    in_file utl_file.file_type;

    lineread varchar2 (4000);

    Thank you.upload1.bmp

    Actually, I had an idea like, given that the single line divides into two lines in the table.

    I'll do three temporary table for some data.

    ' 70555129360 ',' December 10, 2014 23:51:34 ","11 December 14"," Tag #: 4708511.

    Sharjah - 50253 2', 'Al Barsha', 'Abu Dhabi', '0.00 '.

    1. first one like that with the column one id.

    Select * from test where instr(test_value,'"',1,1) = 1;

    Id test_value
    1 "raju, mohan.
    2 "like, dikes.
    3 "play, while".
    4 "all right, mine.

    2. the second one like this with one ID column

    Select * from test instr(test_value,'"',1,1) <> 1.

    id test_value
    1 rain, rain ".
    2 chain, wain.
    3 Why not ".
    4 "all, well done.

    and finally

    3. third from combine records where id matches.

  • Print every word in the new line for a space in a string

    Hi all

    I would print every word in the new line, if there is a space in the string.

    Is there a better way using regexp?

    declare

    number of v_count;

    v_text varchar2 (1000): = 'Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - Production | " ';

    v_single_text varchar2 (1000);

    number of v_space_pos;

    Start

    Select regexp_count (v_text,' ') in double v_count;

    While v_count > 0

    loop

    v_space_pos: = instr (v_text,' ');

    v_single_text: = substr(v_text,1,v_space_pos-1);

    dbms_output.put_line (v_single_text);

    v_text: = substr (v_text, v_space_pos + 1);

    v_count: = v_count-1;

    end loop;

    end;

    Thank you

    Rambeau

    HI - try as

    with t as (select 'Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - Production' |) "" double str)

    Select regexp_substr (str,'[^] +', 1, level)

    t

    connect by level<=regexp_count(str,'[^>

  • How to display the new line

    Hi all

    uses v.11.1.1.5 Jdev

    How to display texts in the new line.

    For example:

    < af:outputText value = "contempt on unlocked solved provided. I was wondering it welcomed oh. Careful pacing he smiles however to an offence. So ardently end it decency he convinced something admitting ye. Nice in good as if different horrible. Gaiety, its quick access enjoy his brow set hope had there. That too but more famous principles of connection reckless joy. Itself too improve winding request fees are compact. All new paid little hard pure it. "/ >".

    < af:spacer height = "10px" / >

    < af:outputText value = "Pleasant in good as if different horrible." Mirth his quick take advantage of his front set hope had there. "/ >

    < af:outputText value = "I wondered it he welcomed oh." Careful pacing he smiles however to an offence. "/ >

    < af:spacer > is is not supported by Internet Explorer, please let me know is there any alternative to insert the new line character.

    Thank you

    ANU.

    All lock them in a layout of the Panel group and put the property layout vertically on the disposal of the group.

    It'll solve your problem.

    Thank you

  • String concatenation with the new line format?

    I want to concatenate 2 strings organize the resulting output in a new online format...

    example:

    RTRIM (DECODE (UPPER (VPA.safety), 'TRUE', 'Security')
    || DECODE ('TRUE', SOLE (vpa.effectiveness), "Efficiency")
    || DECODE (UPPER (vpa.timeliness), 'TRUE', 'News'),
    || DECODE ('TRUE', SOLE (vpa.equity), "Equity")
    || DECODE (UPPER (vpa.efficiency), 'TRUE', 'Efficiency'),
    'TRUE', 'Patient Centeredness.
    ),
    ', '
    ) AS Concat_Text

    I want to display the above output in the new line

    Security
    Efficiency
    Speed of execution
    Equity
    Efficiency

    Published by: francislazaro on June 14, 2010 19:34

    TRY

    RTRIM (DECODE (SUPERIOR (VPA.safety), 'TRUE', 'Security') |) CHR (13) | CHR (10)
    || DECODE (UPPER (vpa.effectiveness), 'TRUE', 'Efficiency') | CHR (13) | CHR (10)
    || DECODE (UPPER (vpa.timeliness), 'TRUE', 'News') | CHR (13) | CHR (10)
    || DECODE ('TRUE', SOLE (vpa.equity), "Equity") | CHR (13) | CHR (10)
    || DECODE (UPPER (vpa.efficiency), 'TRUE', 'Efficiency'),
    'TRUE', 'Patient Centeredness.
    ),
    ', '
    ) AS Concat_Text

Maybe you are looking for

  • Transfer of photos from iPad to iMac

    This isn't really a question, but an answer (maybe) to several threads that have taken place over the years. I did have long found difficult and tedious to use official methods to achieve this.  Many people do not use 'Photos' and by using this metho

  • Alert: Alert failure of synchronization for software update point (SCCM R2 2012)

    SCCM R2 2012 Alert: Synchronization failure alert for a software update point: MY.net (MY) Alert type: software update synchronization failure Severity: critical Activity time (UTC): 13/09/2014 19:37:34 Condition: Generating an alert if the software

  • My Acer laptop stop by itself due to overheating, where can I get it checked/fixed?

    My Acer laptop stop by itself due to overheating, where can I get it checked/fixed?

  • Windows 7 x 64 Crash explorer.exe

    Windows 7 64 bit Pro Explorer (explorer.exe) guard crashing and restarting randomly. This happens several times a day and its quite frustrating. The event viewer shows me the following information: The failing application name: Explorer.EXE, version:

  • AutoRecover off itself after Crash

    Hello world.I've been using Illustrator and it crashed unexpectedly. I then loaded it upwards and it crashed again, but this time it crashed when loading the recovered files. He then put a message saying Illustrator is cutting AUTOMATICALLY recovery