on 06-19-2006 10:22 PM
All,
I have a View that has three LinkToAction UI elements. When clicking each one of them, it has to navigate to three other views. Have created the necessary outbound plugs, inboundplugs, links and onAction Events. But only the first LinkToAction works - on clicking navigates to its corresponding view. The other two links do not work - on clicking does not do anything. Can anyone tell me what could the problem be ? Thanks for your help.
Have you assigned to each link an individual action or do you want to use a common action?
You might add a debug statement into each event handler, like
void onAction1(...)
{
/* inside user coding area: */
wdComponentAPI.getMessageManager().reportSuccess
(
"Action1 executed"
);
wdThis.wdFirePlugToView1(...);
}
Additionally check your navigational links.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kris,
Did you bind onAction action handler with all UI element`s events? BTW, in case you are using one action handler for multiple UI elements events you need parameters mapping for each UI element (LinkToAction). Call for every linkToAction UI element
mappingOfOnAction().addParameter( "action", element.getId() ) in wdDoModifyView method and add to action handler new parameter action.
Best regards, Maksim Rashchynski.
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.