on 05-08-2009 8:00 AM
Hi all,
in my application iam using one table having hyperlink,
based on another field condition when i click on hyperlink it shud open the corresponding another view
i have 3views
when i click on hyperlink in this table based on another field of the same table condition
it shud open another view
plz help me how to do this.
regards,
sush.
fghf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
If you want to call a predefined view for every record in the table, you can do it in the following way:
1. Consider you have 4 views MainView , PlaceHolderView,TargetView1,TargetView2.
2. your table is on your mainview.On every record click fire a plug to PlaceHolderView.
3.Your placeholder view will have a ViewContainerUI Element & you can manage which view to display inside the Placeholder view depending on the record that is clicked.
Hope the above is clear. Please revert incase you need more details
Regards,
Virag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Suppose all the view is in the same window. So for that you need to use fire plug from one iView to another.Go to navigation modeller with roght clicking on the window. then create fireplug from where you have to navigate to another view.Suppose the outgoing fireplug is ToNewView
Suppose you have the hyperlink and the action on this hyperlink is opennewview
public void onActionopennewview(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionopennewview(ServerEvent)
wdThis.wdFirePlugToNewView();
//@@end
}
Hope this is clear to you.let me know if you have any concern.
Thanks
Kanai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.