Dynamic link to URL

Hai,
In my requirement in the portal we have a main screen where we choose a link create travel request and this will navigate to the initial travel request creation page. After entering the details we choose review, now a standard pop up with 2 buttons, proceed and cancel will display.Now what i need is ,if we choose cancel button that should throw an error message and navigate to the main screen where we have the link create tavel request.
Does anybody have come across this scenario and have any solution let me know and this is very urgent.

Hi Ram,
By understanding.. in first view you have link create travel request, and sec with create req page. right?
In popup OK button write code to raise error message... and also fire your first view plug to navigate.
Cheers,
Kris.

Similar Messages

  • [svn:fx-trunk] 8825: Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo .url information which occurs when linking against RSLs.

    Revision: 8825
    Author:   [email protected]
    Date:     2009-07-27 11:51:15 -0700 (Mon, 27 Jul 2009)
    Log Message:
    Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo.url information which occurs when linking against RSLs. This fixes RPC services trying to resolve a fully qualified URL for relative resources.
    QE: Yes, please ensure RPC tests that make use of relative paths are compiled with RSLs.
    Doc: No
    Checkintests: Pass
    Reviewer: Darrell
    Bugs:
    FB-21713 - HTTPService to relative file in CF project fails due to incorrectly re-written URL
    SDK-22362 - RemoteObject method calls for invoking php code fails when relative URL is given for endpoint
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-21713
        http://bugs.adobe.com/jira/browse/SDK-22362
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.a s
        flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as

    Revision: 8825
    Author:   [email protected]
    Date:     2009-07-27 11:51:15 -0700 (Mon, 27 Jul 2009)
    Log Message:
    Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo.url information which occurs when linking against RSLs. This fixes RPC services trying to resolve a fully qualified URL for relative resources.
    QE: Yes, please ensure RPC tests that make use of relative paths are compiled with RSLs.
    Doc: No
    Checkintests: Pass
    Reviewer: Darrell
    Bugs:
    FB-21713 - HTTPService to relative file in CF project fails due to incorrectly re-written URL
    SDK-22362 - RemoteObject method calls for invoking php code fails when relative URL is given for endpoint
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-21713
        http://bugs.adobe.com/jira/browse/SDK-22362
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.a s
        flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as

  • How can I accomodate for JSessionId in my dynamic links?

    Hey,
    I have dynamic links that are producing "Page not found" errors because of the appended jsessionid.
    Example:
    desired url = http://www.allhonours.ie/Ask/viewq.do?qId=52
    actual url = http://www.allhonours.ie/Ask/viewq.do;jsessionid=2333E4463870ED22CEB657D8DF2380CD?qId=52
    I'm using JBoss/Tomcat and struts.
    I understand that jsessionid is appended when cookies are disabled on the client side.
    Is there any solution to this problem? I know if the page is refreshed, I get the desired url!!
    Ideally I want a session as I store certain info on the session but I dont want jsessionid disrupting my links!
    Any ideas?
    Cheers in advance
    -pb

    You would have to stop tracking the session with cookies and start
    tracking the session on the server.um. how?
    The whole point of the cookie/url rewriting is for the client to identify itself uniquely to the server. HTTP is a stateless protocol. The only way you can run a session, is if each request sends along extra information identifying itself as belonging to a particular session - the jsessionid.
    If cookies are enabled, it sends this data as a SESSION cookie (one that disappears when your browser closes - ie it is not saved to your hard disk) Otherwise it has to use URL rewriting.
    I have dynamic links that are producing "Page not found" errors
    because of the appended jsessionid.Appending the jsessionid should not disrupt your links, unless you are doing something funny with them. Do you process the URL yourself in anyway?
    What version of Tomcat/Struts are you using? Are you putting the jsessionid in there, or is it coming automatically?
    Basically I don't see any way around your problem, short of writing your own session handling mechanism. (bad idea)

  • Dynamic links in Acrobat 9?

    Hi,
    I would like to create PDF-files with dynamic links for messages and pictures.
    These items can be stored on a server and would be changed by every opening of the files.
    I work with InDesign CS4 and Acrobat 9 - is any solution available?
    Thanks for any advice - Wolvo

    You could use Javascript within the PDF to generate the destination URL for a button, but the simplest solution would be to create a single URL on the server that delivers dynamic content, and link to it normally.
    Doing it inside the PDF would be a nightmare if you needed to ask the server for a list of files to choose from before forming the link. Doing that on the server is trivial.

  • How to get dynamic links in left navigation menu

    HI all,
    I have a requirement regarding the display of dynamic links in my portlet.how do i achieve the same??
    Please share any source code/material if u have it or if u have come across this please help me out to achieve the same ??
    Regards,
    Deepak

    Look at this DHTML slide menu system.  It looks very close to what you have now.
    http://www.dhtmlgoodies.com/scripts/slidedown-menu2/slidedown-menu2.html
    Download and Instructions.
    http://www.dhtmlgoodies.com/index.html?whichScript=slidedown_menu2
    You may  specify which submenu to expand in your URL like this:
    <a href="link.html?mainMenuItemToSlide=2">
    Hope this helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Dynamic link to a portal component

    Hi
       We are developing a masthead for the portal with  a dropdown list. this list as the event " onchange " with a link to a custom component responsible for changing the user language. Is it possible to generate a dynamic link to this component having the component name? i know this is possible in web dynpro using web dispatcher
    Example of final link:
    Final path: www.server:portal\irjpath\com.company.component.PortalLanguageComponent
    Only Parameters i would know PortalLanguageComponent /  com.company.component
    Thanks
    Edited by: Phatinox on Aug 18, 2011 6:20 PM

    Let's say your custom component (<Component-Name>) is developed in a project (<Project-Name>), then you can call this component using this url: "/irj/servlet/prt/portal/prtroot/<Project-Name>.<Component-Name>", hope this helps.

  • Link to URL in a table

    Hi,
    I want to insert a link to url in a column of a table dynamically.
    Iam able to create the column and the link to url also.But i dont know how to set thid link in the column of the table.
    Please suggest.
    Regards,
    Padmalatha.K
    Points will be rewarded.

    hi,
      use this code for creating dynamic table and link to action  as a table cell editor.
    public static void wdDoModifyView(IPrivateDynamicCompView wdThis, IPrivateDynamicCompView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
           if(firstTime){
                IWDGroup theGroup = (IWDGroup)view.getElement("InputGroup");
    // name of the group in the view layout
           IWDTable table = view.createElement(IWDTable.class);
           IWDTableColumn column = view.createElement(IWDTableColumn.class);
           IWDLinkToAction linktoaction = (IWDLinkToAction) view.createElement(IWDLinkToAction.class);
      IWDAction action = view.getAction("Action");
    linktoaction.setOnAction(action);       linktoaction.bindText("test.test");
    // context node (test)and attribute(test) binding the path to the link to action text property
           linktoaction.setEnabled(true);
           linktoaction.setImageFirst(true);
           linktoaction.setVisible(WDVisibility.VISIBLE);
           column.setTableCellEditor(linktoaction);
    IWDCaption caption = view.createElement(IWDCaption.class);
           caption.setText("header");
           column.setHeader(caption);
           IWDNodeInfo node = wdContext.nodeTest().getNodeInfo();
           table.bindDataSource(node);
           table.setEnabled(true);
           table.setFooterVisible(true);
           table.setRowSelectable(true);
           table.setVisibleRowCount(5);
           table.setDisplayEmptyRows(true);
           table.setSelectionMode(WDTableSelectionMode.AUTO);
          table.addColumn(column);
               theGroup.addChild(table);
        //@@end
    Note: create a Action in the View Controller , in the above code the action is named as Action.
    hope your problem gets resolved
    thanks and regards
    fazal

  • Dynamic link with an if statement

    Hi there
    I'm trying to combine an if statement to a dynamic link.
    If there is a value in a column, then display the link.
    For now I have come up with this for the if statement.
    If the column is not empty, then echo out a B to let the user know there is a value there.
    <?php if (!empty($row_rs_as_2014['scan'])) { echo "<bold>B</bold>";} ?>
    So my question is this, how do I echo out the url, making the "B" here a dynamic link?
    I have tried splitting up the brackets with php tags to implement the link, but since I'm a newb, that went south..
    Hoping for tips!
    Chris

    <?php if (!empty($row_rs_as_2014['scan'])) { echo "<b><a href='".$row_rs_as_2014['scan']."' class='button'>B</a></b>";} ?>
    Explanation:
    You can put a variable within double quotes but not single quotes, unless the single quotes are within double quotes, but you cannot reference the array element that way, so you either have to convert it to a variable like this. . .
    $scan = $row_rs_as_2014['scan'];
    . . .or use the period as a concatenation operator, as I have done above. So the following would also work:
    $scan = $row_rs_as_2014['scan'];
    if (!empty($scan)) { echo "<b><a href='$scan' class='button'>B</a></b>";}
    If you are going to do much with PHP, then read PHP Solutions by Powers

  • Dynamic Link Column Based on Value

    I'm using Apex version 4.1.
    This is driving me nuts, I can't get it to work. I'm trying to create a dynamic link on a column (in a SQL report) based on the value. Here's my query:
    SELECT STRUCTURE_ENTITY_ID AS "Market ID",
    Structure_entity as "Market Name",
    CASE WHEN NVL2((select 'A' from PC_PAYROLL_DISTRIBUTION PD
    WHERE PROCESSING_YEAR = SUBSTR('2011-08',1,4)
    AND PROCESSING_MONTH = TO_NUMBER(SUBSTR('2011-08',6,2))
    AND PD.OPS_MARKET = SE.STRUCTURE_ENTITY_ID
    AND ROWNUM = 1),'Ready','Not Ready') = 'Ready' THEN '' ||'' ELSE 'Not Ready' END AS Status
    FROM STRUCTURE_ENTITY SE
    So when the value in that CASE statement equals 'Ready' then I need it to show the word Ready (in the Status column) as a hyperlink, otherwise it needs to show 'Not Ready' in normal text that's not clickable.
    The URL string I have in there DOES pick up the correct values for my parameters, but it stilll appears in the report as the whole string, and it's not clickable. Any help would be greatly appreciated!
    Thanks,
    Greg

    I see an a instead of <a and no </a> in this code.
    Oh, I guess your {a is <a ... B-)  Still no end tag, though.
    Edited by: InoL on Oct 7, 2011 2:27 PM                                                                                                                                                                                                                                                                                                                       

  • Dynamic links to modules for user-friendly searching.

    Hi,
    We want to create a generic search form/report which can be called from any number of our other forms in an application. The results of the search should contain a dynamic link back to whichever form the search facility was called from. This is to overcome having to 'next' and 'previous' through records one at a time. This is fairly simple stuff but I am at a loss as to how to do it with portal.
    Is there a property/fn/method call which will return the current moduleid from a form so that we can use this to create our dynamic url once the search results are displayed? e.g. a p_session attribute which I cannot find? Is there a clever way to then manipulate the link in the PL/SQL section of a report or dynamic page to point back to the correct moduleid?
    Thanks,
    Alan.

    Did the installer get deleted? If it fails to install, I didn't think it would get deleted. Check the Applications folder.
    See, What to do if the installer warns that no Recovery System can be created,
    in this document: http://support.apple.com/kb/HT4718
    You can create a recovery hd on another drive and install on the startup drive (if your drive is formatted correctly).
    Otherwise, you can install Mountain Lion on an external drive.

  • Dynamic Links in Form

    Is there a way to create dynamic links in a form?
    For instance I have an interactive report/form if I click on the edit link the report takes me to the form to do an update based on the primary keys. I would like that form to also have links that can pass some foreign key values and take me to a related form to edit the related information.

    That is what I am trying to do, but I am unsure of how to pass the appropriate string with the values of the foreign/primary key.
    I am using the following URL, but the form doesn't seem to be populating based on the primary key
    <!--
    edit
    -->
    Message was edited by:
    dsn0wman

  • Dynamic links

    Hello all
    iWeb fab, but has anyone looked into creating dynamic links to iTunes, eg, if you have a Top 10 Playlist in your iWeb, when it change in itunes get it to automatically update in iWeb, would be cool feature.

    Hi,
    Still get a error message but it is a different one.
    1084: Systax error: expecting colon before right brace
    1084: Systax error: expecting identifier before right brace
    Here is my updated code:
    <mx:Repeater
    dataProvider="{feed.lastResult.rss.channel.item}">
    <mx:VBox verticalGap="0" backgroundColor="#EEF5EE"
    borderStyle="outset">
    <mx:LinkButton click="navigateToURL(new
    URLRequest({url}), '_blank')" label="{title}"/>
    </mx:VBox>
    </mx:Repeater>

  • Failure to configure windows updates. Reverting changes.....ordinal 282 could not be located in the dynamic link library

    Hi,
    My laptop (Lenovo Amd athlonII P360 dual-core processor) with OS windows 7 shutdown accidentally during updates. From then on I could log in to my system but it keeps popping up some error messages like....
    tpsdsvc.exe-ordinal not found----ordinal 282 could not be located in dynamic link library iertutil.dll
    concentr.exe--ordinal not found----ordinal 282 could not be located in dynamic link library iertutil.dll
    AdobeARM.exe----ordinal not found----ordinal 282 could not be located in dynamic link library iertutil.dll
    .Net EventWindow...MFManager.exe----ordinal not found----ordinal 282 could not be located in  dynamic link library iertutil.dll
    SLRuntime.exe---ordinal not found----ordinal 282 could not be located in dynamic link library iertutil.dll
    IDVault.exe---ordinal not found----ordinal 282 could not be located in dynamic link library iertutil.dll
    when I try to open IE browser..it pops up ieexplorer.exe------ordinal not found----ordinal 282 could not be located in dynamic link library iertutil.dll
    My chrome browser stopped working...it opens but when I type any url...it just stays inactive...nothing happens
    Even I'm unable to uninstall chrome through control panel. Nothing happens. I'm writing this through mozilla firefox. And even i cant update this browser. It says firefoxInstalle.exe---ordinal not found.
    It always gives install update notification but when i try to install updates...it says failure to configure windows updates. reverting changes...
    so far i tried sfc /scannow, restore points, safe mode, iertutil.dll file exists in c:/windows/system32...etc,.
    I appreciate any solution on how to fix this problem and what is causing it?

    Hi sravy,
    Would you please let me know whether refer to Susan’s suggestion and check if it may be a hardware/harddrive
    issue? Any find?
    à
    My laptop (Lenovo Amd athlonII P360 dual-core processor) with OS windows 7 shutdown accidentally during updates.
    Did you find any dump file after the Windows 7 crashed? If find dump file, please refer to following KB and
    check if can help you to analyze the dump file.
    How to read the small memory dump file that is created by
    Windows if a crash occurs
    In addition, as Susan said, this forum is for Small Business Server. Based on your description, your problem
    was just occurred in Windows 7 OS. I suggest that you would post your question in
    Windows 7 Forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu

  • Howto create a dynamic link with current domain

    We need to create a dynamic link on a html page in the portal.
    The link should contain a dynamic part containing the domain where the CLIENT is in. It should look like this : http://mytool.windowsdomain.corp/tool where "windowsdomain.corp" is dynamic. Where could we get this information from?
    Thanks!
    Matthias

    Hi Matthias,
    you could paste something like this in a Custom JSP Component:
    <script type="text/javascript">
         function getServerURL() {
              return top.document.location.protocol+"//"+top.document.location.host;
         function redirect(uri) {
              try {     
                   top.location.href=uri;
              } catch (e) {
                //unfortunately this is not triggered in IE - only in mozilla
                   alert("No valid Redirection-URL could be generated. Please contact your Administrator.");
        redirect(getServerURL()+'/tool'+top.document.location.search);
    </script>
    Best Reagrds, Thomas

  • Creating dynamic link in column

    Hi All,
    I am using Jdev 11.1.1.2.0 . I am getting few urls that is comma seperated. I need to seperated different URL from the value and create no of link or golink equal to no of the value.Please suggest me how to do this.
    I need to create dynamically link and put diffent url value in destination property of Link
    How can i create dynamically link .

    I created a sample app for this. Please see if it is helpful.
    http://adf-use-cases.googlecode.com/files/LinkApp.rar
    I am displaying all the employees(first name) in a department as link. For now, the link is pointing to google. You can change according to your requirement.
    The code is written in DepartmentVORowImpl.java
    +public String getEmployeeName() {+
    RowSet rowSet = getEmployees();
    RowSetIterator ritr = rowSet.createRowSetIterator("new");
    StringBuilder formattedLink = new StringBuilder("");
    String requestURL = "http://www.google.com";
    String hrefPrefix = "<a href='";
    String targetProp = "' target='_blank' class='xfd' >";
    String hrefSuffix = "</a>";
    String employeeName = null;
    +while (ritr.hasNext()) {+
    Row row = ritr.next();
    formattedLink.append(hrefPrefix).append(requestURL).append(targetProp).append(row.getAttribute("FirstName")).append(hrefSuffix).append(" | ");
    ritr.next();
    +}+
    ritr.closeRowSetIterator();
    rowSet.closeRowSet();
    if (formattedLink != null && formattedLink.length() > 0)
    employeeName =
    formattedLink.substring(0, formattedLink.lastIndexOf(" | "));
    return employeeName;
    +}+

Maybe you are looking for

  • Why can't I wait for Mtn Lion to use iCloud services?

    I have an MBP running Snow Leopard, a new iPad and an original iPad, and an iPhone 3G.  I have been a MobileMe user from its inception.  I haven't wanted to "upgrade" to Lion on the MBP, but will jump over it to Mountain Lion in July.  I've read the

  • Succesful IDOC acknowledgements from ECC

    Dear MDM gurus, What is the best way to handle acknowledgements from ECC (INTO MDM) for inbound IDOCS from MDM (MDM->XI->ECC). We want it such that when an IDOC gets posted into ECC succesfully,it should send an acknowledgement signal back to MDM say

  • A debugger has been detected Unload the debugger and try again

    Just purchased a new iMac. Have set up Windows to run a few games. All fail to start & the message above comes on screen. Any ideas anyone?

  • Apex installation in RAC environment

    Hi All, I am trying for upgrading Apex in a RAC environment which is having 2 nodes "sed1p1" and "sed1p2". Is there any specific steps i need to follow. Doi need to shutdown one node while installing Apex in other node. Any specific steps need to be

  • Billing view in SAP ISU CRM - Meter reading not visible

    Hi All, We are working on SAP ISU CRM implementation In the billing view factsheet ,bill details are visible but meter reading and device is not visible.As one bill document number may have multiple line items  with meter readings in more than one li