Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Deploy static html, css, javascript as LifeRay Portlet
Hi All
I have a static Single Page - html, css and javascript files. I have tested by deploying in into apache-tomcat and it works.
I would like to convert this html, css and javascript as Porlet.
So far, i have done the followings,
1. Created the liferay - maven project (Through eclipse) [I have build and tested, this porlet is working when i deploy as war in LifeRay)
2. In liferays maven project: ..src/main/webapp/ folder i have created a new folder called myapp
3. Have pasted all the html, css, javascripts inside the myapp folder
4. In the view.jsp file, i have included the myapp/index.html file.
Build the war and deployed into liferay.
Here, it is successfully picking the myapp/index.html in liferay porlet. However, it is not picking any resources inside the index.html (css, javascript).
Here, how can i make this porlet up and working correctly. Please assist. [Kindly note that, i have tested this static page in independent tomcat server, it works fine. So that means, all the resource path that I have given is correct in index.html]
Thank you!!
I have a static Single Page - html, css and javascript files. I have tested by deploying in into apache-tomcat and it works.
I would like to convert this html, css and javascript as Porlet.
So far, i have done the followings,
1. Created the liferay - maven project (Through eclipse) [I have build and tested, this porlet is working when i deploy as war in LifeRay)
2. In liferays maven project: ..src/main/webapp/ folder i have created a new folder called myapp
3. Have pasted all the html, css, javascripts inside the myapp folder
4. In the view.jsp file, i have included the myapp/index.html file.
Build the war and deployed into liferay.
Here, it is successfully picking the myapp/index.html in liferay porlet. However, it is not picking any resources inside the index.html (css, javascript).
Here, how can i make this porlet up and working correctly. Please assist. [Kindly note that, i have tested this static page in independent tomcat server, it works fine. So that means, all the resource path that I have given is correct in index.html]
Thank you!!
Community
Company
Feedback