Using existing components

hi
i have several components like Buttons,TextFileds,Labels,Tabs
etc. in separate class files. If i want to make a new class using
hose components and retain their properties like label name,width etc
Is it possible?? how can i do that??
Thanx in advance
Ashish

We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
HTH. Thanks for your interest in OEPE.

Similar Messages

  • How to use an existing data model using Business Components in OEPE

    I am a beginner in ADF. I am working on a project with an existing data model that uses Business Components (EO, VO and AM). I know that OEPE does not handle the creation of BC, so if I want to modify them, I will have to do that in JDev. That's fine.
    OEPE can create pages with drag and drop like in JDev. In my eclipse ADF projects, I would like to use the existing BC, to be able to use the bindings with ADF Faces. So far I have nothing in the Data Controls tab.
    How to import the BC into the Data Controls tab?
    JDev 11.1.1.6
    WLS 10.3.6
    Eclipse Kepler

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • I can't use swing components in my applets

    When I write an applet without any swing components, my browser never has any trouble finding the classes it needs, whether they're classes I've written or classes that came with Java. However, when I try to use swing components it cannot find them, because it is looking in the wrong place:
    On my computer I have a directory called C:\Java, into which I installed my Java Development Kit (so Sun's classes are stored in the default location within that directory, wherever that is), and I store my classes in C:\Java\Files\[path depends on package]. My browser gives an error message along the lines of "Cannot find class JFrame at C:\Java\Files\javax\swing\JFrame.class"; it shouldn't be looking for this non-existent directory, it should find the swing components where it finds, for example, the Applet class and the Graphics class.
    Is there any way I can set the classpath on my browser? Are the swing components stored separately from other classes (I'm using the J2SE v1.3)?
    Thanks in advance.

    Without having complete information, it appears that you are running your applets using the browser's VM. Further, I assume you are using either IE or Netscape Navigator pre-v6. In that case, your browser only supports Java 1.1, and Swing was implemented in Java 1.2. You need to use the Java plug-in in order to use the Swing classes (see the Plug-in forum for more information), or else download the Swing classes from Sun and include them in your CLASSPATH.
    HTH,
    Carl Rapson

  • Characters show up as boxes when using AWT components.

    Having installed on a Windows XP english OS the asian languages packs (with fonts included, from Microsoft) and knowing that with MS Gothic, Gulim and Simsun you can display japanese, korean and chinese characters it seems that on JRE 1.5 and up this is not possible (boxes appear instead) on any applet.
    How to reproduce:
    Label l2 = new Label("Japanese chars: \u8457\u4f5c\u6a29");
    Workaround:
    Step 1. Rename ..\jre\lib\fontconfig.properties.src to ……\fontconfig.properties
    Step 2. Modify the following line:
    sequence.allfonts=alphabetic/default,dingbats,symbol
    to
    sequence.allfonts=alphabetic/default,dingbats,symbol,japanese,chinese-ms936,chinese-ms950,korean
    How is this possible? On JRE 1.4 this was working. Also another fix is to use Swing components instead but this is not realistic for a big project.
    Any help will be greatly apprecied.

    The problem is related to the JRE v. 1.5.0_11 or greater. In JRE 1.4.2_13 for each language there was a configuration file that Java was using to determine which fonts to use for different categories of objects.
    The problem is encountered only for AWT components.
    Starting with JRE 1.5 (http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html) there is only one configuration file (fontconfig.properties.src) for all the languages. Since the character subsets supported by given fonts often overlap, in the file separate search sequence properties are used to define in which order to try the fonts when rendering a character. In the default version of the file this properties do not specify also the asian languages.
    We have to do the following things:
    *1.* You must first install into Windows the support for asian languages: Control Panel - > Regional and Language Options
    � On the Advanced tab add the conversion tables for all Asian languages (this action may not be required).
    � On the Languages tab check �Install files for East Asian Languages (this action is required)
    Restart the computer.
    *2.* Assure you have the needed asian fonts : batang(fopr korean), simsun, gulim, mingliu, msgothic(for japanese) installed.
    *3.* Rename ...\jre\lib\fontconfig.properties.src to ��\jre\lib\fontconfig.properties. By doing this the fontconfig.properties file will be used by the JRE as the default configuration file.
    *4.* Modify the following line:
    sequence.allfonts=alphabetic/default,dingbats,symbol
    to
    sequence.allfonts=alphabetic/default,dingbats,symbol,japanese,chinese-ms936,chinese-ms950,korean
    *5.* Assure that in the file the logical to physic font binding, binds to existing fonts.
    Obs: If step 1 is skipped the titles of the windows will still have boxes.
    Hope it helps.
    Donoiu Cristian

  • Existent components disabled for maintenance, EPM 11.1.2.2 11.1.2.3

    I'm trying to do a maintenance release installation of EPM 11.1.2.3 on top of 11.1.2.2 and am getting "ERROR: There are existent components that are disabled for maintenance install.  Please, review the reasons why the components are disabled, resolve issues and retry maintenance install."
    How do I tell which components are "disabled for maintenace"?  Are they the ones that are checked but greyed out in the list of components to install in configurator?
    The one document I found says that the components are missing in the download but I have downloaded and extracted the parts indicated in the README for Interactive Reporting,which is the only component we are using and are the same ones as for 11.1.2.2 release.
    Could some one tell which logs would have information about this, if any?
    This is on a Windows 2008 r2 server, with SQL Server 2005 repository database.

    You could try downloading and extracting all the parts just to be sure you have all the required files.
    There was a similar question which the poster said downloading and extracting the OHS file resolved the issue EPM 11.1.2.3 Upgrade Error: there are existent components that are disabled
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • DCs being removed from 'Used WebDynpro Components' list

    Hi,
    I am having a problem while creating a project from an already activated DC. The DC uses 6 other DCs and was built properly, activated and deployed from a client machine. Now I need to have this DC in my machine (also a client). So I made sure the DC is built & synced properly and proceeded with the project creation from the inactive DC.
    The DC is getting created in my machine, but the Used DCs, though being shown properly in the 'Used DCs' List is missing from the 'Used WebDynpro Components'. And if I try to add a new DC under the 'Used WD Comp' list or edit the component usage of an existing DC, the added DCs are not available for selection.
    <a href="http://img85.imageshack.us/my.php?image=dcerror1ac.gif">Error Screenshot</a>
    I have tried removing and adding the DCs from 'Used DCs' list, reopened the project, restarted the NDS, did a sync, but nothing could help me to resolve this.
    Could someone kindly help me to resolve this ?
    Thanks in advance,
    Regards,
    Nibu.

    Hi Pran,
    As you already know now, the problem has been resolved :). But for the benefit of others like me let me put down what happened:
    On seeing Pran's reply, Since he is an acquaintance of mine, I called him up & explained my problem.
    As per his advice, I checked the DTR and found that the entire DC structure has been added there. But from him I could learn that only the following folders/files should be in DTR:
    - cfg
    - def
    - Meta-Inf
    - Model Folder
    - src
    - test
    - .dcdef file
    Therefore, the rest of the folders/files were deleted and the activity was checked-in. This resolved the problem and all the missing DCs were being shown again.
    Pran, Thanks a lot for your help.
    Best Regards,
    Nibu.

  • Building JSF tag using existing Tags

    Hi all
    I wonder if it's possible to create a new JSF tag using existing JSF Tags?
    For example, I have a JSF tag which renders a lable and a textinputfield, let's call it <f:field>
    Now I want to build a new JSF tag, which will re-use the existing tag <f:field>. IS it possible?
    Thanks in advance

    Did you have a chance to look at facelets solution. Facelets provide several approach how to create composition components.
    Sergey : https://ajax4jsf.dev.java.net

  • HT204053 I need to use an existing ID (email address) on a new iPhone. It tells me "choose another ID - that one is in use," with the option to "use existing ID," however, it is an endless loop, referring me only to change my password on the existing ID.

    I need to use an existing ID (email address) on a new iPhone. It tells me "choose another ID - that one is in use," with the option to "use existing ID," however, it is an endless loop, referring me only to change my password on the existing ID.
    How do I enable my new device with an existing ID - I do not need to change the password for the millionth time!
    None of the FAQs (or the Community choices below) address new devices, they are all about APPS and iCloud stuff.

    If it is an existing iCloud ID, you should be able to just go to Settings>iCloud and sign in with it.

  • How to use "used webdynpro components" in nwds 7.0

    hi all,
    I am using NWDS 7.0 SP8 version. I want to use my local DC1 in my local DC2. I have created public part of DC1 and integrated it into DC2 as used DC. But when I try to add the webdynpro component from the Used Webdynpro Components of DC2, I am not able to view the DC1component. Plz let me know the procedures that I need to follow to fix this issue.
    Regards,
    Athulya.

    hi
    i will mention the steps that I have done for the same.
    1. Create DC1- LocalDevelopmentdc1sap.com
        . Create PP(Provides an API)->PP_DC1
        . Webdynpro Component->DC1Comp->Add as Source
        . Finish
        . Rebuild
        . Deploy
    2. Create DC2- LocalDevelopmentdc2sap.com
        . Right Click Used Dc's- Selected PP_DC1(Build, Run)
        . Finish
        . DC->Build
        . Right Click Used Webdynpro Components->Add Webdynpro Component->
                                                                       Browse->Can find only DC2Comp....   
    Plz correct me if I have done something wrong.
    Regards,
    Athulya

  • Can we use EXISTS in where condition

    hi all,
    can we use EXISTS (instead of IN) in where condition of a query which is not part of a subquery ?
    for e.g:
    update gpf_vou_sm set up_amt=0 where src_cd exists ('1101','1201');
    the query works fine with the IN operator in place of EXISTS.
    anybody please help.
    thomas k prakash

    Hi:
    You can use EXISTS in where clause but not in that syntax.
    UPDATE gpf_vou_sm g
       SET up_amt = 0
    WHERE EXISTS (SELECT 1
                     FROM gpf_vou_sm
                    WHERE src_cd IN ('1101', '1201') AND id = g.id);Using IN in your case is better...
    Saad,

  • Why do we need a Self Reference "me" to use the components of a class

    Hi
    I am not clear why do we need a self reference variable "me" to call the components of its own class? when it can be accessed directly as in the following examples?
    In my first example below i can call the method display_name directly without creating a reference object or instance of the class within the class.
    In the second example i am using the self refernce Write me->name to access the component of a class.
    My question is why do we need "me" when i can use the components directly as shown in my first example.
    CLASS egocentric DEFINITION.
      PUBLIC SECTION.
        DATA:
         name(10) TYPE c READ-ONLY.
        METHODS set_name.
        METHODS display_name.
    ENDCLASS.                    "egocentric DEFINITION
    *       CLASS egocentric IMPLEMENTATION
    CLASS egocentric IMPLEMENTATION.
      METHOD set_name.
        MOVE 'Abap Objects' TO name.
        CALL method display_name.
      ENDMETHOD.                    "write_name
      METHOD display_name.
        write: name.
      ENDMETHOD.                    "display_name
    ENDCLASS.                    "egocentric IMPLEMENTATION
    *Global Data
    DATA oref TYPE REF TO egocentric.
    START-OF-SELECTION.
      CREATE OBJECT oref.
      CALL METHOD oref->set_name.
    CLASS egocentric DEFINITION.
            PUBLIC SECTION.
                DATA:
                 name(10) TYPE c VALUE u2018Instructoru2019
    READ-ONLY.
                 METHODS write_name.
    ENDCLASS.
    CLASS egocentric IMPLEMENTATION.
            METHOD write_name.
                WRITE me->name.
            ENDMETHOD.
    ENDCLASS.
    *Global Data
    DATA oref TYPE REF TO egocentric.
    START-OF-SELECTION.
            CREATE OBJECT oref.
            CALL METHOD oref->write_name.

    You can go WIKI and search with ABAP Objects.
    Or do the same in 'advanced search'  and select a search area. You are bound to find something.
    Or this link perhaps:
    [abap objects|http://help.sap.com/saphelp_nw70/helpdata/EN/ce/b518b6513611d194a50000e8353423/content.htm]

  • Please help to re-write this query using exists or with

    Hi please help to re-write this query using exists or with, i need to write same code for 45 day , 90 days and so on but sub query condition is same for all
    SELECT SUM (DECODE (t_one_mon_c_paid_us, 0, 0, 1)) t_two_y_m_mul_ca_
    FROM (SELECT SUM (one_mon_c_paid_us) t_one_mon_c_paid_us
    FROM (
    SELECT a.individual_id individual_id,
    CASE
    WHEN NVL
    (b.ship_dt,
    TO_DATE ('05-MAY-1955')
    ) >= SYSDATE - 45
    AND a.country_cd = 'US'
    AND b.individual_id in (
    SELECT UNIQUE c.individual_id
    FROM order c
    WHERE c.prod_cd = 'A'
    AND NVL (c.last_payment_dt,
    TO_DATE ('05-MAY-1955')
    ) >= SYSDATE - 745)
    THEN 1
    ELSE 0
    END AS one_mon_c_paid_us
    FROM items b, addr a, product d
    WHERE b.prod_id = d.prod_id
    AND d.affinity_1_cd = 'ADH'
    AND b.individual_id = a.individual_id)
    GROUP BY individual_id)
    Edited by: user4522368 on Aug 23, 2010 9:11 AM

    Please try and place \ before and after you code \Could you not remove the inline column select with the following?
    SELECT a.individual_id individual_id
         ,CASE
            when b.Ship_dt is null then
              3
            WHEN b.ship_dt >= SYSDATE - 90
              3
            WHEN b.ship_dt >= SYSDATE - 45
              2
            WHEN b.ship_dt >= SYSDATE - 30
              1
          END AS one_mon_c_paid_us
    FROM  items           b
         ,addr            a
         ,product         d
         ,order           o
    WHERE b.prod_id       = d.prod_id
    AND   d.affinity_1_cd = 'ADH'
    AND   b.individual_id = a.individual_id
    AND   b.Individual_ID = o.Individual_ID
    and   o.Prod_CD       = 'A'             
    and   NVL (o.last_payment_dt,TO_DATE ('05-MAY-1955') ) >= SYSDATE - 745
    and   a.Country_CD    = 'US'

  • Using mx components in Action Script project in Flash Builder

    Hi
    I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
    The as file looks like this:
    package
        import flash.display.Sprite;
        import mx.controls.Button;
        public class as_test_project extends Sprite
            public function as_test_project()
                var btn:Button = new Button();
                btn.label = "test";
                addChild(btn);
    I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
    I still get errors like :
    Description    Resource    Path    Location    Type
    Unable to resolve resource bundle "core" for locale "en_US".    as_test_project        Unknown    Flex Problem
    Have then tried added various Bundles folders like
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
    to the source path and library path, but I still get the errors.
    WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
    If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?

    Thank you for your quick reply.
    But how then can I obtain the fl.controls components and use them in an Action
    Script project in Flash Builder 4?
    I don't have CS3 or CS4 (the flash authoring tool) installed.
    Is there an SWC somewhere to be downloaded?

  • Automatically name computers using existing computer name

    In my environment, I have brand new computers to be imaged.  The computer name needs to consist of the room number and the serial number.
    I am utilizing the Collection Variables within All Unknown Computers collection to define the room number.  And I am using CustomSettings.ini to automatically grab the serial number and combining that to the room number to OSDComputerName.
    That is working perfectly fine.
    My question is how to automatically use existing computer name as the name of the re-imaged computer?
    If I use the same task sequence, because the computer is no longer an unknown computer, it doesn't prompt me for the room number.  The computer name ended up containing the variable %roomnum% plus the serial number.  I do not want SCCM to prompt
    me for anything but automatically use the existing computer name.
    Please advise.

    Maybe I am missing a step.
    This is my current CustomSettings.ini file
    [Settings]
    Priority=Init, Default
    Properties=ComputerSerialNumber
    [Init]
    ComputerSerialNumber=#Left("%SerialNumber%",7)#
    [Default]
    OSDComputerName=%RoomNumber%%ComputerSerialNumber%
    OSInstall=Y
    SkipCapture=YES
    SkipAdminPassword=NO
    The variable %RoomNum% is defined in the All Unknown Computer collection and a prompt appears for me to manually enter that information before imaging the computer the first time.
    But when I reimage an existing computer, I get no prompt and because the variable is not defined, the final computer name because %RoomNumber%9999999, which is longer than 15 characters and so the task sequence fails.
    How and where in the task sequence do I define: if this is not an unknown computer, then use existing computername?
    I also notice that I can add a step called "Capture Windows Settings-Migrate Computer Name".  Is this the step that I need?  Where in the task sequence should it be added to?
    Here is a section of my task sequence. I didn't change much from the default created MDT Task Sequence.

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

Maybe you are looking for