cancel
Showing results for 
Search instead for 
Did you mean: 

MINE upload and use in Java webdynpro NWDS

former_member401472
Participant
0 Kudos

Hi Experts,

  

  How can we upload my own logo into Java webdynpro(NWDS) and how can i use display on the layout.

  As well once click on lock will link to some URL.

Appreciated the help.

Thanks

Rag

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I agree with Tobias. Give complete URL and it should work.

former_member401472
Participant
0 Kudos

Hi Experts,

 

  How can we upload my own logo into Java webdynpro(NWDS)

  and how can i use display on the layout.

As well as once click on logo will link to some URL.

Appreciated the help.

Thanks

Rag

govardan_raj
Contributor
0 Kudos

hi rag ,

you can put your logo in the mime folder -- that you can see in  your dc , in navigator perspecitve, and use that.

   place the logo you want to use in your application in the mimes folder.

  go to Navigator view in NWDS --> src->mimes->components->your comp where you wanted to place logo.

now come to view ,

insert UI element link to url ,

and for this set Link that you want to open and then image name in the imagesrouce property.

for example if your logoname is logo.gif, and that is placed in the mime specified folder and then now , set this "logo.gif " in string format to an attribute in the context node or to some context attribute imgsrc, do context mapping to the view context and then bind this attribute to the imagesource property.

  i.e. -->wdcontext.currentcontextelement.setimgsrc("logo.gif"); --> in wdDoinit method of your component controller or view controller.

Regards

Govardan.

former_member401472
Participant
0 Kudos

Thanks Raj,

But i wanted to click on image and it will be open new NEW URL as target.

Thanks

Rag

former_member191044
Active Contributor
0 Kudos


Use the "LinkToURL" Ui-Element and set the property "imageSource" with the icon you want. Also set property "reference" to the URL you want to jump to and clean the text out of property "text".

former_member401472
Participant
0 Kudos

Tobias,

Tries your option using Linkto URL  UI-element set the property "imagesource"

and reference to the target URL wahat i want to open. 

But the URl is appending to actual URL of portal and says internal error.

any suggestion..

thanks

Rag

former_member191044
Active Contributor
0 Kudos

I don't know what exactly the problem is? The URL that you entered is invalid? Can you give a short example what you try to do?

former_member401472
Participant
0 Kudos

Tobias,

  Example:  User click on AppleStore image then it will route to Applestore

  and download the appropriate App from apple store. Thats what i am trying now.

thx

Rag

former_member191044
Active Contributor
0 Kudos

So just set the URL of the store into the reference property e.g. "http://www.appstore.com" (this is just an example and not the actual URL) and it works. Are you sure you enter the correct URL? Please show me a screenshot of where your problem occours.

Regards,

Tobias