Is it possible to validate a table row as a single entity?

JDeveloper - 11.1.1.6
WLS - 10.3.5
I have a requirement to validate a row in a table as a single entity. A database procedure will be passed the values from a given row and several validations performed. There are some field-level validations in the row as well. I had planned to expose an AM method that calls the procedure and then highlights the bad fields.
How can I fire this row validation when the user has completed their edits (clicked off of the current row)? Is there some event I can listen for?
I guess I can have a selectionListener that saves the current row key and when the current row key is different from the saved row key call the validation procedure for the saved row?
Thanks!

That certainly seems much more straight forward.
Thinking more about this more, would it be best to call the validation method from prepareForDML? Or would overriding the validate method and calling from there be a better option?
I am still fairly new to ADF and still trying to grasp some concepts.
Thanks.
Edited by: errodr on May 15, 2013 5:45 AM

Similar Messages

  • Is it possible to enable/disable table row selection?

    I have a situation where a user can add rows to a "selection" table with a value that is used to perform a query to get a collection of objects associated with that value. Once those objects are available, a second "results" table will be populated with the row(s) returned. When the value is entered in the selection table, a web service call is made to perform the query and return the results. This may take a few moments and I am displaying an indeterminate progress indicator for the selection table row involved to indicate that the data is not yet available - the progress indicator is included as a column in the row; each row has its own indicator. Once the results are received the indicator is hidden to indicate the query for that row has completed. The user may enter as many rows in the selection table as they wish so there is a distinct possibility of multiple queries being executed at a given time. I have also attached a row selection listener to the selection table such that when a given row is selected, the results table will display the corresponding associated row(s).
    What I'd like to be able to do is somehow temporarily disable the selection of any row that has a query in progress, while leaving other rows whose queries have completed be selectable. Once the query completes, the row can then become selectable, thus allowing for the results to be loaded and displayed in the results table. The way it works right now, if the row is selected while the query is still in progress, nothing is displayed (obviously), but then the row has to be re-selected after the query has completed to see the results. This is a viable (though undesirable) solution/workaround if there is at least one other row in the table. However, if the row is the only row in the table and has been selected, it cannot be re-selected (there's no other row to select to allow for re-selection). To boil it down, what I'd like to do is prevent the selection of the row until the query for that row is complete.
    After perusing the JavaFX 2.2 API, I'm not seeing any obvious way to achieve this effect. If anyone has any solutions, suggestions, etc. on how this could be done I'd appreciate it greatly.

    Here's an [url https://github.com/james-d/Conditionally-selectable-table]example. As predicted, keyboard navigation fails if the keyboard presses would result in an unselectable item being selected using the default selection model. The best workaround I can see for this is to register event filters for the appropriate keyboard strokes, as in the previously referenced thread.
    Update: That code won't run in the current (ea b90) release of JavaFX 8.0, and probably a few recent releases; it will however run in the final release (and it runs in JDK 7). See [url https://javafx-jira.kenai.com/browse/RT-30593]RT-30593
    Edited by: James_D on May 22, 2013 7:51 PM

  • How to expande multiple table row from a single button

    I am trying to create an expanding table that expands multiple rows when a single button is clicked.
    So far I have managed to create a table that expands a single row at a time using -
    click
    this.parent.parent.instanceManager.insertInstance();
    I also tried using the following code from an existing woking file that adds a column when a button is clicked -   
    Table1.HeaderRow._Col3SF.addInstance(0);
    Table1.Row1._Col3SF.addInstance(0);
    Table1.Row2._Col3SF.addInstance(0);
    Table1.Row3._Col3SF.addInstance(0);
    I adapted the code to suite my own file -
    click 
    form1.Sub1.Sub3.Table1.Row1.addInstance(0);
    form1.Sub1.Sub3.Table1.Row2.addInstance(0);
    form1.Sub1.Sub3.Table1.Row3.addInstance(0);
    form1.Sub1.Sub3.Table1.Row4.addInstance(0);
    form1.Sub1.Sub3.Table1.Row5.addInstance(0);
    However I receive the following error -
    click Invalid property get operation; subform doesn't have property 'addInstance'
    Regards Maxwell

    I managed to acheive what I needed to do using LCD's Action Builder.
    The Action builder makes it so easy to create advanced content.
    I selected my button obect for the list, then chose - create add a new instance,
    then chose my table from the list.
    I now have a table with multiple rows that expand when a single button is clicked, fantastic!
    Regards Maxwell

  • Is it possible to increment the table rows automatically?

    In my HTML page I created one table with some columns but i'm unable to write code for incrementing the rows dynamically....
    i.e.. soon after entering the data in the last column, a new row should be automatically created by pressing enter key (without using any buttons it should create new row).... Is it possible...

    I don't think so. You have to trigger an js event to create a new row, I guess. You may need to write lot of javascript code. You can look for some third party grid controls.

  • Is there a way to perform a batch delete Azure Table rows given a PartitionKey in a Single Call

    Is there any Efficient way to Perform deletion on Multiple Azure Table rows in a Single Call if I know the PartitionKey ( and RowKeys) - other than designing for "deleting the whole table" ?
    There were many older threads which infers that there is no way other then issuing in a Batch of 100. I want to know the latest POR - Are there any plans to support this scenario in near future ?

    Hi Sir,
    >>Is there any Efficient way to Perform deletion on Multiple Azure Table rows in a Single Call if I know the PartitionKey ( and RowKeys) - other than designing for "deleting the whole table" ?
    Generally, the batch operation is the good choice for deleting the multiple entities . See this similar threads(http://social.msdn.microsoft.com/Forums/azure/en-US/c5cf03b0-2001-4b11-91ce-7888bfc2605e/efficient-delete-multiple-rows-by-partitionkey
    >>There were many older threads which infers that there is no way other then issuing in a Batch of 100. I want to know the latest POR - Are there any plans to support this scenario in near future ?
    Currently, the max number of Batch is 100 in one single request. I suggest you could submit a feature request via this page:
     http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting.
    Regards,
    Will 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is it possible to programaticaly change active row in ADF table?

    JDev 11.
    I have a table which is filled with data programaticaly.
    When I add new row, it appears in table and I want to make this row active automatically, so last insert row should become active.
    Is it possible?

    Hi Julian, thanks for your response, but your example is different from my case
    My source:
    public String SaveCompany() {
    // get company details from input fields
    GetCompanyDetails();
    // save changes to DB
    SaveCompanyToDB(com);
    //refresh company list
    AdfFacesContext.getCurrentInstance().addPartialTarget(table);
    return null;
    I'am adding new entry into DB and I want to populate table after that action, and automatically select that new row (new row should become lighted).
    I have found that there is a atribute First(), I have tried to use it, but it didnt help.
    So question is, does ADF table have atribute to define active table row from code?

  • View a single table-row as multiple rows in a GridControl

    Hi,
    is it possible to distribute the entries of a single row of a table/RowSetInfo over multiple lines of a GridControl?
    I've seen an example on the Internet (http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html) which does this without database connection but it seems as if it's necessary to replace the default JTable, TableModel and UI by customized ones. As far as I've seen it's not possible to replace the JTable which is used by a GridControl? So is there any other way to do this? (A modification of the JTable-UI itself doesn't suffice as the JTable yields wrong row- and column-numbers on mousclick-events and therefore the components of the second row are not enabled properly).
    Thanks in advance
    null

    |I've seen an example on the Internet |(http://www2.gol.com/users/tame/swing/exampl|es/JTableExamples4.html) which does this |without database connection but it seems as |if it's necessary to replace the default |JTable, TableModel and UI by customized |ones.
    You wont be able to replace the JTable. But you can change all the attributes on the internal table which the grid uses (see getTable() method). The datamodel for the grid is impemented by oracle.dacf.control.swing.GridDataSource. You can possibly extend this class. You can also change the Table column model and the renderers used by the Table.
    |So is there any other way to do this? (A |modification of the JTable-UI itself doesn't |suffice as the JTable yields wrong row- and |column-numbers on mousclick-events and |therefore the components of the second row |are not enabled properly).
    Could you expain how the mapping between cell renderer and the table (row, col) is done in the extended JTable - which class ?.
    (http://www2.gol.com/users/tame/swing/exampl|es/JTableExamples4.html)
    null

  • Is it possible to validate the deletion of data in custom SE16

    Hi Guys,
    To maintain a Z table ZCITY (Master Data), I created custom SE16 t-code ZSE16CITY (using SE93 - Transaction with parameters).
    Is it possible to validate the deletion of data from ZCITY Table in custom SE16.
    If ZCODE exists in any of the transaction table then deletion of the record is not allowed and display the message for user.
    Is this functionality is doable in custom SE16 or I have to create a maintenance program using Dialog screen (SE51).
    Thanks for you input.
    mini

    Hi ,
    try this way....
    using SE93 - Transaction with parameters
    next pass the below values in the Name of the screen field and Value
    VIEWNAME                                                <table name>
    DATABROWSE-TABLENAME     <table name>
    Prabhudas

  • How to hide a table row in pdf  using javascript?

    How to hide a table row in pdf  using javascript?

    This is only possible with LiveCycle Designer forms, not PDF forms created
    in Acrobat.

  • Dynamically adjust table row height based on data in column

    Hi all,
    I'm using JDeveloper 11.1.1.5.0 and have a requirement for a table to adjust the height of its rows depending on the data in the columns. One of the columns in the table is a rich text description field and I have the 'rows' property set to 13. This field could have twenty lines of text/images or just one. The users would like the page to show all twenty lines of text without having to scroll but the table has the same height for all the rows (that I set to 13) and provides a scroll bar when the data exceeds this size. My users do not like to scroll, and want the height of each row to be determined by the data in it. I looked at a few options and also did a search online, but was unable to find anything to fulfill this requirement. Do you know of how I could change the height of each row in the table so that it fits the data that it holds?
    I have an example of my table at: <b>Table with Set Row Height</b>
    As you see, the picture has to be scrolled so that the whole picture is visible. The user requirement is to adjust the row height to show the full picture. Ideally the next two rows would shrink, but that would be a nice to have.
    Thanks in advance for any pointers or help.

    Hi Frank,
    Thank you for replying to my question, I truly appreciate your help.
    I tried to use the autoHeightRows to adjust the height of my rows but was unsuccessful. If I understand the autoHeightRows property correctly, this is used for setting the height of the whole table. If this is incorrect and it can be used for setting the height of individual rows in the table, please correct me. I have the 'Rows' property of the richTextEditor set to 13 and this is the height that I would like to make dynamic based on the data.
    My users requirement is for the height to be big enough for the data in each row of the table (the table has a description column and the height of each row should be determined by the data contained in it). I updated my <u><b>Screen Shot</b></u> to show the desired layout and what is currently being generated though ADF (http://www.flickr.com/photos/87583386@N05/) .
    I have three rows in the example (in actuality these are around 50) and the text in each row can vary. The users would like to see the full text/image in each row without having to scroll each row. Currently my table is within Panel Box, which is inside a PanelGroupLayout-Scroll which is in a PanelStretchLayout. I tried to put the table by itself with the autoHeightRow modifications you suggested but thsi did not help either. I am using JDeveloper 11.1.1.6.
    Is this possible with an ADF Table? If it is, is the autoHeight property the only one that I am setting incorrectly? If not, is there another component I can use to get the desired functionality? My users are very strict about this requirement and will not accept the application without this.
    Thanks,

  • How do I remove a gap between table rows in InDesign?

    I need help in figuring out how to remove gaps between table rows.  I have tried Table Spacing under Table Set-up, but it doesn't work.
    Here's what I'm working on:
    As you can see there are gaps above the first row and below last row under the header Business Management Technology.  I cannot select that gap.  How do I remove it, so that the first class, 31058, is flush with the black header?  (and the last class, 32675, is flush with the Chemistry header?)
    Any advice would be greatly appreciated.
    Thanks,
    Sarah 

    SRiegel wrote:
    ...it may be that the black bar is created with a paragraph rule instead of cell color.
    I hadn't considered that, and your example is proof-of-concept. However, now that you made me look closer, I still don't think that's the OP's case, seeing as the text in the OP's header rows appears to span more than one column, belying what I suppose must be merged cells.* The column strokes in the "gap" appear to disqualify it (the gap) as part of a row with merged cells.
    *There is still another possibility that someone "made pictures" of tables with merged cells by overlaying text frames to make the header rows. I've run across all kinds of such "carpentry;" especially when the file may have originated at the desk of someone who avoids or resists use of tables. They find ways to fake them and/or their features.
    [still looking]

  • In table  rows , i need to check the date validation of perivous ent'd rows

    Hi All,
    I'm using adf 11g.
    I have a table with add and delete button in jsff. In jsff page , i mean table row have one lov column and date column and enterable inputtext fields .
    Conditions 1.lov value , date column and inputext value should be unique . this can be handled by alternate key.
    2. if user enters value like
    lov value date inputtext
    v1 01/02/2011 ipt1
    v2 01/02/2011 ipt2
    v1 01/01/2011 ipt3 here , lov selected v1 is already selected in first row, i want to validate dat second occurance of v1 with combination date and inputtext should be
    unique --- it makes unique with compare to first row .but i have to check second v1 date should be always greater than the first v1's date .
    User can add n number of records of keeping date variance , but the same lov value having record , the date should be always less than the perivouse entered row date (same lov value ).
    how can i handle this date check . business rules / validation .
    thanks in advance .
    Edited by: user9010551 on Jun 16, 2011 9:23 PM
    Edited by: user9010551 on Jun 16, 2011 11:25 PM

    you have to make use of this technique - in memeory filtering
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadvvo.htm#CEGBEICF

  • Regarding the issue with mater-detail table rows

    Hi,
    I am using Jdeveloper 11.1.2.1.0
    I have a master - detail relationship based read-only tables in a page.
    When i execute the master view using the bind variables , I also use a stored procedure to generate additional values to detail view rows using the master row values,
    the selection in master table is at index zero for which the detail table row is not appearing. Once user select the next row for which detail row appears, then clicks the first master row , then only the first row's respective detail row appears.
    I have tried using triggers and also tried to queue the selection event using row key values after master view execution and procedure call.
    Give an idea to solve this issue.
    - Ramey

    Hi,
            Then what can be the solution if it is the refresh timing ?
    I tried to execute detail view with same bind variable as in view link along with view link execution,
    assuming that master's first row is not set as current row to get the detail row based on the default first row selection in master view can trigger detail view .
    Kindly suggest a possible solution.
    -Ramey

  • Table row change color on hover

    Hi,
    I don't know if it's possible to change table row color on mouse hover, I've been looking at skin-selectors (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/skin-selectors.html#Global%20Selectors) and I haven't found any row style class for af:table Component... if anyone knows how to achieve this I would be thankful.

    Hi,
    I replied to the other question of yours. I don't think this is possible because the row is not a component that can have a style applied to it. You may be more successful in applying the CSS to the components (outputText or inputText) on the table cells.
    Frank

  • Break table row across multiple frames?

    Hi
    I would know wether is possible to split a single table row across serverla frames/pages.
    I´m using InDesign CS5 and when I try to import a big table from word documments (by using de app or by scripting), if a row is bigger than the textFrame, a blank page is generated with the overflow simbol.
    The only way to see that table is by enlarging the textFrame.
    I´ve been reading about this problem, and some news in 2004 reported it was a problem wich will be solved in next releases.
    Is there any way to work arround?
    One option is to split de row in several small rows, but I think the proper solution would be to let the row jump to the next TextFrame (just like word does)
    Thanks in advance

    I can show you a real example.
    http://www.xunta.es/dog/Publicados/2011/20110615/AnuncioC3F1-140611-3147_gl.pdf
    In page 14984 the row with the text "Coruña" span across two pages. Well, in this example, what we did was to convert the table in images. Then the images were put inside each page in InDesign.
    This cell is too big to fit in a frameText and it was shown as empty.
    Other option would be to split the row before the imporation. In this way, InDesign would, automatically jump to the next page.
    The question was if there was any configuration option to implement all this solutions (change the table or convert it to text) without change the table structure.
    Any way, thansk again.

Maybe you are looking for

  • Why does my iPhone 5s not receive incoming calls

    My iPhone 5s does not ring when receiving incoming calls yet I have signal, do not disturb is off and I receive texts or voicemails notifying me of a missed call which I can return immediately. What is going on? How can I fix this?

  • Multiple iTunes on External Hard Drive?

    I am wondering if I can have multiple iTunes libraries on a Maxtor External Hard Drive? My husband has one for his desktop and there is PLENTY of space and now my laptop is low on disk space so I need to move my iTunes to an external drive as well. I

  • JCo connection for the application data

    Dear All, Now, we configure BP for MSS. When we set JCo connection for the application data, from this link  http://help.sap.com/saphelp_erp2005/helpdata/en/29/d7844205625551e10000000a1550b0/frameset.htm we selected the method "Ticket". When we run t

  • How to make color from greyscale images?

    I have got a few photos into greyscale. How can I make them back to any color I want? thanks,

  • SXMB_MONI not show successful xml

    Hi, Can anyone tell me how to make the SXMB_MONI show the successful xml msg? Currently the SXMB_MONI on server only show the error msg. thanks for you help.