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
Similar Messages
-
How do I remove expand / collapse icon for JTree empty folders
Hi
I am using a JTree as a file system browser. I use DefaultMutableTreeNode nodes.
I have a problem with empty folders.
Empty folders show the expand / collapse icon, leading the user to believe there are sub-directories. When the user double-clicks the folder, the expand / collapse icon goes away. This is a "haha-gotcha" glitch that I really don't want my users to have to continually deal with.
So, how might I get my JTree to not show the expand / collapse icon for empty folders?
Thanks
WayneMaybe I can use the FileSystemView isTraversable(File f) method in my TreeCellRenderer class to check if anything is in the directory.
But I still need to know how to disable the expand / collapse icon for such a node. -
Remove the expand/collapse image for af:treeTable
I am showing some data in a treeTable, which some rows will not have any further childs. How can I remove the expand/collapse image for those rows in the component <af:treeTable> ?
Regards,
UdayHi,
according to http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/treeTable.html you can only hide the expand/hide all link
Frank -
How to Implement N-Level Approval for Bid,Live Auction,PO,Contract ?
Hi Experts,
I am new to SRM 5.0. My requirement is how to implement N-Level Approval for Bid, Auction, PO and Contract? Which steps should I follow for N-Level Approval? Can any one send me sample code and name of BADI where I have to implement the code.
Abhijeet PanseHi
Please check for <b>BBP_WFL_APPROV_BADI</b> using SE18 transaction for relevant Code as well and standard SAP documentation.
Related sample code and other useful pointers ->
WS14500015 is not working for Multilevel approval
Re: SRM / Shipping cart
Re: N Step Approval BADI - BBP_WFL_APPROV_BADI
Re: N-step BADI workflow
http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/frameset.htm
Multiple Implementation For BBP_WFL_APPROV_BADI
Re: Help needed on N-Step Approval WFL for SC
Re: N-Step 14000109 workflow - Unable to identify Approvers
Do let me know.
Regards
- Atul -
How will i configure partner determination for customer master
how will i configure partner determination for customer master data.
hi
Check this
BUSINESS PARTNERS AND PARTNER DETERMINATION
In the partner determination procedure you can determine whether partner functions can or should occur in a partner object (Customer Master, Sales Document, Item Category etc.) For each object, in which partner function can be created, you can define partner procedures. This also means that
For Customer Master
For Sales Documents
For Sales Documents and Billing Documents: for items
We can define our partner determination procedure for each of these levels as shown below. In Blue are given the ones wherein the Partner Procedures are assigned to the Partner Objects
Customer Master Account Group
Sales Document Header Sales Document Type
Sales document Item Item Category in sales
Delivery Delivery Type
Billing Header Billing Type
Billing Item Billing Type
Sales Activity Sales Activity type
By assigning a procedure you determine for which account groups (for the customer master), which sales document types (for sales documents) and for which item categories this procedure would be valid.
In the partner determination procedure you can determine for each partner function
whether the partner function is an obligatory partner function
whether the partner function can be changed in the document
BUSINESS PARTNER FUNCTION
By assigning a business partner function to a partner you can determine which functions the partner fulfils in the business process. Partner Functions are classified using partner type. The partner type represents the roles played by the business partner within the business transaction.
Following partner functions exist in the standard process of Sales and Distribution
Partner Type Customer
Sold-to Party, Ship-to Party, Bill-to Party, Payer and Sold-to Party authorized to release against a contract. You can define the sold-to party authorized to release against a contract in the partner screen of a contract. This partner may only schedule orders with reference to this contract, even when he is not the sold-to party authorized against a contract.
Partner Type Contact Person
Contact persons are natural persons whom you must contact at the customers for business processing (e.g. purchasers) Contact person can be created directly in customer master record.
Partner Type Vendor
A forwarding agent is an example of a business partner on the credit side, who is included in a sales process. If you commission a particular forwarding agent for deliveries to a specific customer, you can define the forwarding agent in the customer master record as the partner.
The other possible partner functions on the credit side in the sale process are interpreters, auditors etc. The forwarding agent is an agent who performs transportation services. This includes organizing the shipment, delivery and receipt of the goods, arranging the carrier services and handling the customs issues.
Partner Type Personnel
Employee Responsible
Sales Personnel
You can enter an employee from your firm as the person responsible:
In the Customer Master If the employee is normally responsible for processing transactions with this customer.
In the Sales Document If the employee is responsible for processing the Business Transaction.
STEP WISE PROCESS FOR PARTNER DETERMINATION PROCEDURE
Sales and Distribution->Basic Functions->Partner Determination->set Up Partner Determination->Set up Partner Determination for Customer Master.
First go to OVT0 create customer account groups. Here you make new entries, click whether it is a one time customer, description. Also you can do the field selection here for general data, co. code data and sales area data.
Now go to IMG logistics general business partner customers control define & assign customer number ranges define the number. Here you range that you want and assign it to your customer account group.
Now go to VOPA here the selection will be on customer master, click on partner procedures, create the partner determination procedure. The following steps need to be done in partner determination area
Assign partner function to account group i.e SP,SH, BP, PY to account group (debit side ). Sales and Distribution->Basic Functions->Partner Determination->Assign Partner Functions on the debit side to account Groups.
Then create Partner Determination Procedure.
Assign the Partner Determination Procedure to Partner Function.
Then finally assign the Partner Determination Procedure to acc group.
Important Points in Business Partners and Partner Determination Procedure
Partner relationship maintained/defined in the customer master is proposed automatically in the document header when you create a sales document.
In customizing we can decide whether several partners can be assigned to one partner function in the customer master.
In sales documents, the system is configured so that only one partner can be assigned to each partner function.
We can define partners at item level in the sales documents.
Business Partners that are defined at the header level however cannot be changed at the item level.
You can prohibit anyone from changing a partner that has already been entered in a sales document.
It is also possible to manually change or enter the address of a partner, such as the Ship-to Party. This change does not affect the master record. -
How to manage the Credit Control for Customer Consignment Process?
Hi All,
Could anyone tell me how to manage the Credit Control for Customer Consignment Process?
ThanksHi, there is not standard solution, we did customized process for consignment credit block , check below
1. defined status profile - with lock/auto/approved/rejected and new t.code for approval or rejected.
2. maintained consignment credit limit in Z table
3. logic for detemining status written in sales order save userexit.
4. while calcualting the values, system need to check open sonsignment order of customer/ open deliveries/ stocks at customer place MSKU table. and calculate value with MBEW/KONV ect.
5. if value is less than Z table then status AUTO, which do not need release, if value is greater than Z table put status LOCK means credit block need to release from new T.code.
Hope you get some idea -
How to Implement the Search page for Workflow Notifications?
Hi All,
I want to implement the new Search page for Workflow Notifications. Search page containing Company, Paygroup, Source, Initiator, Supplier Name, From date & To date fields. These fields(Poplist & Calendar) are getting the values from different tables and these fields are not in WF_NOTIFICATIONS table only Initiator & dates are there. After selecting the values in all fields or one field based upon these values I want to display the all Workflow Notifications ( Those are satisfy the search criteria only not all ) in Advance Worklist Table RN in the Notifications page. Is it possible to create the Search page based upon the above scenario if Yes Let me know how to implement this search page for Workflow. Page was designed but how to get the sortlisted Notifications and how to pass these values to next page?
Thanks in advance.
Edited by: user635152 on Nov 13, 2008 10:53 AMHi Guru,
I crete the Search page having 5 poplists and select the values from dropdown list and click GO button it serch the records and displays that records in ResultsTable in same page.
My case, Search page is running fine if I select the values and click GO button page is refreshed without errors but I am unable to displays the records in ResultsTable.
What I am missing?
My Select Stmt:
SELECT * FROM
(select wn.nid notification_id
,ou.name company
,I.PAY_GROUP_LOOKUP_CODE paygroup
,'AP' source
,pf.full_name initiator
,pv.vendor_name supplier_name
,I.GL_DATE FROM_TO_DATE
from ap_invoices_all i
, po_vendors pv
, hr_operating_units ou
, per_all_people_f pf
, FND_USER FU
, (SELECT trim(substr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),
1,instr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),' for'))) inv_no
,notification_id nid
FROM WF_NOTIFICATIONS WN
WHERE WN.MESSAGE_TYPE = 'APINV'
AND WN.STATUS NOT IN ('CANCELED','CLOSED')) wn
where i.vendor_id = pv.vendor_id
and i.invoice_num = wn.inv_no
and i.WFAPPROVAL_STATUS = 'REQUIRED'
and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
and i.org_id = OU.organization_id
AND OU.name like nvl(:company_name,name)
and i.pay_group_lookup_code = nvl(:pay_group,i.pay_group_lookup_code)
and exists (select ad.invoice_id
from ap_invoice_distributions_all ad
where ad.invoice_id = i.invoice_id
and ad.accounting_date between nvl(:from_date,ad.accounting_date)
and nvl(:to_date,ad.accounting_date))
and 'AP' = nvl(:source,'AP')
and i.created_by = fu.user_id
AND fu.EMPLOYEE_ID = pf.person_id
AND pf.full_name like nvl(:initiator, pf.full_name)
UNION ALL
select po_num.nid notification_id
,ou.name company
,ps.PAY_GROUP_LOOKUP_CODE paygroup
,'PO' source
,pf.full_name initiator
,pv.vendor_name supplier_name
,P.CREATION_DATE FROM_TO_DATE
from po_headers_all p
,po_vendors pv
,po_vendor_sites_all ps
,hr_operating_units ou
,per_all_people_f pf
,(select trim(substr(wn.subject,24,instr(wn.subject,' for')-24)) po_no, notification_id nid
FROM WF_NOTIFICATIONS WN
WHERE WN.MESSAGE_TYPE = 'POAPPRV'
AND WN.STATUS NOT IN ('CANCELED','CLOSED')
and wn.subject like 'Standard Purchase Order%') po_num
where p.SEGMENT1 = po_num.po_no
and p.vendor_id = pv.vendor_id
and p.org_id in(select organization_id
from hr_operating_units
where name like nvl(:company_name,name))
and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
and p.AUTHORIZATION_STATUS = 'IN PROCESS'
and p.CANCEL_FLAG = 'N'
and 'PO' = nvl(:source,'PO')
and p.agent_id = pf.person_id
and pf.full_name like nvl(:initiator, pf.full_name)
and pv.vendor_id = ps.vendor_id
and ps.org_id = ou.organization_id
and ou.name like nvl(:company_name,name)
and ps.PAY_GROUP_LOOKUP_CODE = nvl(:pay_group,ps.PAY_GROUP_LOOKUP_CODE)
and trunc(p.creation_date) between nvl(:from_date,trunc(p.creation_date)) and nvl(:to_date,trunc(p.creation_date))
In CO PFR Code:
if (pageContext.getParameter("Go") != null)
OAQueryUtils.checkSelectiveSearchCriteria(pageContext, webBean);
String COMPANY = pageContext.getParameter("COMPANY");
String PAYGROUP = pageContext.getParameter("PAYGROUP");
String SOURCE = pageContext.getParameter("SOURCE");
String INITIATOR = pageContext.getParameter("INITIATOR");
String SUPPLIER_NAME = pageContext.getParameter("SUPPLIER_NAME");
Boolean executeQuery = BooleanUtils.getBoolean(false);
Serializable[] parameters = { COMPANY, PAYGROUP, SOURCE, INITIATOR, SUPPLIER_NAME, executeQuery};
Class[] paramTypes = { String.class, String.class, String.class, String.class, String.class, Boolean.class };
am.invokeMethod("initSearch", parameters, paramTypes);
OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("ResultsTable");
table.queryData(pageContext, false);
AM invoke Method():
public void initSearch(String company,
String paygroup,
String source,
String initiator,
String supplier_name,
Boolean executeQuery)
WorklistFindVOImpl vo = getWorklistFindVO1();
if (vo == null)
MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "WorklistFindVO1") };
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
vo.initQuery(company, paygroup, source, initiator, supplier_name, executeQuery);
VO Code:
public void initQuery(String company,
String paygroup,
String source,
String initiator,
String supplier_name,
Boolean executeQuery)
StringBuffer whereClause = new StringBuffer(500);
Vector parameters = new Vector(5);
int clauseCount = 0;
int bindCount = 0;
setWhereClauseParams(null); // Always reset
if ((company != null))
String companyname = null;
try
companyname = new String(company);
catch(Exception e) {}
whereClause.append("COMPANY= :COMPANY");
whereClause.append(++bindCount);
parameters.addElement(company);
clauseCount++;
if ((paygroup != null) && (!("".equals(paygroup))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("PAYGROUP = :PAYGROUP");
whereClause.append(++bindCount);
parameters.addElement(paygroup);
clauseCount++;
if ((source != null) && (!("".equals(source))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("SOURCE = :SOURCE");
whereClause.append(++bindCount);
parameters.addElement(source);
clauseCount++;
if ((initiator != null) && (!("".equals(initiator))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("INITIATOR = :INITIATOR");
whereClause.append(++bindCount);
parameters.addElement(initiator);
clauseCount++;
if ((supplier_name != null) && (!("".equals(supplier_name))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("SUPPLIER_NAME = :SUPPLIER_NAME");
whereClause.append(++bindCount);
parameters.addElement(supplier_name);
clauseCount++;
setWhereClause(whereClause.toString());
if (bindCount > 0)
Object[] params = new Object[bindCount];
parameters.copyInto(params);
setWhereClauseParams(params);
if ((executeQuery != null) && (executeQuery.booleanValue()))
executeQuery();
} // end initQuery()
Please let me know what I did mistake in my code?
I am unable to find it what I missing and there is no errors but no records displayed in Results Table.
Please it's urgent.
Thanks
Nag.
Edited by: user635152 on Nov 19, 2008 4:43 PM -
hi,
sap gurus,
how to set partner determination procedure for customer
hierarhies.........
regards,
balaji.t
09990019711.Hello Rajesh,
The PDP is set up in customizing.You must create a regular partner determination procedure.In the IMG choose
CRM>Basic Functions>Partner Processing-->Define Partner Determination Procedure
You can define a partner determination procedure for each object type.
PDP assigned to the object type Campaign can also be campaign-type-dependent.
IMG:CRM>Marketing>Marketing Planning and Campaign Management>Partner Processing>
Assign Partner Determination Procedure
Hope this helps!
Best Regards,
Shanthala Kudva. -
How may implementations can we have for a BaDI?
How may implementations can we have for a BaDI?
if BADI check Multi-USE , then u can
Multiple-Use Business Add-Ins
You can differentiate between single-use and multiple use Business Add-Ins. The distinction is based on the procedure or event character of an enhancement. In the first case, the program waits for the enhancement to return something, usually a return code. A typical example could be a benefit calculation in HR. Depending on the implementation, alternative calculations can be executed. With multiple use add-ins, an event that may be of interest to other components is processed in program flow. Any number of components could use this event as a hook to hang their own additional actions on to.
In addition to importing parameters, you can also use changing parameters for multiple-use Business Add-Ins. There is no sequence control for multiple-use implementations of BadIs. Therefore, using changing parameters can cause problems. There is no guarantee that implementations will not overwrite the results of previous implementations. Sequence control is technically impossible, since at the time of the definition the interface does not know which implementations there will be and which parameters will be changed by implementations. It is not possible to have a decision as to which implementation should be executed before which other (future) implementation.
Example:
In a particular application, you want to be able to continue processing indexes after another component has saved data (in other words, the system should allow you to use an add-in after saving). Since this point in time can be useful for different purposes, you can create an enhancement here that can be used by multiple subscribers.
To create a multiple-use Business Add-In, proceed as follows:
1. Define an add-in and select the Multiple Use checkbox from the Administration tab.
2. Define an interface with the method OBJECT_SAVED'and the importing parameter OBJECTNAME.
Calling your enhancement in the application program:
program event.
data exit_obj type ref to if_ex_event.
call method cl_exithandler =>get_instance
changing instance = exit.
form save_object using obj_name type c.
update
call method exit_obj->object_saved
exporting objectname = obj_name.
endform.
For the caller it is irrelevant whether (and how many) subscribers use the event as a starting point for further actions. The active implementations are called in the adapter method.
more in http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
Regards
Prabhu -
Can please tell me how to implement expand and collapse table row data?
i am trying implement expand and collapse table row data but i do not get any ideas..can please any one help me its an urgent requirement
Yes, we can.
I think the best place for you to start for this is the NI Developer Zone. I recommend beginning with these tutorials I found by searching on "data log rio". There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
NI Compact RIO Setup and Services -> http://zone.ni.com/devzone/cda/tut/p/id/11394
Getting Started with CompactRIO - Logging Data to Disk -> http://zone.ni.com/devzone/cda/tut/p/id/11198
Getting Started with CompactRIO - Performing Basic Control -> http://zone.ni.com/devzone/cda/tut/p/id/11197
These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
Jason
Wire Warrior
Behold the power of LabVIEW as my army of Roomba minions streaks across the floor! -
How to enable "On Exit" property for a Quiz Question?
Maybe there is a better way of doing this, but I'm making a quick jeopardy game using Captivate 8, and I'm simply trying to get the board buttons/shapes to disappear after they have been clicked. I was using advanced actions where the first action would take you to the question and the second action would hide the shape that is acting as a button. Doing so I am finding that it works for the first one, and then only intermittently for the rest. Most of them will simply hide and do nothing, even though I've confirmed all advanced actions are correct and backward movement is possible.
So what I was trying to do was separate the actions. Have the actions on the board simply jump to the quiz slide and then let the quiz slide "on exit" simply hide the button as the user returns to the board. Then I notice the "On Exit" property for the quiz slide is not usable. How do I enable this?
By the way, I am not using the jeopardy interaction because I'm making a more custom looking board with some extra scoring features which are working well.Have written 4 posts about shared actions. And certainly for processes where you need duplicate actions a lot, like for your game, in CP8 shared actions allow you to have variables and literals as parameters. Here are the post links:
Dare to Share - part 1 - Captivate blog
Dare to Share - part 2 - Captivate blog
Parameters in Shared Actions - Captivate 7 vs. 8 - Captivate blog
Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog
And this dashboard was created almost exclusively with shared actions:
Captivate 8 - First Adventures - Captivate blog -
How to implement 'Context Sensitive Help' for Workforce Performance Build Tool.
Hi Gurus,
We have a requirement to implement ‘Context Sensitive Help’ for Workforce Performance Build Tool. Please let me know how to go about implementing the "Context Sensitive Help".
It will be great if you can share some links to the documents and screenshots.
Thanks,
Sanjiv KarmakarHi Sanjiv,
do you you mean expand the Help Menu => Pull Help or do you mean
EPSS => push Help?
in case pull help please tell me exactly which system GUI or EP and version you are using.
many different scenarios are possible.
Tom
P.S. Please take care of the name is Workforce Performance Builder or maybe in-official WPB.
many people ask in the HCM area for help, this is the reason why we do not observe all discussion.
The name in the title will help us to find your questions on time. -
How to use visual attribute property for the tab canvas
Hi all,
i wanted to use set_tab_page_property ,and a visual attribute property for that
respective tab page .
but is saying to many declarations to match up . how will i able to do that.
can any one helip me out ...
example....
i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
can anyone help me out in this.
thanks in advance
vardhiHi all,
i wanted to use set_tab_page_property ,and a visual attribute property for that
respective tab page .
but is saying to many declarations to match up . how will i able to do that.
can any one helip me out ...
example....
i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
can anyone help me out in this.
thanks in advance
vardhi -
How to see output in GTS for Customs documents
Hi experts,
could you please let me know how to see outputs for customs documents like origin of certificate for US. (ex: like in SD to see order output VA02 then goto issue output)
let me know the Path or Transaction code to see output on system.
Regards
ReddyHi
Follow the path:
Customs Processing - Import/Export>Monitoring>Customs Import/Export Declaration>Display Available Customs Export/Import Declaration>Communication Tab
Or try
T-Code: /SAPSLL/CL_CUS_03
Check for Certificate of Origin
Regards
Vivek -
How to implement DC metadata property in KM
Hi all,
I have requirement like adding DC metadata property for KM documents. Can any one please help me regarding this. i have followed this document
http://dublincore.org/documents/dces/
Regards,
Kumar.Hi,
I already have this document, in this document explain that how to search the DC metadata using TREX.
My requirement is DC metadata will display with document name, like createdBy, Author, ModifiedBy..
How can i add DC metadata in to documents in KM like KM predefined properties?
Regards,
Kumar.
Maybe you are looking for
-
How to Install Windows 7 Without the Disc
1a) Here is very useful article from PCWorld.com. The article is entitled "How to Install Windows 7 Without the Disc" and means just what it says. The article also has links to Magical Jelly Bean Keyfinder and legitimate Windows 7 ISOs from Digital
-
Booting problems on macbook pro 17 inch
So I have installed a new SSD Harddrive and ram, in my old macbook pro 17 inch. I have tried to get it to boot into "boot manager" by pressing Command + R, but nothing happens. I have tried this by the keyboard on the computer itself, a wired keyboar
-
Help setting up a billion 8800nl for BT infinity f...
Hi , having had a whole host of intermittent problems with my HH5 and a new replacement being just as much trouble .I sent for the above router , only i have a problem working out what username password I should be using , its been years since I fir
-
Method readLine() deprecated ?
I use this method a lot and it works too with JBuilder, however I get warnings about it being deprecated. Because of that I can't compile my application with javac. Do you know an alternative method ?
-
Load Photoshop in a Laptop in addition a the main computer
I have Photoshop 5S and 6 in my Apple Desktop. I would like to use anyone of these 2 programs in my MacBook Pro. What should I do?