facebook

Visual JSF Designer – Design Tab Not Appearing

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #318404 Reply

    rbeachy
    Member

    Hi, I’m running MyEclipse 9.1 on a Windows 7 64-bit operating system.

    When I go through the JSF tutuorials and try to open a page in the editor with the Visual JSF Designer or the Visual JSP Designer, I do not see a Design tab. Only a Source tab appears.

    What’s interesting is that if I attempt to open a Facelets page with the Visual JSP Designer, I receive a pop up box with the question “The MyEclipse Visual JSF Designer provides an improved editing experience for JSF files in JSF project, switch editors?”

    When I click “yes,” I still only see the Source tab.

    Is this a configuration isssue or is there likely another problem? Thank you.

    Here’s my configuration:
    *** Date:
    Friday, July 22, 2011 9:04:25 AM EDT

    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 9.1
    Build id: 9.1-20110701

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 9.1
    Build id: 9.1-20110701

    #318406 Reply

    support-swapna
    Moderator

    rbeachy ,

    Sorry that you are seeing this issue with MyEclipse. I could not replicate the issue at my end on MyEclipse 9.1.

    Can you answer some more questions for me to understand the issue better?

    1) How did you install MyEclipse ? Is it using Pulse/ All-In-One installer/ Archived Update site?

    2) Switch to a clean workspace.Go to MyEclipse > Examples On-Demand. This will open Examples On-Demand browser where you can see a list of example projects. Install project ‘SimpleFaceletsExample’ to your workspace by clicking on ‘Install Project’. Now try to open the ‘greeting.xhtml’ in the ‘MyEclipse Visual JSF Designer’ editor. Check if the issue persists.

    3) If yes then check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest. Paste them here.

    Let me know how this works for you.

    #318412 Reply

    rbeachy
    Member

    Hi Swapna,

    Thanks for replying. I’d love to get this working to use the visual design features.

    I’m having the same issue on two separate systems. In both cases I went to the Try/Download section of the MyElipse site. On one computer, I downloaded, then installed. On the other, I used the custom installer.

    I tried the SimpleFacelets Example only to have the same results. I’m still not seeing the Design tab.

    Below is the information from the log file…

    !ENTRY org.eclipse.core.resources 4 380 2011-07-22 21:56:49.555
    !MESSAGE The resource tree is locked for modifications.
    !SESSION 2011-07-22 21:56:56.154 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86_64

    !ENTRY org.eclipse.jface 2 0 2011-07-22 21:57:06.544
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-07-22 21:57:06.544
    !MESSAGE A conflict occurred for SHIFT+DEL:
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
    ,
    Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
    Cut the selection to the clipboard,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    org.eclipse.ui.internal.handlers.WidgetMethodHandler@36fc117d,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.dialogAndWindow,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
    Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)

    !ENTRY org.eclipse.osgi 2 0 2011-07-22 21:57:18.821
    !MESSAGE While loading class “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16”, thread “Thread[Worker-7,5,main]” timed out waiting (5000ms) for thread “Thread[Worker-1,5,main]” to finish starting bundle “org.eclipse.wst.jsdt.core_1.1.2.me201106211924 [1259]”. To avoid deadlock, thread “Thread[Worker-7,5,main]” is proceeding but “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16” may not be fully initialized.
    !STACK 0
    org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/C:/Users/Rodney Beachy/AppData/Local/MyEclipse/Common/plugins/org.eclipse.wst.jsdt.core_1.1.2.me201106211924.jar” by thread “Worker-1”.
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    … 16 more
    Root exception:
    org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    !ENTRY org.eclipse.osgi 2 1 2011-07-22 21:57:26.894
    !MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    !ENTRY org.eclipse.osgi 2 1 2011-07-22 21:57:26.894
    !MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    #318425 Reply

    support-swapna
    Moderator

    rbeachy ,

    Thank you for the details.

    The Visual JSF Designer – Design tab is not available for 64 bit windows systems. It is mentioned at the time of installing MyEclipse in your system.

    Sorry for the inconvenience caused.

    #318434 Reply

    rbeachy
    Member

    Thank you. Do you know if I can install a 32-bit version on a 64-bit system?

    #318452 Reply

    support-swapna
    Moderator

    rbeachy ,

    Yes, you can install 32 bit MyEclipse on a 64 bit system.

    Do let us know if you have any other issues.

    #318468 Reply

    rbeachy
    Member

    Thanks!

    #318498 Reply

    Hello.

    Until a few days ago The Visual JSF Designer worked well, but suddenly disappeared the Design Tab of the Visual JSF Designer. Don’t give me some error, only disappeared.

    I don’t know if I did some thing accidentally or because another day there was a blackout.

    I tried fix the problem using de fix option from the online installer but the problem persist.

    I need uninstall and reinstall the MyEclipse or I need only tuning some configuration parameters?

    I am using MyEclipse 9.1 on Fedora 14.

    Thanks in advance.

    #318505 Reply

    support-swapna
    Moderator

    afplmex ,

    Sorry that you are seeing this issue with MyEclipse.

    Can you answer some more questions for me to understand the issue better?

    1) Is your OS 32 bit or 64 bit ?

    2) Did you install any third party plugin which might have caused this issue ?

    3) Do you see any specific errors of interest logged in the .log file which is located at <workspace dir>/.metadata/.log file when opening up the Visual JSF Designer ?

    4) I would recommend you a quick fix using pulse. Please do the following –
    1. Open Pulse (Start > Programs > Pulse > Pulse Explorer or try – C:\Program Files\Genuitec\Pulse Explorer\pulse-explorer.exe)
    2. Login to pulse
    3. Select “Eclipse – Helios” realm from top left hand corner dropdown
    4. Select “MyEclipse 9 (version 9.1)” from “My Profiles”, right click on the same and click on [re-install and run]
    5. This will open a wizard which will guide you through the rest of the steps

    Let me know how this works for you.

    #318521 Reply

    Hello again.

    Thanks for your quick response.

    The answers for your questions are:
    1) My OS is 32 bit.
    2) I don’t have installed any third party plugin.
    3) Here is the .log’s content when I start the MyEclipse and open a .xhtml file using the
    Visual JSF Designer:

    !SESSION 2011-07-28 08:28:53.574 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=es_MX
    Command-line arguments: -os linux -ws gtk -arch x86

    !ENTRY org.eclipse.osgi 2 0 2011-07-28 08:29:45.347
    !MESSAGE While loading class “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16”, thread “Thread[Worker-4,5,main]” timed out waiting (5000ms) for thread “Thread[Worker-5,5,main]” to finish starting bundle “org.eclipse.wst.jsdt.core_1.1.2.me201106211924 [1242]”. To avoid deadlock, thread “Thread[Worker-4,5,main]” is proceeding but “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16” may not be fully initialized.
    !STACK 0
    org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/home/afplmex/MyEclipse/Common/plugins/org.eclipse.wst.jsdt.core_1.1.2.me201106211924.jar” by thread “Worker-5”.
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    … 16 more
    Root exception:
    org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1077)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:282)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    !ENTRY org.eclipse.jface 2 0 2011-07-28 08:30:34.849
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-07-28 08:30:34.849
    !MESSAGE A conflict occurred for SHIFT+DEL:
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
    ,
    Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
    Cut the selection to the clipboard,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ActionHandler(org.eclipse.jdt.internal.ui.refactoring.reorg.CutAction@12a0b2f),
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.dialogAndWindow,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
    Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)

    !ENTRY org.eclipse.osgi 2 1 2011-07-28 08:30:39.458
    !MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    !ENTRY org.eclipse.osgi 2 1 2011-07-28 08:30:39.463
    !MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    4) I don’t install MyEclipse using Pulse. I need do it in that way?

    Thanks for your help.

    #318532 Reply

    support-tony
    Keymaster

    afplmex,

    The visual designers are not available on Linux, by default. I’m interested to know how you got the Visual JSF Designer to work before. When first trying to open a visual editor, you would have been shown a pop-up about the visual designers being experimental and having to add “-Dlinux.experimental=true” to the end of your myeclipse.ini file. Even then, you may need to make other changes to your environment, though the visual designers can’t be made to work in all Linux environments. So please let us know how you managed to get the visual designer working in the past.

    The messages in the log file are not associated with this problem. If you had it working before, then something must have changed. Did you update MyEclipse? Did you have any crashes?

    #318547 Reply

    Hi.

    I didn’t modify the default parameters, I only downloaded the all in one package and install it, I never used pulse before. From version 8 of MyEclipse I used the upgrade facility within the workbench, for this razon I asked you if I need uninstall / reinstall MyEclipse. I’ll try that way for retrieve the design tab.

    I hope to do.

    Thanks in advance.

    #318548 Reply

    Nop, the desinstall / reinstall does not work.

    It’s sad not having the Design Tab from Visual JSF Designer in Linux any more, is like walking blind.

    I hope that any day we count with it.

    Thanks any way.

    #318549 Reply

    Hi again.

    I have aplied the tip about adding “-Dlinux.experimental=true” at the myeclipse.ini file and works fine.

    I’m happy viewing some visual components, it helps me to locate the code easily and to have any idea of how the page will look.

    Thanks so much for your help.

    Greetings.

    #318564 Reply

    support-swapna
    Moderator

    afplmex ,

    Glad that it is working.
    Do let us know if you have any other issues.

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: Visual JSF Designer – Design Tab Not Appearing

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in