- This topic has 14 replies, 4 voices, and was last updated 8 years, 3 months ago by support-swapna.
-
AuthorPosts
-
snadschlaegerParticipantHello!
I managed it to get the live preview up and running with standard Eclipse web projects. Are maven projects using spring mvc also supported (using JSP)?
The CodeLive Icon does not appear in such an application.Thanks for your help!
Brian FernandesModeratorAt this time, Code Live is only supported for Dynamic Web Projects. Is the project you describe also a dynamic web project? If not, how are you currently deploying it with Eclipse – I presume a maven project without the web nature would not be deployable.
If you can share the .project file with us, that would help us get a better understanding of your project’s configuration.
snadschlaegerParticipantHello!
Thanks for your answer.
Yes, the project is a dynamic web project and it is deployed to a Tomcat directly in Eclipse.
Attached is the .project file, but I assume there is nothing special in it (I even tried removing the Spring nature).Are there any possibilities that some JS / CSS blocks the the CodeLive Icon. Any known incompatibilities (at least there are no JS errors)?
Thank you!
- This reply was modified 8 years, 4 months ago by snadschlaeger.
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Thank you for the file.
The dev team is looking into it. They will get back to you soon.Apologies for inconvenience caused.
–Swapna
MyEclipse Support
Brian FernandesModeratorThank you for the project file – what we’re looking for is dynamic web projects (which your project is) and the presence or absence of other natures would not make a difference.
There are no known incompatibilities with JS or CSS – but there are some cases where we have to disable Code Live for JSPs which use specific TLD files. The fact that we modify the JSP leads to the server throwing validation errors because the changes made interfere with the TLD namespace validation. Are you JSP files using TLDs? If so, which ones?
snadschlaegerParticipantHello!
Besides the standard ones from JSTL core, I also have KendoUI and Spring Security in use.
Moreover I use an own custom taglib, e.g. for the layout template.Thanks!
support-tonyKeymastersnadschlaeger,
Thanks for the info, we’re looking into it and will get back to you.
Brian FernandesModeratorWe found that the issue was most likely a case where your ultimately rendered HTML does not include a <head> tag. This is the tag into which the CL dashbboard script is inserted – in the absence of this tag, the dashboard won’t appear.
I’m not sure exactly how your project is structured, but could you insert this tag, maybe on just a couple of pages and let us know if that works for you?
In the meanwhile, our team is working on a better way of inserting the CL dashboard – we will keep you posted and thank you for asking!
- This reply was modified 8 years, 4 months ago by Brian Fernandes.
snadschlaegerParticipantA <head> tag is present in the fully rendered HTML, but it is inserted by a tag and it is not included in the JSP page directly. Could this be the problem?
Thanks!
support-tonyKeymastersnadschlaeger,
Thanks. That’s an interesting use case, which we haven’t yet allowed for.
We’re working on a fix right now but to ensure that we have your use case covered, could you send us a zip file of your JSP source and the source for any included files (not the source of any taglibs)?
If you don’t want to attach them in a reply, please send me a private message (click on my name or this link and then click the Private Message button) and attach the zip file.
Sorry for the inconvenience.
snadschlaegerParticipantThanks for your answer.
I have created a very simple example showing my use case.
The attached project contains an index.html showing the dashboard and an index.jsp (built in the same way, as in my project), not showing the dashboard.Thanks again for your help!!
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorsnadschlaeger,
Thank you for sending us the project files. We will keep you posted about the fix.
Apologies for inconvenience caused.–Swapna
MyEclipse Support
support-swapnaModeratorsnadschlaeger,
We have released an update to Webclipse. In the latest release Webclipse CI 6,the CodeLive’s Live Preview feature has been made more flexible. The release also has a fix for the missing Code Live dashboard for Maven based projects.
Please update to the latest release from Help > Check for Updates wizard and let us know how it works for you.
Thank you for your patience.
–Swapna
MyEclipse Support
snadschlaegerParticipantIt works now!
Thank you very much!
support-swapnaModeratorsnadschlaeger,
Glad that it works. Thank you for getting back to us.
Let us know if you see any issues.–Swapna
MyEclipse Support -
AuthorPosts