on 12-15-2009 8:41 AM
Hi Gurus,
I am using Link To Action UI element.
As shown in WDR_TEST_EVENTS i m maping the text to context node.display name.
When i do the same in my application, the element is not appearing on the screen.
Also there is onr more requirement.
In my initial page the view container should be blank or some logo will be there.
Only when i click link to action the second view which has some select options shld be displayed.
Help required urgently....
Best Regards,
Navin Fernandes
Hi
In the linktoaction UI element property Event did u write the coding for the navigation?
from the first view to secon view?
Regards
Arun.P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
check if the u r binding the VISIBLE property of ur element to some context attribute of type WDUI_VISIBLE
and check if u r setting this view as initial view
In my initial page the view container should be blank or some logo will be there.
Only when i click link to action the second view which has some select options shld be displayed.
procced like thiis :
1 create a context attribute of type WDUI_visibility and set its initial value to '01'
2 bind this with ur view container UI
3 make a Action for ur UI
4 now in onaction of ur link to action , using set_attribute method , set the attribute to '02'
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node .
DATA lv_attr LIKE ls_city-ca_attr.
* navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
EXPORTING
name = `CA_ATTR`
value ='02' ).
5 now fire ur Outbound plug in the same method
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Navin,
As far as element is not appearing on the screen, Could you check whether the attribute under the context is filled.and make the first view as a defalut view.
And in order achieve the other requirement. you need to define outbound plug for the first view which has the link element and for the second view you have to define an inbound plug and you need to connect both the plug you need to define a navigation link. you just have to use the context menu.
And on method for the UI element link to action you need to fire the outbound plug.
Regards
Anurag Chopra
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.