cancel
Showing results for 
Search instead for 
Did you mean: 

Getting border around the layout in webdynpro abap

Former Member
0 Kudos

Hello All,

I am looking for option to get  border around transparent container or group layout in webdynpro abap.

Actually I have placed my UI elements in the group layout now i want border around the layout.

How to  get the border ? is it possible through group or do i need to take transparent container.

Thanks & Regards,

Uvendu Bala.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I have used the property 'cellBackgroundDesign' of the Matrix layout to highlight or border. This helps in differentiating two different groups or highlight a group.

(The trick was to create one parent group with matrix layout and inside this parent group create other  sub-group(s). Set the 'cellBackgroundDesign' of sub-group)

So try using the matrix layout.

Hope this helps!!!

Best Regards,

Priyanka

Former Member
0 Kudos

Hello Priyanka,

Thankyou for your reply , I have used 'cellBackgroundDesign' property it works fine when we run the application standalone.But when we run it from portal the border does'nt appear.

Thanks & Regards

Uvendu Bala

TusharShinde
Active Participant
0 Kudos

Hi,

May be at theme level in Portal some changes have been done by Portal Consultants for Web Dynpro UI Element. In portal using Theme Editor Web Dynpro UI element look-n-feel can be changed to some extent.

So may be while developing it shows what you have designed but when you check the same in Portal, it might look different because of changes in Theme.

Br.

Tushar Shinde.

Former Member
0 Kudos

This will help you to get the border using contextpanel

http://scn.sap.com/docs/DOC-25062

Former Member
0 Kudos

Hi,

I agree with Tushar, and probably this can be taken care by Theme editor. Please see below link which explains setting the Group property in theme editor. Please consult your portal consultant.

http://help.sap.com/saphelp_nw04/helpdata/en/7e/cefc40b2c7f96fe10000000a1550b0/frameset.htm

Answers (7)

Answers (7)

Former Member
0 Kudos

You can achieve this using nested containers.

For example, make a gridlayout transparent container, and set the background to fill2. Then change the padding for left, right, top and bottom all to 3. Set the stretch horizontally property.

Next put a second transparent container inside of it, and set the background to plain.

Now you should get a border.

Former Member
0 Kudos

Hello all,

Thank you all for ur replies,

I could achive the requirement by hiding the group header and setting 'CellBackgroud design' of the group to 'Sapcolor' ,Our portal theme sets white background to sap color.

Thank & Regards

Former Member
0 Kudos

Hi Bala

That is what I said, there is not much you can do ......

Please set status as 'answered'.

regards

yuval peery

Former Member
0 Kudos

Hello all,

Thank you all for ur replies,

I could achive the requirement by hiding the group header and setting 'CellBackgroud design' of the group to 'Sapcolor' ,Our portal theme sets white background to sap color.

Thank & Regards

Former Member
0 Kudos

Hi Bala ,

I think there is no option for Border in the container. You can try Keeping your view in a View container UI element and embed in your window. Which gives a separate look from other UI elements .

Thanks ,

Venkat Ratnam Naidu

Former Member
0 Kudos

Hi,

    Use Contextpanel to get the border.

Regards,

Ravi Seela.

Former Member
0 Kudos

Hi

Unfortunately it is not possible under 7.0 . Not sure about more advanced web dynpro versions

regards

yuval peery

Former Member
0 Kudos

Hello All,

Please provide some idea on this .

Thanks Regards,

Uvendu Bala.