on 07-08-2005 10:38 AM
Hi,
I have 2 appliations sharing the same component. How do i determine which one is being used?
I want to know because I want one application to be slightly different (hide a few buttons). Am I on the right track, or should "Application Parameters" be used? if so, how?
Thanks,
faB
hi faB,
you should not execute it from the view.
- attach it to a context attribute type String
- create a context mapping to the view
- in the init method of the controller, do the call and assign the application name to the context attribute
Greets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi faB
try this:
wdControllerAPI.getApplication().getName();
Greetings,
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Well if it is a plain WebDynpro App then have you created all Development Components. If i understand correctly there is a DC that is shared by 2 other DC's. Well you will have to pass the Component Name or Application name to the common component so that it knows which DC called it. I dont know how you are invoking the common component. If its like defining a public part like you do in normal DC scenario then you can use the interface controller and pass the data.
Hope that helps you.
regards
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.