on 12-17-2014 10:10 AM
Hi,
afaik you need to put the html file to folder Resources -- src -- mimes -- Components -- <your component folder>. You can find this in WebDynpro Explorer View, in your wd java project structure.
After that you can refer the html file for the "source" property of your IFrame UI element.
(The idea is similar to the WebContent folder in case of Dynamic Web Apps)
I hope this helps.
Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it works to me.
1.
2.
3.
The HTML code looks as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>HTML embbedded into WD Java application </h1>
<h2 style='color: green;'> test works </h2>
</body>
</html>
I hope this helps.
If not, you can also try the UI element WebWidget. As far as I remember with that one you can also display HTML content, and IFrame has been deprecated (and un-deprecated) couple of times.
Cheers,
Ervin
P.S.: ouch, I wrote embedded with double b. Anyway. Perhaps I should not work when I am on holiday.
code please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Antony,
it looks like your given URL is simply wrong and points to an non existing resource. Please check your URL.
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.