Selector for layouts??

Hi all,
I have <b>two different layouts from the same package</b> and would like to <b>use "selector for layout" so end usuers can switch layouts.</b> I created a SELECTOR and tried to assign these two layouts to it but got an error message-<b>'selectorxxxx is not used'</b>. Can someone advise me how to make it work. Thank you.
J.

Hi John,
You cannot assign the layouts in the selector itself.
The referencing layouts would be entered automatically in the selecotr.
1) First of all create one layout, say L_LAY1.
2) Then create the "selector for layout". Enter the properties area and level.
3) Now set the default value of the layout selector using F4-Selection to one of the layouts. Select one of the parameter group.
4) You would now see the property "Referenced Component" to L_LAY1.
5) At runtime, this layout would be changed as per the selection made in the layout selector.
Regards!

Similar Messages

  • How do I use the z parameter instead of component's stack order for layout?

    Hi,
    In my current project I am already using the cool new 3D properties (z/rotationX/rotationY/rotationZ) of the Flex 4 SDK. It really makes fun playing
    around with them, but it is actually pretty annoying that elements that ought to be postioned on top of each other with different z-values are displayed according to their stack order (the positon with respect to to their DisplayObject-siblings). This leads to the non-realistic appearance of objects that should be positioned in the back of the scene right on top of everything else.
    The only solution for this problem is to manually set the z-order in which I want the objects to appear on the screen by using the removeChild()/addChild() methods of the parent-container. This is not only annoying but quite expensive and additionally non-dynamic.
    Is there any means to make a container use its children's position in space for layout instead of its "z-stack"? If not, I would consider this as a bug, at least when it comes to 3D placement of objects.
    Thank's for any hints and best regards,
    Manuel Fittko

    If you are running the broker as a Window's service then
    jmqsvcadmin install -jrehome (or -javahome) is the correct
    way to specify an alternate JRE. If you are running the broker
    directly on the command line then you can use -jrehome directly
    with the jmqbroker command.

  • How to set percentage size for layout? for example : VBox,HBox,AnchorPane,.

    how to set percentage size for layout? for example : VBox,HBox,AnchorPane,......
    like HTML
    &lt;div width=&quot;640px&quot; height=&quot;480px&quot;&gt;
    &lt;div widht=&quot;50%&quot; height=&quot;60%&quot;/&gt;
    &lt;div widht=&quot;30%&quot; height=&quot;60%&quot;/&gt;
    &lt;div widht=&quot;20%&quot; height=&quot;60%&quot;/&gt;
    &lt;/div&gt;
    -----

    This is not supported. You can file a feature request at http://javafx-jira.kenai.com

  • Prompt used as view selector for multiple reports

    Hi All,
    Can a dashboard prompt be used as View Selector for multiple reports? If yes, please let me know how?
    Thanks
    Sumita

    Hi Sumita,
    You can do this with Dashboard prompts, but it's a little tricky. I'll highlight the process below. Keep In mind I assume you have three reports already created and have three views: View 1, View 2 and View 3.
    Phase I: The Dashboard Prompt
    1. Create a new dashboard prompt.
    2. Add any single column to your prompt. It doesn't really matter which one (just make sure nothing is prompted on it to be safe).
    3. For the sake of this example, I'll assume we added column: "Test Folder"."Test Field"
    4. Make sure your Operator is "is equal to/is in"
    5. Make sure the control is "Drop-down List"
    6. Change the Show to "SQL Results"
    7. Write a SQL statement similar to the following (TEST =<your subject area>, "Test Folder"."Test Field" = <your column>):
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 1' END
    FROM TEST
    UNION
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 2' END
    FROM TEST
    UNION
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 3' END
    FROM TEST
    **Note: The reason why we need to do the CASE statement is because every logical query needs at least 1 presentation column. The case statement is a way to include the presentation column, but since the statement 1=2 is never true, we always use the ELSE condition.
    8. Set a presentation variable. Call it VIEW_PVAR
    9. Have the Prompt default to Specific Value: View 1
    10. Save the Dashboard Prompt and put it into the Dashboard with your reports.
    Phase II: Filter Reports
    1. Create a new Answer request
    2. Bring in your test column twice
    3. Change the formula (fx) on the second column to be: '@{VIEW_PVAR}{View 1}'
    4. Now add a filter to the presentation variable column
    5. Set the operator to "is equal to/is in' and set the value to: View 1
    6. Save the Request as "View 1 Filter"
    7. Change the value in the filter to: View 2
    8. Save the Request as "View 2 Filter"
    9. Change the value in the filter to: View 3
    10. Save the Request as "View 3 Filter"
    Phase III: Guided Navigation
    1. Create three sections in your dashboard
    2. Rename each section to: View 1, View 2 and View 3 respectively
    3. For each of the sections, do the following:
    3a. Click on properties
    3b. Click on Guided navigation
    3c. Set the Guided Navigation to the appropriate Filter report
    4. For each of the three sections, do the following:
    4a. Add in all three requests
    4b. Click on the request properties and select Show and the appropriate view for that section
    5. Save your changes to your Dashboard
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • [svn:fx-trunk] 11548: MXFTEText. css now has a type selector for FTEDataGridItemRenderer that matches the one for DataGridItemRenderer in the MX default .css file.

    Revision: 11548
    Author:   [email protected]
    Date:     2009-11-06 16:35:27 -0800 (Fri, 06 Nov 2009)
    Log Message:
    MXFTEText.css now has a type selector for FTEDataGridItemRenderer that matches the one for DataGridItemRenderer in the MX default.css file. Both set paddingLeft to 5.
    QE notes: None
    Doc notes: None
    Bugs: SDK_22741
    Reviewer: Alex
    Tests run: ant checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/MXFTEText.css
        flex/sdk/trunk/frameworks/spark-manifest.xml

    AN UPDATE ON MY ISSUE:
    It appears to be limited to Dreamweaver. When I upload the files to my server and use BrowserLab or Microsoft SuperPreview the pages are rendering properly in all versions of IE. It's only broken when viewing in Design view within Dreamweaver or when using BrowserLab from within Dreamweaver. So at least I know my website works, which is a huge relief, but does anyone have any idea why Design view would complete ignore my styles? It's very annoying.

  • F4 help for layout parameter

    Hello Experts,
    I m using one parameter for layout like in std report MB51 & put F4 help for that.
    My problem is when user select from layout it is working fine but when user ENTER FROM KEYBOARD it is not accepting the layout..
    My code is
    PARAMETERS :p_layout LIKE disvariant-variant.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
      PERFORM alv_f4 USING sy-repid p_layout.
    FORM alv_f4 USING p_report CHANGING p_layout.
      l_layout-report = sy-repid .
    dynfields-fieldname = 'P_LAYOUT'.
      append dynfields.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname               = sy-cprog
                dynumb               = sy-dynnr
                translate_to_upper   = 'X'
           tables
                dynpfields           = dynfields
           exceptions
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                invalid_parameter    = 7
                undefind_error       = 8
                double_conversion    = 9
                stepl_not_found      = 10
                others               = 11.
    read table dynfields with key fieldname = 'P_LAYOUT'.
      p_layout = dynfields-fieldvalue.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = l_layout
          i_save     = 'A'
        IMPORTING
          es_variant = l_layout
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        p_layout = l_layout-variant.
      ENDIF.
    ENDFORM.
    Plz suggest where i m wrong.
    Ravi

    Hi,
    Refer this code. It will definitely help you.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/learn%252bto%252bdisplay%252bdata%252bin%252balv%252bgrid
    Check the use of variant in ALV.
    Regards,
    Tarun

  • Why do we have separate selectors for "from" and "smtp server" these days?

    A while back we shifted our email from our own domain and virtual server to gmail.  As was the case using our own domain, we still have two seperate "from" names in a selector above the body of an email being composed, but now the selector for the SMTP server has two possibilities, both "smtp.gmail.com" but one ending with ":[email protected]" and the other ":[email protected]".  So now we have the possibility of sending emails with the email addresses "crossed" between the two selections.  Since both accounts use "smtp.gmail.com", is there a way to reconfigure the Apple Mail accounts so that there's only the "from" selector and not two entries in the server selector?

    Open up Mail's preferences. Under the Accounts tab, highlight one of the accounts. Each account should have their own SMTP server with the correct user I'd and password. If not, create one for each by editing the SM TP list. With the correct server shown in the list for the account highlighted, check the box to use only that server for that account. Repeat for the other account. You will still have 2 accounts in the server list, but it will automatically send from the correct server unless you have problems. If so, you will be given the option to use the other.
    Under the composing tab, select the appropriate account to send new messages from. You will probably want it set to send from the selected account.
    There is another way with gmail. You can go into gmail's settings. In settings for one account, you can add the other address to it for sending messages and set it to show the correct account it is sent from. I haven't had a gmail account in years, so you will have to explore that option for yourself if you wish to use it. Then you can use the same server for both accounts.
    You can also go in to settings for the second account and add the other to it. That way it will always show the correct address no matter which server an account uses.

  • [svn] 2210: Fix for layout issue of AIR apps on mac when only width or height is

    Revision: 2210
    Author: [email protected]
    Date: 2008-06-24 11:56:52 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Fix for layout issue of AIR apps on mac when only width or height is
    set on root WindowedApplication tag.
    Bugs: SDK-14643.
    QA: Yes, very much so.
    Reviewer: Ryan
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-14643
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/core/WindowedApplication. as

    Updates:
    I've opened a bug with Adobe regarding this issue:
    http://bugs.adobe.com/jira/browse/FP-4362
    Also, the Cancel operation on a FileReference causes the same issue to happen as does loading.  I really think it's an operating system focus issue.
    UPDATE:
    Looks like this has already been tracked and is scheduled to be fixed:
    https://bugs.adobe.com/jira/browse/FP-2785

  • Where to get overview of css selectors for skinning?

    Hi,
    I've just started to try some skinning for ADF Mobile as described in the developer's guide section 5.12. The basics work fine and I grabbed an example from the skinning sample project.
    Now that this is working I'm looking for all the available CSS selectors for skinning. Is there a list somewhere in the documentation or a way to find out the classes at runtime. Since I can't get access to the DOM tree with my favorite inspectors I can't think of a way to find the available selectors.
    Has anyone found a way to list all available classes/selectors?

    The easiest way is to get the Javascript debugging working. I've replied to the post on that thread to get that moving forward (you need to use Safari, not Chrome).
    We are currently still producing the documentation for the css selectors and this wasn't ready for the preview.

  • Dynamic selector for MDB

    Hello,
    I want to achieve the following using JMS,
    Receiving messages from producers with specific criteria, ex. give me only messages that have date less than now.
    if I used MDB then I have the choice of setting the selctor only one time, is there a way to set it from time to time.
    If not then how do I achieve that using a combination of session beans and MDBs.
    Becasue I want to do some processing on the messages received of that criteria then resend them to other receivers.

    Generally you cannot do this. The selector syntax does not allow comparisons against System.currentTimeMills(), and consumers don't allow changes to the selector. Within the specification, the best one can do is recreate the consumer over and over again. This is of course made even worse in that selectors for MDBs are buried inside a deployment descriptor. Nasty stuff.
    WebLogic JMS allows you to specify a delivery time on a message. However it is considered an extension. Other vendors may have a similar feature, but there is no common API for it.

  • [svn:fx-4.x] 14727: Add missing selectors for air in MXFTEText.css.

    Revision: 14727
    Revision: 14727
    Author:   [email protected]
    Date:     2010-03-12 06:36:58 -0800 (Fri, 12 Mar 2010)
    Log Message:
    Add missing selectors for air in MXFTEText.css.   layoutDirection=rtl didn?\226?\128?\153t work in WindowedApplication if the width wasn?\226?\128?\153t explicitly set. WindowedApplication was using the internal _width variable in UIComponent rather than the setter so the mirroring transformation was being applied with a width of 0 ?\226?\128?\147 hence a blank screen.
    QE notes:
    Doc notes: None
    Bugs: SDK-25829, SDK-25735
    Reviewed By: Jason
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25829
        http://bugs.adobe.com/jira/browse/SDK-25735
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
        flex/sdk/branches/4.x/frameworks/projects/spark/MXFTEText.css

    Sorry about that. I am not exactly sure where the problem is, but I know it takes place after I put the <nav> in (in the html portion). If I understand what I am learning, the CSS at the top will structure my html code so I would have thought the CSS tageting my nav would be the focus. Maybe it is a different section though.
    CSS part:
    nav p {
    font-size: 90%;
    color: #FFC;
    text-align: right;
    font-weight: bold;
    background-color: #090;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #060;
    HTML part: (bold italic is the part I added)
    <body>
    <div class="container">
      <div id="apDiv1"><img src="Lessons/images/butterfly-ovr.png" width="170" height="158" alt="GreenStart Logo"></div>
      <header></header>
      <nav>
        <p>Home | About Us | Contact Us</p>
      </nav>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="#">Green News</a></li>
          <li><a href="#">Green Products</a></li>
          <li><a href="#">Green Events</a></li>
          <li><a href="#">Green Travel</a></li>
          <li><a href="#">Green Tips</a></li>
        </ul>

  • Is there an RI that uses div s for layout instead of table s?

    I am using Struts Tiles, DWR, script.acu.lous drag and drop and JSF.
    So, my problem is that since I have incorporated <f:verbatim>, the page is being rendered incorrectly and I don't know how to recombine it back to look like it should. The layout I am doing has a header at top, left hand column for navigation and content well in the middle. Essentially, this boils down to, in JSF, a table row with one table data element for the header and one table row with two table data elements for the nav and content. In the content well, it utlizes a JSF subview with JSF components and then below this a JSF subview with a JSF <f:verbatim>. On the pages that I don't use <f:verbatim>, the layout renders correctly. The rendering problem is that when the markup is rendered, the <f:verbatim> tag is rendered outside the <f:view> with the other JSF subview in the content rendered correctly in the layout. In other words, the whole page except the <f:verbatim> is rendered in a <table>. I understand, from an onjava article, the JSP and JSF rendering occurs in parallel and I am guessing this might be the problem. The page is rendering now with the header in the right place, the nav not behaving like it used to but in the correct place, the portion of the content that is a bunch of JSF components is located to the right of the nav. The <f:verbatim> that should be rendered directly below the JSF components on the content page and to the right of the nav is rendered under both the nav and JSF components outside the <table>.
    Is there a RI that uses divs to do layout instead of tables?
    OR
    How can I get the <f:verbatim> back into the flow of the page so everything is lined up correctly?
    Please feel free to yell at me if this is addressed in another thread. I will search for it if this is the case. I haven't had the time to do a thorough search.
    Regards,
    Dan
    sidenote: Using tables for layout is not considered good web design. There are plenty of sites that illustrate use of CSS for layout. I find this a little strange since Sun is always promoting best practices and then it doesn't embrace other industry best practices. This seems more like a MS bullying tactic, but maybe Sun and MS are one in the same.

    Cool. That is a great move. The only concern I have now is that there aren't any containers out that support JSP 2.1 and Servlet 2.5 to enable JSF 1.2 except for glassfish. I am using tomcat and not a heavy weight application server. I couldn't find a roadmap on Apache either for Tomcat to know when they will be coming out with Tomcat 6 I imagine. Is there an article or tutorials out yet that demonstrate how to markup a page with the new specification? That yould help. The more I think about using custom components, the more I lean towards using the standard.
    Thanks for the heads up. Now I have to think about setting up glassfish and migrating from tomcat unless there is other news I am unaware of =P.
    Dan

  • Components for Layout...

    * JavaServer Faces includes components for
    doing layout, and will (before final release)
    add editable tables to the mix. If you need
    a tree control or a menu, you can build (or
    acquire) a component that will do it for you,
    and that component will interoperate with
    Faces-based components from other sources,
    thanks to the fact that they will share the
    same underlying API standards.What exactly is meant by Components for Layout? I can understand that there will be some components that represent a tree view, but layout in my opinion deals with the layout of hmtl pages and what should that exactly mean?
    thanx,
    sven

    * JavaServer Faces includes components for
    doing layout, and will (before final release)
    add editable tables to the mix. If you need
    a tree control or a menu, you can build (or
    acquire) a component that will do it for you,
    and that component will interoperate with
    Faces-based components from other sources,
    thanks to the fact that they will share the
    same underlying API standards.What exactly is meant by Components for Layout? I can
    understand that there will be some components that
    represent a tree view, but layout in my opinion deals
    with the layout of hmtl pages and what should that
    exactly mean?
    Try out the MyFaces (= Open Source JSF Impl.) examples application:
    Go to "Options" page, change the layout and see what happens!
    Manfred
    mailto:[email protected]

  • Wats d in-built print PROGRAM name for layout MEDRUCK???

    wats d in-built print PROGRAM name for layout MEDRUCK??? and can we change it??
    wat shud we do if we want2 change it??
    i mean...assume we got a scenario in which we need ta use MEDRUCK layout n print progrm n change some text in it.. and d address  and header in it..
    how cud we do dis??

    Hi ,
    The print program name for 'MEDRUCK' is <b>SAPFM06P</b>, it is not advisable to change the print program instead if you want to do any changes use Subroutines in the layout. Eg : PERFORM <Subroutine name> in PROGRAM <pname> USING <in_variables>
                   CHANGING <out_var>
    ENDPERFORM.
    Srini

  • [svn] 3734: Fixing advanced CSS descendant selectors for the alpha release.

    Revision: 3734
    Author: [email protected]
    Date: 2008-10-17 22:13:34 -0700 (Fri, 17 Oct 2008)
    Log Message:
    Fixing advanced CSS descendant selectors for the alpha release.
    - We now check descendant types against any superclass.
    - Removed StyleProtoChain.getClassStyleDeclarations()'s recursive "Class" lookup for each superclass of an IStyleClient during the search for type selectors in the hierarchy. This was replaced with a simple describeType-based description (called once per type).
    - Added a method to report whether any advanced styles had been registered with the StyleManager to optimize style declaration matching for the default case of simple style declarations.
    - Removed advanced selector cache key calculation from StyleProtoChain in favor of the legacy simple type level cache. Future work may be required to cache advanced, display list sensitive style information.
    - Fixed the specificity calculation for global selectors.
    QE: Yes
    Doc: No.
    Checkintests: Pass
    mxunit styles tests: Pass
    select mustella styles tests: Pass
    Reviewer: Glenn
    Bugs:
    SDK-17351 - [Advanced CSS] Descendant selectors don't work for Application
    SDK-17361 - [Advanced CSS] If you use descendant and id selectors together, the id selector doesn't work correctly
    SDK-17385 - [Advanced CSS] If you use descendant and class selectors together, the class selector doesn't work correctly
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17351
    http://bugs.adobe.com/jira/browse/SDK-17361
    http://bugs.adobe.com/jira/browse/SDK-17385
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

Maybe you are looking for

  • Communication between classes ???

    Hi I am facing problems in establishing communication between java classes. My application consists of 4 java classes in following sequence. Sockets main() of java UI called JavaUI calls execute class;s func Execute() Client ---------------------� se

  • Oracle Fault Management Framework - how to intercept first invocation

    I know the Oracle Fault Management Framework is only activated on faults that occur on invokes. Which is fine for all internal calls. However, is there any way to get the framework to be activated on the very first invoke? I want to be able to get th

  • IPhoto 7.0.1 Embedding photos in Entourage

    When sharing photos from iPhoto to Entourage, the images are not displayed in the body of the email. The jpg file names are shown in the attachment box and as text in the email. Suspect this is an HTML vs Text format issue, but not clear where to set

  • How to factory unlock my iphone 4

    iphone detail iphone 4 carrier: t mobile orange (UK). IMEI : 01 2756008181151 please help me.

  • How does Reference Field work?

    Hi All, I have short of problem knowing how reference field works. I have one field in ABAP query: MBEW-STPRS. The field type is CURR and it have reference field T001-WAERS. In query I made, the currency isn't occurs although I have set it to be disp