column of a link with the ability to send the user on several different pages

using apex 4.0

In my example:
User: Secretary for a large company in charge of the HR database, enter new employees, reorganizing the employees, managers, etc.).
Employee: A person working for the company whose information is in the database.

The problem: my client wants the data divided into several subcategories, so, for example, it would be like sales, managers, etc., using the human resources database. The main page of this project contains a table that lists all the company employees, low to high. There is a column of navigation with several links to predefined reports filter that filters data on the question whether the employee in the database is a seller, Manager, etc.. If the user clicks on the link change, it will take them to a page master detail where the upper part is general information and background tasks of the employee. The problem is that, according to his level, there may be additional details that the user will want to change, such as if the employee is responsible for, the user will also want to see another table a list of employees by the Manager. There is also a second level of managers who will have a table of managers of this person manages. The dream is that there is a list of links above the tabular presentation, which will allow the user to choose what table they want to see. I thought about the following:

1. create several copies of the home page, one for each subcategory, so that she will be the link change correct.
Positives - Simple, easy, I know how to.
Negative - would like it to appear on the same page, such that if the user deletes / adds a column in a single page, this change would occur on all other pages. I also have to make the same changes on several pages, one is required.

2. create a text field hidden on the page that records the last link, what they clicked. When the user clicks on the link change, some kind of javascript selects the right page to go to in view of what is in the box.
Positives - seems simple enough, but I have not tapped into javascript a lot
Negative - not for sure if it is even feasible, would need help

3. create a subpage of master-detail, that holds all the necessary tables and hide those that are not. When the user clicks on a link, the link triggers the current table to hide and another to appear.
good points - all in the same place, that one page to link to main page
negatives - it would require at least 5 tables on one page and I do not know how the apex would like that. I also don't like the idea of the page calling itself when the user is looking at senior managers and to display a lower Manager / employee.

4. a creative method / useful / incredibly simple bore by a user of this forum.

Because I'm in a very short, customer review period next week, I implémenterai #1 because it is the easiest and most straight forward, but I would like to know your thoughts to make much cleaner.

Published by: rabbitman June 4, 2012 08:07

I don't know if it's the best way to accomplish what you want, but it worked for me.

Change the link in the column to specify the following for a target URL, where EMP_NO and EMP_TYPE are columns of the report.

JavaScript:apex. Submit('#EMP_NO##EMP_TYPE#')

In the processing of the page after several branches to different pages depending on the type of employee. For example,.

Branch to Page 2: Condition = instr (: REQUEST, 'SALES') > 0
Branch to Page 3: Condition = instr (: REQUEST, "MANAGER") > 0
Branch to Page 5: Condition = instr (: REQUEST, 'PRÉSIDENT') > 0

Since the: APPLICATION also has the EMP_NO, you can use this to set the value of the EMP_NO for the target page, pull up to the employee's file.

Natasha

Tags: Database

