Redirect if record exists is displaying value in address bar

I setup a simple login page to insert record if it doesnt
exist, and
redirect if it does..
since its a login page, i dont want the values past in the
address bar as if
it was a querystring....
i dont recall this occuring in past setups like this..
here is an example of what i see in the address bar
http://corp01/thankyou.asp?requsername=123456789
the form i have setup to do this is set to the following:
Method = POST
Enctype is blank
Action = <%=MM_editAction%>
Target = empty
Class = empty
Is there anyway to prevent this from displaying in the
address bar?
Since the live form will be setup behind a https:// and
security in place..
i want to make sure i code correctly now before we have the
site live...

so the problem is here if the option is equl No categories
found I want to go by id but by subId
so it should look like this
details3 = new
Spry.Data.XMLDataSet("prog.cfm","progs/prog[id="+window.activeRecord+"]",
{useCache:false, loadInterval:1660});
Also I tried to write some code but i do get the wrong result
function hielo3()
if(window.activeRecord2 == null || window.activeRecord
==null)
alert("You must select a category or a subcategory!Please go
back to the category Tab");
setTimeout('tp1.showPanel(1);',0);
return false;
} else if (window.activeRecord2="No subcategories found"){
details3 = new
Spry.Data.XMLDataSet("prog.cfm","progs/prog[id="+window.activeRecord+"]",
{useCache:false, loadInterval:1660});
details3.addObserver(myTab2Observer2);
} else {
//here make your other query to get the details of the
selected option! I am reusing the previous one.
details3 = new
Spry.Data.XMLDataSet("prog.cfm","progs/prog[subId="+window.activeRecord2+"]",
{useCache:false, loadInterval:1660});
details3.addObserver(myTab2Observer2);

Similar Messages

  • Select list with URL redirect - not showing the same display value selected

    Hi
    I have several select lists with URL direct on my page similar to this
    for p6_queries item the LOV is
    select QUERY_NAME display_value, 'f?p='
    || :APP_ID
    || ':'
    || 6
    || ':'
    || :APP_SESSION
    || '::::p6_queries:'||QUERY_ID||'#qtables' return_value from .....
    I am assigning a return value to the item p6_queries. But when the page is redirected, I dont see the selected value as selected in the list. Instead it goes to the null display text. Can any one help me on this?

    The problem is that your setting the item value to value of query_id. But your select list has the value of each item as the URL so it will never match and show you what you selected.
    The best thing to do may be to change your select list from a "redirect to URL" to "submit page", make it a normal query:
    select QUERY_NAME display_value, QUERY_ID return_value ...
    Then create an "On Submit: Before Computation" branch:
    Target Type: URL
    URL Target: f?p=&APP_ID.:6:&SESSION.::&DEBUG.::P6_QUERIES:&P6_QUERIES.#testing
    Condition Type: Request = Expression 1
    Expression 1: P6_QUERIES

  • Display value on each bar in chart

    Hello,
    I've a chart, in which I need to display the values for each bar.
    Per default, only a approximative value is displayed on the Y axis.
    Many thanks in advance.
    Alain.

    In the display settings of your flash chart, you have the following options:
    Show Hints      
    Show Labels      
    Show Values      
    Click those on and see what you get.
    You can also use try to use a custom XML, which will give you a possibility to manualy change the generated xml for you chart.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Displaying icon in address bar

    Hi,
    please let me know how can we display an icon in the address bar (prefixed to the url)
    i am using tomcat , jsps with struts frame work.
    Thanks in Advance

    Just put following line to your page and point the href to your icon file.
    For additional information search google for favicon
    <head>
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    </head>

  • Address bar doesn't display correct link when I open a new tab from a previous page, it displays the linkof the original page

    from a web page, right click on a link+open a new TAB. the link correctly opens in a new tab, but it is not displayed in the address bar.

    Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
    1.You can open the Firefox 4.0 SafeMode by holidng the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. <br />
    2. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
    If not, see this: <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Http redirects not changing url in address bar

    I'm going crazy trying to fix a major bug in our application. Http
    redirects are not changing the url in the address bar of the latest versions of internet explorer. But this only happens if the redirected page is an xml page with an xslt reference for the browser to do the transformation. Mozilla seems to work fine, but I seem to have encountered a major bug in Internet Explorer. If anybody can help or at least point me in a direction I'd be SO grateful. This doesn't seem to be a java servlet specific issue, but that's what we're using so I thought I'd ask the question here too.
    We have an MVC type framework we developed. For example, if you were to add something to a shopping cart, the url might be:
    http://ecommerce.com/cart/add?sku=54321. In the add servlet, we would add the sku to your shopping cart and then redirect to, let's say,
    http://ecommerce.com/displaycart. I think this is how most MVC frameworks work. And it works great for us.
    The problem began when we started sending XML to the browser with an XSLT stylesheet. So now the browser does the transformations (if the browser is capable of doing them, which we check) instead of the server. This is a major part of our project. One of the reasons we started this.
    The problem is that Internet Explorer no longer updates the url in the
    address bar after a redirect. Mozilla works great though. We haven't
    tested on other xslt capable browsers yet. In the example above, what would happen is after adding something to your shopping cart, the "displaycart" page would be shown but the http://ecommerce.com/cart/add?sku=54321 url would be shown in the address bar. It wouldn't seem to be too big of a deal since everything works. But now all the relative links are messed up. They start from the "cart" directory. So we need absolute links. But that introduces many other problems. We then need to know the host and the parent directories (not as easy as it seems).
    So is there a solution? Is this a big bug that nobody has realized yet (or maybe they have, but my searches don't see it) in internet explorer? Is there a way for the redirected url to appear in the address bar from a browser-based xslt transformation in internet explorer? By the way, I'm testing with the latest version of IE6.0 as of July 7, 2003.
    When testing, redirects work perfect if I do the xslt transformation on the server side and just send plain html to internet explorer. And it works perfect with either serverside or browserside xslt transformations in mozilla.
    Scott Mueller
    AccelerateBiz Incorporated

    As I've been reading in the specs, microsoft, etc, it seems that it's not what's supposed to happen. But the specs are not very specific about this. However, internet explorer DOES always replace the url in the address bar with the redirected url if HTML is being returned from the redirected servlet. As is the case with all other browsers. So, at least, this behavior is the de-facto standard.
    BUT when the redirected to page is an xml page which references an xslt stylesheet.. then, ONLY in internet explorer, the original url is what's shown in the address bar (and, more importantly, what's used as the base url). Regardless of what the links look like or how they're manipulated in the transformed HTML that ends up being shown, I can't seem to make the url in the address bar the redirected url..

  • Displaying name of specific file name in browser address bar

    Hi,
    I am using RoboHelp8 and generating my file using Single Source Layouts - WebHelp (Primary Layout).
    When selecting a specific page via the Contents toolbar, I would like to have the address of that specific file displayed in the address bar but for some reason, the page displayed is always only my default topic page.
    I'd appreciate your help with this.
    Thanks,
    DGR2

    Hi there
    Are all you wanting is just the file name? Or do you also want the path leading to it?
    Take a look at the link below and scroll to the bottom of the page. Note that I've accomplished this by inserting a form field and populating it using JavaScript. So if this is what you want or will work, you could then pick apart my page (or have me post the code).
    Click here to view
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Want to remove the Navigation path been displayed in Address bar

    Hi All,
    I am facing a problem with the url path displayed in the address bar of browser. Whenever i select a tab in TLN the url path changes. Normally it has to be like http://<host name>: <port no>/ portal but for me it is coming http://<hoatname>/<port no>/portal ? NavigationTarget=navurl://<somestring>. Can anyone tell me why it is happening so and how will i get rid of this. I dont want the navigation path to be displayed in the address bar.
    Thanks,
    Nishant Singh

    Navigation method does not depend on image path.
    There are two standard TLN iView in portal (I do not count one from AJAX Framework Page):
    1) Top-Level Navigation is the default one and based on portal component com.sap.portal.navigation.toplevel.default and consumes EPCM API.
    2) Light Top-Level Navigation is based on portal component com.sap.portal.navigation.lighttoplevel.LightTopLevelNavigation and uses navigation method by URL.
    I have used a image as background of the LTLN
    Whatever you do with the Light TLN in the area of customizing its style, it will always remains Light Top-Level Navigation with navigation method by URL.
    So the answer to your question is do modify com.sap.portal.navigation.toplevel.par instead of  com.sap.portal.navigation.lighttoplevel.par.
    Best regards,
    Aliaksandr Zhukau
    Edited by: Aliaksandr Zhukau on Aug 23, 2010 2:23 PM

  • Logical foreign key display values

    I have a schema in which the primary keys are auto generated numbers. Foreign keys exist from child tables to the primary key of the parent.
    I have figured out how to change auto generated forms to display a dropdown list of display/values to the user on insert or update instead of the meaningless number.
    What I can't figure out how to do is have the generated report show the display that I am looking for without losing the ability to edit the child record. As soon as I manipulate the query to include another table I lose the icon in the application to edit the row.
    Is it possible to keep the edit icon on the report while showing logical values instead of actual ones?
    Thanks in advance,
    Chris S.

    We'll use a football analogy because it's time for the ployoffs.
    Let's create a TEAMS table and a DIVISIONS table.
    TEAMS consists of:
    TEAM_ID NUMBER -> PK
    LOCATION VARCHAR2(35)
    TEAM_NAME VARCHAR2(35)
    and DIVISIONS consists of:
    DIVISION_ID NUMBER -> PK
    DIV_NAME VARCHAR2(35)
    Now there can't just be a link from a team to a division because they move around a bit. The Detroit Lions used to be in the NFC Central. That doesn't exist anymore and now they are in the NFC North. (Please set aside the fact that the NFC should be a part of the conferences table).
    This means that I would create a table to link the TEAM record to a DIVISION record with the season that the team became a part of the division and potentially the last season that they were in that division. This table will be called DIVISION_TEAM_XREF and looks like this:
    LINK_ID NUMBER -> PK
    DIVISION_ID NUMBER -> FK(DIVISIONS.DIVISION_ID)
    TEAM_ID NUMBER -> FK(TEAMS.TEAM_ID)
    SEASON_EFF NUMBER(4) (actually a year maybe a VARCHAR2 would be better)
    SEASON_TERM NUMBER(4) (nullable)
    Now I created all of that through HTML DB with foreign keys from the XREF table to the teams and divisions tables. Then I create an application throught the application builder. I choose report and form and the application type like the demo. for each of the three tables. Choose a theme and walah there is an application with all three tables. If I add data to TEAMS or DIVISIONS I can see them in the report page that is created and there is an icon to the left of each row which when clicked will allow me to edit the row.
    The problem comes with my XREF table. The creation screen is just a form which expects me to know the auto generated number that was created for my division and team. I have figured out how to change this in the application builder so that it is a drop down list built from a query of the respective table.
    Once I create a record I can see it in the report page for the XREF table. This page has the option to edit the record but the values on the screen are the auto generated numbers that don't mean anything to a user. When I change this page to use display values from the parent tables I lose the edit icon.
    Here is the original query that the application builder used:
    select
    "LINK_ID",
    "DIVISION_ID",
    "TEAM_ID",
    "SEASON_EFF",
    "SEASON_TERM"
    from "DIVISION_TEAM_XREF"
    and here is what I would like to change it to:
    select
    XREF.LINK_ID "LINK_ID",
    DIV.DIV_NAME "DIVISION",
    TEAM.TEAM_NAME "TEAM",
    XREF.SEASON_EFF "SEASON_EFF",
    XREF.SEASON_TERM "SEASON_TERM"
    from "DIVISION_TEAM_XREF" XREF, DIVISIONS DIV, TEAMS TEAM
    where XREF.DIVISION_ID = DIV.DIVISION_ID
    and XREF.TEAM_ID = TEAM.TEAM_ID
    Sorry for the long post. Hope that clarifies.
    Chris S.

  • Condition record exists (removed manually)

    Hi
    I have created one RFQ w.r.t PR. In ME47 transaction am not getting one condition type (ZNVS)automatically, though it is selected as "automatic display has high priority" in condition type.When analysis is selected system is showing the message "condition record exists (removed manually)
    I have maintained condition record in MEK1 for ZNVS.ZNVS is negative value of  NAVS (Non deductable condition type)
    So that I can deduct the value from JEXS and only excise will be displayed.
    how can I get that ZNVS condition type in RFQ conditions Automatically.
    Need Help.

    What the pricing analysis is saying is that a condition record has been found but it has been removed manually. It can happen in the following cases
    1. If a user manually deleted it from the pricing screen, this seems unlikely in your case
    2. There is a requirement on condition type K007 level or its access sequence K007 level in the pricing procedure, which removes the retrieved condition record. Check this in the pricing procedure-condition type assignment and access sequence definition
    3. There is a formula (alternative calculation type) where there is some code written to remove the retrieve condition type
    4. A user-exit is used during condition access and which removes specific condition records from the set retrieved for the pricing procedure
    IMG Path : Sales & Distribution -> Basic functions -> Pricing -> Pricing control -> Define and assign pricing procedures (use this to check requirements and formulas at condition type K007 level)
    IMG Path : Sales & Distribution -> Basic functions -> Pricing -> Pricing control -> Define access sequences  (use this to check if there is any requirement at access sequence K007 level)

  • Change display value of "select list"

    Hi!
    I have a problem with a select list, I want to change the display value through an own pop up (page 5 of apex application) after I submit in it.
    The select list is based on a sql query:
    select A_NAME display_value, A_ID return_value
    from APPLICATIONS
    where a_application_type='GROUP'
    order by 1
    beside I have an link to open a pop up window:
    ... onClick="window.open ('f?p=&APP_ID.:5:&SESSION.::::', 'newWin',
    'scrollbars=no,status=no,width=500,height=270' ...
    On the pop up site there is a tree and a submit button which close the window and renew the original page:
    javascript:window.opener.location.reload();window.close();
    Through the tree I get the value (Group-ID) which I need.
    When I'm back on page 4 a "before header" renew page process links again on the side 4 and change the value of my select list. Afterwards the values have changed correctly but the display value is still the old one. It only change when i go on an other page of the apex application and come back.
    I don't know why it doesn't change immediately!?
    Thanks ahead

    I have done with a solution just in a nutshell of what u r looking for:
    1.create HTML region.
    Add two items : Select list with redirect(P6_X) and text field(P7_X)
    2. Select list is based on LOV query as :
    select empno d,empno r from emp ;
    Source value is Empno Type:DBcolumn.
    3.The text field Source type : SQL Query .
    Query : select ename from emp where empno = :P6_X
    Now select from the dropdown empno and it will populate the Ename value accordingly based on the query .
    U can have more than one text fields and populate those in the same way.....
    Cheers,
    ROSY

  • How to check whether a Record Exists or not in Ztable

    Hi all,
    I have Req like this
    In ZTable i have 2 fields  * Legacy System , Legacy Material No*
    Environment Value is coming in one of the field in Idoc
    The logic is if the Environment Value is UK and a Record Exists on the ZTable for Legacy Sysyetm = Leg1 means i have send Legacy Material No , else  Send 01
    Please suggest me the process for this
    REgards
    Vamsi
    Edited by: Vamsi Krishna on May 19, 2009 5:31 PM

    Hi Michal / Aamir,
    Thanks for your replies.
    The ZTable is at R/3 side only, iam using RFC Lookup for this, but iam bit confuse on how to construct the logic to check whether there is a record Exists or not on Ztable
    Logic shld be If the Environment value is UK and a record exists on the Ztable for Legacy system "ABC" means then send Legacy material number else send 01
    In Table we will have the fields Legacy System   Legacy Material No  & Environment value is coming from Idoc itself( Ex: UK or US)
    Regards

  • Display values for logical columns with several physical sources

    Hi all,
    I'm enocuntering some strange behaviour with the values displayed for a column (when we want to add it a as a filter, and in the dialogue box select 'Show All' values).
    Basically the logical column is mapped against several physical columns as the base fact table is aggregated to different levels. Additionally, one column in the fact tables has an attribute value, and these vary between the aggregated and non-aggregated table. This is not a problem.
    In the production environment, when we display the all values in the filters prompt for this column we are seeing the values being taken from one fact table. Naturally this means that not all the values possible for this column are being shown (i.e. values from the aggregated fact tables are missing). Now in one of our test environment where those fact tabels have additional data loaded, the values are being taken from one of the other fact tables. Unfortunately it is not necessarily the fact table with less data.
    My questions are:
    a) What dictates which fact table the server will use when the query in Answers doesnt use any dimensions (i.e. we are selecting just this attribute and selecting all the possible values by which it can be filtered)?
    b) Is there a way of obtaining all the values from the differente physical columns? I.e. that the display values shows the values of that logical column across all the physical fact tables? Maybe we would need to model that attribute as a logical dimension just for that attribute? Im not really sure this would work, as at the physical level the join between the dimension and fact would still have to go to only one particular fact table.
    Any info or help is much appreciated.

    Hi,
    Aggregate tables exist at physical level and are created by ETL procedures. Although i am aware that the dimension come into play when the application needs to decide which source aggregate table to use, it is not an issue here as in our query we are not involving dimensions. We are selecting just this one columen, and then the filter option on this column, then in the dialogue box we select 'All Choices', only the values from one of the source tables is being shown.
    This is not a probelm within reports, i think it is a product limitation in that in that option to list all values a user can filter by, it is not possible to display all the values from the different fact tables to which that column is mapped.
    Has anyone else encountered this behaviour?

  • Timeline usage : To display value at the end of timeline values

    Hi Team,
    In my current project, I want to implement functionality given below. All records are present in one single table.
    Table has columns as (City,Date,Positive,Negative,CountOfItems)
    I have created data model as given below.
    I need to design Power View Report for which Date will act as "Timeline", so when I select DAte as "2010-10-01" to "2010-11-01" then It should show me report having data on "2010-11-01 because it is latest data I am having.
    Final report should look like as below.
    But as I have used "Sum" function, it shows me wrong result.
    My actual meaning is that, on every date of selected window in timeline, value at the last day of selected window should be displayed at report.
    Can anyone help me to do db design and report formulation.

    It looks like this was answered in your other thread...
    Display value at the end of timeline range selection: http://social.msdn.microsoft.com/Forums/en-US/sqlkjpowerpivotforexcel/thread/20ce91d4-9cc1-4680-be71-6172c64e4da7/#20ce91d4-9cc1-4680-be71-6172c64e4da7
    In the future, please try to avoid creating multiple threads for the same problem :)
    Regards,
    Michael
    Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)

  • The record has duplicate key values - "Include in Unique Index" checkbox missing

    I have a Silverlight client app that I'm developing in Lightswitch in VS2013 Ultimate Update 1, and have run into a problem when adding records.
    I am working against an external SQL Server 2008 database, and the table in question only has the primary key constraint, meaning that the ID field is an identity field, set as the primary key.
    When I try and add records to the table from the app, I get an error "The Shiur record has duplicate key values." This seems to happen when I add a row that has the same Speaker as an existing one. If I add one with a new Speaker then
    it inserts OK.
    Whilst searching for information on this error, I saw many comments around about there being a problem in earlier releases with the "Include in Unique Index" not working properly. This looked like my problem, except for two points...
    1) This table doesn't have anything in a unique index (as far as I know), as I never set it up to have any. You can see the details here...
    This looks to me like there is only the one index, which is the primary key one.
    2) The "Include in Unique Index" checkbox doesn't appear on my Properties panel at all. If I open the table in the designer, then click in the Speaker row, I don't see "Include in Unique Index" at all...
    Actually, I don't see "Include in Unique Index" at all, irrespective of what I click. It's just not there.
    So, I don't seem to have a unqiue constraint to violate, and VS doesn't show me the "Include in Unique Index" to allow me to check this, but I still get the error on insert. Anyone any ideas what's going on here?
    Thanks
    FREE custom controls for Lightswitch! A collection of useful controls for Lightswitch developers.
    Download from the Visual Studio Gallery.
    If you're really bored, you could read about my experiments with .NET and some of Microsoft's newer technologies at
    http://dotnetwhatnot.pixata.co.uk/

    Hi Alan,
    'Include in Unique Index' is for intrinsic database entity properties.
    Ah, that explains why I can't see it then :)
    Is LightSwitch or SQL throwing the error?
    Ah, you're a genius! Well, not quite, but your question led me to the answer.
    For some odd reason, the primary key fields on my tables seem to have lost their identity setting, so when it tried to insert a new record, the ID wasn't automatically increased, so was going in as zero. This worked fine for the first insert, as there wasn't
    a record with zero ID, but failed for the second.
    Changed the ID fields to be identity, and all works fine now :)
    Thanks very much.
    FREE custom controls for Lightswitch! A collection of useful controls for Lightswitch developers.
    Download from the Visual Studio Gallery.
    If you're really bored, you could read about my experiments with .NET and some of Microsoft's newer technologies at
    http://dotnetwhatnot.pixata.co.uk/

Maybe you are looking for