cancel
Showing results for 
Search instead for 
Did you mean: 

Container in the webdynpro

Former Member
0 Kudos

hi,everyone,

How can i place a TransparentContainer in the center of the outputscreen of the webdynpro.please give me the steps

Tony++++++++++++++++++++++++

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Set the layout of the root container to MatrixLayout, width=100%.

Add your container as child of the root container, set layout data to MatrixHeadData with width=100%, hAlign=WDCellHAlign.CENTER, cellDesign=WDLayoutCellDesign.PADLESS.

This should do it.

Armin

Former Member
0 Kudos

Hi Tony,

You don't have that flexibility in WebDynpro !!

I don't think there is any standard document in SDN on this

You can check the properties like Layout,width& height of the UIElements.

Regards, Anilkumar

Former Member
0 Kudos

hi AnilKumar,

I tried all those things u had given but not getting to the center i gor for properties like width,height just it extend that container at that place but not moving to the center

Tony))))))))))))))))))))))))))

Former Member
0 Kudos

Hi Tony,

The maximum u can do it place an invisible element before the TransparentContainer. Now adjust the width of invisible element to place the TransparentContainer to center.

Regards,

Piyush.

Former Member
0 Kudos

Hi Piyush,

U have given one idea, i hope it will works but i cant understand u had posted in that u mentioned invisible element keep it before TransparentContainer how it possible and also there is no width property of the invisible element ..starting by default a RootUIElementContainer is there right click on that means it will get invisible element up to that i know next what i cant understand plz send me ,waiting for ur rply

Tony*****************************

Former Member
0 Kudos

HI Tony,

Sorry i should have mentioned one more thing. The layout of RootUIElementContainer should be Matrix or Grid. Then only width property will be visible.

Under RootUIElementContainer Insert Child Invisible UIE. After that again Insert Child, TransparentContainer. Now u can use some logic to set the position.

U can dynamically also set the width property etc of UIEs like Invisible element.

Regards,

Piyush.

Former Member
0 Kudos

This is not possible.

Regards, Anilkumar

Former Member
0 Kudos

hi AnilKumar,

I am not satisfied with ur answer Is there any other way to overcome this problem can we go for dynamic way to write the code in the wdModifyView()

Tony===========