cancel
Showing results for 
Search instead for 
Did you mean: 

Open PopUp Window without Title

Former Member
0 Kudos
139

Hi all,

How can I open a PopUp window without title?

I have only one command related to window title:

window.setTitle(string);

But I need it without title at all.

Any idea?

Thanks,

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I have only one command related to window title:

window.setTitle( null );

Best Regards

Ravi

former_member185086
Active Contributor
0 Kudos

Hi

You need a window without title header ?

Ya there is only one command related to window title i.e. win.setTitle().

Best regards

Satish Kumar

Former Member
0 Kudos

Hi,

Yes I need a window without title header at all.

Any idea?

Thanks

Michael

former_member185086
Active Contributor
0 Kudos

Hi

This option is not in API,Because they provided the default skeleton under which we can design our UI.

So modification on this default feature is not available.

we can additionally remove the following WindowFeature

MENU_BAR("menubar", Availability.EXTERNAL_ONLY),
  TOOL_BAR("toolbar", Availability.EXTERNAL_ONLY),
  STATUS_BAR("statusbar", Availability.EXTERNAL_ONLY),
   ADDRESS_BAR("addressbar", Availability.EXTERNAL_ONLY);

i.e 
confermationDialog.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi,

Can I do it on the portal theme level?

Thanks,

Michael

former_member185086
Active Contributor
0 Kudos

Hi Michael

In this way I have no idea.

But Portal theme has its own purpose for branding and customization based on the end user/client preference.

Whenever we deal with window by default it has some own characteristic like size ,shape,taskbar ,color etc whether it is RCP,HTML,Swing or webDynpro.

Can u discuss the requirement?

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi, Satish

My requirement is very simple.

I need a "close window" icon on the popup header.

That is all.

Thanks,

Michael

former_member185086
Active Contributor
0 Kudos

Hi

Very First tell the version of NWDS?

Second have a look on this [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]

(Here context is different but we can say based on this article that some workaround we can do(applicable only for CE EHP1))

Third We can give not exactly but a little different solution to this (your ) problem

1. By using buttons with has no text only standard icons provides by sap ( X ) in red color.with associating action which close the popup.(button will be at right corner of popup with red signal will gives a intuitive feel like normal window )

2. Some places i have seen(in CE version) that SAP uses this options(normally when they provide some kind of help).

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi Satish ,

Thanks for your answer.

My version is 7.0.

My problem is only an empty header of the popup window.

I need an icon to be placed exactly in the right top corner.

Thanks,

Michael

former_member185086
Active Contributor
0 Kudos

Hello Michael

I don't think so

1.ImageSource property if there for Button UI Element?

2.Default Image repository is also not available in 7.0.(for this we have option to put image in 1 MIME folder)

If yes for 1

Then I suggest to use button solution(which is there in previous reply) and let header will be there.

and take the image form [here|http://images.google.co.in/images?q=close+button&hl=en&client=firefox-a&rls=org.mozilla:en-US:official&sa=G&um=1&imgsz=icon]

Best Regards

Satish Kumar

Answers (2)

Answers (2)

former_member197348
Active Contributor
0 Kudos

Hi Michael,

If you comment this line

//window.setTitle(string);

I think it solves your problem. If you still get problem then try like this:


// set an empty String
window.setTitle(" ");

Regards,

Siva

Former Member
0 Kudos

Hi

check the window properties . may be there is option with out providing title .

.SetTITLE () you can aviod it . and in the properties the description or text check which

can certainly help you