on 01-07-2008 10:08 AM
Hi All,
I am developing a Java WebDyn application which comprises of one MainView which has options to connect to two other views through a linktoaction element- View1 and View2
I have created two outbound plugs for the MainView and one inbound plug for each of View1 and View2 respectively.
I have also created two Navigational Links, one from MainViewOutbound to View1Inbound. The other from MainViewOutbound to View2Inbound.
However, once I deploy the application, only View1 is displayed. But, linktoaction for View2 says no navigational link even though I have created.
I have seen few posts on this forum related this question. But, I am unable to figure out the exact cause. Please help me on this.
Thank You.
Regards,
Suyukti B N
Dear All,
Thanks for your inputs. The plugs are working for me.
There was some problem with my IDE. Rebooting my system worked.
Regards,
Suyukti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi suyukti,
try these things
1.first create the view set.
2.embed your second and third view in the view set.
3.create the outbound plug to the main view and inbound pulg to second and third view.
4.create the navigation links by using these outbound plug to both the inbound plug.
5.use these u have both the views displayed in single action.
Regards,
satheshkumar.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Thank you for all your replies so far. However I am still facing the same issue.
Below are the steps I have verified as you have mentioned :
1) Yes, the scenario I am trying to achieve is :
MainView----LinktoAction1-----View1
MainView----LinktoAction2-----View2
MainView is the default view and all the code which fire the plugs are written in this.
2) I have verified the navigation links and are all correct. Reload + rebuild + restart of IDE dint work
3) The inbound and outbound that I have created are as below :
for MainView, I have two outbounds. For View1 I have one inbound and for View2 I have one inbound.
4) I have drawn the navigational links between the plugs.
Please could you help me if I need to verify any other step?
Do I have to include any conditions for this? Or is there any bug associated with the IDE for this?
Please suggest.
Regards,
Suyukti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suyukti,
Check the Diagram view. Make sure you have drawn the link between in bound and out bound plug.
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
View1 to View2
- Create inBound to view1 and outBound to view2
-Link ibBound to outBound
-Create an action ToView2
-assign this action to the LinkToAction
-in the implementation of the action ToView2 write the following code
wdThis.wdFirePlug<<ToView2>>();
and same for view2 to view1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If I could understand your scenario correctly , you are trying to achive
Mainview->Link To URL -> View 1
->Link To URL -> View 2
"However, once I deploy the application, only View1 is displayed. But, linktoaction for View2 says no navigational link even though I have created."
To make MainView as the default view rendered when the application is deployed set he default property of the Mainview from the window.
And all the code which fire the plugs should be in mainView.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the reply.
Yes I have written Fire Plug methods as below :
********************
1)
public void onActiontoInsertEmployeePage(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActiontoInsertEmployeePage(ServerEvent)
wdThis.wdFirePlugToInsertEmployee();
//@@end
}
2)
//@@begin javadoc:onActiontoDisplayOnSearchPage(ServerEvent)
/** Declared validating event handler. */
//@@end
public void onActiontoDisplayOnSearchPage(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActiontoDisplayOnSearchPage(ServerEvent)
wdThis.wdFirePlugToDisplayonSearch();
//@@end
}
********************
Regards,
Suyukti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suyukti,
I hope you have methods for both linkToAction items i.e you have two separate links for 2 views. If yes, and you have written firePlug method two views seperately then there should be some issue with navigation links or plugs.
If that is not the case, please post method code which trigeers fire plug.
Regards,
Ganga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.