Similar Questions

  • Authentication of the user - connection to different pages / PHP script / DW8

    Hi, I want to develop a PHP script to a login page that will direct users to different URLS depending on the URL address associated with their individual files stored in a MySQL database.

    I've set up a MySQL database that includes the fields username (1) (2) address, password and the URL (3).  I use Dreamweaver 8 and am relying on server behavior 'user log '.

    After selection all 3 fields in the table x y at - it a specific code that can be inserted in the option "If the connection is successful, go to" resolve this query?

    The following link refers to what I'm looking for... .but it does not provide an answer for PHP/MySQL!

    http://kb2.Adobe.com/CPS/158/tn_15881.html

    Thank you, Simon

    My Code so far:

    @mysql_select_db ($database_connLogin, $connLogin);
    $query_login = "SELECT username, password FROM USERS";
    $login = mysql_query ($query_login, $connLogin) or die (mysql_error ());
    $row_login = mysql_fetch_assoc ($login);
    $totalRows_login = mysql_num_rows ($login);
    ? > <? PHP

    Validate request to connect to this site.
    If (! isset {})
    session_start();
    }

    $loginFormAction = $_SERVER ['PHP_SELF'];
    If (isset($_GET['accesscheck'])) {}
    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];
    }

    If (isset($_POST['userName'])) {}
    $loginUsername = $_POST ['userName'];
    $password = $_POST ["password"];
    $MM_fldUserAuthorization = "";
    $MM_redirectLoginSuccess = 'members.php ';
    $MM_redirectLoginFailed = "tryAgain.php";
    $MM_redirecttoReferrer = false;
    @mysql_select_db ($database_connLogin, $connLogin);

    $LoginRS__query = sprintf ("SELECT username, password AND password OF USERS WHERE userName = %s is %s",
    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $connLogin) or die (mysql_error ());
    $loginFoundUser = mysql_num_rows ($LoginRS);
    If {($loginFoundUser)
    $loginStrGroup = "";

    I think you can ignore it. Once you edit the code of a server behavior, Dreamweaver can recognize it is no longer. That's why you get the error message.

  • Bug trying to create the link with the Cyrillic characters in URL

    I'm transforming words in my text on the links, but with Cyrillic characters in their URL (such as https://en.wiktionary.org/wiki/ хорошо). The problem is that, depending on how create the link, the page refuses to accept the URL.

    It's my preferred method (which accepts not the Pages):

    1. Write or select the text to be transformed into link;
    2. Press cmd + k;
    3. Paste the URL (https://en.wiktionary.org/wiki/ хорошо) in the field;
    4. Hit enter or click out;
    5. When I check the link, it is www.apple.com.

    The strange is that other methods work very well.

    1 against nature (accepts Pages):

    1. Delete my word;
    2. In its place, paste the URL (https://en.wiktionary.org/wiki/ хорошо);
    3. Hit the space bar (a link is created automatically with the correct URL);
    4. Edit the link that is created and change its text;
    5. When I check the link, he kept correct.

    2 against nature (accepts Pages):

    1. Write or select the text to be transformed into link;
    2. Press cmd + k;
    3. Find a way to build a version with my URL (https://en.wiktionary.org/wiki/%D1%85%D0%BE%D1%80%D0%BE%D1%88%D0%BE) escape sequence;
    4. Paste the URL with escape sequence in link field;
    5. Hit enter or click out;
    6. When I check the link, ironically, is хорошо https://en.wiktionary.org/wiki/.

    To stretch more:

    1. Editing a link created successfully (with any success methods above);
    2. Changed its URL (from хорошо https://en.wiktionary.org/wiki/ to https://en.wiktionary.org/wiki/ плохо)
    3. Hit enter or click out;
    4. When I check the link, it's still хорошо https://en.wiktionary.org/wiki/;
    5. Finally edited and changed its URL still once, now remove the Cyrillic (https://en.wiktionary.org/wiki);
    6. Press enter, click out and he finally accepted the URL.

    Pages seems to be denying the creation of links with the URL that contains Cyrillic characters (only?), but exclusively through his little creation of link popup. I think it's a simple problem, but I'm sure it's very annoying.

    Everyone knows the same?

    Cyrillic characters in the range of table encoding UTF-8 code points u + 0400 - u + 04 FF are represented by two bytes. These people must be encoded as a percentage (read the two paragraphs of the current standard of article), as the Pages v5.6.2 will convert automatically URI to this encoding for you in the link Inspector. It will simply ignore what it considers incorrect URI links, they are Cyrillic, or even English.

    Use what is easier for you, and that Pages v5.6.2 accepts.

  • I just updated my system to yosemite 10.10.3 software. I don't seem to be able to establish links with the APPs on my desktop creative cloud. I have just a spinning wheel?

    I just updated my system to yosemite 10.10.3 software. I don't seem to be able to establish links with the APPs on my desktop creative cloud. I have just a spinning wheel?

    Screen Shot 2015-06-28 at 20.13.32.png

    Does not open App | Wheels of progress turn continuously

    https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-app-doesn ' t - open.html

  • Columns with the same name but different data or precision length.

    DB version: 10 gr 2

    In a diagram, I need to find all of the columns with the same name but different or precision data length (if the column is of type number). I know I have to use the USER_TAB_COLS view for this. But I need to find a logic to compare the names of columns and its lengths.

    something like

    select t1.table_name
         , t1.column_name
         , t1.data_type
         , t1.data_length
         , t2.table_name
         , t2.column_name
         , t2.data_type
         , t2.data_length
      from user_tab_columns t1
         , user_tab_columns t2
     where t1.table_name != t2.table_name
       and t1.column_name = t2.column_name
       and t1.data_type = t2.data_type
       and t1.data_length != t2.data_length
    

    ... could be a starting point.

  • When I log in with the user account that reflects on the one hand by car, there is no batch file or a script in AD for this user profile

    Hello

    I created a new user in AD (Server 2003).

    When I connect with the user account that reflects on the one hand by car, it not there no batch file or a script in advertising for this user profile. I don't want user to access this part by car.

    If anyone can help.

    Kind regards

    Virendra Tainya

    Hello Virenda,

    Thanks for posting your query on the Microsoft Community.

    I would like to inform you that we have a support forum dedicated to systems on area issues, I suggest you to send your query on Microsoft TechNet forum for this issue. You can get more effective suggestions and adapted by experts familiar with this topic.

    Please visit the link below to find a community that will support what ask you:

     

    Microsoft TechNet

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winservergen

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    Thank you

  • I want to know if I can use creative cloud with the same account on different computers

    I want to know if I can use creative cloud with the same account on different computers, because my children want to she and I have known if I buy when I can use it on several computers at the same time

    If it is the individual subscription, you can activate on 2 computers only.

    However, there is no limit for installation, but you can connect and activate on 2 computers only.

    If you had already signed and activated CC apps on 2 computers, and there still if you want to activate on a 3' rd computer, you can simply disconnect one of the 2 comps, so that you can keep counties of activation.

    For more information, see the link below:

    https://www.Adobe.com/content/dotcom/IE/products/creativecloud/FAQ.html

  • What is with the user interface?

    Hi all

    Just downloaded PSE8 to see if I want to spend the PSE6. Not really sure yet. For openers you can't empty the 'welcome' screen and the choices are, you are going to get what you want or not. Now for the 'UI adjustment' in preferences > general tab. Well you can do 'light '. I do like it, it's not as light as my old PSE5. I could never understand why Adobe went to a black user interface? However, when you do the 'light' UI, all the necessary buttons ie. file, edit, improve, layer, etc. are so dark you can't find them, let alone read them. It is sort of like hit or miss. I think the buttons should display a white lettering when you change the UI to light. You know, just so that you can find, either that or make the buttons in braille. Well that's my rant and PSE8 question. Why programmers can't think of anything like that?

    John

    It is not that they are not - they reminded a lot of people with previous versions. But they seem not to care, unfortunately. If you want to be sure adobe reads your thoughts, use the comments tab on the Contact link at the top of this Web page to tell them. Since this is a user to user forum, there is no knowing for sure that someone from adobe will see to what you post here.

  • With the help of several buttons on a slide

    I am a new user of Captivate 4 and I have questions with several buttons on a single slide.

    I want a button each to send to users in three different places depending on the button pressed. The locations are all in the current movie that I am developing.

    My problem is that using a button or click box is an action "pass" and "fail". When you use the two buttons in a slide I was creating a dummy "button and get the users click on this 'button' where there are only two choices. This procedure meets the success of failure on the button or click box.

    Of course, I can't do this job when I need more of two buttons.

    I must be missing something simple here any advice would be appreciated.

    See you soon

    thedarf

    Hello

    I'm a bit confused. You say you want to provide only two choices? (Or are you want to create a slide where it acts much like a table of contents when the user clicks the button or click box) 1 and moves might slide 5, button 2 moves to maybe slide 10 and 3 button move maybe slide 15.

    If this is the case, you are overthinking things. All you need to worry is the action of onSuccess.

    See you soon... Rick

    Useful and practical links

  • How to provide the download links for the users of the portal

    Hello

    I have several portlets (standard JSR168 built in Java with JDeveloper 11 g) that displays links to download files users.
    The files are stored in another system and obtained by calling a Web service.

    Which is the best way to provide these links to the user stays on the same page and get a dialog "save/open"? I have to develop a servelet process the request again?

    Thank you
    André Esteves

    Yes. You can write the processAction logic. The code in my previous post (content-disposition, attachment) will force the browser to open the file save/open dialog box. If you need example code to download the file, you can see this example .

  • I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    This is the first mention you made records. See this - https://support.mozilla.org/en-US/kb/Sorting%20bookmarks#w_rearranging-manually - and move individual bookmarks from one folder to the other folder. You may need to press the Alt key to display the Menu bar and the View menu item.

  • You are about to open a session "keiron.me.uk" with the user name "Gerry" site, but the site requires no authentication. Maybe it's attempt to deceive you.

    http://Keiron.me.UK

    This very annoying message what I select my site

    You are about to log on the site "keiron.me.uk" with the user name "Gerry", but the site requires no authentication. Maybe it's attempt to deceive you.

    It is ok with Internet Explorer

    To resolve this problem, simply is to remove all bookmarks you have to keiron.me.uk and then re-create by vising the site by typing the address directly into the address bar.

    If you want to manually fix it then, check the properties of the location of all bookmarks that you have for keiron.me.uk. It is probably similar to http://keiron:[email protected] remove the keiron:password @ section and the dialog box should not appear again.

  • someone has a link to the user manual / manual for the T61

    someone has a link to the user manual / manual for the T61

    THANKS IN ADVANCE

    http://www-307.IBM.com/PC/support/site.WSS/product.do?subcategoryind=0&familyind=370153&brandind=10&...

    See you soon,.

    Bill

  • I have created a new domain with win2012r2 and created users. Add after the client in my area so that the newspaper with the user I get error below.

    Hello

    I have created a new domain with win2012r2 and created users. Add after the client in my area so that the newspaper with the user I get error below.

    "You cannot connect because the logon method, you use is not allowed on this computer, please, see your ad min for more information network"

    Please help me with that and I don't want to give permission to admin for all users group...

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • With the help of several types of video files into one film will prevent the publication?

    I am using Movie Maker on Vista.  I have mpeg, avi and wmv files.  The Movie Maker plays very well in project mode, but will not be published.  Multiple file extensions would be the source of trouble?

    If so, is there a quick fix?

    Hi d1bon,
     
    1. what exactly happens when you try to publish a project?
    2. do you get an error message?
     
    With the help of several file extensions should not be a concern.

    Disable video filters and check the result.
    1. click on tools and then click Options.
    2. click on the Compatibility tab.
    3. to turn off a filter, clear the check box next to the name of the video filter.

    You also uninstall the Codecs and check the result: Uninstall

    Please provide us with more details on the issue, so that we can better help you.
     
    Check publish a movie in Windows Movie Maker
    Check, solving problems with publishing a movie to your computer 
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.

Maybe you are looking for