Setting the defualt view at Runtime

Hi
I am having a scenario in which i have two views Say 'Approve' and 'Reject'.
During execution i will send a parameter through URL.
Based on the Parameter suppose if the parameter value is 'approve' then Approve View should be showned and if the url parameter is 'reject' then Reject view should be showned.
so only one view should be showned at runtime
Thanks in advance.......
Regards
Chandran S

Hi ,
you have to set one view as a default view . say 'Approve' .
and then u have to create outbound plug in window and a inbound plug in Reject view and then create a navigation link between them  . now on the default handler of window check that paramter u r receiving , if its reject then fire the plug else do nothing , the default approve will be displayed.
Regards
Yash

Similar Messages

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How do I  set the default view size when I open a word.doc from mail

    I use the mail program all day long and open MS Word docs and the size is default of 100% but the actually view of the screen make it look like a font of 7 or 8
    I have a difficult time even viewing the document until I blow it up to 150%. It's not because I'm blind I have excellent vision..
    HOW DO I SET THE DEFAULT VIEW OF DOCUMENTS

    This document can help you set the print settings for any type of printing. Not just for photos as the title suggests. You should not have to keep setting it every time.
    Printer settings
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Why can't you set the inital view in preferences instead of on a document by document basis?

    You can set the initial view on the document level in document properties to display Bookmarks Panel and Page and that's the view you will receive the next time that document is open.
    There has to be a way to use a plug-in or something that will open all documents using that initial view, rather than having to set it each time.
    Thank you!
    Richard    

    Hi
    The 'Document properties' window is set to make changes to a particular document. In order to set common settings for all the PDFs, please make changes in the 'Page display' option:
    For MAC: File > Preference > Page display
    For Windows: Edit > Preferences > Page display
    Another point that you can make use of is: Whenever you close any PDF, Acrobat saves the last view settings and tries open the next PDF in the same view as it was closed.

  • In mini bridge how do I set the default view to the filmstrip?

    Hello,
    In mini bridge how do I set the default view to the filmstrip?
    Thank you.

    Mark, there's a very basic .NET method on every nullable object:
    GetValueOrDefault
    EDIT: Now I see...please avoid duplicating
    questions...
    To be clear:
    Put GetValueOrDefault on every nullable field used inside your 'TotalDue_Compute' sub
    You don't need to define 'TotalDue' as Nullable anymore

  • Is there a way to set the default view for the App Store to only show Apps for iPads when the Store is launched?

    I'm a new iPad owner and would like to set the default view for myself to show only Apps for the iPad when I launch the the App Store app. Showing apps for iPhone seems a waste of real estate for me and time spent searching for a particular app since I do not own an iPhone.
    Thanks for any assist. :-)

    Hi ..
    That's not possible as yet but you can provide feedback to Apple here.

  • Setting the selectOneChoice value at runtime

    Hi,
    I need to set the selectOneChoice value at runtime. On Page Load I am creating object of RichSelectOneChoice and currencyCode.setValue("USD");
    When I check on runtime it is not showing "USD" as selected item in dropdown where as in background it is sending USD to downstream application.
    How to get the show the value in SelectOneChoice which is selected at runtime in code?
    Thanks in advance.

    Hi,
    Selected value will be taken from the value property of selectOneChoice component, I guess you don't have specified value property. Create a String instance variable in bean and then set the value 'USD' to this variable and then bind it to value property of selectOneChoice component.
    Sample:
    //inside bean
    private String selectedValue;
    //Getter and Setter methods
    //Replace the currencyCode.setValue("USD"); line with the below code
    this.selectedValue = "USD"
    //Finally in jspx page bind this selectedValue to value property of bean
    <af:selectOneChoice value="#{bean.selectedValue}" ... />Sireesha

  • How to set the default view (Alphabetic) in CCM ?

    Hi guys,
    Easy question for smart guys =)
    In CCM we have 2 views: groups and index (alphabetic).
    How can I set the default view ?  
    For example, I would like to have always the index view (alphabetic)
    Thanks for your help guys !
    regards,
    Diego

    Hi diego,
    I think you have to modify directly bsp for this.
    Regrads,
    Bertrand

  • Add columns in DataGridView And display it in the report Viewer at RunTime

    Hello Everyone , this is my first participation here, I am civil Engineer and I have a Question 
    I created dataGridViewer connected to a database , when I change the records and reopen the application the changed are saved However , I let the user to add/delete columns during the runtime (by using sql command) ,even though those columns are saved and
    appear at datagridviewer 
    The reported Viewer (which i designed using wizard) is not showing these columns
    what should i do , I have been trying to solve this for a week ! could it be a year ? !  
    I am using c# visual studio 2012 

    Hi Azzam,
    According to your description, you want to display changed columns in ReportViewer control. Right?
    In Reporting Services, when we retrieve the data, the query or stored procedure will only execute one time. So during runtime, the data in a report will not change. So we can't display the changed columns in report during runtime. However, we can set the
    Auto-refresh properties for report so that the report can refresh every X seconds. This is the most effective workaround. Please refer to links below:
    SSRS report auto refresh
    Automatically refreshing your SQL Reporting Services reports with the AutoRefresh element
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How do you set the default view of a PDF portfolio to be the Files mode?

    I can set my personal view of portfolios to that, but if another user opens it, it shows the preview mode. It needs to be accessible, and I read Files mode is the only way. We want to load a PDF portfolio onto our internet for anyone to view, but it needs to open in the Files mode. Thanks

    I have done this.
    Have a hidden input field on form  <input name="ZoneExpiry" id="ExpiryDate" />
    Then have a function as follows:
    var dat=new Date();
                                                      dat.setDate(dat.getDate() + 365);
                                                      var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun", "Jul","Aug","Sep","Oct","Nov","Dec")
                                                      var pretty = dat.getDate() + "-" + monthname[dat.getMonth()] + "-" + dat.getFullYear();   
                                                      jQuery("#ExpiryDate").val(pretty);
    Hope this helps.

  • Acrobat X, where can we set the defualt for Open, Link?

    Step 4, Open File, New Window or Within....  We would like to set NEW WINDOW as default.  (Please see screen shot also)
    Create a link using the Link tool
    Choose Tools > Content > Link. The pointer becomes a cross hair, and any existing links in the document, including invisible links, are temporarily visible.
    Drag a rectangle where you want to create a link. This is the area in which the link is active.
    In the Create Link dialog box, choose the options you want for the link appearance.
    Select one of the following link actions: 
    Go To A Page View
    Click Next to set the page number and view magnification you want in the current document or in another document (such as a file attachment), and then click Set Link.
    Open A File
    Select the destination file and click Select. If the file is a PDF, specify how the document should open (for example in a NEW WINDOW or within an existing window), and then click OK. 
    Note: If the filename is too long to fit in the text box, the middle of the name is truncated.
    Open A Web Page
    Provide the URL of the destination web page.
    Custom Link
    Click Next to open the Link Properties dialog box. In this dialog box, you can set any action, such as reading an article, or executing a menu command, to be associated with the link.
    Screen shots.......

    Thanks for your reply.  We are using Acrobat Pro 10.1.3 on Windows 7 64 bit workstation. 
    We see this when adding a link in a PDF.
    Go to Tools, Content, Link.  Highlight something, Creat Link, click Next.  Pick somthing to Link too.  Like another PDF and the Window in the first screen shot comes up.
    I ran a Regshot and here are the results.  Looks like all user keys which would be normal but there must be a way to set the default in the Preferences?  This does not seem to be a setting that stays if you will so there must be something over-riding it.

  • How to set the JavaHelp viewer

    Hi,
    Robohelp 7, Windows XP, installed with the TCS
    How do you point RoboHelp to a different JavaHelp viewer
    instance after it has been set initially? I was first using
    JavaHelp 1, but then installed JavaHelp 2, and I want to switch
    between the two for viewing, as I compile for the different
    versions. The only way I found to do it was to change the path to
    the active viewer which causes RoboHelp to lose it and to ask you
    again where it is.
    And by the way, I looked in the help for this and I got some
    whacked out non-scrollable window that seemed to search the Adobe
    website, rather than provide help. Am I doing something wrong? It
    didn't look like a help system at all.
    Thanks,
    Russ

    Hi Russ and welcome to our community
    Fellow Adobe Community Expert Peter Grainge has info on
    JavaHelp that may help. Not sure about switching viewers.
    For the help, click Tools * Options * General tab and choose
    the “Use offline help” option. Then close and restart
    RoboHelp to see the offline version of the help. It should be
    better.
    Here is the link to Peter's site:
    Click
    here to visit Peter's site.
    Cheers... Rick

  • Setting the Line size at runtime

    Hi All,
        I am printing a classical report. Usually we set the
    Page width statically ie by using Line-Size.
        But I need a way to change this value at runtime.
    Is there a way out to this problem?
    Thanks & Regards,
    Abhijeet.

    Hi Abhijeet,     
    You cannot change the width of individual pages within a list level. You can only change the width of all pages of a new list level. To do so, use the NEW-PAGE statement:
    Syntax
    NEW-PAGE LINE-SIZE <width>.
    All list levels starting from the new page have a width of <width> instead of the one specified in the REPORT statement. If you set <width> to 0, the system uses the width of the standard list .
    If you set <width> to SY-SCOLS, you can adapt the width of the new list level to the window width, even if the window is smaller than the standard window. The SY-SCOLS system field contains the number of characters of a line of the current window.
    Within a list level, that is, if the next page is not the beginning of a new list level, the system ignores the LINE-SIZE option.
    Regards,
    vidya.

  • Setting the XDP source at runtime

    Hi,
    I would like to set the template source for an InteractiveForm UI element via the IWDInteractiveForm.<b>setTemplateSource</b> method in the wdDoModifyView of my view. I would like to set it to a URL or something like that.
    But I always get the following exception:
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.impl.PDFDocumentRuntimeException: ResourceNotFoundException occured while creating template stream from the URL : Object could not be found in cache, key is null!
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.getTemplateStream(AdobeFormHelper.java:560)
    My source is quite simple:
      public static void wdDoModifyView(...)
        //@@begin wdDoModifyView
         ((IWDInteractiveForm)view.getElement("Form01")).setTemplateSource(
          "http://localhost:53000/irj/go/km/docs/room_extensions/cm_stores/documents/workspaces/b003600e-b334-2810-4593-be953ca4873a/2005/11/22/dyn01.xdp");
        //@@end
    Could anybody help me ?
    Thanks in advance!
    Regards,
    Ferenc

    Hi,
    Sorry for late response. I installed BS6.5 some days ago.
    Regarding localhost: The ADS is also on my local machine, so I thing that it can not be a problem.
    I tried it with and without 'localhost', but it does not work. Now I use a workaround: copy first the proper template from the KM into the directory from the original template deployed with the WD can be obtained by the application. Then I set the template source using simply the name of the file.
    Regards,
    Ferenc

  • How to set the defualt directory of where to look for a file to read

    I am reading a file from a servlet. I wanted to see where Tomcat would write the file if I didn't specify a path. The results surprised me. It wrote the file in: "C:\Documents and Settings\myusername\Start Menu\Programs\Apache Tomcat 4.1". So I looked through server.xml to see if perhaps this path was set there but didn't find anything. I right clicked on the "Start Tomcat" target to see its properties and there it was. There was a field "Start in:" and it contained the aforementioned path. I changed it to what I wanted but there has to be a way to set this in server.xml. How do I do this. my guess would be something like :
    "<Context path="" docBase="c:/theDefaultDirectory" debug="0"/>", but this didn't work. Any light on this subject would GREATLY be appreciatted,
    silas

    Well, actually, it opens file where the process is currently located on your fileSystem. since you seems to be using windows, the process is started in the directory written in the "Starts In" field. Now you could use the command line (the ugly MSDOS like window), go to some directory and starts the tomcat process from there, and the files would be created in that place.
    The docBase tells where tomcat should look when looking for pages (html jsp, etc...). If you want to use it, you can still refers to it as :
    new File (yourServlet.getServletConfig().getContextPath("/myfile.txt"))Another track to check would be to look in the System.getProperties. There has to be some property that gives the current JVM path, try to change it to the location you'd like it to be and see if it conforms to how you'd like to see it works.
    Still, remember that you can have multiple Context in your servlet container, so there's no reason for tomcat to set the JVM default path to the docBase from one or another (File is a global JVM utility, not a J2EE only feature !!).

Maybe you are looking for

  • Dual monitor, and other questions....

    I'm sorry for these questions if they've already been discussed... with all the back lash, I'm having a hard time wading through all the comments. I have a macbookpro. I use an external 24" monitor along with my 15" laptop for editing. My 15" is used

  • Net Protect Plus

    Hi all I have been using BT's Net Protect Plus since i have been with BT as my isp. A few weeks ago i formatted my harddrive and installed and fully updated my computer.After i had everything installed and updated i started to install world of warcra

  • Wont play songs on ITunes

    I cant play songs on Itunes because it says File cant be found and a lot of the songs like this have a ! next to them. Can anyone help?

  • Handling Fault Messages

    Hi, I have this synchronous scenario :  RFC > (XI without Integration Process) > SOAP. Imagine that there is a problem with SOAP System and i get (don't worry about the error itself): <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP=

  • How to setup Mail Server in Lion

    I'm wondering how to setup the mail server if I have a website that is being hosted by a site like go daddy. I really have no IT experience and wanted this server to help my company get organized and on track. So far I have been able to get the VPN a