cancel
Showing results for 
Search instead for 
Did you mean: 

how to make use of javascript functionality in WD application?

Former Member
0 Kudos

hi,

I want to use some javascript functionality in my web dynpro application.

This is my requirement:

I want to design templates for User's ID card.

For that , I need to use label, image area, headings in that template as drag and drop objects(so that we can move the lable, image fields whereas we want in that template area).

We have already done this scenario by using javascript.

How could it be possible in web dynpro?

Can I use the existing javascript in my WD application?

Anyone Pls suggest me.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Abdul,

in addition you could read documentation on the popupmenu, you can find here:

http://help.sap.com/saphelp_nw2004s/helpdata/en/de/416d42ab7fd142e10000000a1550b0/frameset.htm

BTW: This only works for NW2004s (-;

Kind regards

Stefanie

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Thomas,

Can you please elaborate your statement.

Thanks.

thomas_szcs
Active Contributor
0 Kudos

Hi Abdul,

In the view designer, right click on a textview or image and select "insert menu". Then add menu items below. At runtime, the menu becomes visible by a smal triangle at the lower right edge of the ui element.

Best regards,

Thomas

Former Member
0 Kudos

Then, how could acheive the above scenario in WD?

Pls suggest me.

thomas_szcs
Active Contributor
0 Kudos

Hi Abdul,

There is no built-in drag & drop yet, but you could use a context menu. Several ui elements, such as textview, image, etc. support it.

Best regards,

Thomas

Former Member
0 Kudos

Hi Abdul,

The bad news for you is, you can't use javascript in WD. There is no exclusive javascript support in WD.

Regards,

Satyajit.