How to get feedback from users in the model layer?

Hello

I have a page with a table and a commandButton control. User can select several rows in the table and press the button. By pressing the button, I call a method in AppModuleImpl.java and pass the selected lines. inside the method I iterate over the selected lines and do something on each line. To do my job, I need a field, for example the date of birth field, has a value, but for certain lines of this field is empty and I want to get the value of the user. Now my question is how can I get user feedback in the model layer? (don't forget that I am inside the AppModuleImpl.java)

Is it possible to open a dialog by program and get the value of the user if needed (i.e. If the row has the value)? If Yes, how should I do?

JDev version: 11.1.1.4

Thank you
Will do

In both cases the execution does not stop to view the context menu and the popup is displayed when the called managed bean method is completed

Execution does not stop. That is right.

"Modal dialog box" in terms of web simply means 'a dialogue box that blocks (more or less) user input until the dialog box is closed'. You think that a modal dialog is a dialog box that stops execution of your code until the dialog box is closed and then execution continues where you left it. There is no such thing in the web. Enforcement must continue, the demand must fill. When the user closes the dialog box, then it is a new application in.

Thus, it is not as a modal dialog in Swing. You need to stop running yourself when you open the modal dialog box and continue your code when the next request comes, for example:
You determine that a dialogue must be shown, you open the pop-up window and return. The listener to the dialog box, you then call a method that continues to do what you need to do according to the result of the dialog box.

Sascha

Tags: Java

Similar Questions

  • How to get help from one of the live adobe on a new installation of product.

    Is there a person online can anyone help? ADOBE puts me off

    Simple installation of Acrobat pro xi a error message during install "visual c ++ 2010 spi PERIOD missing.»

    Hi Believerfred,

    This issue was discussed by http://forums.adobe.com/thread/1230293?tstart=0

    Just previously install the Microsoft Visual C++ 2010 SP (x 64) before trying to install Acrobat XI on a 64 bit system.  This package is a requirement for Acrobat to install on a 64-bit system, so you must install it.

    For more information, please refer to the http://helpx.adobe.com/acrobat/kb/error-installation-ms-visual-c.html or

    If the problem persists, contact our Supprt from Adobe http://www.adobe.com/support/download-install/supportinfo/

    Thank you!

    Florianne

  • How to get disabled login user (without password) at startup, so NOT to SHOW at all and so after the switch, go to desktop directly

    Vista Ultimate 64-bit

    How to get disabled login user (without password) at startup, so NOT to SHOW it to all (and needed clicked) and so after the switch, go to desktop directly?

    Also after inactivity, how to not go to sleep mode and press "power on" to bring back?

    Hello

    If you want to start directly on the desktop?

    How to automatically connect at startup in Vista
    http://www.Vistax64.com/tutorials/66966-logon-automatically.html

    Or

    How to make Vista require a user name and password when connecting
    http://www.Vistax64.com/tutorials/89812-logon-username-password.html

    =========================================

    Start - Control Panel - Power Options - upper left - require a password on wake up
    tick her do not require a password - save the changes.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Got a legal question about the installation of Adobe Photoshop Elements.  How to get help from Adobe using a chat session?

    Got a legal question about the installation of Adobe Photoshop Elements.  How to get help from Adobe using a chat session?

    AdobeTomFaith

    If your program is Photoshop Elements, then you have posted in the wrong forum. Some how your son got posted in the Forum Adobe Premiere elements (video editing). Please re-post your thread in the Adobe Photoshop elements Forum.

    Photoshop Elements

    Wherever your son is, please include Adobe Photoshop Elements version and operating system and the description of the installation problem (error messages, stage of failure, etc.)

    Support Adobe seems to be limited to Adobe cat and is classically limited to the current version which is 13. Then, you the best avenue to success is likely to be through the Adobe Photoshop elements Forum. But that shouldn't stop you trying to determine what kind of support you can get from Adobe cat on your question.

    I would offer this link that is specific for Adobe Chat download and installation

    Contact the customer service (this is not the same destination as shown in a previous post in your thread)

    This link is specifically designed for

    Photoshop Elements

    Download, installation, setting up

    Download and installation

    Panel discussion

    (18:00 - Friday 7 pm Sunday)

    Thank you.

    RTA

  • How to get back my data for the health and the watch Apps once I've restored my phone?

    How to get back my data for the health and the watch Apps once I've restored my phone?

    From the backup, you're going to be restoration.

    If you back up to iTunes, make sure that it is an encrypted backup.

  • How to get assistance from mozilla to answer questions for windows when I use a macintosh computer

    How to get assistance from mozilla to answer questions for windows when I use a macintosh computer?

    Look on the right side of the knowlegde base articles, where it is said ' help to ". Here, you can change the operating system and the version of firefox. The content of the article will adjust.

    If you ask a question on the help forum, you can simply say this in your question.

  • How can I translate from English to the french when I send messages in outlook express 6?

    Original title: translate in Outlook Express 6

    I would like to correspond with my french friends in their language.  How can I translate from English to the french when I send them messages?  A free way to do this would be the best option that I do not send too many french messages to justify a costly option.

    Hi IQuestionU,

    This isn't the functionality of outlook express 6. You might find non-Microsoft Internet program to add this feature. However, we do not recommend to use these programs as Microsoft has not tested its functionality.

    This feature is available in Microsoft Office outlook. For more information, see the following articles:
    1 see How to use the word in a message in Outlook
    2 see where are the translation options?

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How people get viruses from Facebook and how to avoid it?

    I wondered how people get virus from Facebook, what are the best way to avoid these, and what are the symptoms of these?

    Thanks in advance.

    Welcome to the Microsoft Answers Ted site.

    The only way you can get a virus from Facebook is by clicking on a bad link. Be always careful with links on which you click, especially of foreigners who are not your friend on Facebook. If you find a link TinyURL (not a bit.ly link), copy (click the link, press Ctrl + C) then paste (click on the address bar, then press Ctrl + V), but add "Preview". (without the quotes, including the period) before the rest of the link. Then, you can see a preview of where you're going. After that, you can continue or go back.

  • How to get distinct records by using the ListAgg OBIEE report function?

    Hi all

    I get a correct result as mentioned below. But I don't see duplicates in my result here, in my example, I get duplicate for the name of the employee 'Pat '. So how to get Distinct values by using the LISTAGG function?

    Data set of sample with the Department and its employees

    Service employee

    ----------      ----------

    Marketing Michael

    Pat of marketing

    Pat of marketing

    Pat of marketing

    Purchase of Den

    Purchase of Alexander

    Purchase of Shelli

    Purchase of Sigal

    Guy of purchase

    Purchase of Karen

    Using the ListAgg function, we can convert it to:

    Employees of the Department

    -----------     -------------------------------------

    Marketing of Pat, Pat, Pat, Michael

    Purchase of Sigal, Shelli, Karen, Guy, Den, Alexander

    I tried a lot of things, but I'm not able to understand how exactly this can be achieved, if anyone has any idea or suggestions please do share, thanks in advance.

    After much research, I found the solution & I want to share what he finds very useful, we can create SQL logic in the Advanced tab, as below and after you click Rescan, and then you will get your desired results.

    SELECT saw_0, Evaluate_Aggr T1.dept ("ListAgg(%1,'' & '') intra group (about 1%)") ("as long as VarChar (1000), T1.emp) saw_1 FROM)

    SELECT 'emp_dept '. "the Department dept,

    'emp_dept '. "' employee ' emp

    IN THE "DOMAIN".

    GROUP BY dept, emp

    ) T1 GROUP FROM T1.dept ORDER BY saw_0

    Also note here that we have good anti-aliasing for columns parent (ex: saw_0, saw_1), another by mistake oracle bi server.

  • How to export data from user information in ACS 5.5?

    Hi all

    You can see the photo, how to export data from user information in ACS 5.5? Thank you!

    Sincerely yours

    Hello

    Yes you are right.

    Kind regards

    Aditya

    Please evaluate the useful messages and mark the correct answers.

  • How to get current Login user in Oracle Forms?

    Hi friends...

    How to get current Login user in Oracle Forms?

    using the PL/SQL Editor on triggers.

    Please tell me...

    You have plsql function USER.

    For example:

    CURRENT_USER: = USER;

    Concerning

  • vRA 6.2.0: started getting complaints from users of Firefox

    About a week or two ago, I started to get complaints from users that they saw errors and other oddities in the vRA.  For example, clicking on "Applications" tab that leads them to the 'Home' screen instead.  And errors like this:

    Internal error

    An internal error has occurred. If the problem persists, contact your system administrator.

    When you contact your system administrator, use this reference: 8dd728d5

    But if they use a different browser like Chrome, all right.  Does anyone know if a recent update of Firefox is now incompatible with vRA 6.2.0 cause?  Thank you.

    You can check your version of Firefox? 41 and superior update problems. Here is the link to the KB article

    VMware KB: Items in VMware vRealize Automation tab is inaccessible after updating FireFox to version 41.0

  • Help! How to link to information users at the user page?

    I created the connection index, register, and sign the php pages. MySQL. Now I'm trying to create the user profile page. But I can't link their information to the user page. So, how to link to information users at the user page? @

    maniragav26 wrote:

    I created the connection index, register, and sign the php pages. MySQL. Now I'm trying to create the user profile page. But I can't link their information to the user page. So, how to link to information users at the user page? @

    Can I assume you are using Dreamweaver server behaviors (I guess if you ask this question, it is likely that you would be).

    Go to the mode code in your "login" page Find the section of code that creates the DW:

    $LoginRS__query = sprintf ("SELECT Uname, Pword OF USERS WHERE Uname = %s AND Pword = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $connUsers) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    INSERT THE CODE in RED below: 'id' is the name of the id column in your database table - if it were 'user_id' that's what you have inserted.

    $LoginRS__query = sprintf ("SELECT users id Pword, Uname, Uname WHERE = %s AND Pword = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $connUsers) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    $row_rsUserDetails = mysql_fetch_assoc ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    Now to find the under section of code in the 'login' page: (this implies that you have defined a 'success' page to return IF the connection information is correct):

    If (isset($_SESSION['PrevUrl']) & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    INSERT THE CODE in RED below: 'id' in $row_rsUserDetails ['id']; is the name you gave the id column in your database user table, so if it was "user_id" it would read as - $row_rsUserDetails ['user_id'];

    If (isset($_SESSION['PrevUrl']) & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    $_SESSION ['id'] = $row_rsUserDetails ['id'];

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    NOW, you create your user details page.

    Create a Recordset, select the table of database you want to gather information about the user. Select the filter to 'none '.

    Go to the view code and at the top of the page, insert:

    <>

    $userId = $_SESSION ['id'];

    ?>

    NEXT FIND THE CODE THAT SELECTS DATA FROM THE DATABASE: (your will be slightly different as you use different details of connection and recordset)

    @mysql_select_db ($database_connUsers, $connUsers);

    $query_rsUserDetails = "SELECT * FROM USERS";

    $rsUserDetails = mysql_query ($query_rsUserDetails, $connUsers) or die (mysql_error ());

    $row_rsUserDetails = mysql_fetch_assoc ($rsUserDetails);

    $totalRows_rsUserDetails = mysql_num_rows ($rsUserDetails);

    Change the second line above to: (add red code below for your SELECT string) (remember WHERE 'id' - 'id' is the name of the column in your database table.)

    $query_rsUserDetails = "SELECT * FROM users WHERE id = '". " $userId. » ' ";

    It's her!

    You can now start "liaison" details on the user Details page.

  • How to get information from web interface tables

    Hello

    How to get information from web interface tables

    as in the forms... Go to help-> Diagnostics-> review
    Block = SYSTEM field is LAST_QUERY.

    Kind regards.

    Salvation;

    Please see the paragraphs below:

    How to determine the Table and the name of the column to a field in a form in 11i [ID 259722.1]
    How to find the query that succeeded recently? [241628.1 ID]

    Respect of
    HELIOS

  • Try to play a movie but I have WMP cannot play the file how to get to play or delete the Xvid codec to play?

    How to get to play or delete the Xvid codec to play? Movies in AVI format, I converted it to WMP, but he won't play again

    No guarantee but maybe you need the XviD Codec.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    XviD Codec
    http://www.xvidmovies.com/codec/

Maybe you are looking for