on 09-21-2008 8:28 AM
Hi,
I have a requirement as follows.
1. we have various links at left side ( from BAPI ).
2. once the user clicks on each link, the corresponding bapi should call from R/3 system and display the
content at right side( dynamically ).
I have done getting the links from BAPI and display at left side. Now How to do on clicking each link and display corresponding content dynamically at right side ?
I heared there is a Visible/Invisible property . Is this helpful to use in my application. If so , how to use.
thanks
Jyothi.
Hi
http://www.bus.ucf.edu/rhightower/ism4154/Readings/WD/Concepts%20of%20Web%20DynPro%20for%20Java.pdf
go through this link .Hope it will helpful for u
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyothi,
refere to the following for a tutorial on visible/invisible (in the tutorial it is refered to as show/hide):
http://saptechnical.com/Tutorials/WebDynproJava/EnableHide/page1.htm
Edited by: Aishwarya Sharma on Oct 13, 2008 1:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check cardinality of ValueNode in context. You can make it 1:1 if only one element is required.
Regards,
Deepti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyothi,
Go to Layout tab. Create one group UI element for each BAPI link. And embed the content into the respected groups.
Create attributes group<X>Visibility of type com.sap.ide.webdynpro.uielementdefinitions.Visibility .
(After creating the context attributes go to type property.
Click on ... button.
Wizard opens.
Expand Local Dictionary .
Expand com.sap.ide.webdynpro.uielementdefinitions
Select Visibility- last but one property. )
And bind each attributes to the visible property of the respected group.
onAction of the BAPI link make visible the respected group and hide remaining all groups. e.g. group1
//Display
wdContext.currentContextElement().setGroup1Visibility(WDVisibility.VISIBLE);
//Hide
wdContext.currentContextElement().setGroup2Visibility(WDVisibility.NONE);
wdContext.currentContextElement().setGroup3Visibility(WDVisibility.NONE);
etc.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One possibility is to create different views for the different content on the right side and navigate to the corresponding view when a link is clicked. Use a ViewContainerUIElement for the content area.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.