* URGENT * how to turn the table rows programmatically?

Hi Experts ADF,

I am a developer of the ADF, but not an expert. Here is my requirement, please help me to achieve the same. It is very urgent and would be a great help.

In our ADF Faces application, we have a SEARCH page where we assume to design a table with 3 rows and 2 columns. While the search page is loading only the first line must be activated and the other below 2 rows should be disabled (can be visible, but gradout). In the first column of each row is a box of choice (which will be rated Firstname, lastname, Department,... UserID) and the next column is a free text box (input field).

Ex: In the first row when we select Firstname and enter the value in the free text box, then the second row should be activated when we tab out of the text box line. If the top textbox is empty then the second row should not be enabled. When I get the value in the text field of the line of the 2nd and the 3rd row must be enabled. Max 3 lines. All 3 rows may be visible on the page, but the last 2 rows should be gradout.

How to do the same, please help me with a little explanation. Do I have to use the ADF PPR to do the same, if so, how do the same? Thanks in advance.

Thank you
klogube

Sorry, it took a little time :-(

I implemented a small example, if you get the picture...

Page code:


           
              
                
              
              
                
              
              
                
              
            

Bean code:

public class IPTBean
{
    String mS1;
    String mS2;

    public IPTBean()
    {
        super();
    }

    public void setS1(String aS1)
    {
        this.mS1 = aS1;
    }

    public String getS1()
    {
        return mS1;
    }

    public void setS2(String aS2)
    {
        this.mS2 = aS2;
    }

    public String getS2()
    {
        return mS2;
    }
}

I put the bean in the flowrate range of page (but you can use any variable you like i.e. links)

When you run the page, you see a tabled text input and a button. Type something in the files and hit return or the tab out of the field and you see the next filed.

Now you can use this technique to hide and show your user interface.

Timo

Tags: Java

Similar Questions

  • How to set the table rows spacing and line changing automatically if is limit

    Greetings,

    I use JDeveloper 11.1.2.4. By default, if you set (or not) the table width and the line is its width, it will create a scroll down bar.

    Is what I want to do, if the text inside each row its greatest width, to change the line inside his line. TO

    more to explain it, I'll demonstrate a small table below:

    MESSAGE ID

    1 Hello Philip

    2 Hello Philip

    3 How are yo

    u today?

    4 tries...

    This way, if the text in the column 'message' is the largest say width 40, to increase his height of line automatically if the text

    fits inside 1 row without creating a scroll bar.

    Thanks in advance for any help.

    Have you attempted to assign noWrap = "false" on af:column?

    Dario

  • How to hide the table row after deleting logical

    Hello.
    I use Jdeveloper 11.1.1.3.0, ADF BC and ADF Faces.
    I would like to implement the logic delete in my application.
    In my entity object I have deleted attribute and I replace the remove() method in my EntityImpl class.
        @Override
        public void remove()
        {
           setDeleted("Y");
        }
    and I added this condition in my view object
    WHERE NVL(Deleted,'N') <> 'Y'
    on my page, I have a table. This table has a column to remove each line. I dragged and drop action the data control RemoveRowWithKey
    and the value of the parameter * #{row.rowKeyStr} *.
    I have what I need is the following:
    When the user click on the delete button I want to hide the ROE of the table. I tried to rerun the query after deleting, but the line is still on the page. Why run query does not hide the line of the screen.
    Here's the code I used to remove and run queries
        public String deleteLogically()
        {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc=(DCBindingContainer) bindings;
            DCIteratorBinding iter=dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
            //iter.getViewObject().executeQuery();
            iter.executeQuery();
            return null;
        }
    as you can see I used two methods () iter.getViewObject () .executeQuery; and iter.executeQuery (); but the result is the same.

    I built a sample for you - http://jobinesh.blogspot.com/2011/05/soft-deletion-of-rows.html. Please see if it meets your requirement.

  • How to lock the table rows selected adf for another user

    Hi all

    In my case, I created a vo based on eo. where I create an attribute (marked) transitional type boolean.

    I have created two jsf pages

    1 - summary.jsf
    2 - claimed.jsf

    in the two page, I slipped even vo as the adf table.

    in the page summary, all vo lines is display. and I created a button on the summary.jsf page.

    When I have selected a few record table adf (using the check box marked attribute) and click the cliam then

    apply filter adf table see criteria and open claimed.jsf page. claimed. JSF page only display selected fine line.

    but I want that these selected lines (which is displayed on the claimed.jsf page) don't display another user in the summary.jsf page.

    I want to say that these specific lines will be locked so the other user does not work on these lines.

    Concerning

    Manish

    You would have to:

    (1) add a column in the underlying table of the DB to track lines are claimed
    (2) change your VO to include a where clause clause that excludes claimed elements
    (3) add something in your UI to release the goods in question (if necessary) so that you can release an item if someone closes their browser.

    John

  • How to shade a table row? I already have the updated PDF at the point, just try to change.

    How to shade a table row? I already have the updated PDF at the point, just try to change.

    No, Acrobat isn't these editing features.

    My suggestion is to re - create the file, making sure that you keep a copy of the original, this time, in case you should make other changes in the future.

  • How to turn the camera off when I get the picture?

    How to turn the camera off when I get the picture?

    How to turn the camera off when I get the photo I do my iphone 6 mute and when I get the picture give sound

    Some countries do not allow phones take pictures of silent.  iPhones sold in these countries do not allow the sound picture to shut up.

  • How to clear the table dhcp clients

    Does anyone know how to clear the Table of Clients DHCP?

    I have a WRV54G.

    Concerning

    I understand this is a very old post, but since I found it when I was looking for the same answer in 2009, I thought go ahead and give my $.02 worth.

    I have a different router, so it may not be present in your.

    I use a version of the firmware WRT54GLwith 4.30.7 and finally found on the status under "Local network" page a link to the DHCP table. You can click on that and delete existing IP addresses.

  • How to turn the "words" in a link

    I would like to know how to turn the words into link instead of posting the link.

    Example: I copy and paste this one answers...

    Microsoft PowerPoint 2007 Viewer .

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

    Try the PowerPoint Viewer .
    one more time...  PowerPoint Viewer

    AH, I got it.

    Here are the steps...
    Go to the site, copy the url > open back a response or a quote > type the message > on the words, I want to be connect, cursor over the first word > click and hold > slide down to the last word, I want to be a link, hold for release > click on insert/edit the link, a box will appear > paste the url inside this little box > click Insert
    That's all.

    Thanks Andre for the lead.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • ODI-26174 error when try to turn the Table in the model

    Hello

    I got a strange error when I try to turn the table in the model.

    I created the new user (with subsidies), I created the new physics and logic diagram.

    I created new model also. When I try to reverse table I ODI-26174 database connection is not available error

    I tried to measure option using RKM reverse .it. But why it has not been reversed by using option Standart?

    ava.sql.SQLException: i/o error: the network adapter could not establish the connection

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)

    at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:74)

    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1128)

    Any Solution for this?

    Concerning

    AETL

    Hi aetl,.

    If you open the database server in the physical topology and click 'test connection', is it effective?

    If this isn't the case, you must set your connection details, maybe check that the tnsnames.ora is correct and that the network access is ok (including firewalls,...). You can try a tnsping on your database.

    Kind regards

    JeromeFr

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

  • How to set the initial value programmatically in af:selectOneChoice

    Hi all

    How to set the initial value programmatically in af:selectOneChoice

    filled with view object instance, but I want to show the value initial programmactically

    This can help you: Re: how to set the default value of the component selectOneChoice in ADF

    and the default af:selectOneChoice programmatically from backing bean

  • How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT

    How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT

    904632 wrote:

    How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT

    Please see (how to recreate the ECX Related queues? (Doc ID 1354312.1)).

    Thank you

    Hussein

  • How to design the table from the answer to the question table.

    Hi all

    I am creating an application for student review online.

    There are two types of questions, the only choice of response and multi choice answers.

    My question is less than
    create table question_master
    (
    exam_id number references exam_master(exam_id),
    marks_of_each_question number,
    type_of_question char(1),-- single choice answer/multiple choices answer
    q1 varchar2(2000),
    q2 varchar2(2000),
    q3 varchar2(2000),
    q4 varchar2(2000))
    my table to answer (I'm not satisfied with who is below
    create table answers_of_questions
    (
    answer_id number primary key,
    question_ID number referenes question_master(question_id),
    answer varchar2(4000) not null,
    is_answer_correct char(1),--y/n,
    student_selection char(1),--y/n   student select it or not
    ....
    ...
    now, I'm perfectly how to create the RESPONSE table to contain the answers.
    the only choice is good, but several checkboxes choices, what to do?
    How to design the table from the answer?

    do I have to create 2 tables to contain the answers?
    Note: the QUESTIONS and ANSWERS, all will be entered by the teacher. students will make a choice and I will store this choice in another table
    may be called STUDENT_SELECTED_ANSWERS or something like that.
    If anyone has some reference to the script retail scheme review online, kindly share with me.

    Kind regards.

    Kind regards.

    If you need to have answers in another table:

    Student (student_id, name, etc...)
    Review (exam_id, exam_name, etc...)
    Question (question_id, exam_id, question_text)

    Response (question_id, a_text, b_text, c_text, d_text, a, b, c, d).<-- one-to-one="" with="" question="" table,="" a-d="" flags="" used="" to="" indicate="">
    OR
    Response (question_id, answer_id, answer_text, OK)<-- many-to-one="" with="" question="" table,="" correct="" flag="" used="" to="" indicate="" correctness="" for="" this="" single="">

    Student_Answer (student_id, question_id, a, b, c and d)
    OR
    Student_Answer (question_id, student_id, answer_id)<-- creation="" of="" a="" question_id+answer_id="" in="" this="" table="" implies="" the="" student="" checked/selected="" it="" as="" an="">

    To what extent you want to standardize, it is up to you.

  • How to add the table radio button.

    Hello

    I want to update the record if I want that an option of button raduio shaped tabular .There is no option for tabular.
    How to add the table radio button.


    Thank you

    Published by: 805629 on February 3, 2011 04:56

    Use APEX_ITEM. BOX API in the definition of SQL query for the form of tables

  • How to check the table have are all views in oracle

    Hello
    How to check the table have are all views in oracle
    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' 
    

    You can use dba_dependencies to find views in the different schema.

Maybe you are looking for

  • Satellite P20: Screen no longer works

    Hello world Well, my beloved P20 screen has passed away. I can attach an external monitor, but this is not the point. I only bought it in December 2003. I took to the local repair center Toshiba to Singapore and told me the following:- (1) at least $

  • P6744: model of pci P6744D version

    I use P6744D from HP and my motherboard model: MS-7613 (Iona-GL8E) Here my questions: (1) what is the PCI Express version? Is 2.0 or 3.0? (2) I wanted to upgrade my graphics card for this model R939 8GD5 is possible? Thank you

  • 15ac120tx: radeon graphics do not install correctly

    When I run any game it hangs even my notbook a 2 GB r5 radeon graphics and some of the apps showing graphics drivers are not work properly.i downloaded the driver from hp also site and installed, but no use, how can I solve this

  • WRP400 to 12 MB download limit

    Hello I just bought a WRP400, and I have a 25/25 MB connection. Download is ok, but my upload is limited to approximately 12 MB. Are there settings I can change or is the maximum. upload speed? Concerning Henrik, Denmark

  • BlackBerry Smartphones where is my text message icon?

    My message text icon simply disappeared from my screen and I can't.  No way to discern my message text of emails and no easy way to send texts without going through my directory.