Selectlist with redirect

Hallo reader,
I need some help with a form with say 10 items.
There are two selectlist(with redirect). After selecting (choice) clears all other items. Do you have a solution?
If I change the selectlist from redirect to submit than it hold the values but then I have validation errors(because it is to early for submitting the page. some values are still empty). The solution is then to use Button pressed condition(validation).
My question is: Is the possible to do it with Selectlist with redirect and hold the other values?
Thanks.
Walter

Hi,
Which version of Apex?
It is possible through use of the f?p=...item(s):value(s) syntax.
1. Change the Redirect to Page to Redirect to URL
2. In the URL set the items on P1 as follows
f?p=&APP_ID.:2:&SESSION.::NO::P1_ITEM1,P1_ITEM2,P1_ITEM3:&P1_ITEM1.,&P1_ITEM2.,&P1_ITEM3.In Apex 4 you have Select List with Setting Redirect and Set Value
Regards,

Similar Messages

  • Selectlist with redirect resets other value

    Hi,
    i created a form with several fields, one of them of type 'selectlist with redirect' (for a dependent LOV). When i start the form, change some fields and then change the contents of the selectlist, then this item is set and all others are reset to their initial state - so the previous changes are gone? What am i doing wrong???
    regards
    rainer

    Rainer,
    A Redirect is exactly that: a short circuit to another URL or page without any processing occurring. Use a select list with submit instead.
    Sergio

  • How to access the value of fiedl ( select list with redirect )

    WE created one report and form. When i click in the edit button of the report
    for the specific record ; the system go automatically in the form
    and show me all the information. In my form ia have some fields ( select list with redirect ) in this way i store the key but i can see the description.
    I want to control the delete operation in checking the value of some field
    in my form. How can i do that. When i verfy the content with SESSION
    my variable are empty
    Thanks
    Marc Fortin

    Hello Larry,
    You can use a select list with submit and create a branch to the page you want to go to.
    Hope that helps.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Select lists empty or POPup LOV needed with redirect

    Hi all,
    I have a form where i need 6 select lists with redirect or 6 POPup LOV with redirects.
    These select lists are separated in three groups
    like this
    group 1
    departments select list with redirect
    employees popup lov (query based on the value of department)
    group2
    Order select list with redirect
    OrderItem popup lov but needs a redirect here for employees (query based on the value of countries)
    employees popup lov (query based on the value of department)
    group 3
    some status select list with redirect
    When I choose the first select list the popup LOV is populated with good values
    when i select a value from the second select list the value in the first list disappears, including the value of the first popup lov. etc.
    How is it possible to keep the values stored in the first selects list when selecting some value of the second list.
    How is is possible to make a popup lov with redirect so that the values are in session
    and can be used in another popup lov?
    Is someone there who have experiences with this issue?
    thanks in advance,
    Hugo

    Hi Hugo,
    I don't think that you need a redirect for that. Check out my AJAX cascading popup lov solution.
    http://inside-apex.blogspot.com/2006/11/generic-solution-for-depending-select.html
    Hope this helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • Possible bug using go tag with redirection under SSL?

    I've been testing an application under SSL and have noticed that some links "pop-out of SSL". Upon further inspection I noticed the links were using <go> tags with redirect set to true.
    Does anyone know where <go> gets the URL it uses? I'm wondering if this might be a webcache configuration issue or appserver config issue.
    note: using AS 10g 9.0.4.1.1
    Thanks in advance!
    /SFL

    Hi all,
    Just thought I'd update on resolution. As suspected, an AS config issue was responsible for this glitch. Long story short WebCache can communicate in 2 ways w/ an origin server (HTTP or HTTPS). You can have WebCache use SSL w/ the client and still communicate with the origin server using HTTP (which was our case). PITFALL: the origin server is unaware of the use of SSL by the client (WebCache only "knows"). SINCE THE ORIGIN SERVER IS THE ONE EXECUTING THE <GO> TAG, when using redirect=true attribute with the tag, the URL generated by the rewrite routine is HTTP and not HTTPS as one might expect when accessing the app via SSL.
    Hope I can spare someone else the headache...
    Cheers!
    /SFL

  • Select list with redirect and save the item to insert row

    On the Form, I want to select from the item (P105_ADMIN_DOMAIN_ID)
    and pop the result on the item (P105_ADMIN_NAME).
    P105_ADMIN_DOMAIN_ID define:
    Display as "select list with redirect"
    Alternate source used "Only when .."
    Source Type "Database Column"
    Source Value or express "ADMIN_DOMAIN_ID"
    P105_ADMIN_NAME define:
    Display as "Text Field"
    Altrenate source used "Only when .."
    Source Type "SQL Query"
    Source Value or express "select party
    from responsible_party
    where logonid
    = :P105_ADMIN_DOMAIN_ID"
    questions:
    1. item P105_ADMIN_DOMAIN_ID DROP DOWN LIST is limited to
    some threadhold, it did not list all the value from
    the LOV which is follow:
    select LOGONID d, LOGONID r
    from RESPONSIBLE_PARTY
    order by 1
    2. I want to insert a row after complete the form.
    But my item P105_ADMIN_NAME is defined
    Source Type "SQL Query" instead of the 'Database
    Column'
    How could I overcome these?
    Thanks so much for your help.

    1) what i meant was for you to test this ridiculously huge LOV outside of htmldb, but it occurred to me last night that you could, in fact, be hitting a limit of ours. after some poking around, i have confirmed that. select list items in htmldb are currently limited to 10,000 rows. this was initially done for performance reasons, but they're now opening up the restriction. if you really need to work with that many rows where the user is allowed to pick from a set of values, consider using a popup item type instead. it'd help your app performance as well (in my test cases, it stank to have to wait for my 10k select list rows to come down to my browser).
    2) sorry to not have been more clear about this, but when you set your item's "Source Type" back to "Database Column", you'd have to specify that column in the "Source or value expression" field. also, you can't put a sql query into that "Post Calculation Computation" field. as i said before, "you can take a look at the attribute-level help for that field to see implementation examples."
    3) stick with "Always..." for now if you're using our auto-dml process(es)
    regards,
    raj

  • How to Fix Select list with redirect Problem

    Hi
    I have a field F1 of type select list with redirect.
    It has an LOV with 2 values USA and Canada for eg..
    I choose USA and hit save and saved it to DB..
    now f1 is stored in table with my User ID and value is USA.
    when I log in next into this page,
    this field should show me the value USA.
    But its not happeneing for me..it always gives the null value when i re login
    is there a way to default/source it to my value??
    I am using
    select f1 from table
    where user_id=:user_id;
    i checked and this query works in sql plus...

    Earl, please see the response in italics for each of your questions below:
    You do want your default value to be one of the values in the select list. Otherwise why would you want the value there at all?
    So, then should I have a default value at all? And, if yes, then what should it be?
    And can't you just set the default value to the first value in your select list, whatever that is, so the first value is the selected value?
    I did that and it works, only if the first value in the select list is always going to be there.  The select list is based on a column data in a table.  And if the data for that column changes then the values in the select list will change.  And, the first value might not always be the same.
    I guess I'm not clear why this isn't doing what you want, besides the fact that
    you seemed to have removed the default value from the dynamic select list query, which you shouldn't do.
    I removed the first value (it could have been any values) from the select list to mimic the "dynamic" select list -- just to test.  The select list data is based on a table and the data in the table can change.
    Thanks
    DP

  • Adobe Reader becomes unresponsive when loading a PDF on a network with redirected user data.

    I have a client with redirected user data, including application data, that is experiencing poor performance of Adobe Reader when trying to view PDF's. They are not using roaming profiles but do have redirected user data and documents on a server. One of the client's sites has direct file access to the domain with a small network pipe of 20MB. I expect the slow load of the PDF's but not the actual "application is unresponsive" behavior. If you wait for 10-15 minutes, then it seems to behave okay.
    I know that previous versions of adobe reader had problems with redirected data. Here are a couple of the threads I found talking about this issue.
    http://forums.adobe.com/thread/754379
    http://forums.adobe.com/thread/391738
    Does anyone know the official adobe word on their minimum recommended bandwidth requirements for redirected data? Do they not support redirection at all? I have tested Adobe 9,10 and 11 with the same problems.  Local files still have problems with redirected user data but local users with local files have no problem. Alternate PDF programs still take time to load the file over the network but do not seem to have the application hang problems. Any ideas or suggestions?

    in AS2, use getURL("data/pdf/nameoffile.pdf",
    "_blank");

  • Check box with redirect

    Hi :
    In application express as we have select withredirect can you include check box with redirect
    please suggest
    Thanks
    sudhir

    Sudhir,
    Check whether the following javascript helps you.
    function go() {
    var abc = '';
    var radioLength = document.wwv_flow.p_v05.length;
    var retVal = '';
    if(radioLength == undefined)
              if(document.wwv_flow.p_v05.checked)
                   retVal = document.wwv_flow.p_v05.value;
              else
                   return "";
    for(var i = 0; i < radioLength; i++) {
              if(document.wwv_flow.p_v05.checked) {
                   retVal = retVal + '4' +document.wwv_flow.p_v05[i].value;
    retVal = retVal.substring(1, retVal.length);
    if(retVal=='Y')
    var answer = confirm("Do you want to move to the page a ? If yes,press OK to move to a , CANCEL to stay here");
    if (answer == true)
    alert('Please wait while we transfer you to the Consulting Win Story template');
    location.href="url a ";
    else
    return"";
    if(retVal=='N')
    alert(' Thank you');
    location.href="same page url";}
    here i have used the option button to move to another page and stay in the same page.
    If you want to submit the page for any value,
    you can write doSubmit( submitbuttonname);
    call this function on the option button, in html form element attributes.
    name ="p_v05" onClick="go()"
    Message was edited by:
    archana

  • Select List with Redirect clears Foreign Key

    I have two pages created by the Form wizard, a report and a form, with a Create button on the report page. When the Create button is pressed it passes a Foreign Key item using f?p syntax - stardard code, so far, so good, the form page works fine.
    However, the form contains three Select List items, and the second and third ones need to be restricted by the value of the first one. That is, once they choose an Organization using the first Select List the second Select List should only show Groups that belong to that Organization. To do this, I have chosen the first Select List to be "Select List with Redirect". This does exactly what I want, restricting the values in the second and third items because the LOVs they are based on refer to the value of the first item in their where clauses.
    This works fine when I edit an existing record, and also works if I create a new record but don't touch the value of the first Select List. The problem is that when there is no database record and the first Select List is changed, it wipes out the Foreign Key value that was passed - so the record cannot be saved. The url after redirection shows only a value for the item that was changed, and does not include the value of the Foreign Key item as it did when the Create button was pressed.
    I cannot find anywhere to specify item/value pairs for the redirection url. So I have created a Computation which sets the value of the Foreign Key item and computes it Before Header, After Header or Before Region, etc. It sets the value, and Session State displays the value. Debug shows it being set, too. But the displayed field is empty in the region, and the record cannot be saved because the item has no value!
    Can anyone tell me what I'm missing here? I suspect the processing of the region is overriding the computation. But I can't find a way around this. Any ideas?

    Scott,
    Sorry, my mistake - it's not a database column, and Alternate Source Used is set to "Only...". The problem is still occurring.
    The tables are:
    - Person - list of People
    - Organization - list of Organizations
    - Organization Role - Roles defined for each Organization, has foreign key to Organization
    - Person Role - Assignment of a Person to an Organization Role, has foreign key to Organization Role and also to Person
    I generated a report on Person with a link to a form on the table. When they press the edit icon, the form for the person comes up fine. Then I enable a series of tabs for that person - to edit addresses, phone numbers, etc. and carry the Person ID forward to each page.
    On the Person Roles page, I generated a report that lists the roles that person is assigned to and a form to maintain the assignments. Pressing the edit button goes to the form to maintain the assignment, which works fine.
    There is also a Create button to add a new assignment, which goes to the same form and clears the primary key of this table to create a new record. I also pass the Person ID in the url so that the new record can create the foreign key value to Person.
    Now here's the problem. On the form to create or edit an assignment, there is a Select List to choose the Organization Role record that they are being assigned to. But this can be a long list, with the same role in several organizations, etc. So I want to allow them to first select the Organization, then select Roles in that Organization.
    To do that, I created a new item on the page that is not a database column. It is defined as a Select List on Organization, and they can choose the Organization from the list. Then the select statement for the Organization Role LOV has a where clause that compares Organization ID against the value chosen by the user. To make this work, the page has to be updated when they choose a different Organization, so I made the Organization field a Select List with Redirect.
    When I edit existing role assignments this works fine. As soon as I select a new Organization, the Organization Role Select List is updated and I can choose roles defined for that Organization. But when I create a new record (which passes in the Person ID in the url) and then choose an Organization, the Person ID is wiped out - and the record cannot be saved without this foreign key value.
    After selecting an organization on a new record, the url shows that the page has been called with only the new value of Organization - so the Person ID is lost, because there is no database record to fetch and it is not passed to the page. And I cannot find a way to set the item/value pairs passed to the url when the redirect is performed.
    I am displaying the Person ID for debugging purposes, and see it disappear if I set Display As to "Text", "Display as Text", "Display as Text (based on LOV, does not save state)" or "Display as Text (based on LOV, saves state)". Interestingly, even though the later saves state (I can see it in Session State), it still gets wiped out in the record - presumably because it's a database column and there is no record, and the value is "Always" going to update the session state.
    Another interesting behavior: If I set the Person ID to display as a Select List, it remains. I think this is because I do not allow extra values or nulls, so it displays the first value in the list if there is no value. (I have only created one person so far in my testing, so I can't tell yet for sure if it changes. Will try that.)
    Is this clear? I'm trying to get this application created in my workspace on htmldb.oracle.com (currently it's on my local database) but having problems creating the tables - unable to create initial extents. Hopefully, I'll have it up there soon and you can examine what I'm doing. I'll let you know when it's available.
    Thanks for your help.
    Sam

  • Select list with Redirect

    Version HTMLDB 2.0.0.00.49
    Can you help?
    New to HTML DB and struggling with Select Lists.
    I have 3 select lists based on LOVs (SQL Queries).
    On selecting a value from Select List 1, this filters Select List 2 (Using Select List with Redirect) and on Selecting a value from Select List 2, this in turn filters Select List 3 (Again using Select List with Redirect).
    The problem that I have is that after the Select List with Redirect has executed, the page is rendered and the value that I selected is overwritten by the first value in the select list as determined by the SQL order clause in my LOV definition.
    Is there a way to 'freeze' the value that I have chosen regardless if the page is rendered because of the Select List with Redirect?
    I have checked the Session State and the correct values are being assigned to the appropriate ITEM variables, however what the USER sees makes it very confusing.
    Perhaps there is a better way of achieving the desired functionality?
    Perhaps I am using Select List with Redirect inappropriately?
    Any guidance gratefully received.

    id,
    Set each item's Source Used attribute to 'Only...' to cause cached values to be used in preference over newly computed values for each page view. Just be sure to clear cache for the page when first linking to it or when branching to it from other pages.
    Scott

  • Select list with redirect - clearing field issue

    I'created an APEX page where there is 2 items. A Select list with redirect and a Text Field. Both have "Only when current value in session state is null" for "Source used". If some data has been written into the Text Field and I'm selecting someting from the Select List with redirect, the value of the Text Field is cleared.
    The page has no Computations, Validations, Processes or Branches.
    As you may guess, I want the the Text Field NOT be cleared.
    I know, that subject has been discussed over and over, but I'm all reading about it told me that "Source used" set to "Only when..." for the Text Field, it's suppose tol keep it's value.
    Could please someone explain me what I've not understood.
    Many thanks in advance.

    Thanks for helping me. In fact, my real problem is about a page where two select lists are needed. The first one shows CATEGORIES and the second one shows SUB-CATEGORIES, based on the value selected at the first select list. Since there is other fields on the page and the data has not been saved yet (other fields afterwards and validations anyway), data entered has to be kept until the user click "Save" button and all the validations are ok. I was expecting to solve the issue by using "Select list with redirect" for CATEGORIES (this is the only way I was able to make SUB-CATEGORIES works) and having all my fields "Source used" set to "Only when...".
    So, can someone told me if "Select list with redirect" is the way to solve my problem or should I use something else?

  • Select List with Redirect clears unrelated fields

    The Select List with Redirect seems to clobber any fields that were passed in from the calling form.
    In particular, I have a form where I'm trying to populate an intersection table. The first FK column is passed, and shows up when the form first appears, but as soon the select list is selected from, it disappears. The select list with redirect is needed to provide a filter for the select list to populate the second FK column.
    How do I preserve the value passed to this form so it's still there when the create button is pressed?
    Thanks

    Try to give condition to your process...
    In select list ... give some name to request....
    and then in your process enter :REQUEST <> 'SELECT' in this case when select list is submitted then that process will not be fired

  • CVP 8.5 - Post Call Survey (PCS) with Redirect No Answer (RNA)

    Hey guys,
    I've been mucking around with getting Post Call Survey  in CVP 8.5 and I got it working so if a call is answered by an agent  and they hang up it transfers the caller to the survey correctly but it  appears it does not play nice with Redirect No Answer? When a call  redirects it seems to automatically trigger the post call survey and the  call is no longer queued. If I turn off Post Call Survey the call flow  the call RNA's fine and the caller stays in the queue.
    Anyone done anything tricky to get this working? Am I missing something?
    Cheers,
    Nathan

    Hello Nathan,
    Can you try using Router Requery feature, so that ICM can try reaching another Agent.
    There was defect in CVP 8.0, Have a look at the defect CSCtk96808
    Regards,
    Senthil

  • Help with redirecting URL from Web Dynpro

    Hi,
    I have a question regarding how i can construct a URL where i would like to forward the user from a WD app based on some user interaction.
    The problem is that i need to know the protocol, server & host to resend the control to ( basically append these values to a url path that i have eg: <http(s)>://<host>:<port>/<the path i have>).  With NW2004s, the request object is not exposed to us anymore, so i am wondering what is the best way to construct the url.
    I have gone through various posts here and the one that came closest to accomplishing what i need is the one by Valery S which recommends creating a Servlet that captures the request info that i need and then calling the WD app including the info that i need as request parameters in the calling URL.
    Before i do this, i want to see if anyone has been able to solve this through another approach.
    Appreciate the inputs.
    Best Regards
    Renchy Thomas

    Renchy,
    Now I see you are conflicting with yourself
    On one hand, if you need to redirect to the application hosted on the same server you need no protocol/server/port parameters. And you confirmed that this works for you.
    On other hand, you are complaining that WD doesn't know in advance the protocol/host/port of arbitrary server you are planning to redirect to. Well, as I understand this is not API issue, this is configuration issue. You just need some configurable way to store such settings.
    If this is true, then I can suggest 2 options:
    1. HTTPDestination -- you are setting and configuring destination via VisualAdministrator, then from your code you are lookup destinitation by logical name and get physical URL.
    2. IWDConfiguration / WDConfiguration -- you are creating settings as regular properties file, after deployment you may tweak this property file with VisualAdministrator. From code you are using WDConfiguration API to read URL or parts of URL as properties.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

Maybe you are looking for