cancel
Showing results for 
Search instead for 
Did you mean: 

Apply template is not getting highligthed

Former Member
0 Kudos

Hi,

I am a fresher to Web DynPro Java. I have an issue. Consider i right click a button in the Layout and when I try to apply template for the button, it is not highlighted. Is there any settings regarding it. We have reinstalled the SAP Netweaver Studio. But there is no change. Please give an appropraite solution for this

Regards,

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

former_member751941
Active Contributor
0 Kudos

Hi surya,

From the Outline Select <b> Button</b> [Button-child] right click on it and choose <b>Apply Template</b>. You will find Template “ActionButton”. This will create an action and associate it with the Button.

Other wise you can create an Action by choosing <b> Actions </b> tab then <b> New </b>.

And associate the created action with the Button.

After Assigning action with the Button, Button will be highlighted.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e617bc3-0401-0010-2c82-81f82e73300e">Developing Web Dynpro User Interfaces</a>

Regards,

Mithu

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Apply Template works in this way:

1.Create attributes in the context

2.Right click 'root container' and give apply template

3.Choose appropriate attributes

4.click Next and Finish

Regards,

Dinesh

Former Member
0 Kudos

Hi all,

The action Template option itself is not enabled. Please find a solution for this.

Regards,

Praveen

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi,

for making that enabled,

you gotta <b>right click on RootUIElementContainer</b> only and not any other element,

let me know if you dont get it

regards

Former Member
0 Kudos

I am also facing the same issue, still its not working

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi

The Apply template is used to create a form kind of Interface directly by utilizing the context attributes for binding.Take a RootContainer element or Transparent Container element or any container then rightclick select applyTemplate.It wont get if you right click gor a button.To proceed with apply template take a container element right click select apply template

any doubts let me know

regards

kalyan

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi,

select Layout tab->goto outline view->right click <b>RootUIElementContainer</b>->select <b>Apply template</b>

here the Apply template will work.

regards

reward points if it helps