Switch between Edit and Display mode in an input layout?

Hi,
I want to create a button in my planning layout which is input ready,  that makes it able to change between display mode and edit mode.
I'm on BI 7.0. And I am using Analyzer/Workboook.
Is this possible using 'SET_DATA_ENTRY_MODE' command?
If Yes,  Where should I put this  command ? I can't  find this in Button Properties.
Please explain in detail.
Thanks,
Srini.

Hi,
This is the correct command. In the button properties, you need to select 'command via command wizard'. There you should select this command and customize it according to your requirement (on/off).

Similar Messages

  • Automatic switch between personal and business mod...

    Hello,
    I appreciate particularly the personal / business home screen content differentiation on the E55. My wife uses E75 and appraises it as well. We have a problem though: it is quite boresome to have to switch manually when you leave or come home.
    Does anyone know that can be done automatically, for example during business days and hours ?
    Thanks
    Daniel

    Unfortunately no.
    My suggestion is to try both and stick with the one that looks best on the most channels that you regularly watch. I have a 720p LCD but the 1080i setting in my DVR provides the best HD picture by just a little bit.
    Also, you have an option you can set for the SD channels (SD Override). I prefer OFF, which means that the SD channels are sent to my TV also using 1080i. This results in a slightly worse SD picture than using 480i or 480p, but eliminates the extremely annoying 2-4 second delay (HDMI re-sync) when switching between HD and SD channels. Again, I suggest you try the various settings and pick the one that you like best (or hate less?)
    Justin
    Verizon FiOS TV, Internet, and phone
    QIP6416-P1, IMG 1.7C, Build 09.83
    Keller, TX 76248

  • Function keys - Boot Camp switching between Mac and PC mode

    My question pertains to running Windows on a Mac computer using Boot Camp and following the instructions, listed below, to enable the function keys while running Windows.
    If I have set the keyboard to "use all F1 etc..." do I have to continually reset the keyboard function from Windows to Mac and visa versa each time I launch the computer in Windows or Mac OS. Or is the setting only applied to the keyboard when I am running Boot Camp as a Windows system?
    While running on the Windows side, right click the Boot Camp icon in the lower right hand corner of the task bar
    Select Boot Camp Control Panel
    Click on the Keyboard tab at the top of the dialog box
    Make sure there is a check mark in the box that says, “Use all F1, F2, etc. keys as standard function keys”
    When finished, click OK
    Thanks

    Thanks Bob,
    So if I may confirm, Windows setting will not effect Mac settings because the two sides completely independent?
    Sorry I can't test it because I'm working on a uni lab computer.
    m

  • Assertion Failed with switching between editing mode of table view

    I'm writing an app that can switching between edit mode of a table view
    - in edit mode a new line appear at the bottom
    - out edit mode this line will disappear
    I used insertRowsAtIndexPath and deleteRowsAtIndexPath to achieve this effect, but then during testing, if I switching edit mode too frequently, I got an assertion failure
    Assertion failed: (cache->size >= g->size), function evictglyph_entry_fromcache, file Fonts/CGFontCache.c, line 836.
    It seems someone has also encountered this before, but I have found no solution yet. Anyone know how to fix it or work around it?

    Hi,
    Please check if you have entries on the table RSTRANRULE with:
    GROUPID   =  'space'
    GROUPTYPE =  'space' or 'S'
    REF_RULE  <> 'space'
    If there are inconsistent entries in the RSTRANRULE table such as:
           TRANID         *
           OBJVERS        *
           RULEID         *
           SEQNR          *
           GROUPID        00
           GROUPTYPE      space  or  GROUPTYPE    'S'
           RULETYPE       space
           REF RULE       *
    Delete these entries from the table.
    Activate the affected transformations.
    More info check the note 998730.
    9987300-ASSERTION_FAILED when calling or changing groups, group 00.
    Thanks,
    Walter Oliveira.

  • Can't switch between HDMI and VGA displays

    I have a new H430, with hdmi and vga ports. My HP zr2240w monitor permits switching between AVG and HDMI displays, which I would like to do. But when I plug in both cables (HDMI and VGA) only VGA will work. If I  switch to HDMI or make it the default display,  the screen freezes at the desktop background: no mouse, no taskbar etc. Is is possible that the D430 video card will not support switching between displays (on  a single monitor)
    thanks,
    saintmaur

    Dear Monika and Mylenium: I figured out part of the problem, but not the solution: The shape I had drawn -and coudn't  switch between fil and stroke on-is one I had already done a gradient mesh on, too. I had later abandoned the gradient mesh by using the option key to delete mesh lines, but that didn't take the shape all the way back to its original flat state. So it wasn't a plain drawn shape any more. So how do I release the gradient mesh  to get back to  a flat shape? I'm also having trouble keeping the shapes in RGB or CMYK mode-they keep defaulting back to greyscale. Could that also be a symptom of using gradient mesh? Note: I'm using gradient mesh for the very first time now; I've never used it before. It seems to leave a lot of unexpected baggage behind. I would send a screen shot, but if I start up Grab or Voila, all the AI pallets go away, and that's half the information.  So how do I control gradient mesh?

  • Graphic distortion when switching between external and built-in display (rMBP)

    Recently (within the past two weeks or so) I've noticed a strange issue when switching between my external display (Thunderbolt) and my built-in display on my 15" rMBP. The following issue seems to be specific to Photoshop CS6.
    Typically, I'll have a PS document open on my external display and I'll wind up taking my to another location. If I close the PS document while on my built-in and then re-open it, I get all kinds of distortion and pixellation. Closing out PS and reopining, restarting, logging on/off; none of it seems to work. It seems like the issue is with the PSD itself, but it doesn't make any sense to me. Any ideas? Screenshot: http://i.imgur.com/iCipSc7.jpg

    Do you have intel gpy as well as other graphic card?  You may be viewing document on different gpu's.  PS does not like multiple gpu's.

  • Switch between speakers and headset on X-

    I've got X-Fi Fatalty FPS edition and desperately need to find a way to switch between headset and speakers. Especially since I use teamspeak a lot in games and don't want my speakers to echo while I'm talking.
    There is an option to mute speakers when the headphone jack is connected, but that requires me to reconnect the headphone plug each time I want to use them.
    There must be a switch to turn only the speakers off manually as well?
    With Soundblaster Li've! Digital, this problem was easily solved by switching between digital mode on and off, as my speakers were connected digitally and my headset on analog.
    But with X-Fi, there's no way to turn off the digital speakers alone.
    Please help.

    Plug your speakers into the soundcard as usual.
    use the front mounted headphone socket on the fromt of the X-Fi I/O unit to connect your headset and set the control panel to automatically mute your speakers when the headset is connected. Your speakers will mute when the headset is plugged in and all you have to do is plug or unplug the headset at the front to switch modes!...Now please do not ask about doing the same with your mike connector!! see other thread by me!! p.s creative do ship a /4" to 3.5mmm adapter with the card.
    Hope I have understood your post
    AndyMessage Edited by slef2003 on 0-4-2006 03:54 AM

  • NetworkManager - switching between wired and wireless

    Hello!
    I’ve set up a new laptop with Arch and now have a question concerning NetworkManager. Is it possible in NM to switch between wired and wireless connections like it is with Connman (https://wiki.archlinux.org/index.php/Co … d_wireless)?
    So far it appears that NM only disables the wired connection when wireless is used but keeps the wireless alive when switching to wired.
    I have already looked for a corresponding configuration but couldn’t find anything that helps.
    Thanks in advance.

    Easy Mode:
    You can install the tlp-rdw package and edit the /etc/default/tlp configuration file which has an option that does that.
    Hard Mode:
    If you don't want to install a package and its dependencies, you can write your own script and put it in /etc/NetworkManager/dispatcher.d and have the NetworkManager dispatcher hook run the script (which is actually what tlp-rdw does but you don't have to install the tlp package as a dependency)
    Note: tlp is a power manager and if you have any other power managers installed it might conflict with them so be wary of that.
    Here is the wiki page on tlp https://wiki.archlinux.org/index.php/Tlp
    Last edited by fungle (2014-08-05 23:05:00)

  • 7344 servo motion switching between open and closed loop operation

    I have a custom end-of-line test system presently using a 4-axis 7344 servo controller to perform various functional tests on small, brushed DC motors. The system is programmed in C/C++ and uses flex motion functions to control the motor during testing. Motors are coupled to external encoder feedback and third party PWM drives running in closed-loop torque mode from an analog command signal. The system uses all four motion axis channels on the 7344 board to independently and asynchronously test up to four production motors at a time.
    In closed-loop mode, the system runs without issue, satisfying the battery of testing protocols executed by this system. I now have a request to add additional test functionality to the system. This testing must be run in open loop mode. Specifically, I need to use my +/- 10v analog output command to my torque drive to send different DAC output levels to the connected motor.drive while monitoring response.
    I do not believe the flex motion library or 7344 controller includes functions to easily switch between open and closed loop mode without sending a new drive configuration. I am also under the impression that I cannot reconfigure one (or more) servo controller axis channels without disabling the entire drive. As my system runs each axis channel in an asynchronous manner, any requirement to shutdown all drives each time I change modes is an unworkable solution.
    I am open to all ideas that will allow asynchronous operation of my 4 motor testing stations. If the only solution is to add a second 7344 controller and mechanical relays to switch the drive and motor wiring between two separately configured servo channels, so be it. I just want to explore any available avenue before I place a price tag on this new system requirement.
    Bob

    Jochen,
    Thank you for the quick response. The 7344 board does an excellent job running my manufacturing motor assemblies through a custom end-of-line tester in closed loop mode. A portion of the performance history and test result couples the motor through a mechanical load and external shaft. The shaft is in contact with a linear encoder that closes my servo loop.
    My new manufacturing requirement is to also sample/document how the small DC motor behaves in open loop operation. Your solution is exactly what I need to perform the additional functional tests on the product I am manufacturing. I see no reason why this cannot work. I was originally concerned that I would need to reinitialize the 7344 board after changing axis configuration. Initialization is a global event and impacts all four channels on the 7344 board.
    Using flex_config_axis() to change axis configuration on a single channel without disturbing other potentially running axis channels will solve my concern. It will be several weeks before I can return to the manufacturing facility where the 7344-based testing machine is located. I will update this thread once I verify a successful result.
    Bob

  • Can't switch between  fill and outline.

    Here's the problem: I'm on an iMac, new, trying to use illustrator CS5. after using CS3 for a few years. In CS5, if I draw a shape, flat, in the illustration, then try to give it an outline, or change the outline, or do anything with the outline, I can't. If I click on the Shape tools in the toolbox and draw out an oval, for example, I can switch between outline and fill without any problems. Select shape, go to toolbox, select curved arrow for switching from one to the other. That's it. But if I draw a freehand shape, then try it, i can't do it. THIS IS A BIG CHANGE FROM PREVIOUS VERSIONS OF THE APP. GET IT? What is the problem? If it's something I have done, fine, tell me and I'll fix it. I tried calling Adobe support in Bangalore, and it took 30 minutes just to get the problem thoroughly appreciated by the techies. They just couldn't get the idea for half an hour! I had to go over it 4 or 5 times. And they couldn't come up with an answer. they were no help at all. I'm hoping the forum will yield better results. This is pathetic, guys. Your 90-day tech support is a worthless piece of crap, guys. The only tech support we have is this catch-as-catch-can forum. I've been using Illustrator since 1987, (illustrator 88) believe it or not, it's true. And I've always been able to get tech support to cure the ills. Not any more. Is that the way Adobe plans to offer tech support? if there were a way to contact Adobe Tech Support by going around Adobe Bangalore, i would use it. But, alas, I am stuck with this.

    Dear Monika and Mylenium: I figured out part of the problem, but not the solution: The shape I had drawn -and coudn't  switch between fil and stroke on-is one I had already done a gradient mesh on, too. I had later abandoned the gradient mesh by using the option key to delete mesh lines, but that didn't take the shape all the way back to its original flat state. So it wasn't a plain drawn shape any more. So how do I release the gradient mesh  to get back to  a flat shape? I'm also having trouble keeping the shapes in RGB or CMYK mode-they keep defaulting back to greyscale. Could that also be a symptom of using gradient mesh? Note: I'm using gradient mesh for the very first time now; I've never used it before. It seems to leave a lot of unexpected baggage behind. I would send a screen shot, but if I start up Grab or Voila, all the AI pallets go away, and that's half the information.  So how do I control gradient mesh?

  • What is tthe Best practice for Variant List, Add, Edit and Display Forms?

    Requirement:
    I have single list.  The list has a large number of columns and a large number of items (lets say 20,000).
    I want to show users a different view of the list based on clicking on a different left-hand navigation option.
    Lets say I have four types of users:  Sales, Manufacturing, Shipping and Finance. I would like to have four options in the left-hand navigation.
    All of them would be pointing at the same list, BUT, I want each of them to have a customer list form.  The only difference between the custom list forms would be:
    Each would have its own set of views, and hence its own default view.
    Each would have its own New, Edit and Display Forms.  The only difference between the forms in one variant list and another would be: The order of the columns and which columns are modifiable.
    I would like to achieve this in SharePoint Designer in such a way that the "users" could still add/modify views and could even modify the forms from the SharePoint Menu.  BTW, I don't want to use InfoPath for obvious reasons.
    What is the best approach to meeting this requirement?  I have at least 20 sites and 70 lists overall that need variant forms made.
    HELP!!
    Savin
    BTW We are using SharePoint 2013 and I selected the wrong forum *sigh*.  But I think its probably the same answer.
    Cheers, Savin Smith

    Hi,
    I understand that you want to have different forms based on different view.
    Per my knowledge, there are no out of box method to achieve it.
    As a workaround, you can add the JavaScript code to the different view page.
    For example, to open different new form based on different view, you can get the windows.location, and then judge the view, then change the onclick event of the "New item" button.
    For more information, you can refer to:
    http://css-tricks.com/snippets/javascript/get-url-and-url-parts-in-javascript/
    http://samsharepoint.wordpress.com/2013/05/01/change-the-default-sharepoint-ok-and-cancel-button/
    Thanks,
     Linda
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • JSF / Switch between HTTP and HTTPS

    Hello!
    I want to switch between HTTP and HTTPS using JSF.
    Under Apache Struts framework I can use struts extension "sslext.jar" to configure switching between http and https in one web application.
    e.g. Login-jsp should be secured, all other jsp's should run unsecured.
    Any ideas?
    regards
    Harald.

    Thanks,
    I made the necessary enhancement for the second phase, password confirmation required when return to SSL zone after leaving it after a succesful login.
    I did the following:
    1) create a class in the application scope and/or singleton class with the servlet paths that require SSL
    2) create a plugin that reads ActionConfigs from the ModuleConfig
    3) create a filter that sets a request scope flag that says that password must re-entered.
    Code Extracts:
    1) MainshopContainer application level parameter singleton class:
    private static HashMap sslZoneMap = new HashMap(50); // key = servlet path of request, example /login.do
    public boolean isInSSLZone(String servletPath)
    return this.sslZoneMap.containsKey(servletPath);
    public void addToSSLZone(String servletPath)
    this.sslZoneMap.put(servletPath,null);
    public int getNumberOfActionsInSSLZone()
    return this.sslZoneMap.size();
    2) Struts plugin
    add a call to loadSSLZoneMap in plugin init method:
    loadSSLZoneMap(config, mainshopContainer);
    private void loadSSLZoneMap(ModuleConfig config, MainshopContainer mainshopContainer)
    throws ServletException
    try {       
    ActionConfig[] actionConfigs = config.findActionConfigs();
    for (int i = 0; i < actionConfigs.length; i++)
    if (actionConfigs.getParameter().indexOf("/jsp/account/") < 0) // /account/* = URL path for SSL zone
    // not found = not ssl zone
    System.out.println("loadSSLZoneMap, following actionConfigs excluded from SSL Zone: "+actionConfigs[i].getPath());
    else
    // found = ssl zone
    String servletPath = actionConfigs[i].getPath()+".do";
    mainshopContainer.addToSSLZone(servletPath);
    System.out.println("loadSSLZoneMap, following servletPath added to SSL Zone: "+servletPath);
    System.out.println("loadSSLZoneMap, number of actions in SSL Zone: "+mainshopContainer.getNumberOfActionsInSSLZone());
    catch (Exception ex)
    ex.printStackTrace();
    throw new ServletException("Exception caught in loadSSLZoneMap: "+ex.toString()+" Initialization aborted.",ex);
    3)
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
    throws IOException, ServletException {
    HttpServletRequest req = (HttpServletRequest) request;
    HttpServletResponse res = (HttpServletResponse) response;
    String servletPath = req.getServletPath();
    boolean secure= this.mainshopContainer.isInSSLZone(servletPath);
    The wole picture:
    The filter adds a RequestDTO object that includes all request parameters, one of them is the secure flag.
    I have a session scope class UserContainer that includes all the session parameters, one of them is the lastRequestDTO.(last made request)
    At the end of all my jsp's I set the lastRequestDTO variable.
    In that method I set the passwordConfirmationRequired flag if needed:
    public void setLastRequestDTO(RequestDTO _lastRequestDTO)
    if (this.lastRequestDTO != null && this.lastRequestDTO.isSecure() != _lastRequestDTO.isSecure())
    this.setPasswordConfirmationRequired(true);
    this.lastRequestDTO = _lastRequestDTO;
    I read the passwordConfirmationRequired in all my jsp's in the SSL zone that allow editing or deleting and if that flag is true, a valid password must be re-entered in order to make the updates.
    When the password is OK I reset the passwordConfirmationRequired to false.
    I need some help for the first phase, that is SSL setup for all actions related to jsp's with url path /account/*
    I tought I could define it in the web.xml:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>All Account Related Pages</web-resource-name>
    <url-pattern>/account/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    but that doesn't work and finnaly understood why:
    Example: /WEB-INF/jsp/account/login.jsp corresponds to /login.do
    The url pattern /account/* at the container level is never encountered.
    Is it allowed to declare the following action path: /account/login instead of /login?
    If yes I could add following prefix /account to all my action paths and forward paths and this could resolve my problem.
    What's your opinion?
    If no, would your library resolve this?
    Will all the Struts/JSP/JSTL url generating tags pick-up the required protocol (http/https) according to your configuration file?
    Regards
    Fred

  • Switching between Design and JSP tabs add code?

    I am new to SJSC and I am taking the time to go through all of the little odds & ends of the IDE.
    I was looking at:
    http://blogs.sun.com/roller/page/tor?entry=computing_html_on_the_fly
    And I decided to try this.
    When I add the following in the JSP tab:
    <h:outputText binding="#{Page1.tableHtml}" id="outputText1"/>Save.
    Then click on the Design tab, then go back to the JSP tab, I now have:
    <h:outputText binding="#{Page1.tableHtml}" id="outputText1"/>
    <h:outputText binding="#{Page1.outputText1}" id="outputText1"/>It's late here, but this doesn't make any sense, why would switching between Design and JSP tabs add code?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Girish: I followed these steps:
    1.) Downloaded:
    Sun Java Studio Creator 2, Multilanguage creator-2-windows-ml.exe 254.23 MB
    2.) When I started the install, I received the message:
    Welcome to Sun Java(TM) Studio Creator 2! You are installing: Sun Java Studio Creator 2 development environment Sun Java System Application Server Platform Edition 8.1 2005Q1 Update Release 2 Bundled database
    3.) Installed version:
    Product Version: Java Studio Creator 2 (Build 060120)
    IDE Versioning: IDE/1 spec=5.9.1.1 impl=060120
    Also, Under, the Palette window: Standard component list, there is a component labeled Output Text.
    When placed on a jsp, the following code is produced:
    <h:outputText binding="#{Page1.outputText1}" id="outputText1" style="position: absolute; left: 24px; top: 48px"/>Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Switching between https and http requests

    Hi,
    Our application is built using ADF 10.1.3
    This application need to be integrated with an in house built single sign on system. ( SSO system is built in C# and .NET)
    This single sign on system only understand https request. Once user is validated against single sign on system, our application's authorization page is called in HTTPS mode. Once the user is authorized, he is forwarded to home page. While forwarding to home page, we want to convert the HTTPS request to HTTP.
    Currently once the user is authenticated, all requests are happening in HTTPS mode.
    We do not know how to make http request from existing https requested page.
    Any help is appreciated.
    Thanks
    Ranajit

    Hi,
    the way to do this is by redirecting the call from a PhaseListener or command button. The solution Avrom refers to is a PhaseListener that uses XML configuration file to determine whether or not the page you are navigating to requires https or http. The code that handles the protocol switch is printed below
      * Determines if the requested page requires SSL and if the current protocol
      * meets this need. If not the protocol is switched between http and https
      * @param viewId
      * @param pageRequiresSSL
      public void handleProtocolSwitch(String viewId, boolean pageRequiresSSL)
        ExternalContext exctx = FacesContext.getCurrentInstance().getExternalContext();
        boolean isSecureSSLChannel = ((HttpServletRequest)exctx.getRequest()).isSecure();
        // pages that require SSL and SSL is on, or pages that don't require
        // SSL but SSL is on and should be kept
        if (pageRequiresSSL && isSecureSSLChannel || !pageRequiresSSL && isSecureSSLChannel && isKeepSSLMode) {
        printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel+", is keep SSL = "+isKeepSSLMode);
        printDebugMessage("No protocol change required");
        // page requires SSL and SSL is not active. Switch to SSL.
        if (pageRequiresSSL && !isSecureSSLChannel) {
          printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel);
          printDebugMessage("Protocol change required to use https");
          switchToHttps(viewId);
        // switch to HTTP is page doesn't require SSL and channel isn't secure
        // and isKeepSSLMode is false
        if (!pageRequiresSSL && !isKeepSSLMode && isSecureSSLChannel) {
          printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel+", is keep SSL = "+isKeepSSLMode);
          printDebugMessage("Protocol change required to use http");
          switchToHttp(viewId);
        if (!pageRequiresSSL && !isSecureSSLChannel) {
          printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel);
          printDebugMessage("No protocol change required");
      * Switches from https to http using a redirect call
      * @param viewId
      private void switchToHttp(String viewId) {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          ExternalContext exctx = facesContext.getExternalContext();
          ViewHandler vh = facesContext.getApplication().getViewHandler();
          String pageURI = vh.getActionURL(FacesContext.getCurrentInstance(), viewId);
          //redirect to http URL
          String remoteHost = getHostNameFromRequest();
          printDebugMessage("Switch to http on host "+ remoteHost);
          try {
              String port = httpPort.equalsIgnoreCase("80") ? "" : ":" + httpPort;
              String url = "http://" + remoteHost + port + pageURI;
              printDebugMessage("Redirecting to http URL "+ url); 
              //TODO check request Map
               this.printDebugMessage(" Content size of RequestMap before redirect "+exctx.getRequestMap().size());
              exctx.redirect(url);         
          } catch (IOException e) {
              printDebugMessage("Redirect to http port failed "+ e.getMessage());
      * switches to https using a redirect call
      * @param viewId
      private void switchToHttps(String viewId) {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          ExternalContext exctx = facesContext.getExternalContext();
          ViewHandler vh = facesContext.getApplication().getViewHandler();
          String pageURI = vh.getActionURL(FacesContext.getCurrentInstance(), viewId);
          //redirect to https URL
          String remoteHost = getHostNameFromRequest();
          printDebugMessage("Switch to SLL/https on host "+ remoteHost);
          try {
              String port = httpsPort.equalsIgnoreCase("443") ? "" : ":" + httpsPort;
              String url = "https://" + remoteHost + port + pageURI;
              printDebugMessage("Redirecting to https URL "+ url);       
              //TODO check request Map
              this.printDebugMessage(" Content of RequestMap before redirect "+exctx.getRequestMap().size());
              exctx.redirect(url);         
          } catch (Exception e) {
              printDebugMessage("Redirect to http port failed "+ e.getMessage());
      * @return the hostname of the page request
      private String getHostNameFromRequest() {
          ExternalContext exctx = FacesContext.getCurrentInstance().getExternalContext();
          String requestUrlString = ((HttpServletRequest)exctx.getRequest()).getRequestURL().toString();
          URL requestUrl = null;
          try {
              requestUrl = new URL(requestUrlString);
          } catch (MalformedURLException e) {
              e.printStackTrace();
          String remoteHost = requestUrl.getHost();
          return remoteHost;
      }If your container doesn't support session sharing between http and https then the session is renewed. In OC4J you will have to configure this.
    Frank

  • Easy way to switch between Headphones and Surround in

    I'm looking for some sort of utility that can make it easier to switch between headphones and surround speaker setu
    ps.
    As it is right now, I use my headphones for FPS gaming and such but when I listen to music, etc., I want to then have XP go back to settings for 5. surround. I keep both my headset and speakers hooked up and just power off the speakers when I used my headphones.
    Is anyone aware of a utility that can automate this?
    At the worst perhaps just a tray icon that I can quickly select the desired setup but better would be a utility that watches the current apps and lets me tell it what the right settings are for each and change it on the fly.Message Edited by Agrajag on 0-08-200804:57 PM

    i don't know of any way to automate this process.... i have speakers and a surround sound system, but my computer is usually set to the surround sound setting. i just leave it like that when i use my headphones. the headphones work alright when the surround sound setting is on, as far as i can tell. hope this helps

Maybe you are looking for

  • Mini DV camcorder to macbook HELP!

    I have a new Macbook Pro and a Sony Handycam Mini DV camcorder. How do I import videos to IMovie '08? I do not have a firewire on my macbook? Is there a way to use USB, or is there something I can purchase so I can connect Firewire to my mac?

  • Selection color in jtable

    I've noticed one annoying thing about JTable when running under Windows L&F. Namely, a table without focus renders its selection in the same color as a table with a focus. This can get really annoying especially with windows where containing more tha

  • Is there a way to delete names from the address book?

    Is there a way to delete names from the address book?

  • The preview of my brush is different from the results... Hard to explain (Pictures to help)

    Out of nowhere, my brushes started acting up. The preview of my brush is different from the results. Im attaching a picture of my cursor preferences as well as an example of whats going on! Please help me out!

  • Query to find duplicate referance numbers

    Dear, We have somehow managed to create the same sales order twice or more. In the field "Customer Ref. No." we always type in BP's ref. no. So what I need is a query which will show me all open sales orders which have more than one identical "Custom