Generating a clientId for Custom Components

I am creating a custom component that will be made up of smaller form elements and maybe even smaller custom components. Does JSF provide the mechanism for generating the clientId for each of these components and thier sub-components.
What I don't want to do is this:
writer.writeAttribute("name", clientId + "_id" + subComponentCounter++);
...

I got that part. But what if your component has sub-components. Do you just name them whatever you want? I know that you could. But what if they are dynamically generated? And what if your sub-components have sub-components.
So for example:
Custom Control: Shipping Form
|_Custom Control: Name Form
| |_TextBox: First Name
| |_TextBox: Last Name
|_Custom Control: Address Form
|_TextBox: Street
|_TextBox: City
|_TextBox: State
|_TextBox: Postal Code

Similar Messages

  • Generate outbound idoc for Customer Master

    Hi Developers,
    I have requirement to generate outbound IDOC for Customer Master Data. I need to send customer master data through an Outbound IDOC. Can we generate an outbound DEBMAS06 idoc? Can someone help me finding a solution to this problem?
    Thanks in advance for helping.
    Regards,
    Gajendra

    Hi,
    If you have done all the required settings (logical system, partner profiles, distribution model), then either transaction BD10 / BD14 will help you generate the IDOC.
    If you want to send the idocs automatically, then you will to configure some program.
    Unlike transaction data, Master data IDOCS are not triggered immediately, you will have to do the required configuration in SPRO.
    Transaction SPRO
    SAP Customizing Implementation Guide -->
    SAP Web application Server --> Application Link Enabling --> Modeling and Implementing Business Processes -->
    Master Data distribution --> Replication of Modified Data --> Creating IDOCS from Change Pointers
    Take a look at this thread.
    Re: automatic Idoc outbound
    Regards,
    Ravi
    Note : Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • How to implement expand/collapse property for custome components

    can any one tell me how to implement the expand/collapse
    property for the custom components in flex. i need something like
    hierarchy of custom components which on the expand should be able
    to show the children of the corresponding component and a line
    linking between them and collapsing property too.. can any one help
    me out..

    "hanu106" <[email protected]> wrote in
    message
    news:gfr2co$biq$[email protected]..
    > can any one tell me how to implement the expand/collapse
    property for the
    > custom components in flex. i need something like
    hierarchy of custom
    > components
    > which on the expand should be able to show the children
    of the
    > corresponding
    > component and a line linking between them and collapsing
    property too..
    > can any
    > one help me out..
    Tree?
    AdvancedDataGrid?
    Nested Acordions

  • Correct way of setting styles for custom components

    Hey everyone,
                            I have a custom component which extends UIComponent and holds a image and a button. If I want to set the default style for my button where do I set it in the createChildren, stylesInitialized ,  updateDisplayList  or styleChanged ? I know styleChanged gets called first but the param is always null
    styleChanged = null
    stylesInitialized
    initialize
    createChildren
    initializationComplete
    commitProperties
    measure
    updateDisplayList
    Cheers,
    Firdosh

    Thanks for your recommendations. I have seen a lot of components (yahoo-astra e.g) call a static function or use Mixin (asfusion Rating Component)
    public class CustomComponent extends UIComponent {
              public static function initializeStyles():void
                   var styleDeclaration:CSSStyleDeclaration = StyleManager.getStyleDeclaration("BaseMultiFieldInput");
                   if(!styleDeclaration)
                        styleDeclaration = new CSSStyleDeclaration();
                   styleDeclaration.defaultFactory = function():void
                        this.backgroundColor = 0xffffff;
                        this.backgroundDisabledColor = 0xdddddd;
                        this.textAlign = TextFormatAlign.CENTER;
                        //other styles are based on the framework defaults
                   StyleManager.setStyleDeclaration("BaseMultiFieldInput", styleDeclaration, false);
              initializeStyles();
    is there a reasons why they are set in a static call?

  • Alert like behaviour (disabling all other elements) for custom components

    Hey guys,
    I'm trying to get a CustomComponent to work like an Alert box. I want to lock all items on stage but the component.
    Is there a way to achieve this? Or would it be better to style an Alert to look like my CustomComponent?
    Thanks for reading

    Hi,
    you can Popup any component you want. To disable all other items set it modal.
    PopUpManager.createPopUp(parent, className, true)
    Hope this helpful.

  • Design Studio 1.2 SDK - How can standard UI5 themes be loaded for custom components?

    The SAPUI5 library that is embedded in the Design Studio framework includes standard themes such as the Blue Crystal theme.  When developing UI5-based SDK components with DS 1.2 SP00, I was able to successfully load the built-in Blue Crystal theme by simply including the following statement in the component.js file:
    sap.ui.getCore().applyTheme("sap_bluecrystal");
    However, as of DS 1.2 SP01 this approach no longer seems to work.  I don't receive any error messages either.  The theme simply doesn't load like it used to or sometimes might just load partially.
    The only difference I can see between SP00 and SP01 in terms of the UI5 framework is that it has been upgraded from version 1.12.7 to 1.14.6 but this shouldn't impact the validity of the above statement.
    I'd appreciate it if anyone has any ideas about why the applyTheme() method no longer works and how this issue might be fixed.
    Of course there is the workaround of manually including the theme files with a <cssInclude> tag in the contribution.xml file but this seems like a waste of resources given that technically, the theme is already included in the Design Studio framework.

    The SAPUI5 library that is embedded in the Design Studio framework includes standard themes such as the Blue Crystal theme.  When developing UI5-based SDK components with DS 1.2 SP00, I was able to successfully load the built-in Blue Crystal theme by simply including the following statement in the component.js file:
    sap.ui.getCore().applyTheme("sap_bluecrystal");
    However, as of DS 1.2 SP01 this approach no longer seems to work.  I don't receive any error messages either.  The theme simply doesn't load like it used to or sometimes might just load partially.
    The only difference I can see between SP00 and SP01 in terms of the UI5 framework is that it has been upgraded from version 1.12.7 to 1.14.6 but this shouldn't impact the validity of the above statement.
    I'd appreciate it if anyone has any ideas about why the applyTheme() method no longer works and how this issue might be fixed.
    Of course there is the workaround of manually including the theme files with a <cssInclude> tag in the contribution.xml file but this seems like a waste of resources given that technically, the theme is already included in the Design Studio framework.

  • JDev EA BUG: Visual Editor Proxy for Custom Swing Components

    I am trying to follow help file "Registering a Java Visual Editor Proxy for Custom Components" in JDeveloper 10.1.3 EA, and it sugest that I add something in "JDeveloper\lib\addins.xml" file.
    BUT there is no such file. Anywhere!
    It exist in 10.1.2 but not in 10.1.3 EA.
    So, either an help must be changed or file must be added.

    Hi,
    thanks for reporting this. I forwarded it to our doc team for update. The online help in 10.1.3 EA is not yet throughly updated to 10.1.3.
    Frank

  • Service to be done for customer

    Hi Experts,
    company want to do some service to the customer.Customer will give component material to company,
    then company will produce FG and charge some service charge to customer.
    Please tell me how to handle this sceinario in sap
    Regards,
    Susanta

    Hi,
    As you are providing service to  your customer & billing , you can use material type DIEN  & create material for service . Then create sales order with material created with material type DIEN & then bill to customer for  service provided by creating Bill & receive  the payment in F-28 from customer.
    For  tracking the customer components follow the process(if suitable):
    For quick tracking the customer component material provided to your company , you can create material with non valuated material type (UNBW).
    Or
    But depending on business deal & quantum of work involved , if its regular ,then for tracking customer components material provided to your company & FG your providing to customer, then create  two material types , one for customer components material  & other one for FG.So that its better to control, if any excise involved.
    Regards,
    Biju K

  • MBeanMaker is not creating Schema folder in JAR file for custom authenticat

    I have created a custom authentication provider.I am using following code of build.xml to generate jar file for custom authentication provider
    <target name="build.mdf" depends="copyConfigFiles">
    <java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true" failonerror="true">
    <jvmarg line="-Dfiles=./build/mili -DMDF=./build/mili/MILIAuthenticator.xml -DcreateStubs=true"/>
    <classpath>
    <pathelement path="${java.class.path}"/>
    <pathelement location="./build/mili"/>
    <pathelement location="./lib/weblogic.jar"/>
    <pathelement location="./lib/wlManagement.jar"/>
    <pathelement location="./lib/jcifs-1.2.0.jar"/>
    </classpath>
    </java>
    </target>
    <target name="copySrcFiles" depends="build.mdf">
    <copy todir="./build/mili" flatten="true" overwrite="true">
    <fileset dir="./src/java">
    <include name="**/MILI*.java"/>
    </fileset>
    </copy>
    </target>
    <target name="SecurityProviderJar" depends="copySrcFiles">
    <java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true" failonerror="true">
    <jvmarg line="-Dfiles=./build/mili -DMJF=./build/MiliSecurityProviders.jar"/>
    <classpath>
    <pathelement path="${java.class.path}"/>
    <pathelement location="./build"/>
    <pathelement location="./lib/wlManagement.jar"/>
    <pathelement location="./lib/weblogic.jar"/>
    <pathelement location="./lib/jcifs-1.2.0.jar"/>
    </classpath>
    </java>
    </target>
    Build.xml is running fine without giving any error,but it is not generating schema folder in the jar file.
    beacause of that my custom authentication provider is not comming in admin console.
    Kindly help me to resolve this.

    Hi Ramesh,
    Try out the following
    1) Copy mediator.jar from SOA_HOME>/soa/modules/oracle.soa.mediator_11.1.1 to <MW_HOME>//soa/modules/oracle.soa.ext_11.1.1/classes
    2) Goto <MW_HOME>//soa/modules/oracle.soa.ext_11.1.1/classes and run the following command:
    a. jar -xvf mediator.jar
    3) Now remove the jar file, i.e., mediator.jar from classes folder.
    4) Restart the server.
    Regards,
    Srijith

  • What do I need to create Flex custom components for Xcelsius 2008 SP3?

    Hello, and thanks for your time. 
    I have recently been roped into creating some custom components in Flex 3 for use in Xcelsius 2008 SP3.  I can create custom components in Flex, but I have no idea how to get them into Xcelsius. 
    I have begun my own research into everything I am going to need, but I am hoping someone out there who has done this can provide a user-friendly itemized list of all the parts that are needed to accomplish this task.  I want to make sure I do not miss anything.
    Thanks for any insight you may be able to provide.
    What I have so far:
    Flex Builder 3
    Xcelsius Engage Server 5.3 (2008)
    What I think I need:
    Xcelsius 2008 component SDK
    Cheers!
    Edited by: midasxl on May 5, 2011 6:11 PM

    Hi Manisha,
    Even we have a requirement to create doughnut chart in flex and need to add it in xcelisus.I can bulid that in flex and it is working with static data.Please provide me the sample code of how to pass dynamic data from xcelsius excel to this chart and how to create properties file for this chart.I have looked at horizantal slider example but that doesn't help much.
    Thanks in Advance.
    Regards,
    Karthik

  • Is table maintenance generator only for custom table?

    hi ,
    i have doubt is table maintenance generator only for custom table?

    hi swamya,
    Table Maintanance Generator is used to create/change/delete table entries in a particular table.
    In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.To view the contents of the database table, we will use SE16n in Production system. All these authorizations will be maintained by BASIS team, by creating access profiles.So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system.
    The second reason is, we can edit or create multiple entries at a time, using tablemaintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance screen SM30.
    hope this helps in clearing ur doubt.
    Regards
    Saurabh

  • [svn:fx-trunk] 13288: Changing the workaround for custom whitespace preservation in spark components in order to cater for fixes to SDK-24699 and SDK-24611 .

    Revision: 13288
    Revision: 13288
    Author:   [email protected]
    Date:     2010-01-05 15:21:57 -0800 (Tue, 05 Jan 2010)
    Log Message:
    Changing the workaround for custom whitespace preservation in spark components in order to cater for fixes to SDK-24699 and SDK-24611.
    We now preserve whitespace for all of the spark "text" tags at compile time (but not only-whitespace content if an alternate text attribute was specified).
    QE notes: Please ensure that whitespace preservation continues to work, including for the scenarios mentioned in previous issues SDK-22601, SDK-23160, SDK-23972.
    Doc notes: N/A
    Bugs:
    SDK-24699 - Binding does not work with Spark TextInput "text" property
    SDK-24611 - MXML compiler should preserve whitespace in FlowElement tags (such as
    Reviewer: Paul
    Tests run: checkintests, mustella RichText, List, TextArea (the 2 baseline position failures existed prior to these changes)
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24699
        http://bugs.adobe.com/jira/browse/SDK-24611
        http://bugs.adobe.com/jira/browse/SDK-22601
        http://bugs.adobe.com/jira/browse/SDK-23160
        http://bugs.adobe.com/jira/browse/SDK-23972
        http://bugs.adobe.com/jira/browse/SDK-24699
        http://bugs.adobe.com/jira/browse/SDK-24611
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MxmlScanner.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Node.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • How to enable COLOR EFFECT, DISPLAY, etc. panels for the custom components?

    POSITION AND SIZE and COMPONENT PARMETERS are the only panels available for the custom components. Is there a way to configure the custom components or the Flash Pro itself to enable other panels (COLOR EFFECT, DISPLAY, etc.) that available for the Adobe UI components?

    In Flash CS6, you'll need to place your component(compiled clips) inside a Movieclip symbol to apply these settings. In Flash CC, you may do so directly from the Properties panel like for any other movieclip symbol.
    Let me know if you face issues.
    -Nipun

  • How do i generate the idoc for the custom infotype?

    Hi Experts,
        I have a requirement to create the custom infotype and generate the idoc for the custom infotype
        whenever the user change or crate the data by PA30, PA40 transaction .
    so please give some help to write a logic for generate the idoc?
    Thanks in advance.
    Venkat

    I have just found out from the Archives, it is not possible to generate a formula line (trend line) in Numbers_08.
    I am currently upgrading to Numbers_09.

  • Last Dunning Data not generated for customer account

    Hi Gurus,
    I have run the Dunning for a customer, it was successfully data generated to the customer account and able to see dunning history until 1st  and 2nd runs, but 3rd and final dunned but no data generated for the particular customer.
    In this time i find few other line items are additioned to the previous line item.
    The 3rd dunning days are already exceeded the grace days, but not data generated because of additional items are not eligible for dun this time they have good enough time as grace days.
    So this is caused, and no data generated to the for the respective line item which has to get the data for it's 3rd dun.
    When i run for some future time 3rd dunning was successfully got and data updated, for additional items also got dunned 1st reminder this time because they are also eligible this time..
    In my dunning procedure i have selected for always dun for all intervals and print line items for last dun.
    Your inputs are highly appreciated.
    Thanks in advance, points are avails.
    Thanks,
    Vyas

    Hi
    Any Updates on this ..
    Thanks in advance,
    Vyas

Maybe you are looking for

  • Synchronous and asynchronous communication tcp/ip

    Hello all: it is common to make synchronous communication between client and server by socket tcp/ip. But I'm needing now to establish an asynchronous communication. I mean: 0.- The server is a multithread process that has the property to establish o

  • What format is best to choose for importing to iTunes 11?

    Trying to import all my music from Windows XP laptop, (can't find my original CDs, packed away) hours later I found they were in WMA format, not acceptable to iTunes in new Mac Mini, What the? Tell me best choice for format, please? I wasn't thrilled

  • Burning a DVD from iMovie in  OSX 10.8.5

    Hi I want to make a DVD from a movie I have made in iMovie. The instructions tell me to send it to iDVD but I believe OSX does not have iDVD. Any suggestions on how I can get this movie copied to a DVD please? (I have an external DVD drive and Macboo

  • Error Starting Dbconsole, Oracle 11g R2

    Hi Friends, I have installed Oracle 11g R2  on Windows 7 Professional 64 bit, but now when i get login to database control, it gives me the error Error Internal Error has occurred. Check the log file for details. i have setted the enviroment variable

  • Adobe Photoshop 10 won't open to a double click.

    When I changed from XP to W-7 not long ago, I was told that I'd have to upgrade from Adobe Elements to Elements 10.  I did that, but have not been as pleased with Elements 10 as I was with the original Elements I got with my Olympus C-3020 camera sev