The table layout where the new line can be inserted / updated rest is read only

Jdev Studio Edition Version 11.1.1.3.0.

I have a (JSF) page that has table. My requirement is I need make the line as read only with the exception of the newline (created with the new button) as update / insert able. Please suggest a way around so that the user can only add records to the table but couldn't change all existing records in the table.

Please advice.
Thank you.

S Chatterji.

S. Chatterji,

If you are using ADF business components, just go to the VO on which is based the table and brand every attribute as "Editable when new" only.

John

Tags: Java

Similar Questions

  • 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.

  • 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

  • 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.

  • 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

  • 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

  • Where the new Panel of Dreamweaver insertion?

    Hello

    I just removed Dreamweaver CS6 and reinstalled (Windows, ver. 12 rel. 5808) compared to the creative clouds, in the hope of finding the new scoreboard with video option insert media/HTLM has announced in this video:

    http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-Web/Dreamweaver-CS6-update-f or creative-cloud-members.

    Unfortunately, this revision is not present in the last download.

    This revision will apply to both Win and Mac?  When will he be available?

    Also... sometimes CC lets know me that the updates are available for some CS6 applications and allows them to be downloaded and installed.

    This happens with all the updates?  How long?  Manual uninstallation and reinstallation is such a drag!

    Thank you

    Hi Dave, thanks for your answer!  (Finally, I was able to download the latest version of Dreamweaver, which had the new insert Panel). Unfortunately I had a much more serious problem for couple days th elast: (inability to connect to creative cloud or support portal.) I can also connect to http://helpx.adobe.com/contact/creative-cloud.html to ask for help! Assuming that you also are not suffer these problems... may it please I ask you to help by communicating with them, for example, via the forum or the new ticket of question and stating that I am the one who needs help! Here is my profile:http://forums.adobe.com/people/wbaafs and here's some more details you can cut and paste If you want: Thanks Dave, Richard Kahn (for Bill Anderson)

    For more than a day or two I have not able to connect to plain old adobe.com (except very intermittent and then cannot open other pages of it). I can connect to and discovers forums.adobe.com and forum creative cloud, but I can't connect and post a message on logon problems. These problems occur regardless of if I try to connect with ANY browser-my Win 7 destkop - VMs on my desk (that don't have any manager creative cloud app or apps or apps CS6 installed on them), or

    -of an old Vista laptop. Clear all cookies from Firefox does no diffierence. I saw a staff post on the forum creative cloud earlier today about a problem of 'degradation' with this service. Who is understatement! Can ypu please correspond with me by e-mail or else give me an area non-adobe.com support that I can connect to (or do not need to connect to)? Thank you, Richard Kahn (for Bill Anderson)

    Date: Wed, 21 Sep 2012 11:14:51-0600

    From: [email protected]

    To: [email protected]

    Topic: Where new Panel of Dreamweaver insertion?

    Re: Where is the new Panel of Dreamweaver insertion?

    created by David__B in Adobe Creative Cloud - View full discussion

    Try to go to help > updates in Dreamweaver CS6, which will launch Adobe Application Manager in a different way for the updates. There you can set preferences to automatically check updates for individual programs and how you are notified of updates. I show a newer version than what you have listed 5848, so I think it is an update, you must install. -Dave

    Please note that the Forums Adobe does not accept attachments to emails. If you want to embed an image on the screen in your message please visit the thread in the forum to incorporate the image into the http://forums.adobe.com/message/4717159#4717159

    Replies to this message received to everyone subscribed to this topic, not directly to the person who posted the message. To post a reply, or reply to this email or visit the message page: http://forums.adobe.com/message/4717159#4717159

    To unsubscribe from this thread, please visit the page message to http://forums.adobe.com/message/4717159#4717159. In the Actions box to the right, click on stop Notifications by e-mail.

    Start a new discussion in Adobe Creative cloud by e-mail or at the Adobe community

    For more information on maintaining your email forum notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • 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
    
  • 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.

  • 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,'[^>

  • 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

  • The multiple lines in hGrid Page update

    Hi all

    in the page hGrid, I update a button for each row.when I select the first line (Refresh button) to update it will go to the update of the Page.
    How can I select the second line for update.

    is there any other scenario is there in this type of requirement.

    Selection Records empNo, Ename Job sal update
    CheckBox1 Row1 12 smith Manager 5000 updateBtn1
    CheckBox2 Row2 13 james seller 7000 updateBtn2

    like that when I select the first update the update button, it will go to the update page of here I'm going to update (the update, I will treat an another Seperat Page).
    Suppose, I want to update two records (Row1 and Row2), how it Possible.
    How can I get action for checkboxes update several lines.
    Could you please give me the Solution for this.

    ThankswithRegards,

    Perhaps because of network problem that I couldn't update your last post.

    1. do not add the button to update for each row.
    2. simply add a button to single update above HGrid region
    3. on this update the button event get the values of the selected lines and go update page
    4. in the update of the page create a view selected rows in the table of HGrid.
    Button put record on this page. Once the user updates the files and click on save button data will be saved.

    Button put record on this page. Once the user updates the files and click on save button data will be saved.

    -Anand

  • IF THE NEW COLOR CARTRIDGE IS INSERTED IN THE PRINTER TO SEE HOW LONG IT TAKES TO CARTRIDGE IS EMPTY.

    OUR HP PRINTER NAME IS J3608ALL ALL-IN-ONE HP OFFICEJET. PORT DOT4_001MODEL CB07QA. OUR OPERATING SYSTEM IS WINDOWS XP, IF THE NEW COLOR CARTRIDGE IS INSERTED IN THE PRINTER FOR HOW LONG TAKES IT FOR CARTRIDGE IS EMPTY. ALSO, PLEASE INFORM HOW MANY A4 PAGES CAN BE PRINTED NORMALLY WITH THIS CARTRIDGE.

    Hello ImranNagoor

    It depends on print quality settings what you use with the printer as well as other factors such as the HP cartridges. You can see the available black and tricolor cartridges available for Officejet J3608 at the following link, including the returns estimated for each Page. To use the least ink use quick project for a print quality.

    HP Suresupply (Officejet J3608)

    Also for more information about how we measure the ink Yield the article below.

    How to give inkjet HP measures page

  • The new ' Start/Start' screen never update list 'recently used files?

    The new ' Start/Start' screen never update list 'recently used files. So it's a bit useless because most of the time I want to work on the most recent files. How can I fix it? (use the latest version of Photoshop)

    Hi top,

    Go to the file menu > open recent item > clear recent files list > restart Photoshop.

    I hope this helps.

    Kind regards

    Claes

  • Is it possible that the remote PC can "ask" his updates must be installed from a WSUS server?

    Original title : After you download updates on a Windows XP PC to WSUS server, is it possible that the remote PC can "ask" his updates to install? Rather than set a deadline in the WSUS server.

    After you download updates on a Windows XP PC to WSUS server, is it possible that the remote PC can "ask" his updates to install? Rather than set a deadline in the WSUS server.

    On our WSUS server, I download updates for the PC group, but didn't set a deadline.

    We want to do is launch a script/application to install updates.

    Hello

    I suggest you ask your question in the Microsoft TechNet forums.

    WSUS TechNet Server

    http://social.technet.Microsoft.com/forums/en-us/winserverwsus/threads

