No Overlap Container Component

I want to write a component that will allow children to be added, but will prevent them from overlapping. I have played around with a few collision detection type things, but I haven't been successful. I'm posting this to see if I can get some feedback, ideas, brainstorming about this.
Ideally I'd like children to be positioned randomly or by a "layout function" (that could be customized).
Thanks in advance.
EBN

Hi,
how do I get the SAP Netweaver AS ABAP 7.1 product to show up as installed on the server in SLD if it was already installed - see products are assigned to technical system.........so for a AS ABAP 7.1 system, login to that ABAP system and by transaction RZ70 publish it to your XI system SLD......then you can see all the product and sw component installed on this ABAP system in the technical system of WebAS as ABAP type in your XI SLD.........then you can create a business system for it and add all the sw components to this business system which are in the products coming in its technical system.
What if the product was a home grown product such ZMYPRODUCT ? - why will you need to do this for a AS ABAP system........this thing will be required for a third-party system and so it can be manually added in the technical system for your third-party system in SLD.........
Regards,
Rajeev Gupta

Similar Messages

  • Jpanel overlap Forms Component

    Hi all,
    I'm using forms 11g, now i try to add one JPanel (Swing) to DrawPanel (Oracle forms DrawPanel), I add the panel first after that I add other Forms component such as VTextField, VBUtton, after that I change Z-order of JPanel to last index (because i want Jpanel will be overlapped by other forms components) .
    But the result always show the JPanel overlap Form Component.
    For more detail you can view this link : [http://stackoverflow.com/questions/7764532/jpanel-overlap-other-components]
    Thanks in advance
    Best regards,
    Edited by: 891733 on 21:05 16-10-2011

    Hi,
    When i change JPanel to Forms DrawnPanel, i still got this problem,
    And i've already added this post to Java Programming Thread
    jpanel overlap Forms Component

  • EdgeMetrics or viewMetrics from a Spark Container/Component?

    Is there a way to get the edgeMetrics or viewMetrics from a spark container like there was in Flex 3?
    Thanks,
    - Cliff

    The only way I've found to pass properties or styles to a skin is through CSS or extending the host component and adding the styles or properties onto it. However this seems like a hack. Shouldn't the skin expose it's configuration to the host component? I think that is what Flex themes are doing.

  • 7.0 detailed description of business roles or a role containing component

    component CRM_OI_TEMPLDSG (document template designer) in transaction BSP_WD_CMPWB
    We are using this component (launching manually from the t-code) but trying to find if any of the delivered business roles in CRMC_UI_PROFILE have this defined?   Similiar, I saw a web demo where the roles could be created from the web ui as well as assigning to the org model but not sure what the out of the box role is with these rights.

    Hi Srinivas,
    I think you can do this by config.
    Path: SPRO > SAP supplier Relationship management> SRM server--> POWL and Advanced Search --> Adjust POWL Layout, Search Criteria, and Pushbuttons
    in which you can define,configure your feeder and it's catalog, actions and other criteria , then make this feeder type available to application/role..
    Hope this helps..
    Thanks,
    Lavanya

  • How to control the display of container component like panelgrid,panelgroup

    hi,
    i am trying to place panelgroup containing commandlinks at the center of the web page.these commandlinks are left align in the container.
    how can i achive this?
    thanks in advance.
    Ajit

    Correction!  Thanks to Doug Welsby of Microsoft and some our other MS friends who worked behind the scenes to correct/ assist me on this, I got the right answer after all... the difference between, example a French oData command/ statement,
    and an English one is the inclusion of the square brackets with the language abbreviation/ code e.g., "[Fr..]" in the oData connection string/ statement.  For further reference, see the connection files provided by Microsoft in the Reports and
    compare the syntax for the same report/ different language.  There is where you will see what and how Excel is able to differentiate/ control what language that the report result will return.
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

  • How to contain a sub-component in the module instead of containing it in the main application

    Hi,
    I've 3 files
    Appln.mxml (application file)  ----  contains main application
    component.mxml (component file)  ----  contains component
    module.mxml (module file)  -----  contains module
    Generally the 'component.mxml' file will get loaded into the 'Appln.mxml' file (i.e., 'Appln.mxml' file will contain the custom component files) and whereas module file will get loaded on-demand.
    So Now instead of containing the data of 'component.mxml' file in the 'Appln.mxml',  I want to contain 'component.mxml' file data in the 'module.mxml' file itself and load the 'component.mxml' when module is loaded on-demand but not when application is loaded. So can any one please suggest me how to do it?
    Thanks in advance..

    Theo--
    You can delete software components & versions from the IR in XI 2.0.  (We're on Service Pack 5, and I've done it to clean up our IR.)
    Here is the process:
    1. Delete all configuration and/or import objects from the SCV.  Don't forget the 2 fault data types that SAP automatically creates in every namespace.
    1a.  Activate all change lists?  I don't remember for certain if this is needed here; if it won't let you save the deleted namespaces in step 2, then do this first.
    2. Double-click on the Software Component Version so that it comes up in the right pane.  Click on the change/edit button.  Delete all the namespaces from the SCV.  Save.
    3. Activate all change lists.  (It won't let you delete the SCV if you have uncommitted changes.)
    4. Open the SCV again (if it's not still open).  On the menu at the top of the right pane, go to Software Component Version...Delete.  You may or may not have to activate changes again.
    If I remember right, the software component will disappear automatically with the deletion of the last version.
    Hope this helps!
    --Dan King
    Capgemini

  • Is component a container

    Hi,
    I want to stream line my project's deployment process .To do that I need answers for the following questions
    I have hard time understanding(in deployment perspective) component,service unit(Service assembly) parts in JBI specifications.
    1. Is it true that a component is a container?Is JBI container is the container of different component containers?
    2. When we create a WSDL in any BC/SE, it creates a new service in that component.Where dose this new service gets created? is it in the component container or A separate process in the JBI container?
    3.What is the architecture of each new service that's get created in the componenet container? is it a process based(like CGI) or thread based(like servlet) or component based(Like EJB).
    When I was working in following scenario
    client sends SOAP-->HTTPBC-, HTTPBC-->external service (a service(adding two integers) deployed in different environment).
    4. How does component works here.is it still creates the new service in the component and that new service connects to the external service?or it directly connects to the external service
    5.Are there any deployment guidelines for JBI in general?
    Thanks,
    Jay

    Hi,
    1. Yes, component can be container.But not all components can be containers.Those components that don't either have a fixed set of services offered , or use other mechanisms to dynamically vary their behavior can become Component Containers.To become a container component should implement ServiceUnitManager Interface.
    Ex: XML transformation service engine, which uses XSLT as the way of specifying new transformation types that the component offers as a service. In this case, as new XSLT style sheets are deployed to the service engine using Service Unit. Here we are adding new service so XSLT SE component.So, XSLT SE is a container.
    2. In a JBI Environment (Correct me).
    3. Think it as a new runtime class that's get generated at the time of Service Unit startup(Correct me).
    4. No,it will not create any new service.It uses external service's WSDL(Which supplied during Service Unit Deployment) to send request to external service .
    Thanks,
    Jay

  • Overlay two images in the same container

    Hi,
    I don't know if it's possible, but in my webdynpro application I have a transparent container with an image, amont other stuff, inside. I've created the image as a cl_wd_link_to_action object, because when the user clicks over it, an action is triggered.
    My question is if it would be possible to add another image to the container, so both images are overlapped. For example, suppose you have an image representing a document and after it is reviewed, a tick icon appears over the document image.
    Is this possible?

    Am not sure with dynamic programing, even don't have clue regarding overlapping one component with another. Alternatively I can suggest you to place two images which can toggle visibility in between them when clicked

  • Null pointer exception in embedded component

    Hi all,
    I am trying to build a custom component that serves as a container. Unfortunately I consistently hit a null pointer exception in javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion when my custom component contains a JPanel.
    You'll find below the smallest code that reproduces the problem and the exception that comes with it.
    In my testing I noticed few things:
    - If the contained object is simple (a JButton for example), there is no problem.
    - When I turn off double buffering, there is no problem.
    - I figured out that I need to set the contained component size and its internal components to have it display properly.
    I can't figure out what would make this work.
    I'm using JDK 6.
    package test;
    import java.awt.*;
    import javax.swing.*;
    public class Test {
         public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
         private static void createAndShowGUI() {
              // internal panel
              JPanel lPanel = new JPanel();
              JButton lButton = new JButton("Button 1");
              lButton.setSize(lButton.getPreferredSize());
              lPanel.add(lButton);
              IntComponent b = new IntComponent(lPanel);
              JFrame lFrame = new JFrame("internal panel test");
              //RepaintManager.currentManager(null).setDoubleBufferingEnabled(false);
              lFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              lFrame.getContentPane().add(b);
              lFrame.pack();
              lFrame.setVisible(true);
    class IntComponent extends JComponent {
         private JComponent mInternalComponent;
         public IntComponent(JComponent iComponent) {
              mInternalComponent=iComponent;
              mInternalComponent.setSize(mInternalComponent.getPreferredSize());
         public Dimension getMaximumSize() {
              return getPreferredSize();
         public Dimension getMinimumSize() {
              return getPreferredSize();
         public Dimension getPreferredSize() {
              return mInternalComponent.getPreferredSize();
         protected void paintComponent(Graphics g) {
              mInternalComponent.paint(g);
    }Exception:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion(BufferStrategyPaintManager.java:406)
         at javax.swing.BufferStrategyPaintManager.endPaint(BufferStrategyPaintManager.java:370)
         at javax.swing.RepaintManager.endPaint(RepaintManager.java:1192)
         at javax.swing.JComponent.paint(JComponent.java:1016)
         at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
         at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
         at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
         at java.awt.Container.paint(Container.java:1797)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    import java.awt.*;
    import javax.swing.*;
    class Test {
      public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
      private static void createAndShowGUI() {
        JPanel lPanel = new JPanel();
        JButton lButton = new JButton("Button 1");
        lPanel.add(lButton);
        IntComponent b = new IntComponent(lPanel);
        JFrame lFrame = new JFrame("internal panel test");
        lFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        lFrame.getContentPane().add(b);
        lFrame.pack();
        lFrame.setVisible(true);
    class IntComponent extends JComponent {
      private JComponent mInternalComponent;
      public IntComponent(JComponent iComponent) {
        mInternalComponent=iComponent;
        setLayout(new FlowLayout());//<--added
        add(mInternalComponent);//<--added
      public Dimension getMaximumSize() {
        return getPreferredSize();
      public Dimension getMinimumSize() {
        return getPreferredSize();
      public Dimension getPreferredSize() {
        return mInternalComponent.getPreferredSize();
      protected void paintComponent(Graphics g) {
        //mInternalComponent.paint(g);//<--error from this
        super.paintComponent(g);//<---added
    }

  • Error with TaskSearchFilter using Java APIs in custom component

    I have created a custom Java component for use in LC Process Mgr.
    Upon invoke of process containing component, component fails with the following message:
    2011-02-28 16:28:31,260 ERROR [com.adobe.workflow.AWS] Cannot coerce object: [email protected]41 of type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter to type: class com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter
    Code is pretty basic:
            ServiceClientFactory myFactory = ServiceClientFactory.createInstance();
            TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(myFactory);
            TaskSearchFilter filter = new TaskSearchFilter();
            filter.addCondition(TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");
            List<TaskRow> result = queryManager.taskSearch(filter);
    Error seems to occur with the creation of the List. This code works ok when run as standalone file in either Eclipse or Netbeans but not within the component.
    All necessary JARs are included and are listed in the class-path in component.xml.
    Does anyone have any ideas?
    Thanks,
    David

    Looks like a class loader issue.  Usually this is caused by having the a class (TaskSearchFilte) in your component that on the server.   In other words there are two copies of the TaskSearchFilte class - yours and the one already in LiveCycle - and they are in conflict.
    If that's the case, the solution is simple:
    remove the jar files containing the TaskSearchFilte (and any other LiveCycle clients) from your component's jar file.  You may need them in the build path, so your code can compile - but you don't need them in the final component jar.
    remove the references to these jar files from the component.xml file's class-path entry
    add an import-packages section to your component.xml file.  This will not reference the jar files, but the package names themselves.  For example:
    <import-packages>    
         <package version="1.0">com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter</package>
         <!--  add more as needed -->
    </import-packages>

  • How to set a component as a parameter

    Hi everybody!
    I need to make a component that could get an another component as a parameter or smth like that. So i could use like a content place holder in ASP.net.
    How can I do it?

    hi,
    This may help you, its basically a component that you instantiate and add an image to it.
    http://gumbo.flashhub.net/pagedrop/   source included
    the code is far from 'clean' but framer.mxml is a container component that can take a frame type and an image as its children
    David.

  • Update JScrollBar Extent when JScrollPane Component Changes Preferred Size

    Hi folks,
    I have an interesting, but concise problem that I've been working on for a few days but haven't had any luck.
    In Java 1.5 or Java6, I have a JScrollPane which contains a JPanel. The settings of the scrollbar (for example, the Extent [the width of the "thumb" or "slider" on the scrollbar]) are determined based on the dimension of the underlying contained component, in particular, the Preferred Size.
    My problem is this. The underlying component has a "zoom" capability, such that the actual size of the component can and does change (i.e., zooming out reduces its preferred size).
    Happily, the consequence of this design is that the "size" or extent of the scrollbar sliders/thumbs adjusts to give visual indication of the proportion of the current view (ViewPort View dimension) to the underlying component's dimension.
    The problem is, the scrollbar sliders do NOT automatically update their size in response to programatically changing the JScrollPane's contained component's PreferredSize. They WILL be updated if I RESIZE the parent JFrame manually.
    But for the life of me, I can't get those sliders to update programatically. I've tried repaint(), update, validate(), etc. on the JScrollPane but no luck.
    I've done a debug to get into the stack trace of the Sun code during run time, and there's a lot going on... there's a doLayout(), a reshape() (deprecated), firing various property changes, but I just can't seem to find a good hook into getting the scrollbar to update its internal Bounds model and repaint accordingly. Calling setBounds() on the JScrollPane I think would trigger it, however, looking at the code.. it seems to ignore firing property events and repainting of the bounds themselves didn't actually change (i.e. no action happens if the current dimension and specified dimension in the argument to setBounds() are the same).
    Any ideas here on how to this to get those sliders to update programatically with a new value for the extent?
    Thanks,
    --Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Understood! It was my intention to give credit and now I'm happy to do so! I've now assigned the Duke Points. Minor usability issue, it was not obvious how to do this the first time (and I did poke around a little before I gave up earlier in the day, reverting to just assigning him the correct question). I've got it now though! Thanks again--definitely knocked out an issue I was having today and allowed me to move on to add'l development work today.
    All the best!
    --Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • My custom component not clickable

    Hi,
    I'm creating custom component and when I add it to page I can't click it. When I add it to the bottom of page, the parsys overlaps this component and when I add component behind my custom component, it overlaps it too which means I can't edit/delete my cust. component. What am I doing wrong? Here is the code
    <%@include file="/libs/foundation/global.jsp"%>
    <%@page import="com.day.text.Text" %>
    <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%
    String home = Text.getAbsoluteParent(currentPage.getPath(), 2);
    %>
    <p>
    <div class="download">
    <div class="fl mr30">
      <cq:include path="download-file" resourceType="project20130820v01/components/component_008_vybrat-soubor" />
    </div>
    <div class="fl">
      <cq:include path="download-file2" resourceType="project20130820v01/components/component_008_vybrat-soubor" />
    </div>
    </div>
    </p>
    and properties are set to this
    I'm thankfull for any help.

    After some test, I found that overriding value property in my custom component cause this proplem.Why overriding value property cause this problem?

  • How to determine Component materials for PO line item Materials.

    Hello friends,
    I woluld like to know the table name for getting the component Materials of a Purchase Order line item material.
    There is a table called RESB, which is containing the component materials for the PO line item materials. But this table is populating only after creating (saving) the PO.
    But, i have to do some validations on component materials, before saving the PO. For that i would like to know the table, from which the component materials will pick.
    Or
    Please provide some user exit names, which will contain Component materials, during the PO creation.
    Thanks in Advance.

    hi
    header BOM table - STKO ( u need to fetch BOM# from here)
    Item table - STPO ( pass the BOM # here and retreive all the item details)
    try using FM
    CS_BOM_EXPL_MAT_V2
    regards
    kunal

  • Change viewstack that is within a component

    Hi there. I have an app with the main nav (just buttons) in
    my main app file. I then have a custom component containing a
    viewstack. For some reason I can not change the viewstack from the
    main buttons.
    main.mxml (simplified for this)
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:comp="assets.components.*"
    layout="absolute"
    horizontalScrollPolicy="off"
    creationComplete="onInit()">
    <mx:Style>
    Application {
    backgroundColor: #4e7ee2;
    backgroundGradientColors: #4e7ee2, #3554a6;
    themeColor: #3554a6;
    color: #3554a6;
    </mx:Style>
    <mx:Script source="index.as"/>
    <mx:Image
    source="@Embed('assets/pix/silouetteExport.png')" id="bg"
    alpha="0.30" bottom="0"/>
    <comp:MyLogo id="theLogo" top="200" right="-450"
    visible="false"/>
    <mx:VBox id="theMenu" top="205" right="-450"
    visible="false">
    <mx:Spacer width="100%" height="20"/>
    <mx:Button x="513" y="227" id="News" label="Latest News"
    width="125" click="handleSection()"/>
    <mx:Button x="513" y="257" id="Company" label="Company"
    width="125" click="handleSection()"/>
    <mx:Button x="513" y="287" id="Production"
    label="Production" width="125"/>
    <mx:Button x="513" y="317" id="Development"
    label="Development" width="125"/>
    <mx:Button x="513" y="347" id="Done" label="What We've
    Done" width="125"/>
    <mx:Button x="513" y="377" id="Services" label="Services"
    width="125"/>
    <mx:Button x="513" y="407" id="Contact" label="Contact"
    width="125"/>
    </mx:VBox>
    <comp:siteView id="sections" top="50" bottom="50"/>
    </mx:Application>
    Then in my included main.as (there will be more code later):
    quote:
    // ActionScript file
    import mx.effects.easing.Bounce;
    import mx.managers.CursorManager;
    //on creation complete function
    private function onInit():void {
    currentState='LogoIn';
    private function handleSection():void {
    currentState='SectionIn';
    sections.mySections.selectedChild=LatestNews;
    Then in the component it is simply:
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Box xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:ViewStack id="mySections" width="500" height="668"
    borderStyle="solid" borderThickness="20" borderColor="#ffffff"
    backgroundColor="#e6e6e6">
    <mx:Canvas label="LatestNews" width="100%" height="100%"
    id="LatestNews">
    <mx:Label text="Latest News"/>
    </mx:Canvas>
    <mx:Canvas label="Company" width="100%" height="100%"
    id="Company">
    <mx:Label text="Company"/>
    </mx:Canvas>
    </mx:ViewStack>
    </mx:Box>
    So the error I am getting is:
    quote:
    1120: Access of undefined property LatestNews.
    I suspect it has to do with the component not being
    initialized or something like that.... Any idea?

    Each component declaration creates a new scope. With your
    "LatestNews" component (i.e. the canvas) being declared in
    siteView.mxml, your container component (mx:Application), can't see
    it.
    Try:
    sections.mySections.selectedChild = sections.LatestNews
    That seems a little convoluted to me, though... there are
    better ways to do it. You could write some AS into siteView.mxml
    and have a public interface. Equally you could to move the
    declaration of the ViewStack components to the mx:Application
    scope, or use a singleton model, or a combination of events/event
    listeners etc.

Maybe you are looking for