How to create custom MXML component accepting other MXML componenents as children
How can I create an MXML component that when I use it in the "main" MXML, accepts other MXML components...
For example:
<s:WindowedApplication>
<myComponent>
<otherMXMLcomponent></otherMXMLcomponent>
<otherMXMLcomponent></otherMXMLcomponent>
<otherMXMLcomponent></otherMXMLcomponent>
<otherMXMLcomponent></otherMXMLcomponent>
</myComponent>
<s:WindowedApplication>
How do you declare such a component?
Thanks in advance
Bhè non so se ho capito .. ti spiego la prova che ho fatto io.. Dunque, io ho provato a creare un mio componente Custom e a metterci dentro degli oggetti miei di esempio.. Il componente di esempio si chiama mioComponenteCustom e all'interno è strutturato in questo modo:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
</s:Group>
Al posto dei puntini ci metto quello che voglio.. nel tuo caso i tuoi 2 famosi pulsanti..
All'esterno chiamerò :
<mioComponenteCustom>
<s:DataGrid>
</s:DataGrid
</mioComponenteCustom>
Dove DataGrid è un componente a caso qualsiasi.. Ora, con questa struttura non ricevo errori e sembra andare bene..
Dimmi se ho capito bene o volevi fare altro..
Max
Similar Messages
-
How to create custom component in CRM 2007
Hi.
I am new for the CRM 2007 Web UI.
Here we have CRM_UI_FRAME.
Like this so many Components are there.
I want how to create our own component.
I created it as follows.
Open the Transaction code bsp_wd_cmpwb.
Provide Z Name in the Component.
Zcomponent
Press Create button.
Go to Run Time Repository.
Press Change Mode.
Create a MODEL as ALL.
GO to Browser Component Structre.
Select View.
Provide View name.
Create the View.
Go to view Layout.
Provide the code like this.
<%@page language="abap"%>
<%@ extension name="htmlb" prefix="htmlb"%>
<%@ extension name="xhtmlb" prefix="xhtmlb"%>
<%@ extension name="crm_bsp_ic" prefix="crmic"%>
<%@ extension name="bsp" prefix="bsp"%>
<cthmlb:overviewFormConfig/>
Create the context under the context.
Go to Configuration tab.
Assigne the Attributes to the Screen.
GO to the Run Time Repository.
press change mode.
Assigne the view name to the Window.
Save it.
Test the Componet. But it is not diaply anything on the screen.
How i will get the data into the web UI.
Can anybody expalin about this one to me with screen shorts if possible.
I want add some fields into the web UI. Provide some values into that. Capture the values.
Navigate the data from one screen to another screen. How it is possible. I did not understand.
If i am changing any screens in the pre define component it shows dump.
So, now i need Custom component with adding of the fields.
Please give me proper information regarding this one.
Thank You.
Krishna. B.Hi,
Try put the htmlb to show a field:
<thtmlb:label design="LABEL" for="//<context>/<field>" text="<field>"/>
<thtmlb:inputField id="<field>" maxlength="31" size="20" value="//<context>/<field>"/>
In order to get value, you can write a simple code in the event_handler:
LR_BOL type ref to IF_BOL_BO_PROPERTY_ACCESS
LR_BOL = ME->TYPED_CONTEXT-><context>->COLLECTION_WRAPPER->get_current()
var1 = LR_BOL->GET_PROPERTY_AS_STRING('FIELD').
take a look at lr_bol methods so that you can see the set and get methods.
Regards,
Renato. -
How to create custom(or) user defined component in SAPTAO
Hi,
Please provide me some document or steps on how to create custom component in sap tao.
Thanks a lot in advance.
Regards,
SudhaHi,
If you want create any custom components, you should use SAP QTP to create it.
Here are the simple steps:
i) Go to QTP -> Click on New - > Select Scripted Component - > ((Select SAP_Doc) area (i.e. whatever application area you have created for SAP TAO installation)) -> Record or Write a script based on your requirement & save
ii) Go to QC -> BPT -> open above component and insert the parameters and call these values in QTP script level (either way you can do)
iii) Create a datasheet and declare the parameters in datasheet and call this sheet whenever you have required.
Good luck.
Ram -
Hi,
How to create custom calendar in Webdynpro Abap ?.
Regards,
NarasimhaThe best way I see here is to develop your custom calender in any of the UI technologies supported like Flash (flex) or HTML5 (or maybe even SilverLight? not sure) and embed it in your WD view. You can also handle interactions between the embedded component and the WD controller.
Regards,
Raghavendra -
How to create custom infotype for training and event management
hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
PS No PA0000-> PERNR
Name - PA0001 -> ENAME
IS PS.No. PA0001-> PS no. of Immediate Superior
IS name PA0001 -> ENAME
thanx in advance
afzalHi,
Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
If you wish to create a PD infotype, use transaction PPCI to create the infotype.
But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
If you wish to create a PA infotype, use transaction PM01 to create the infotype.
But before that you may be required to create a strcuture PSnnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
Regards,
Srini -
How to Create a Table Component Dynamically based on the Need
Hello all,
I have a problem i need to create dynamically tables based on the no of records in the database. How can i create the table object using java code.
Please help.Winston's blog will probably be helpful:
How to create a table component dynamically:
http://blogs.sun.com/roller/page/winston?entry=creating_dynamic_table
Adding components to a dynamically created table
http://blogs.sun.com/roller/page/winston?entry=dynamic_button_table
Lark
Creator Team -
How to create custom content placeholder in sharepoint 2013
Hi, I would like to create custom content placeholder don't know how to and add to my custom master page in sharepoint 2013. I have no luck searching on how to create custom content placeholder, any help?
Thanks,
JohnwebHi,
If you’re not fixed your requirement with the Out of the box SharePoint place holders, you can create as many as you want as long as the ID doesn’t conflict. On the master page add the content place holder
<asp:ContentPlaceHolderid="CustomName" runat="server"></asp:ContentPlaceHolder> and add this to your page layout
<asp:Contentrunat="server" ContentPlaceHolderID="CustomName"></asp:Content>.
I suggest you provide your basic requirement for further research.
If you want to customize a master page, the Rajendra's method would be helpful.
Best Regards,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to create custom adapter for Products and CommerceService
Hi guys!
First of all I wanted to say that I did search. Only relevant material I found was this http://dev.day.com/docs/en/cq/5-5/ecommerce/eCommerce-framework.html
Unfortunately it doesn't go in details enough...
I'm trying to follow geometrixx-outdoors example to create my shoppingCart. I have a list of of products in /etc/commerce/products.... referenced by productPage in content.
But I don't know how to create custom CommerceProvider and Adapter to create proper Product objects - it always picks up geoProductImpl.
As I understand I need to specify cq:commerceProvider to myProvider and then I need to somehow register MyProvider so it gets picked up.
Also I guess I need to add MyProductAdapter somehow so when shoppingCart executes following it returns my implementation instead of geoProductImpl.
Product product = productResource.adaptTo(Product.class);
I'd really appreciate if anyone could share an example or point me in the right direction for a guide.
Cheers
KostyaHi Kostya,
Look at this presentation recorded at http://dev.day.com/ddc/en/gems/commerce-framework.html
Thanks,
Sham -
How Tou2026 Create Custom Application in E-Commerce 7.0?
Hi all,
We want to set up SAP E-Commerce for ERP 7.0. For SAP E-Commerce for ERP 5.0 the following configuration guide is available:
How Tou2026 Create Custom Application in E-Commerce 5.0
What about SAP E-Commerce for ERP 7.0? Is this guideline also valid for 7.0?
If not, where can I find the corresponding configuration guideline for SAP E-Commerce for ERP 7.0 (on the SAP Service Marketplace?)?
Thanks in advance.
Regards,
AVHello Av,
Please see the Development and extension guide @
http://service.sap.com/crm-inst
=> Release 7.0
=> Operate
Regards
Mark -
How to create custom report in crm 2013
Hi,
I want to create custom report in crm 2013. I want to show Contact information in report. My scenario is that when I select multiple record and run report then contact information show in different pages. I want to show record in textbox in report. Here
is an example of display recordHi Aamir,
Have a look at below link it shows step by step how to create custom SSRS report.
http://www.njevity.com/blog/creating-dynamics-crm-2011-reports-sql-reporting-services-pre-filtering-and-default-filters
It tells using fetchxml, you can use SQL query as well. You need to use pre filtering to run report on selected record.
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
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 -
How we create custom infotype and how to configure with its subtypes.
hai abap-hr gurus,
how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
plz help me for this with an example code.
thanks..
kiran kumarHi Kiran,
Please fallow the below steps to create the custom infotype. If you have any quires let me know.
For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
then select the `Employee Infotype' radio button
after that select the `PS Structure Infotype'
then click on Create A separate table maintenance window appears
then Create a PS structure with all the fields you want on the infotype
Save and Activate the PS structure
now Go back to the initial screen of PM01
Click on `All' push button. It takes a few moments
Click on `Technical Characteristics. Infotype list screen appears
Click on `Change'(pencil) button
Now select your Infotype and click on `Detail' (magnifying glass) button
Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
Give your subtype field as subtype field & Save and come back to PM01 initial screen
Click on `Infotype Characteristics' Infotype list screen appears
Click on `Change' (pencil) button & on New Entries
and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
to fill yours). Now save ur entries
Now the Infotype is created and ready to use.
If you want to change the layout of the Infotype as per your
requirement
In the PM01 initial screen Select `Screen' radio button and give
2000 as the screen name, then click on edit.
In the next screen.. Select `Layout Editor' and click `Change'.
Screen default layout appears here you can design/modify the
screen..change the attributes of the fields..etc.
Save and activate. (Don't forget to `Activate at every level)
Regards,
Ramakrishna kotha. -
How to create customized F4 Help of InfoObject in BW
Hi, buddies
Does anyone know how to create customized F4 help for an InfoObject?
What I need to do is when user clicks F4 help on the variable screen of query, only certain master data values should be displayed, not all of them.
Currently, I can only make setting in InfoObject to restrict the F4 value either in master data or in Cube. I couldn't create a customized F4 value list.
Thanks,
WeiHi,
i have H4 Help problem.
how can i restrict an attributes of infoobject in H4 Help value.
Please help me
Madhu -
How to create a new component using SPICE?
People, I don't know how to create a new component using SPICE.
I know that it's possible to create a new component and use a SPICE code, but I don't know how to do this very well, and I need the TI ISO124 (Isolation Amplifier), and I have no idea on how to do that. Can somebody help me? I need to develop a layout.
Thank you!!Hi,
Here is a tutorial that explains in details how to create your own component in Multisim using a SPICE model.
Hope you find it helpful,
Mahmoud W
National Instruments -
How to create Auto suggestion component by using of ADF tag
Hi ,
In my project, I am using the ADF frame work and I need to use the auto suggestion component.
Can any body suggest me how to create Auto suggestion component by using of ADF tag.
Waiting for your valuable suggestions...Try this forum:
JDeveloper and ADF
You might get a lot more response.
Jan Kettenis
Maybe you are looking for
-
Difference between SARA and CN80
Hello PS Team, I want to know the difference between SARA and CN80. I am in urge to archive data. Don't know what are the prerequisites of both and how shall I proceed.? Any help/clue will be rewarded..!! Regards, Ellie
-
How to disable "View Report" button in reporting services
Is anyone know how to disable "View Report" button in reporting services, I know can do custom code in report properties, what is the code? I have tried something like this ***button1.enable=false, but it can not success. Appreciate if anyone can rep
-
Inventory Link to Fixed Assets
Hi, I need some clarity on how the Oracle Inventory (INV) module is integrated with the Oracle Assets (FA) module. My understanding is that the Mass Additions integration to FA is only from Oracle Payables (AP) and Project Accounting (PA). If this is
-
Redirecting across 2 jsp pages in 2 different servers
hi, can anyone tell me if i can use redirect to automatically link from a page on 1 server to a page in another server, or is there some security concerns that will prevent the redirect function from working across 2 servers? thanks.
-
Setting InDesign CC as default program to open indd files
I have both CS6 and CC for inDesign. I need to keep CS6 for a plug-in which is not available yet for CC. indd files are opening with CS6 as default, even if CC is open. I have tried the Open with feature, and browse to the CC program, but when I c