Gui for setting probability of behaviors

Hello all. I've been thinking about this for a while and haven't come to a conclusion on how best to build the gui. I have an arbitrary number of behaviors (usually 6 to 8, and probably not more than 20), the probability of all of them totals 100%. i.e.
go to store 20%
eat a meal 20%
take a nap 60%
The puzzle is how to present this in a gui so that the probability of each item can be set by people who are not everyday users. I've considered 3 options
1) The excel column header resize approach: Each item is represented as a block in a status bar, the entire bar representing 100%. (have the percentage appear in the block, with an arrow to the behavior name which resides outside of the bar) When you increase one block, the others shrink. Disadvantage is that large numbers of behaviors will probably be hard to manage.
2) Individual item status bar. Each item appears in a table row, with the second cell containing a status bar showing percentage. When you increase one, the others shrink. Disadvantage is that the user may not be able to see all of the items changing.
3) Pie chart: Each wedge displays a percentage with labels outside the chart. When you drag one piece larger, the others shrink.
Then the question is how to do the resizing behavior should work. Should the other behaviors be decreased by the same amount? It seems like it would be better to resize the non selected pieces proportionally to how big they are. i.e.
go to store 20%
eat a meal 20%
take a nap 60%
If 'go to store' increases 20%, should 'eat a meal' and 'take a nap' each decrease by 10% or should 'eat a meal' increase by 7% and 'take a nap' increase by 13%.
I've also toyed around with not doing any automatic resizing and just coloring tables with more than 100% red. For sanity's sake, I would have to include a button to normalize the table back to 100%. Don't care much for it though.
Do you hate/ like any of the above options? Is there a better way to do this? All of these options have the disadvantage of making it hard to exactly tweek the non selected numbers.
Many thanks: any thoughts would be most appreciated.

The issue is not how you present the UI but how you manage the multiple changes and ensuring the quality of data (ie that it totals 100).
I would consider:
a) radio buttons to change the modes - eg share evenly amongst all, share proportionally amongst all, don't share (requires separately ensuring total is 100), share to last behaviour in list (works for bar style but not for pie)
b) a 'lock' switch for each behaviour so that changes are evenly or proportionally distributed amongst any unlocked behaviors, possibly allowing the locked behaviours to still be modified directly
I think I'd go down the b) route but depending on your users a) might be viable.

