on 03-31-2009 7:16 PM
Hi
I have component context attribute = comp_va_name
My view context attribute = va_name
My view name is View1.
I have mapped context from view to component as per the procedure.
I was just trying to access "comp_va_name" from my view i.e. View1.java? but didnt succeed.
Can u pls. let me know how can i access component context from my view.
Thanks...
Hi,
Open the View Controller Editor --> properties tab -->in the required Controllers --> clikc on Add button and select the component controller anf click finish.once u have added the component controller as required controller for view, then u will be able to acces the data from the View as shown below.
wdThis.wdget<ComponentController name>.currentContextElement.getcomp_va_name();
or open the data modellar and create a data link between component controller and view Controller and use the above line to access the component controller context.
thanks and Regards
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 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.