Tagged: Preview tab
- This topic has 18 replies, 4 voices, and was last updated 7 years, 10 months ago by support-tony.
-
AuthorPosts
-
dreamriperParticipantHello
My preview tab inside myEclipse doesn’t work so I can’t see the page only the unformated words without any template and i have to opet my index.html in my browser to see my page.
support-swapnaModeratordreamriper,
From the screenshot it looks like you are working with a PhoneGap project but I see folders like bin,hooks,platforms,plugins missing.
The editor Preview tab works fine at my end for a PhoneGap project.
Can you please check if the issue persists with a new PhoneGap project in a new workspace?PhoneGap projects can be previewed using the Mobile Simulator. Right click on the project > PhoneGap > Preview Application in Mobile Simulator.
Here is the tutorial about MyEclipse Mobile Simulator : https://www.genuitec.com/products/myeclipse/learning-center/mobile/myeclipse-mobile-web-simulator-guide/Can you please share with us the contents of the html page to help us replicate the issue at our end? Also share with us the MyEclipse Installation Details from menu MyEclipse > Installation Summary > Installation Details.
–Swapna
MyEclipse Support
dreamriperParticipantIt don’t work with a new workspace..
here is again the problem http://pokit.org/get/?16422fb007e4455f2f15e600c06cfaa8.jpg
here is my code, it’s the default one http://pokit.org/get/?3ead3a05d8c39aa05319c2a67ec7d305.jpg
My details
*** Date:
Tuesday, May 17, 2016 7:57:07 AM CEST*** System properties:
OS=Windows7
OS version=6.1.0
OS arch=x86
Profile arch=x86
Window system=win32
Java version=1.7.0_45
Workspace=file:/C:/Users/Elma/Workspaces/MyEclipse 2015/
VM Args=-Xmx768m
-XX:MaxPermSize=320m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-Djava.class.path=C:\Users\Elma\AppData\Local\MYECLI~1\plugins/OR45D0~1.JAR*** Subscription information
Your 30-day trial period expires on Jun 12, 2016*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 2015 Stable 3.0
Build id: 13.0.0-20160113com.genuitec.eclipse.mobile.feature – 13.0.0.me201601121429
com.genuitec.myeclipse.blue.feature – 13.0.0.me201601121429
com.genuitec.myeclipse.database – 13.0.0.me201601121429
com.genuitec.myeclipse.db2 – 13.0.0.me201601121429
com.genuitec.myeclipse.desktop – 13.0.0.me201601121429
com.genuitec.myeclipse.enterprise.workbench – 13.0.0.me201601121429
com.genuitec.myeclipse.icefaces.feature – 13.0.0.me201601121429
com.genuitec.myeclipse.imageeditor – 13.0.0.me201601121429
com.genuitec.myeclipse.jsf – 13.0.0.me201601121429
com.genuitec.myeclipse.maven – 13.0.0.me201601121429
com.genuitec.myeclipse.persistence – 13.0.0.me201601121429
com.genuitec.myeclipse.reports – 13.0.0.me201601121429
com.genuitec.myeclipse.struts – 13.0.0.me201601121429
com.genuitec.myeclipse.uml2 – 13.0.0.me201601121429
com.genuitec.myeclipse.visualvm – 13.0.0.me201601121429
com.genuitec.myeclipse.ws – 13.0.0.me201601121429
com.genuitec.myeclipse.ws.blue – 13.0.0.me201601121429
com.skyway.myeclipseforspring.feature – 13.0.0.me201601121429
org.eclipse.birt – 4.4.1.me201601121429
org.eclipse.datatools.connectivity.feature – 1.12.0.me201601121429
org.eclipse.datatools.enablement.feature – 1.12.0.me201601121429
org.eclipse.datatools.modelbase.feature – 1.12.0.v201406061321-7707GCcNBHLDaKTEcRi
org.eclipse.datatools.sqldevtools.feature – 1.12.0.me201601121429
org.eclipse.emf – 2.10.2.v20150123-0452
org.eclipse.gef – 3.9.101.201408150207
org.eclipse.graphiti.feature – 0.11.2.v20150204-0954
org.eclipse.jpt.jpa.feature – 3.4.0.me201601121429
org.eclipse.jpt.jpadiagrameditor.feature – 1.2.100.me201601121429
org.eclipse.jst.common.fproj.enablement.jdt – 3.6.1.me201601121429
org.eclipse.jst.enterprise_ui.feature – 3.6.1.me201601121429
org.eclipse.jst.server_adapters.ext.feature – 3.3.300.me201601121429
org.eclipse.jst.server_adapters.feature – 3.2.301.me201601121429
org.eclipse.jst.server_ui.feature – 3.4.101.me201601121429
org.eclipse.jst.ws.axis2tools.feature – 1.1.301.me201601121429
org.eclipse.m2e.feature – 1.5.0.me201601121429
org.eclipse.sapphire.platform – 8.1.2.201502231524
org.eclipse.wst.common.fproj – 3.6.1.me201601121429
org.eclipse.wst.server_adapters.feature – 3.2.401.me201601121429
org.eclipse.xsd – 2.10.0.v20150123-0452
org.springframework.ide.eclipse.feature – 3.6.2.me201601121429angularjs-eclipse-feature – 1.1.0.me201601121429
angularjs-eclipse-jsp-feature – 1.1.0.me201601121429
angularjs-eclipse-php-feature – 1.1.0.me201601121429
com.vmware.vfabric.ide.eclipse.tcserver – 3.6.2.me201601121429
com.vmware.vfabric.ide.eclipse.tcserver.insight – 3.6.2.me201601121429
fr.obeo.acceleo.bridge.feature – 2.6.0.me201601121429
io.emmet.eclipse – 13.0.0.me201601121429
net.jeeeyul.eclipse.themes.feature – 2.2.0.me201601121429
net.jeeeyul.pdetools.feature – 1.2.5.me201601121429
net.jeeeyul.swtend.feature – 2.2.5.me201601121429
org.chromium.debug – 0.3.9.me201601121429
org.chromium.sdk – 0.3.9.me201601121429
org.chromium.sdk.wipbackends – 0.1.11.me201601121429
org.dadacoalition.yedit.feature – 1.0.18.me201601121429
org.eclipse.cvs – 1.4.100.v20150204-1700
org.eclipse.draw2d – 3.9.101.201408150207
org.eclipse.e4.rcp – 1.3.101.v20150204-1353
org.eclipse.ecf.core.feature – 1.1.0.v20141221-2352
org.eclipse.ecf.core.ssl.feature – 1.0.0.v20141221-2352
org.eclipse.ecf.filetransfer.feature – 3.9.2.v20141221-2352
org.eclipse.ecf.filetransfer.httpclient4.feature – 3.9.2.v20141221-2352
org.eclipse.ecf.filetransfer.httpclient4.ssl.feature – 1.0.0.v20141221-2352
org.eclipse.ecf.filetransfer.ssl.feature – 1.0.0.v20141221-2352
org.eclipse.egit – 3.7.0.201502260915-r
org.eclipse.epp.mpc – 1.3.2.v20150204-1930
org.eclipse.equinox.p2.core.feature – 1.3.0.v20140523-0116
org.eclipse.equinox.p2.discovery.feature – 1.0.200.v20140512-1802
org.eclipse.equinox.p2.extras.feature – 1.2.0.v20150129-0838
org.eclipse.equinox.p2.rcp.feature – 1.2.0.v20140523-0116
org.eclipse.equinox.p2.user.ui – 2.2.0.v20150129-0838
org.eclipse.help – 2.0.103.v20150204-1700
org.eclipse.jdt – 3.10.1.v20150204-1700
org.eclipse.jet – 1.1.1.v201101271243-5319sC7HCAGERASDK3924
org.eclipse.jet.uml2 – 1.1.0.v201006011447-2-07w311A1A152813
org.eclipse.jgit – 3.7.0.201502260915-r
org.eclipse.jgit.java7 – 3.7.0.201502260915-r
org.eclipse.jsf.feature – 3.8.0.me201601121429
org.eclipse.mylyn.bugzilla_feature – 3.14.2.v20150217-2341
org.eclipse.mylyn.commons – 3.14.2.v20150217-2244
org.eclipse.mylyn.commons.identity – 1.6.2.v20150217-2244
org.eclipse.mylyn.commons.notifications – 1.6.2.v20150217-2244
org.eclipse.mylyn.commons.repositories – 1.6.2.v20150217-2244
org.eclipse.mylyn.context_feature – 3.14.2.v20150218-0125
org.eclipse.mylyn.cvs – 1.6.2.v20150217-2249
org.eclipse.mylyn.discovery – 3.14.2.v20150217-2244
org.eclipse.mylyn.gerrit.feature – 2.5.2.v20150218-1541
org.eclipse.mylyn.git – 1.6.2.v20150217-2249
org.eclipse.mylyn.ide_feature – 3.14.2.v20150218-0125
org.eclipse.mylyn.java_feature – 3.14.2.v20150218-0125
org.eclipse.mylyn.monitor – 3.14.2.v20150217-2244
org.eclipse.mylyn.reviews.feature – 2.5.2.v20150218-0125
org.eclipse.mylyn.tasks.ide – 3.14.2.v20150217-2341
org.eclipse.mylyn.team_feature – 3.14.2.v20150218-0125
org.eclipse.mylyn.versions – 1.6.2.v20150217-2249
org.eclipse.mylyn_feature – 3.14.2.v20150217-2341
org.eclipse.ocl – 3.1.0.v20110606-1427
org.eclipse.pde – 3.10.1.v20150204-1700
org.eclipse.platform – 4.4.2.v20150204-1700
org.eclipse.rcp – 4.4.2.v20150204-1700
org.eclipse.wb.core.feature – 1.7.0.r44x201405021445
org.eclipse.wb.core.java.feature – 1.7.0.r44x201405021448
org.eclipse.wb.core.ui.feature – 1.7.0.r44x201405021455
org.eclipse.wb.core.xml.feature – 1.7.0.r44x201405021458
org.eclipse.wb.doc.user.feature – 1.7.0.r44x201405021506
org.eclipse.wb.layout.group.feature – 1.7.0.r44x201405021517
org.eclipse.wb.rcp.SWT_AWT_support – 1.7.0.r44x201405021546
org.eclipse.wb.rcp.doc.user.feature – 1.7.0.r44x201405030426
org.eclipse.wb.rcp.feature – 1.7.0.r44x201405021526
org.eclipse.wb.swing.doc.user.feature – 1.7.0.r44x201405030444
org.eclipse.wb.swing.feature – 1.7.0.r44x201405021531
org.eclipse.wb.swt.feature – 1.7.0.r44x201405021519
org.eclipse.wb.xwt.feature – 1.7.0.r44x201405021548
org.sonatype.m2e.mavenarchiver.feature – 0.16.0.201401211452-signed-20140310144306
org.springsource.ide.eclipse.commons – 3.6.2.me201601121429
tern-feature – 1.1.0.me201601121429
tern-jsdt-feature – 1.1.0.me201601121429
tern-server-nodejs-feature – 1.1.0.me201601121429
tern.eclipse.ide.tools.feature – 1.1.0.me201601121429Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\Elma\AppData\Local\MyEclipse 2015\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Users\Elma\AppData\Local\MyEclipse 2015\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\Users\Elma\AppData\Local\MyEclipse 2015\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-configuration
C:\Users\Elma\AppData\Local\MyEclipse 2015\configuration
-install
C:\Users\Elma\AppData\Local\MyEclipse 2015
-vm
C:\Users\Elma\AppData\Local\MyEclipse 2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\jre\bin\client\jvm.dll
support-swapnaModeratordreamriper,
Thank you for the details.
Do you see any errors of interest logged in the .log file located at <workspace dir>/.metadata/.log? If yes, then please send us the .log file for further investigation.
Can you please check if the Preview works as expected for JSP/HTML in a web project?
If the Preview does not work in any of the projects, then please try to start MyEclipse with -clean command args, switch to a new workspace and check if the issue persists.
Here is the FAQ for starting MyEclipse with -clean : https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/If the issue persists , then please try to repair or do a clean install of MyEclipse by rerunning the installer file.
Here is the FAQ for clean install of MyEclipse : https://www.genuitec.com/forums/topic/installation-how-do-i-perform-a-clean-myeclipse-install/
Let us know how it works for you.
–Swapna
MyEclipse Support
dreamriperParticipantIt doesn’t work i have the same problem again I’m working on a mobile web app and i dont want to open the html file on mozilla or chrome for a preview. Any other solutions i think if i don’t get the theme preview could it be a problem with css or java
support-swapnaModeratordreamriper,
Sorry that the issue persists.
To rule out missing css file reference, can you please check if the jquery.mobile-1.4.3.css exists in your project?
–Swapna
MyEclipse Support
dreamriperParticipantyes the files exists
http://pokit.org/get/?e34a1a1111227c1f3bfd900995e1a406.jpg
support-swapnaModeratorDreamriper,
Sorry that the issue persists. I have escalated this issue to the dev team. They will get back to you soon.
If you see any errors of interest logged in the .log file located at <workspace dir>/.metadata/.log, please share the .log file with us.Apologies for inconvenience caused.
–Swapna
MyEclipse Support
dreamriperParticipantHere is the log file attached
- This reply was modified 7 years, 10 months ago by support-tony. Reason: Added log file as an attachment
Attachments:
You must be logged in to view attached files.
hamsmmParticipanthi
i have the same problem
did you fix it ?
if yes … let me know how please
support-tonyKeymasterdreamriper and hamsmm,
We’ve been unable to replicate the issue here. I’ve put together a simple Web project with an HTML file that references a CSS file. Could you both please import the project and try the Preview tab when editing the csstest.html file in the project? Just check whether some simple formatting is applied. This will tell us if the problem is related to PhoneGap projects, or is more general, and also whether the way the CSS file is identified is an issue.
To import the project, right click in the MyEclipse Explorer view (or any explorer view) and select Import. Then select General->Existing Projects into Workspace and click Next, then click the “Select archive file” option and browse to the csstest.zip file that you downloaded from this reply. Then select the csstest project and click the Finish button. Now double click on the csstest.html file in the WebRoot folder of the project to bring up the editor and select the Preview tab.
Please let us know how you get on.
Attachments:
You must be logged in to view attached files.
hamsmmParticipantHello Tony
Thanks for your support
with csstest which i downloaded its working i mean i can get the Colors and everything is ok with it
so where is the problem when i build my own project and what i have to do to fix it?
thax againAttachments:
You must be logged in to view attached files.
support-tonyKeymasterHamzah,
OK, that suggests that the problem is to do with either the fact that it is a PhoneGap project or related to the path used to reference the CSS file. Please change the CSS reference in the csstest.html file to:
<link rel="stylesheet" href="./css/csstest.css"/>
and see if that reproduces the problem. If it does, then change the reference in your PhoneGap project file to start with “css/” instead of “./css/”. In the code provided by dreamriper, earlier, this would make the reference:
<link rel="stylesheet" href="css/jquery.mobile-1.4.3.css"/>
Regarding your Facebook post, the cordova.js file is automatically added to the built output (or automatically referenced when you use the mobile web simulator tool to preview your application) and would not cause this problem.
Please let us know, in this forum topic, how you get on.
hamsmmParticipantHi Tony
i tried to do that but it still does not working
i tried to copy the content of csstest.css to jquery.mobile-1.4.3.css which created with the project and i get the colores
i noted something in jquery.mobile-1.4.3.css file that there is encrypted url’s in the beginning of the code
i will past an example about what i mean
is this should be the problem, or what you think ?
——————————-
/* SVG icons */
.ui-icon-action:after {
background-image: url(“data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20style%3D%22enable-background%3Anew%200%200%2014%2014%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M9%2C5v3l5-4L9%2C0v3c0%2C0-5%2C0-5%2C7C6%2C5%2C9%2C5%2C9%2C5z%20M11%2C12H2V5h1l2-2H0v11h13V7l-2%2C2V12z%22%2F%3E%3C%2Fsvg%3E”);
}Attachments:
You must be logged in to view attached files.
support-tonyKeymasterHamzah,
We finally managed to replicate the problem. The preview tab uses Internet Explorer (IE) – for Windows installations – to render the page and early versions of IE don’t support JQuery mobile.
You stated, in an earlier reply, that you can see the correctly rendered page in an external browser. What was that browser and version? In any case, the use of IE with the preview tab can’t currently be changed, so the only way to have the preview tab correctly render the page is to upgrade IE to the latest release (I was able to replicate the problem with IE 8, so you will certainly need a release of IE greater than 8).
If you can’t upgrade IE, then I’m afraid that there is currently no other workaround (other than using an external browser or previewing on the mobile web simulator).
Please let us know how you get on.
-
AuthorPosts