Custom Actionscript Container (Get Child Problems)

I've extended the Container class to create a custom
component. In this component, I take the children (can be anything:
panels, images, etc) and move them around to different positions on
the screen based on the mouse position. Everything is working
fine... except, I need to capture the names of each child in the
container as soon as it loads and add the names to an array (THIS
ARRAY MUST BE STATIC). The problem that I am having is that I
cannot seem to do it statically. That means that when I change the
index of a child. The change affects the order of the array because
the array is rebuilt every time. I don't want this. Any
thoughts?

You gotta specify your child table recon-field in the process definition mappings as a Key Field. Refer OOTB AD connector and check:
Process Definition -> AD User ->Reconciliation Field Mappings -> memberOf

Similar Messages

  • F.27(Statement should be emailed if customer master contains email address)

    Hi All,
    I am working for the tcode f.27. A standard form F140_ACC_STAT_01 is assigned to tcode. Here my requirement is i need to do some changes in the form and output should be in pdf format and statement should be emailed if customer master contains email address.
    Can any body please help me how to send the email if the customer master contains email address.
    Please reply.
    Thanks,
    Nagendra

    Hi Nagendra
    change the customer email address on home and bussiness email field first and then make following changes to function module 'Z_CORR_PROCESS_00002310' or whatever name you  have got , this is working for us, let me know if y ou have any problem, You might have to tweak a code a bit , here we are decide whether to send customer statements to two email or not based on customer group selection
    data: w_output_type(10).  "Output type
       data: w_kunnr like i_kna1-kunnr.
       data: w_ktokd like i_kna1-ktokd.
       data: l_addressdtls type zaddressdtls.
       data: l_atype(1).  " Address type
    DATA: w_mailtxt TYPE finaa-namep VALUE 'ZCITY_STATEMENT_MAIL_BODY'.
    * Variables are imported - set in ZFKORD10_STUD
    * Import variable w_output_type from memory
       clear: w_output_type.
       IMPORT w_output_type FROM MEMORY ID 'ZOUTPUT_TYPE'.
       move 'B' to  l_atype.      "Business e-mail
       if w_output_type = 'EMAIL'. "Email option chosen
         c_finaa-nacha = 'I'.
         c_finaa-tdfaxuser = sy-uname.
          c_finaa-namep = w_mailtxt.
    * Get the Relevant e-mail address
         move I_KNA1-KUNNR to w_kunnr.
         clear: l_addressdtls, c_finaa-intad.
         call function 'Z_GET_CUSTOMER_ADDRESS'
              EXPORTING
                   kunnr                   = w_kunnr
                   atype                   = l_atype  "B Business H Home
              IMPORTING
                   addressdtls             = l_addressdtls
              EXCEPTIONS
                   invalid_customer_number = 1
                   no_customer_partner     = 2
                   invalid_address_type    = 3
                   others                  = 4.
         if sy-subrc eq 0.
           if l_atype = 'H'.  "Home e-mail address
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-home_email.
           else.
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-business_email.
           endif.
         endif.
         concatenate i_kna1-kunnr
                     'Account statement from City University'
                      into c_itcpo-tdtitle separated by space.
         c_itcpo-tdfaxuser = sy-uname.
         if ( c_finaa-intad is initial            " No email address
              and c_itcpo-tdpreview is initial ). " and not print preview
           c_finaa-nacha = '1'.        "Print output type
           c_itcpo-tdgetotf = 'X'.     "Do not print
           c_itcpo-tdpreview = space.  "No print preview
           c_itcpo-tdnoprev = 'X'.     "No print preview
         endif.
       endif.
    if w_ktokd = 'stud'.
        move 'H' to  l_atype.      "Business e-mail
       if w_output_type = 'EMAIL'. "Email option chosen
         c_finaa-nacha = 'I'.
         c_finaa-tdfaxuser = sy-uname.
         c_finaa-namep = w_mailtxt.
      "Get the Relevant e-mail address
         move I_KNA1-KUNNR to w_kunnr.
         clear: l_addressdtls, c_finaa-intad.
         call function 'Z_GET_CUSTOMER_ADDRESS'
              EXPORTING
                   kunnr                   = w_kunnr
                   atype                   = l_atype  "B Business H Home
              IMPORTING
                   addressdtls             = l_addressdtls
              EXCEPTIONS
                   invalid_customer_number = 1
                   no_customer_partner     = 2
                   invalid_address_type    = 3
                   others                  = 4.
         if sy-subrc eq 0.
           if l_atype = 'H'.  "Home e-mail address
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-home_email.
           else.
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-business_email.
           endif.
         endif.
         concatenate i_kna1-kunnr
                     'Account statement from City University'
                      into c_itcpo-tdtitle separated by space.
         c_itcpo-tdfaxuser = sy-uname.
         if ( c_finaa-intad is initial            " No email address
              and c_itcpo-tdpreview is initial ). " and not print preview
           c_finaa-nacha = '1'.        "Print output type
           c_itcpo-tdgetotf = 'X'.     "Do not print
           c_itcpo-tdpreview = space.  "No print preview
           c_itcpo-tdnoprev = 'X'.     "No print preview
         endif.
    endif.
    endif.

  • Does table STPOX contain parent-child relationship between components

    Hello
    I need to get a list of components of SO BOM.
    FM CS_BOM_EXPL_KND_V1 exports an output table STPOX.
    Does this table contain parent-child relationship between components? If yes , can somebody tell me which fields contain parent child id.
    thanks

    Hi,
    STPOX is not a table, it is a structure & hence there is no storing of data in a structure. The table which stores this info is STPO.
    To get the link you can refer to STPO-STLNR & pass this value to MAST-STLNR, this way you can link the child with its parent.
    Regards,
    Vivek

  • How to create custom report plugin using child region report metadata

    Hi,
    I want to ask for help on how to create custom report plugin using child region report metadata. My idea is to create a child region, a classic report and set the condition to never.
    Then i will query the child report metadata from apex view and use it to create a custom report like using jquery jq-grid. Any idea how i can create a process that will use the child report
    metadata? I dont know how i can create a process just like how apex work, how apex render report, coz i want it to be control using the standard apex report attribute. This plugin will
    render according to the child report attribute.
    Is there anybody here had ever done this?

    Hi Nicolette,
    Thanks for the reply. I know where to find the metadata, just asking for idea on how the rendering process will be.
    Start from determining column heading, column order until finish rendering the report. The same way how apex
    render the classic report.
    Previously this imy my rendering process:
    FUNCTION GETCOLUMN(P_REGION IN APEX_PLUGIN.T_REGION,
                         P_PLUGIN IN APEX_PLUGIN.T_PLUGIN,
                         P_VALUE  IN VARCHAR2) RETURN SYS.DBMS_SQL.DESC_TAB2 IS
        VSQLHANDLER     APEX_PLUGIN_UTIL.T_SQL_HANDLER;
        VCOLCOUNT       NUMBER;
        VCOLNAMES       VARCHAR2(2000);
        VAJAXIDENTIFIER VARCHAR2(100);
        VPAGESIZE       TYPEATTR := P_REGION.ATTRIBUTE_04;
        VJSCODE         VARCHAR2(32767);
      BEGIN
        VSQLHANDLER := APEX_PLUGIN_UTIL.GET_SQL_HANDLER(P_SQL_STATEMENT  => 'select * from s_emp',
                                                        P_MIN_COLUMNS    => 1,
                                                        P_MAX_COLUMNS    => 999,
                                                        P_COMPONENT_NAME => P_REGION.ID);
        VCOLCOUNT := VSQLHANDLER.COLUMN_LIST.COUNT();
        FOR I IN 1 .. VCOLCOUNT LOOP
          VCOLNAMES := VCOLNAMES || '{name: "' ||
                       UPPER(VSQLHANDLER.COLUMN_LIST(I).COL_NAME) || '",';
        END LOOP;
        APEX_PLUGIN_UTIL.FREE_SQL_HANDLER(VSQLHANDLER);
        RETURN VSQLHANDLER.COLUMN_LIST;
      EXCEPTION
        WHEN OTHERS THEN
          APEX_PLUGIN_UTIL.FREE_SQL_HANDLER(VSQLHANDLER);
          RAISE;
      END GETCOLUMN;
    So this is how i get the header for my report plugin. The same method is use to get the value / data for each column. This process is work. So now
    i want to extend my plugin so that i will use all attributes from the child report to render my plugin. So the column header, column order, all will depend
    on the child report. And the column display condition is set, it will also check the condition before render the column. Sounds like i want to reinvent
    the normal apex rendering process but this is what i want to achieve.
    I need help to find the correct logic for my render process. Don't want too much for starting, just want to render the plugin correctly, same with child report,
    same columns alias, column ordering and column  conditional display.
    Thanks,
    akulala

  • All my hard drives (internal and external) have a small lock in the lower left corner of the icon and I don't have permissions to access. Permissions are set to 'Custom' in the get info window and I can't change them.

    All my hard drives (internal and external) have a small lock in the lower left corner of the icon and I don't have permissions to access. I have 3 user accounts set up and I cannot access any of them.   Permissions are set to 'Custom' in the get info window and I can't change them. Originally I had Snow Leopard installed on one hard drive and 10.5.8 installed on another.   I started to have some problems accessing data between them and so I tried changing the permissions on ONE hard drive partition.   The next thing I know, all my drives are locked (except the ones with the systems on them), the small lock appeared in the lower left corner of the drive icons and I don't have permissions to access any of them.   In the get info window, permissions are set to 'Custom' and I can't change them.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • Help on custom actionscript component

    Hi All,
    I need to create a dynamic form which has multiple pages each
    page will be displayed in separate tabs and has individual
    controls. On submit of a a button i need to trace the data entered
    in the controls for each Tab. The numer of Tabs and controls will
    vary depending on criteria (reading from an XML).
    Sample xml data below -
    <Tab tabid="App_Form_01_Tab_02" name="Tab 2"
    label="Product Information" taborder="2">
    <Section sectionid="App_Form_01_Tab_02_Sec_01"
    name="Contract" orderontab="1">
    <Attrtype name="SingleLineofText" defval="This is single
    line text" maxchar="35" maxlines="1" inputtype="TextInput"
    attrlabel="Attribute 1"></Attrtype>
    <Attrtype name="MultipleLinesofText" defval="This is
    multi line text" maxchar="" maxlines="4" inputtype="TextArea"
    attrlabel="Attribute 2"></Attrtype>
    </Section>
    </Tab>
    <Tab tabid="App_Form_01_Tab_03" name="Tab 2" label="New
    Tab" taborder="3">
    <Section sectionid="App_Form_01_Tab_02_Sec_01"
    name="Contract" orderontab="1">
    <Attrtype name="SingleLineofText" defval="This is single
    line text" maxchar="35" maxlines="1" inputtype="TextInput"
    attrlabel="Attribute 1"></Attrtype>
    </Section>
    </Tab>
    I tried developing the above UI by creating custom
    actionscript components by extending existing UI components such as
    TabNavigator/VBox and added children at each stage until I reached
    the actual form control info using which I am creating the
    controls.
    So the child creation is following -
    MyTabnavigator->MySectionTabs(VBox)->MySections(VBox)->MySectionAttributes(HBox)->TextInp ut
    I have instantiated the MyTabNavigator comp from the mxml
    using <MyTabNavigator/> tag. This is displaing the dynamic
    form the way I need but now I have to access the text value entered
    into the TextInput. I tried to access the TextInput from a method
    written within a script block in the main application mxml. I am
    not able to do that.
    Could anyone please advise me on this.
    Test Link -
    http://dev.eforceglobal.com/test/paromita/bin/TestActionscriptComps.html
    (this also has the sample view source code)
    Am I doing this the wrong way?
    Please help.
    Regards,
    Paromita.

    Since you're using a scrollpane you should simply limit the dimensions of the visible part (JViewPort).
    yourScrollPane.getViewport().setPreferredSize(.......);

  • Customer Exit to get last day of month from Year/month

    Hi Experts,
    I need to create a customer exit to get the last day of month from Cal Year month input variable.
    Examples
    1)
    User input period: 12.2008
    I need from the customer exit: 31.12.2008
    2)
    User input period: 02.2009
    I need from the customer exit: 28.02.2009
    Can someone help me with the ABAP code to achieve this with a customer exit?
    Help will be appreciated.

    Hi,
    Please use the following code,
    Second one is the suitable solution for you, I can understand that, if it leafe year then you have the problem so use the secon one.
    First one is using Period i.e. 010.2008 (December 2008).
    Secodn one is based on Date/Month.
    Note: Insted of SY-DATUm, you give your variable name
    *******To get the Last day of the Fy Period entered by User in ZFYP***
        WHEN 'ZLDAY_FI'.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZFYP'.
            zbdatj = loc_var_range-low+0(4).
            zbuper = loc_var_range-low+4(3).
            CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr = zbdatj
                i_periv = 'V3'
                i_poper = zbuper
              IMPORTING
                e_date  = zzdate.
            CLEAR: l_s_range.
            l_s_range-low = zzdate.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
    Note: in the below code I given SY-DATUM, so you change to your Month Variable like using  
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'XXXX'.
    ** Last Day of Current Calendar month
          zzdate = sy-datum.
          CALL FUNCTION '/OSP/GET_DAYS_IN_MONTH'
            EXPORTING
              iv_date = zzdate
            IMPORTING
              ev_days = znum.
          CLEAR: l_s_range.
          l_s_range-low+6(2) = znum.
          l_s_range-low+0(4) = sy-datum+0(4).
          l_s_range-low+4(2) = sy-datum+4(2).
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Jan 27, 2009 2:47 PM
    Edited by: Surendra Reddy on Jan 28, 2009 6:12 AM

  • Custom Indirection Container throwing exception in constructor

    Hi I've following the how-to and implemented my own custom indirection container. However, when reading an object from the database I'm getting the following exception. I'm guessing that it could be related to having null references stored as 0 in id columns. Any help would be greatly appreciated.
    Thanks,
    Jon
    Exception thrown in main Exception [TOPLINK-152] (OracleAS TopLink - 10g (9.0.4.8) (Build 050712)):
    oracle.toplink.exceptions.DescriptorException
    Exception Description: The operation [buildContainer constructor (null) Failed: java.lang.NullPointe
    rException] is invalid for this indirection policy [oracle.toplink.internal.indirection.ContainerInd
    irectionPolicy@cc0e01].
    Mapping: oracle.toplink.mappings.OneToOneMapping[ryFromMail]
    Descriptor: Descriptor(com.peoplesoft.crm.omk.design.PsRyedocVar --> [DatabaseTable(PS_RYEDOC_VAR)])
    Local Exception Stack:
    Exception [TOPLINK-152] (OracleAS TopLink - 10g (9.0.4.8) (Build 050712)): oracle.toplink.exceptions
    .DescriptorException
    Exception Description: The operation [buildContainer constructor (null) Failed: java.lang.NullPointe
    rException] is invalid for this indirection policy [oracle.toplink.internal.indirection.ContainerInd
    irectionPolicy@cc0e01].
    Mapping: oracle.toplink.mappings.OneToOneMapping[ryFromMail]
    Descriptor: Descriptor(com.peoplesoft.crm.omk.design.PsRyedocVar --> [DatabaseTable(PS_RYEDOC_VAR)])
    at oracle.toplink.exceptions.DescriptorException.invalidIndirectionPolicyOperation(Descripto
    rException.java:669)
    at oracle.toplink.internal.indirection.ContainerIndirectionPolicy.buildContainer(ContainerIn
    directionPolicy.java:62)
    at oracle.toplink.internal.indirection.ContainerIndirectionPolicy.valueFromQuery(ContainerIn
    directionPolicy.java:254)
    at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(ForeignReferenceMapping.java
    :898)
    at oracle.toplink.mappings.OneToOneMapping.valueFromRow(OneToOneMapping.java:1302)
    at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:876)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder
    .java:164)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:322)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:
    242)
    at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:368)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:510)
    at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:125)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1962)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
    at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromQuery(NoIndirectionPolic
    y.java:254)
    at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(ForeignReferenceMapping.java
    :898)
    at oracle.toplink.mappings.OneToOneMapping.valueFromRow(OneToOneMapping.java:1302)
    at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:876)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder
    .java:164)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:322)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:
    242)
    at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:368)

    Clients of your class might not like you throwing
    exceptions from the ctor. If they're checked
    exceptions it'll mean try/catch blocks. If there are
    LOTS of checked exceptions that'll mean lots of catch
    blocks. Could get messy fast. You could catch in the
    ctor and wrap in a subclass of
    java.lang.RuntimeException. Those are unchecked, like
    java.lang.IllegalArgumentException.I would strongly advise against making your checked exceptions unchecked just so that the caller's code will compile without try/catch blocks. Either way--checked or unchecked--if I do Foo foo = new Foo();
    foo.doStuff(); I won't get to doStuff() if the ctor threw an exception.
    You'd throw unchecked exceptions in those cases where it's appropriate--e.g., the caller passed you invalid args (bad code on the caller's part, appropriated for unchecked exception), or the VM couldn't get enough memory to create your object (probably not something the caller can do anything about, so, again, appropriate for unchecked).
    But if, for example, he's passing you database login parameters that an end user provided, and the password is wrong or the host is unreachable, then you'd want to throw a checked exception, because it's not bad code on the caller's part, and there might be something he can do to recover.
    Note that the example of the incorrect password above is quite different from the "invalid args" example in the previous paragraph. Your method would throw IllegalArgumentException if the caller passed args that violate your method's precondition--e..g. lie outside some range of numbers. That is, it's a value that your method simply can't use. A bad password for a db login, on the other hand, is legal as far as your method is concerned, it just failed authentication in the db.
    @%: I know you're aware of the proper use of checked/unchecked exceptions, but the way you worded you post kind of sounded like you were saying, "just use unchecked if you find the caller has too many try statements."
    &para;

  • Do you get this problem too?

    Hi there,
    Now I have been using iTunes for a long time now as I think it’s just about the best media player out there.
    Now it works fine on my iBook but on my Windows PC which has the following spec:
    AMD Athlon 64 3000+
    MSI K8N Neo4 Platinum Mother Board
    1GB OCZ Dual Channel DDR400
    Gigabyte GF6600GT 128MB DDR3 Graphics
    2 X Seagate Barracuda 250GB SATA HDD
    Sony 16X Dual Layer DVD R/RW
    9 out of 10 times when I go to shut down iTunes it will load up again by itself! Sometimes it will even load up a second time after I shut it down after loading up by itself the first time lol!
    It’s not a major issue just a little annoyance that I hoped Apple would fix but it has been doing the same thing for the last 3 or so versions...
    Just wondering if anyone else gets this problem?
    Regards,
    Chris.
    iBook G4, 12, Advent 7038 Laptop & Custom PC   Mac OS X (10.4.5)  

    Yes, some other people reported this. They had 3rd-party programs that were launching iTunes like that.
    Those posts are around here somewhere....

  • Custom Tab not getting high-lighted

    Custom Tab not getting high-lighted
    Hi,
    I have added a new tab TabX in Item Master data form.
    When only my add-on is running, it is working properly:
    When I click on the TabX, all the controls belonging to the tab are displaying correctly.
    TabX control is getting highlighted.
    When my add-on runs with another add-on (DBS):
    When I click on the TabX, all the controls belonging to the tab are displaying correctly.
    But, TabX is not getting highlighted. Instead, some other tab(purchasing tab) is getting highlighted.
    1) I'm not sure what is done by the other add-on.
    2) I cannot debug my add-on when the other add-on is running. (Because we cannot get the other add-on installed in our office network. It is running only in client site.)
    So, I need to 'guess' what might solve this problem.
    Please help me if you know any work-arounds, so that I can highlight TabX (The normal effect of pressing a tab) in this situation.
    Thank you.
    Regards,
    Geetha

    Hi Geeta,
    on FormLoad event,add the panelevel and set the panelevel of the Items.(must ber unique on that form)
    OnLoadAfter(ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                AddNew_IndirectCost_Tab()
    private void AddNew_IndirectCost_Tab()
                     oForm.DataSources.UserDataSources.Add("Folder", SAPbouiCOM.BoDataType.dt_LONG_TEXT, 100);
                    oItem = (SAPbouiCOM.Item)oForm.Items.Item("36");
                    oNewItem = oForm.Items.Add("oFldrCost", SAPbouiCOM.BoFormItemTypes.it_FOLDER);
                    // oNewItem.AffectsFormMode = true;
                    oNewItem.Top = oItem.Top;
                    oNewItem.Height = oItem.Height;
                    oNewItem.Width = oItem.Width;
                    oNewItem.Left = oItem.Left + oItem.Width + 50;
                    oFolder = (SAPbouiCOM.Folder)oNewItem.Specific;
                    oFolder.DataBind.SetBound(true, "", "Folder");
                    oNewItem.AffectsFormMode = false;
                    oFolder.Caption = "Indirect Cost";
                    oFolder.GroupWith("36");
                    oItem = (SAPbouiCOM.Item)oForm.Items.Item("60");
                    oNewItem = oForm.Items.Add("LblMacCost", SAPbouiCOM.BoFormItemTypes.it_STATIC);
                    oNewItem.Top = oItem.Top;
                    oNewItem.Height = oItem.Height;
                    oNewItem.Width = oItem.Width + 20;
                    oNewItem.Left = oItem.Left;
                    *oNewItem.FromPane = 222;*      // set pane level
                    *oNewItem.ToPane = 222;*          //set panelevel
                    oStaticText = (SAPbouiCOM.StaticText)oNewItem.Specific;
                    oStaticText.Caption = "Actual Machine Cost";
    on click of the your pane set the panelevel, like;
    protected override void  etClickBeforeAction(ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                 if (pVal.ItemUID == "oFldrCost")                    // oFldrCost-My pane,
                     oForm.PaneLevel = 222;
    The main thing is that you have to set the form's panelevel on click_before event and youe pane will be high lighted

  • I want to add DataGrid in my custom component as a child component,

    I want to add DataGrid in my custom component as a child component, can we ?? or should i generate HTML for table creation in my custom component's renderer ?

    I did that:
    for example, if i want to add a Button control in my custom control:
    public void encodeChildren( FacesContext context ) throws IOException
             super.encodeChildren( context );
            //createComponent raises exception.... invalid component type     
            //UIComponent field = FacesContext.getCurrentInstance().getApplication().createComponent( javax.faces.component.html.HtmlInputText.class.getName() );
             HtmlInputText input = new HtmlInputText();
            getChildren().add( input );
        public boolean getRendersChildren()
            return true;
        }Can you give me any example, i want to add child components at run time basically..

  • Itunes won't open i keep getting  a problem report i press respond, but the report reappears and nothing else happens

    the itunes on my mac wont open.  I keep getting a problem report fro itunes, which i press the respond option. the box closes for approx 10 seconds then comes back. I have looked in the force close box but it is not appearing here.

    Hi there duncanbev,
    I would recommend taking a look at the troubleshooting steps found in the article below. 
    Troubleshooting iTunes installation on Mac OS X
    -Griff W.

  • I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can

    I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can this is all new to me.

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • I can't open iTunes on my pc in windows. I keep getting a Problem event: BEX error.

    can't open iTunes on my pc in windows. I keep getting a Problem event: BEX error.  How can i fix this?  need very detailed step by step instructions on how to fix. thx

    Check out this discussion link:
    https://discussions.apple.com/thread/2777410?threadID=2777410&tstart=15

  • Issue using Get-Child-Item

    Have a function that will scan (grep) files in a folder with a certain extension.  For some reason, Get-Child-Item always returns empty / 0 files on my folder even though you can look at the folder and see files of the specified extension (*.config).
     Suspect either I am doing something wrong or permissions are somehow getting in the way.  How do you properly use Get-ChildItem
    in this context?
    function scan-Files
    param(
    [parameter(mandatory=$True)]
    [string]$folder,
    [parameter(mandatory=$True)]
    [string]$filePattern,
    [parameter(mandatory=$False)]
    [bool]$recurse = $False
    Write-Host "Folder = $folder"
    Write-Host "FilePattern = $filePattern"
    $files = Get-ChildItem -Include $filePattern -Path $folder
    #always empty for some reason
    if ($files)
    Write-Host "File count = $($files.Length)"
    }...#Invoke our function$folder = "C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\"
    $filePattern = "*.config"         
    #scan-Files -folder $folder -filePattern $filePattern -recurse:$true
    scan-Files -folder $folder -filePattern $filePattern

    The Gods of the computer demand it.  Without it you are only enumerating a folder item.  With it you are enumerating the contents of the folder.  Include only works on files that have been selected.
    Example:
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\*.txt' -include *.config
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\*.c*' -include *.config
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer' -filter *.config
    Try all to see how they work.
    \_(ツ)_/

Maybe you are looking for

  • PDF documents won't open in browser page

    I've been having trouble with Safari lately. This is my main browser, and whenever I try to open any PDF documents, I get an error message that goes something like "There was an error opening this document. This file cannot be found." Whenever I have

  • Lumia 800 doesn't keep time

    I've had this problem for ever now, and none of the updates have fixed this issue, and I'm not the only one with this problem. The clock of my Lumia 800 runs too fast, in a week or two, it will be 3-4 minutes ahead of time, and in a month it's alread

  • XBR55X850C Stutters with Amazon Instant Video

    I just set one of these up a week ago. Still waiting for the promised 4k Amazon Instant Video app at the end of June, but in the meantime, the 2k app seems to have some issues. When streaming HD content I get an occasional stutter. If I try and adjus

  • Chat history disappears as soon as I click on a di...

    Hi all, I am having a peculiar problem.... The chat history for all of my contacts displays whilst I am in an active conversation but when I click on a different contact then go back to the contact who I was just having a conversation with the histor

  • Can't find scanner in Photoshop CS5

    Recently, I have had to upgraded to a new Mac Pro /Tower & also had to upgrade all my programs/ apps. I can't seem to get my scanner to work through Adobe Photoshop CS5. [I have a CanoScan LiDE 30.] I've downloaded all upgrades and have read about si