Maybe you are looking for

  • Qosmio X 500-how do to restore the BIOS?

    HY My Qosmio x 500 has worked (from the point of view of cooling), until I made a very big mistake. I did upgrade the BIOS to version 2.9 of the official website of the Toshiba and now my laptop stops in games after 5 min. Before this update, I had n

  • Install thin do not want to install drivers for a new X 220?

    We have just received some new X 220 and I've updated the drivers with Update Retriever. When I run install thin, it works but then did a reboot and just after he does nothing and nothing changed either. The newspaper is weird because I don't see why

  • HP Envy 4523: Instant ink

    Just joined the program and signed up to 50 pages amonth but the offer was 3 months free 50 pages per month, but I printed 40 pages and on my account it is written "40 pages£ 0.00 (No. charges for 300 pages a month during free trial)"is this OK or ca

  • Use of the virtual machine / machine is safe?

    I have windows 8.1 pro I want to use operating systems diferrent/test I use virtual box to install the OS on my laptop, it will be useful for me to install os without data lost, but I noticed that when I run the VM my system's struggle can I use the

  • Why can I not make .zip files?

    After you remove WinRar, why can't the zip files? I installed WinRar, the other to open .rar files but I uninstalled the program today. I tried to do a zip folder to put songs in there and this is what happened:The record was madeI opened it and stuc