Similar Messages

  • SAP GUI for Java 7.10 rev 7 - strange behavior using mouse

    Hi,
      I use last revision of SAP GUI for Java 7.10 on linux and I've noticied that some mouse actions do not work as expected. I'll use describe an examples:
    (1)
    In rev.6 I simly push button on screen and move over text, text is marked and then I can use CTRL-C to copy text to clipboard.
    In rev.7 pushing button and move does nothing. I need one initial click more and then it works as expected.
    (2)
    Click to icon in an ABAP list sometimes activate another icon from screen (it seems that focus isn't moved from its previous position to new mouse cursor position).
    Because rev.7 has been released at the end of 2008, it is possible, that some dotted revision (solving these troubles) has been released, does anybody know solution?
    Thank you for some hints,
      Pavel

    Hello Pavel,
    we have not yet been aware of such issues, so a newer dotted version would likely not make a difference.
    (1) The behavior pretty much depends on the specific component you are clicking and selecting its text.
    So a specific test case identifying the component is required to investigate the issue.
    (2) Also for this case I ask to provide the exact context, even if it happens there only "sometimes".
    Please provide also information requested in [note 326558|https://service.sap.com/sap/support/notes/326558], parts 2.) and 3.)
    If you could provide all this as part of a [support message|http://service.sap.com/message] would be great.
    Best regards
    Rolf-Martin

  • Launch Approval Appraisal Documents in Iview format not SAP GUI for HTML

    Hi,
    Sorry iam not sure whether this is the right place to post this question.
    I have a requirement where i need to change the appearance of UWL tasks related to appraisal approval.
    Whenever a user clicks on approve apraisal tasks it is popping SAP GUI for HTML and taking to the backend showing Performance appraisal display.Our client are in need of normal iview rather than sap view( sap gui view).
    I have identified the tasks related to approval appraisal.The tasks in the backend are
    approval appraisal - perf appraisal - ts91000005, URL generation - ts12300108 , Submitted obj - WS 91000003.
    i have created an iview based on http://xxx.xxxx:8000/sap/bc/bsp/sap/hap_document/documents_todo.htm?sap-client=xxx&sap-user=xxxx&sap-language=E
    i have given the ID and iview PCD link in SWFVISU.Reregistered UWL again and logged in as a test user.When clicked on Appraisal approval i can see the appraisals completed.It wont allow us to edit.All hap_documents are BSP pages.
    I guess i did something wrong.
    i have followed these links.
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/PMSworkflowsin+UWL
    Error: Launch appraisal Workitems in UWL in Portal...
    Appraisal approval after completion not possible in BSP
    Please let me know the procedure to show the approval items in a normal iview format.
    Thanks in advance.
    Chakri.

    Chakri,
    You will probably have  to change the XML being used in your UWL. Go into the ItemType portion for the PM task and check/set  the following properties
    connector="WebFlowConnector"
    defaultAction="launchIView"
    Check if your Action tags within the ItemTypes have the following properties
    name="launchIView"  handler="SAPAppLauncher"
    Check whether the Property within Action tags is linked to your BSP view  that you want to trigger when the task is clicked
    For e.g. <Property name="SAPIntegrator" value="ROLES://portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.pages/....."/>
    Once you change your XML dont forget to re-register your ItemTypes to the connector you are using.
    Good luck
    Pooja

  • Unable to Print Purchase order automatically using SAP GUI for JAVA

    Hi SAP gurus,
    Some of the PC's in our company use windows and some LINUX. Therefore we use two types of SAP GUI. One for windows and the other one JAVA. PO approval was set to print automatically. In a windows setting, there are no problems with this setup. But in SAP GUI for JAVA, no print outs are produced and no error messages are displayed. I am using SAP GUI for JAVA version 7.10 ver 6. and I use Front end printing for linux access method G.
    please help,
    gungertz

    hi gungertz,
    You can use U type access method for printing SAP document using linux desktop.
    Please refer to my blog posting here (http://sapbasis.wordpress.com/2007/08/23/print-sap-documents-using-linux/)
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • Anything simple I can add to a GUI for some extra credit?

    I had to write a GUI for my COMP class this time, and if we add anything extra, we can get some extra points..which would be quite nice.
    I have the GUI made and working as we were shown how to do, and now I would like to add some extra things to make it better.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Tuition extends JFrame
        private JLabel stateResL, credsL, typeL, tuitFeeL, actFeeL;
        private JTextField stateResTF, credsTF, typeTF, tuitFeeTF, actFeeTF;
        private JButton calculateB, exitB;
        private CalculateButtonHandler cbHandler;
        private ExitButtonHandler ebHandler;
        public Tuition()
            stateResL = new JLabel ("Is Student a TN State Resident? 1 = yes, 0 = no ", SwingConstants.RIGHT);
            credsL = new JLabel ("Enter number of credits presently being taken: ", SwingConstants.RIGHT);
            typeL = new JLabel ("Is student an undergraduate = 0, or graduate student = 1? ", SwingConstants.RIGHT);
            actFeeL = new JLabel ("Activity Fee: ", SwingConstants.RIGHT);
            tuitFeeL = new JLabel ("Tuition amount owed = $", SwingConstants.RIGHT);
            //text fields
            stateResTF = new JTextField(10);
            credsTF = new JTextField(10);
            typeTF = new JTextField(10);
            actFeeTF = new JTextField(10);
            tuitFeeTF = new JTextField(10);
             //calculate button
            calculateB = new JButton ("Calculate Tuition");
            cbHandler = new CalculateButtonHandler();
            calculateB.addActionListener(cbHandler);
            //exit button
            exitB = new JButton ("Exit");
            ebHandler = new ExitButtonHandler();
            exitB.addActionListener(ebHandler);
            //set title of window
            setTitle("Tuition and extra Fees");
            //get container
            Container pane = getContentPane();
            //set layout
            pane.setLayout (new GridLayout (6, 2));
            //place components in pane
            pane.add (stateResL);
            pane.add (stateResTF);
            pane.add (credsL);
            pane.add (credsTF);
            pane.add (typeL);
            pane.add (typeTF);
            pane.add (tuitFeeL);
            pane.add (tuitFeeTF);
            pane.add (actFeeL);
            pane.add (actFeeTF);
            pane.add (calculateB);
            pane.add (exitB);
            setSize (WIDTH, HEIGHT);
            setVisible (true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        private class CalculateButtonHandler implements ActionListener
            public void actionPerformed (ActionEvent e)
                //computes activity fee and tuition and sets them to respective variables
                double tuition = 0;
                double actFee = 0;
                int credits, stateRes, type;
                type = Integer.parseInt(typeTF.getText());
                stateRes = Integer.parseInt(stateResTF.getText());
                credits = Integer.parseInt(credsTF.getText());
                if (credits >= 6)
                       actFee = 44;
                else
                    actFee = 6 * credits;
                if (stateRes == 0)
                        if (type == 1 || type == 0)
                            tuition = ((448 * credits) + actFee);
                else if (stateRes == 1)
                        if (type == 0)
                            tuition = ((241 * credits ) + actFee);
                        else if (type == 1)
                            tuition = ((343 * credits ) + actFee);
                    actFeeTF.setText ("" + actFee);
                    tuitFeeTF.setText ("" + tuition);
            private class ExitButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e)
                    System.exit(0);
    }I don't care for something way out of my league (I'm only in my second semester of actually doing "tough" stuff. Maybe something that would change the colors of the text fields where the questions are, or change the color of the font printed, or change the font type, maybe add a logo or something for a school (it's a tuition calculator).
    I looked through the API but reading over class names doesn't do much for me, and I searched Google a bit but most of the stuff I found seemed pretty difficult/beyond my knowledge.

    alright...I fixed the messy issue, but I don't know how to setup the action listeners or whatever...
    I need my calculate tuition method to work using the radio buttons, and I don't know how to set up the listeners correctly.
    I can't find a single example on the internet that does anything like what I'm doing that I can use as a reference. I need something using radio buttons that calculates another number based on the results of the radio buttons...like what mine should do.
    This has got to be a noob question, but I just can't get it to work....
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Tuition extends JFrame
        private JLabel stateResL, credsL, typeL, tuitFeeL, actFeeL;
        private JTextField stateResTF, credsTF, typeTF, tuitFeeTF, actFeeTF;
        private JButton gradB, calculateB, exitB;
        private CalculateButtonHandler cbHandler;
        private ExitButtonHandler ebHandler;
        private StateResButtonHandler srbHandler;
        private NonStateResButtonHandler nsrbHandler;
        private UndGradButtonHandler ugbHandler;
        private GradButtonHandler gbHandler;
        /** extra */
        JScrollBar scrollbar_h_1;
        JScrollBar scrollbar_v_1;
        JRadioButton undGradRB, gradRB, stateResRB, nonStateResRB;
        ButtonGroup radioGroup1, radioGroup2;
        static String stateResString = "Resident";
        static String nonResString = "Non-Resident";
        static String undGradString = "Undergraduate";
        static String gradString = "Graduate";
        public Tuition()
            getContentPane().setFont(new Font("Arial", Font.ITALIC, 12));
            getContentPane().setBackground(Color.blue);
            stateResL = new JLabel ("Is Student a TN State Resident? ", SwingConstants.RIGHT);
            credsL = new JLabel ("Enter number of credits presently being taken: ", SwingConstants.RIGHT);
            typeL = new JLabel ("Is student an undergraduate, or graduate student? ", SwingConstants.RIGHT);
            actFeeL = new JLabel ("Activity Fee: ", SwingConstants.RIGHT);
            tuitFeeL = new JLabel ("Tuition amount owed = $", SwingConstants.RIGHT);
            //text fields
            credsTF = new JTextField(10);
            actFeeTF = new JTextField(10);
            tuitFeeTF = new JTextField(10);
             //calculate button
            calculateB = new JButton ("Calculate Tuition");
            cbHandler = new CalculateButtonHandler();
            calculateB.addActionListener(cbHandler);
            //exit button
            exitB = new JButton ("Exit");
            ebHandler = new ExitButtonHandler();
            exitB.addActionListener(ebHandler);
            radioGroup1 = new ButtonGroup();
            JRadioButton stateResButton = new JRadioButton(stateResString);
            stateResButton.setMnemonic(KeyEvent.VK_B);
            stateResButton.setActionCommand(stateResString);
            stateResButton.setSelected(true);
            JRadioButton nonResButton = new JRadioButton(nonResString);
            nonResButton.setMnemonic(KeyEvent.VK_B);
            nonResButton.setActionCommand(nonResString);
            radioGroup1.add (stateResButton);
            radioGroup1.add (nonResButton);
            radioGroup2 = new ButtonGroup();
            JRadioButton undGradButton = new JRadioButton(undGradString);
            undGradButton.setMnemonic(KeyEvent.VK_B);
            undGradButton.setActionCommand(undGradString);
            undGradButton.setSelected(true);
            JRadioButton gradButton = new JRadioButton(gradString);
            gradButton.setMnemonic(KeyEvent.VK_B);
            gradButton.setActionCommand(gradString);
            radioGroup2.add(undGradButton);
            radioGroup2.add(gradButton);
            srbHandler = new StateResButtonHandler();
            stateResButton.addActionListener(stateResString);
            nrbHandler = new NonResButtonHandler();
            nonResButton.addActionListener(nonResString);
            ugbHandler = new UndGradButtonHandler();
            undGradButton.addActionListener(undGradString);
            gbHandler = new GradButtonHandler();
            gradButton.addActionListener(gradString);
            //set title of window
            setTitle("Tuition and extra Fees");
            //get container
            Container pane = getContentPane();
            //set layout
            pane.setLayout (new GridLayout (6, 2));
            JPanel radioPanel = new JPanel(new GridLayout(0, 1));
            radioPanel.add(stateResButton);
            radioPanel.add(nonResButton);
             JPanel radioPanel2 = new JPanel(new GridLayout(0, 1));
             radioPanel2 = new JPanel (new GridLayout(0, 1));
             radioPanel2.add (undGradButton);
             radioPanel2.add (gradButton);
            //place components in pane
            pane.add (stateResL);
            add(radioPanel);
            pane.add (credsL);
            pane.add (credsTF);
            pane.add (typeL);
            add(radioPanel2);
            pane.add (actFeeL);
            pane.add (actFeeTF);
            pane.add (tuitFeeL);
            pane.add (tuitFeeTF);
            pane.add (calculateB);
            pane.add (exitB);
            setSize (WIDTH, HEIGHT);
            setVisible (true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            /** EXTRA - EXTRA - EXTRA */
            calculateB.setToolTipText("Click this button to calculate tuition and activity fee.");
            exitB.setToolTipText("Click this button to exit the program.");
        private class CalculateButtonHandler implements ActionListener
            public void actionPerformed (ActionEvent e)
                //computes activity fee and tuition and sets them to respective variables
                double tuition = 0;
                double actFee = 0;
                int credits, stateRes, type;
                type = Integer.parseInt(typeTF.getText());
                stateRes = Integer.parseInt(stateResTF.getText());
                credits = Integer.parseInt(credsTF.getText());
                if (credits >= 6)
                       actFee = 44;
                else
                    actFee = 6 * credits;
                if (stateRes == 0)
                        if (type == 1 || type == 0)
                            tuition = ((448 * credits) + actFee);
                else if (stateRes == 1)
                        if (type == 0)
                            tuition = ((241 * credits ) + actFee);
                        else if (type == 1)
                            tuition = ((343 * credits ) + actFee);
                    actFeeTF.setText ("" + actFee);
                    tuitFeeTF.setText ("" + tuition);
            private class ExitButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e)
                    System.exit(0);
            private class StateResButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e){
            private class NonStateResButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e){
            private class UndGradButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e) {
            private class GradButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e) {
    }the calculateB and exitB listeners work, but I have nothing setup for the others that works. And the calculate button doesn't work because it isn't getting any info from the buttons.
    I get addActionListener(Java.awt.event.ActionListener) in Javax.swing.AbstractButton cannot be applied to (java.lang.String). on the listeners I attempted to add within the constructor....

  • Best Practice for setting up an office with an extreme

    I am looking for some great info for setting up a Business Network using Comcast Business Highspeed. I rencently purchased an Airport Extreme and an Airport Express for a network extender and I am trying to understand what the optimal setup is for this kind of setup. Comcast provides a modem that manages DHCP but I am not sure if it makes sense to use the Airport Extremes built in DHCP or setup the Extreme as a bridge to the Modem and let DHCP be handled there. I am expecting to have anywhere from 30-60 devices on the network depending on the day. Is there any info out there that would help me better understand Apple's recomendation or do any of you have some good info for me? Thanks for the help in advance.

    Unless the Comcast modem/router or gateway device has an available option to be configured as a simple modem.....and....this type of configuration is supported by Comcast, the decision about DHCP service has already been made for you.
    In that case, configure the AirPort Extreme in Bridge Mode to allow the Comcast modem/router to control the routing functions on the network. You will have to check with Comcast to insure that the DHCP range of the modem/router will supply an adequate number of IP addresses to meet your needs.
    That would probably mean a pool of at least 100 or more IP addresses.
    Connect the AirPort Express using an Ethernet cable to one of the LAN <-> ports on the AirPort Extreme if you want optimum bandwidth performance for the network.
    Keep in mind that all devices will share the same Internet connection bandwidth, so if you have 50 devices on the network at one time, and you have a 50 Mbps Internet connection, each device will be allowed about 1 Mbps of bandwidth.
    That may...or may not.....be adequate for your needs depending on how active the devices will be at the time.
    If 50 users are all trying to update their email simultaneously, things are going to be sluggish.

  • ANN: SAP GUI for Java 7.00 rev 5 available for download

    Hi all,
    SAP GUI for Java 7.00 rev 5 is now available at <b>http://service.sap.com/sapgui-java</b>.
    In case you are not registered on service.sap.com, you can alternatively download it from ftp://ftp.sap.com/pub/sapgui/java/700r5.
    This revision solves issues in the dropdown listbox, grid and table control. Also an issue with FileDownload is fixed. For more information, please refer to the release notes.
    <a href="https://service.sap.com/sap/support/notes/954572">Note 954572</a> lists the supported platforms.
    Best regards
    Rolf-Martin

    hi Mr.Rolf-Martin,
       this is kumar writing in regards with the sap gui for java 7.00 rev 4.....i found ur link very helpful ....thanks for the link...and i have a problem in creating a new connectioin ....i have gone thru some of the forum replies and pdf's ....but i could not set up the new connection ....
    can u plz help me in creating a new connection .....
    the rev4.jar file was successfully installed.....
    and whats are the next steps .....
    any help appriciated thanks
    regards
    kumar

  • Problem while printing from SAP GUI for HTML

    Hello,
    We are trying to print a delivery confirmation from the portal using SAP GUI for HTML. We have followed note 771683 to do this. However we are facing the following problems:
    1) The print action(PDF creation) is not triggered until the user performs some action
    2) the PDF that is created is corrupted(does not open)
    In order to correct this we tried to implement note 957292. However, the changes to the object FRONTEND_PRINTPOLL_FRONT_REQUEST.HTM mentioned in this note created problems. So we decided to do the changes to this object manually. But we see that the SAP note doesn't contain any information on changes that should be implemented for this object.
    Question:
    Is the note 957292 only way to solve the printing(PDF) problem? If not, how can we trigger the automatic creation of the PDF and remove the error from the PDF file?
    If yes, any idea what is causing the problem during the note implementation?
    We are on NW2004s - EP7.0 SP10
    ITS 7.0
    Thanks in advance.
    Regards,
    Reena

    Hi,
    configure printer in SPAD  , no setting for JAVA GUI
    check note
    605467:SAPscript/Smart Forms: Print preview in SAP GUI for Java
    634158      SAPscript/Smart Forms: Print preview in SAP GUI for Java (2)
    1024624 SAPscript/Smart Forms: Print preview in SAP GUI for Java (3)       
    regards,
    kaushal
    regards,
    kaushal

  • Batch create multiple pdf's while using epilogue.ps for setting initial view and opening bookmarks

    Hi,
    I'm trying to batch create multiple pdf's from word files, and use the epilogue.ps file for setting the initial view and opening the bookmarks panel, but i keep getting no satisfying result.. i'm probably missing something fundamental.
    I've read some forum posts and adobe help posts explaining this, so i'm pretty sure this would be possible?
    Reference:
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f0f.w .html  see advanced panel options
    http://help.adobe.com/en_US/acrobat/using/WS58a04a822e3e50102bd615109794195ff-7f14.w.html
    System: Windows 7
    Acrobat: Acrobat X professional
    i've searched for and found a way to overwite the epilogue.ps file and have inserted the following:
    %  Insert your custom PostScript here...
    [ /PageMode /UseThumbs
    /Page 1 /View [/Fit ]
    /DOCVIEW pdfmark
    After that i checked my Adobe Acrobat preferences, and in the categorie 'Convert to Pdf' i selected 'Microsoft office word' in the select area 'Converting to pdf'.
    Clicked 'Edit settings' to allow creating a joboptions file (field: 'adobe pdf settings') which has the option 'Use epiloque.ps and prologue.ps' checked in the advanced section.
    So now i thought i would have everyting setup to create my pdf's, however, my view isn't changed to fit, nor are there any bookmarks or in this case thumbs (i used /useThumbs) visible.
    Did i miss something obvious? Is there a better way to test this? Any help would be appreciated!

    i like it about that ok in how to open my site

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • SAP GUI for Windows

    I am trying to have SAP UWL Tasks open in the SAP GUI for Windows instead of the SAP GUI for HTML.  I have created new folders "Customization"->"Universal Worklist" and created delta linked copies of all the iViews found in "Portal Users"->"Standard Portal Users"->"Universal Worklist".
    Then I went to the System Administration->System Configuration->Universal Worklist & Workflow-> Universal Worklist-Administration->Optional Universal Worklist Service Configuration and changed the "Path to the UWL iViews to the pcd location of the new folder (portal_content/com.myl.custom/com.myl.uwl).
    Then I opened the UWL - Launch SAP Transaction iView (my delta linked copy) and changed the SAP GUI Type to "SAP GUI for Windows".
    I thought this was all I needed to do but when I open an SAP task from the UWL it opens the same as it did before - I see no difference at all.  Any help is appriciated and rewarded.
    Edited by: TA on Oct 1, 2008 6:03 PM
    I just noticed that the XML content for the configuration has the SAPIACLauncher as the handler instead of the SAPTransactionLauncher...
    So Now I have created a new configuration with each transaction is set similar to this:
    <ItemType name="uwl.task.webflow.TS20000194.RS4" connector="WebFlowConnector" defaultView="webflowView" defaultAction="launchSAPAction" executionMode="pessimistic">
          <ItemTypeCriteria systemId="RS4" externalType="TS20000194" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchSAPAction" userDecision="no" handler="SAPTransactionLauncher">
              <Properties>
              <Property name="GuiType" value="WinGUI"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    However - when I open an SAP task from the UWL it opens the same as it did before - I see no difference at all.  Any help is appriciated and rewarded.

    TA,
    try to clear cache under
    System Administration->System Configuration->Universal Worklist & Workflow-> Universal Worklist-Administration->Cache Administration Page
    Thanks
    Bala Duvvuri

  • Calling SAP GUI for HTML

    Dear Gurus!
    we are facing a peculiar issue. I have created 2 'GUI for HTML' transaction iviews one connecting to 'copy of dev ': ECC:system number x, and the other connecting to 'copy of quality': ECC, System number y.
    Both these ECC systems have same hostname but different system numbers and different system ID's ofcourse.
    When I create GUI for Windows Transaction iview, correct system is opened say transaction 'SMEN'. However when I create GUI for HTML, the Dev ECC system is called nevertheless in both the iviews.
    the behavior is the same even if I test with direct transaction using System Administrator--> support link.
    We are on 7.4 portal with backend ECC 6.
    Please advise
    Regards,
    Ankur Agarwal

    Thanks Pradeep,
    Yes the system objects are fine. there is just one similar entry for both ie the hostname, other wise everything is diff like system num, sys Id, gateway host etc.
    I am still perplexed why on testing, 'GUI HTML' goes to dev only in both cases, while "GUI windows", works fine and goes respectively to dev and qa.
    ANkur

  • ALV GRID  and Integrated ITS 7 (SAP GUI for HTML) - dissapears on reload

    Hi All,
    We have a custom report that uses an ALV grid to display information to the user. Within this grid, there are fields that are display only and fields that are editable. Also, the grid is wider than the screen's width. It works fine in ECC. It also worked fine when we were using ITS 6.4.
    We have recently upgraded to ITS 7. Now when we run the report using a Transaction iView (in EP 7) or the Webgui service (SAP GUI for HTML), if a field that is editable has focus when an event is triggered that reloads the grid, the screen becomes blank. So, you can click the Save button and the screen goes blank, also, there are date fields in the grid and if you choose a new date, the grid reloads and the screen becomes blank.
    We have found that when the screen is blank, you can use the "Page Up" button on your keyboard and the last few columns of the grid will appear. As if the entire grid has moved off-screen to the left.
    If you click onto a non-editable field and refresh or save, the grid returns to its normal state.
    We are on Basis Patch level 15.
    Does anyone have any ideas on how to fix this?
    Also, does anyone know of a standard SAP transaction we can call from the Webgui that would have a similar setup...with an ALV grid containing editable and non-editable fields? We would like to rule out any errors in the report itself. Since it worked before we upgraded and it works fine in ECC. This would be a really big help too.
    Thank you so much!
    -Kevin

    Hi,
    Thanks Raymond, I have seen Note 314568. I could not get the second link to work but I have looked at just about every Note in reference to Integrated ITS 7 and Tables or ALV Grids and there are very many, so it would appear that SAP has had a hard time with implementing this control, but I have not seen any instance that matches the problem we are having.
    Unfortunately, SAP will not investigate this unless we can provide a standard Transaction that exhibits the same behavior.
    If anyone knows of a standard SAP Transaction that displays an ALV Grid that is wider than the screen (requiring a horizontal scroll bar) and with editable and non-editable fields, that would be fantastic. If we can test against that, then we would know for sure if this is a problem with ITS / SAP GUI for HTML, or if there is an issue with this specific report.
    Thanks!
    -Kevin

  • Image not displaying properly for SAP GUI for HTML transaction iview

    Hi,
    We have a sap gui for HTML iview for transaction REORRR in portal. After giving enough inputs this leads to Business Document Navigator screen(part of Document management) where i need to display a document(.jpg image in this scenario). When i double click on the image it is opening on the right side of the screen but in a compressed format where in we need to scroll down to see the image. But i would require the image to display with out scroll bar or in a new window.
    When i change the format of the iview as SAP GUI for Windows the image is opening in a new window.
    I would like to know whether there is any configaration settings either in portal or in Document management side. or is this any limitation of the SAP GUI for HTML scenario.
    regards
    Bharat.

    Hi,
    You can open this iview in a new window make the setting in the iview properties that will allow the iview to be opend in a new window.
    Regards,
    Vamshi.

  • How to hide the menu bar from a Transaction iView (SAP GUI for HTML).

    Hello all,
    I have created a simple SAP Transaction iView of type SAP GUI for HTML.  This iView has the Menu bar that has the buttons: Menu, Back, Cancel, and System.  My requirement is, I dont want to see the menu bar that has these buttons.  How do I go about it?  Please advice.
    Note:  My iView is a SAP Transaction iView and not IAC service related iView. 
    Thanks
    Vicky R.

    You'll want to set the parameter ~webgui_simple_toolbar in your webgui service.
    It is a binary parameter with the following values/options:
    0  : Hiding the page header completely (not recommended)
    1  : Standard setting
                        This is the recommended standard setting in which the title and the menu bar below it with the [Exit] and [Help] button and the application buttons are displayed.
    2  : Displaying the title line
    4  : Displaying the buttons [Exit] and [Help]
    8  : Displaying the active system buttons on the screen ([Back] and [Cancel])
    16  : Displaying the system menu
    32  : Displaying the application buttons
    128 : Deactivating the information block in the status bar (new)

Maybe you are looking for