on 11-23-2005 5:19 AM
hi WebDynproites,
iam using using dropdown for some fields,
to populate the context iam using method which iam calling in WDInit method,
rather calling in the wdinit,can i have event for onclik of icon on dropdown,
****mainly can have extra events other than which r there in properties window of uielements?
thanks in advance
hari
hi hari,
u can have the event on the onselect method of the drop down box.Inside the method u can give ur implementation for retriving the dta.If u want xtra events then u can go to the methods tab and create ur own methods or events that u want.
Hope this helps u.
Regards,
Nagarajan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi hari,
sorry instead of doing event handling just give ur method name in the onselect field of the dropdown box.
Inside that method try this code
<b> public void onActiondisp(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActiondisp(ServerEvent)
String a=wdContext.currentContextElement().getSamp(); -->(This is the drop down context att)
wdContext.currentContextElement().setFds(a); --> (This is the attribute name where u want ur display on selection.)</b>
//@@end
}
Hope this fully works.
with Regards,
Nagarajan.
Hi Hari,
As far as I know we cannot modify/add the properties of existing Standard UI Elements.
You have to create your own UI Elements if you want to do the same.
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.