How to hide the URL when redirecting to another URL?

Hello9 @ all,
I want to write an application, which has some LinkToUrls, which redirect the User to BW-templates. When the user executes the LinkToUrls, he should redirect to the BW Templates, but must not see the URL in his browsers addressbar. He still should see the URL of the Web Dynpro Application. How could I solve this problem??
Thank you in advance!!
Mehmet

Hello Maksim,
I´ve tried this code inside a action of a LinktoAction but it does not work?
public void onActionopenUrl(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionopenUrl(ServerEvent)
    String urlToTreeApp = wdContext.currentURLSElement().getKAP();
     final String formattedStr = "<HTML>" +"<HEAD>" +"</HEAD>" +"<FRAMESET ROWS="*" width="100%">" +"<FRAME SRC="" + "www.google.de" + "" MARGINWIDTH="0" MARGINHEIGHT="0" NORESIZE FRAMEBORDER="0" BORDER="0" SCROLLING="NO">" +"</FRAMESET>" +"</HTML>";
     try {
          final IWDCachedWebResource resource = WDWebResource.getPublicCachedWebResource
                    formattedStr.getBytes("UTF-8"),
                    WDWebResourceType.HTML,
                    WDScopeType.CLIENTSESSION_SCOPE,
                    wdComponentAPI.getDeployableObjectPart(),
                    "FrameResource"
          try {
               wdThis.wdGetWd_menueInterfaceViewController().wdFirePlugExit(resource.getAbsoluteURL());
          } catch (WDURLException e1) {
               // TODO Auto-generated catch block
               e1.printStackTrace();
     } catch (UnsupportedEncodingException e) {
          e.printStackTrace();
    //@@end

Similar Messages

  • Anyone know how to hide the tabbar when rotated?

    I was told that if you are using a tabbarcontroller, and you want to hide it during rotation, you should override didRotateFromInterfaceOrientation and resize the view inside it and also hide the tabbar itself. But how do you hide the tabbar?

    [self.tabBarController rotatingFooterView]
    works great, that is you dont have to set hidesBottomBarWhenPushed in the controller before you pust it. You can just hide the rotatingFooterView in willRotateToInterfaceOrientation. But the problem is when the tabbar is hidden, it just leaves a black space. There is no way to bring the middle view to the front. I tried playing with changing the height as well as bringSubviewToFront but no success. I feel that we are close, but not yet there...

  • How to hide the link when no data exists

    I have created a new page in inventory module here.I have developed a search page like if i query through organization all the items related to that are displayed in results table.I have introduced one more dummy colums called details with image and in property for that details i have implemented drill down details.
    When i click that details link i will go to next page to display lot details for the item.
    Here there are lot details for some items and some items dont have lot details.SWo the details button must be enabled for the items which have lot details only and for other it must be in disable state.
    Can any one tell me how to disable for the items which dont have lot details and enable for the it3ems which has lot details.
    Right now it is in enable state for all the items it was going to next page.
    I nedd to go to next p[age only if i have the related information for that item.
    How to do this type of scenario                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Please do not re-post. It would be easier to follow up a single thread.

  • When redirecting to site url jsessionid is appended and url becomes wrong

    hi,
    i have requirement when user clicks on link on b2c application then it should redirect to a site url.The problem when redirecting to site url is that jsessionid gets appended to site url and as a result url is not opened   due to wrong url generated as follows
    http://www.mahindralifespaces.com/SPLENDOUR/PROJECTMILESTONE.ASP;jsessionid=(mlkndcrmsdev_LCD_00)ID0618353650DB01149016834107209233End;saplb_*=(mlkndcrmsdev_LCD_00)7680550?a=b
    how to overcome this problem .did any one have idea
    Regards,
    Pavan

    i am directing forwarding to url using struts action forward using following code
    strUrl=mybom.getProjectStatusBO().getProjectStatusURL(userId);
    log.error("user url"strUrl"userId--"+userId);
    request.setAttribute("strUrl",strUrl);
    forward.setPath(strUrl);
    forward.setRedirect(true);
    return forward;
    following solved my problem
    i have chaged  web-j2ee-engine.xml file
    <cookie-config>
              <cookie>
                   <type>SESSION</type>
                   <path>APPLICATION</path>
                   <domain>NONE</domain>
              </cookie>
              <cookie>
                <type>APPLICATION</type>
                <path>APPLICATION</path>
                <domain>NONE</domain>
              </cookie>
    domain to none solved my problem
    Regards,
    Pavan

  • Hide  the cursor when it not move?

    how to hide the cursor when it not move?
    i know how to creat a hide_cursor,but i want to hide it when the cursor not move and show it when it starts move again
    thank you!

    Create a javax.swing.Timer that has a 5 second initial
    delay, non-repeating. When it fires, it should hide
    the cursor (set to a blank cursor or whatever you have
    to do). Then on mouse motion events, you show the
    cursor and reset the timer.A good idea - is there no mouseNotMoved-event ?
    heres my sample-code:import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.MemoryImageSource;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class HiddenCursorListener extends MouseInputAdapter implements ActionListener {
         private static final Cursor HIDDEN_CURSOR =
              Toolkit.getDefaultToolkit().createCustomCursor(
                   Toolkit.getDefaultToolkit().createImage(new MemoryImageSource(16, 16, new int[16 * 16], 0, 16)),
                   new Point(0, 0),
                   "HIDDEN_CURSOR");
         private static final Cursor DEFAULT_CURSOR = new Cursor(Cursor.DEFAULT_CURSOR);
         private Timer timer;
         private int timerDelay=1000;
         private Window window;
         public HiddenCursorListener(Window win) {
              window=win;     
         public void mouseEntered(MouseEvent e){
              startTimer();
         public void mouseMoved(MouseEvent e) {
              showCursor();
         public void mouseDragged(MouseEvent e) {
              showCursor();
         public void mouseClicked(MouseEvent e){
              showCursor();
         public void actionPerformed(ActionEvent e) {
              hideCursor();
         private void hideCursor(){
              if (window.getCursor() != HIDDEN_CURSOR)
                   window.setCursor(HIDDEN_CURSOR);
         private void showCursor(){
              if (window.getCursor() != DEFAULT_CURSOR)
                   window.setCursor(DEFAULT_CURSOR);
         private void startTimer(){
              timer = new Timer(timerDelay, this);
              timer.start();
         public static void main(String[] args) {
              JFrame f = new JFrame("Hidden-Cursor-Test");
              f.setSize(500, 500);
              f.setLocationRelativeTo(null);
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              HiddenCursorListener lis = new HiddenCursorListener(f);
              f.addMouseMotionListener(lis);
              f.addMouseListener(lis);
              f.setVisible(true);
    }regards

  • How to hide the PORT NUMBER from the URL

    Hi,
    We have Application on Node 1 and Database on Node 2
    Apps Version: 11.5.10.2
    DB: 9.2.0.6
    We recently added a new node to act as web server for iSupport.
    Now we are able to access the url using public Ip-address which looks like
    http://<Internet Ip-Address>:<PORT NUMBER>
    Eg: http://******.com:8000
    But we dont want the *'PORT NUMBER(8000)'* to be displayed.
    How to hide the port number ?..
    Thanks in Advance,
    Mahesh

    Hi Hsawwan,
    Can you plz explain me the steps how to hide the port number from the url as our network administrator is not aware of this.
    Regards,
    Mahesh

  • How to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    how to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    Within Aperture you have Images, which are constructed on-the-fly from two files (the Master and the Version).  You get an image-format file _only_ when you export an Image.  You select the file name (usually a scheme) when you create an image-format file (that is, when you export).  Look under "Aperture→Presets→File Naming" for built-in Presets.  You can, of course, create your own or customize any provided.
    The Preset is applied to only the file newly created by your "export" command.  It is not applied to the Image in Aperture (unless you rename your Versions or your Masters).

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • How to hide the default arrow icon of af:tree node

    Hi All,
    I am using Oracle JDeveloper 11g R2.
    I want to hide the arrow icon which is displayed by default with af:tree node. The use case is to display custom icons for all the nodes. The problem is that when I am customizing icons of tree node, it is showing arrow as well as the icon with each node. Which doesn't seems fine. Can any one help/guide on how to hide the default af:tree node arrow icon.
    Thanks in advance.
    Regards
    Bilal
    Edited by: Bilal on 29-May-2012 01:32

    Hi,
    Use Css to change the icon style:
    af|treeTable::expanded-icon {
    content: url("/adf/1.gif");//content : none;
    outline: none ;
    af|treeTable::collapsed-icon {
    content: url("/adf/2.gif");//content : none;
    outline: none ;
    af|treeTable::leaf-icon {
    content: url("/adf/3.gif");//content : none;
    outline: none ;
    Regards,
    Raj Gopal K

  • How to hide the view latest instance option for the reports in XIR3

    Created an access level and denied the rights "view document instances" and "view document instances that the user owns" in the access level.
    Applied this access level for a particular group on a particular folder.
    Login to Infoview and when view the history,there are no instances for a particular report under that folder.
    But we could still see the 'View Latest instance' option in the properties of the report and when click on it,we are able to view the report.
    As per the security assigned,the user should only be able to view the instances owned by him.
    Plz help me how to hide the option in INFOVIEW

    In 9.3.1 (not sure about 9.2) there is a table in your BIPlus repository which stores preferences/profile information, however, having a user simply log in to WA doesn't appear to automatically create a row for them in this table. (So this may not be a viable solution to your situation, I'm still looking for one myself.) This table stores lots of preference info such as whether or not to show the Main Menu, Toolbar, Masthead, etc. by default.
    To hide the View Pane, edit the data in the SHOW_INFO_PANEL column, change it from a 1 to a 0 and for that user the View Pane will not longer appear by default.
    HYA_USER_PREFS
    But again, this only works if you already see the user in the table otherwise I guess maybe they have to 'touch' their Preference before it creates an entry in that table. Haven't figured that part out yet, and Support didn't have any information.
    If anyone has found a way to maneuver through the table structures I'd love to hear any insight you can offer.
    Before you make any changes to the data in this table be sure to take adequate repository backups, and use caution as usual.
    I'm going to create a Shared Preference and have each user point to it the first time they log in - but then you lose the ability for each user to have their own personal folder as their default, so it's still not the ideal solution. Really wish there was a way for Admins to set certain prefs. A coworker reminded me under 7.? or 6.x things like View Pane were system-level settings which was easy to control, but now it's at the user level.
    Good luck,
    Karen

  • How to hide the menus in Weblogic Portal?

    I have to develop a page in Weblogic Portal 10.0 that uses a portlet for the UI presentation.
    I have a requirement that the page is hidden by default. When I navigate to the page by selecting a link, I have to display the contents in that page. While displaying I should hide the portal level menus of other books/pages. But I have to display other contents like logo, etc.
    Can some one please help me on how to hide the menus in the selected page?
    Edited by: [email protected] on Apr 19, 2010 3:43 AM

    As a quick and dirty solution i would edit the navigation jsps (singlelevel/multilevel/yourcustom menu jsp) and disable the navigation for all hidden pages.
    Or create a backing file and dynamically change the navigation state on the desktop when the hidden page is requested.
    Or have the page in a different portal file if possible and set the same header and footer there as well.
    Or You could have a look at the detached portlets. These are used as popups often.

  • How to disable the selection of "Title and logo URL of a SharePoint 2013 site" from browser

    how to disable the selection of "Title and logo URL of a SharePoint 2013 site" from browser or How can we able to set our custom default log to the sp2013 site using code.So that users are not allowed to change from browser again.
    Thanks &amp; Regards, Krishna

    Hi  Krishna,
    For your issue, you need to deploy a farm solution using HideCustomAction to hide site settings link. For example to hide “Title, description, and logo” link you can use below code:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <HideCustomAction
    GroupId="Customization"
    HideActionId = "ProjectSettings"
    Location = "Microsoft.SharePoint.SiteSettings">
    </HideCustomAction>
    </Elements>
    Reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/92f002b7-0e9c-424e-836a-de40c4e5d81f/hide-option-from-site-settings-page-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    http://blog.milanchauhan.com/2013/06/add-custom-section-in-site-settings.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to hide tray icon when in jframe

    how to hide the tray icon when v display a new JFrame in jdk1.5?

    use a JWindow or JDialog, but you may come across other problems if using
    them without a parent (the parent will be the one in the task bar)

  • How to hide the Print and Export button in analytics report or tasks pane

    Hi Experts,
    In BIEE 11g,
    How to hide the Print and Export button in analytics report or tasks pane ?
    For example:
    In console,I have created one userA which is belong to BIConsumer GROUP , when I make use of the highest user 'weblogic' to create one simple report, then the userA will login the analytivs to view this report (not dashboard), it will show the print and export as below.So customers do not want to give him the privilege for printing and exporting.
    In addtion, go to catalog->tasks(left corner), it will also show the print and export button. So how to hide or not access these button?
    Note: Maybe it can use the policy for consumer role for implementing this requirement, but I do not know how to modify the policy. Are you facing the problem? Thanks.

    Hi,
    1. Create seperate folder for Reports & Dashobard.
    2. For BI_Consumer (userA) set the catalog permission to view Dashboard Folder only and remove permission on the Report Folder (you can give traverse permission but don't give Open permision).
    3. By this user won't be able to open or run any reports in that folder and the only way he can see the reports is through Dashboard and on dashboard the export and print buttone can be removed very easily.
    Mark helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 24 May, 2013 1:51 AM

Maybe you are looking for

  • Copying Settlement Rules of internal Orders

    Hi everyone, i have all internal orders that already have settlement rules for the verion 000 actual. Now i want to copy the rules to two different plan versions, i don't want to change anything, i just want to copy them to  from actual version 000 t

  • Dump file size

    Hi, on 10g R2, on AIX 6.1 I use the following EXPDP : expdp system@DB SCHEMAS=USER1 DIRECTORY=dpump_dir1 DUMPFILE=exp_USER  Logfile=log_expdpuserwhich results in a 3Gb dump file. Is there any option to decrease dump file size ? I saw in documentation

  • Sending e-mails from sqlplus

    Hi, I want to send a mail to dba from sqlplus. How do I do it. In unix we have mailx -s . If anyone would like to share the following script , that would be helpful. Send an alert to DBA if the tablespace size exceeds 85%. Regards & Thanks, PrabhathG

  • How to fix back arrow problem which brings up old pages from days ago

    Both ipad and iPod bring up sites from days ago when I use the Safari Back arrow.

  • Maximum View/Table size

    Hello All, Is there a document that tells me what is the maximum allowable size of different objects? Please let me know Thanks Kumud