facebook

Content assist now working for JSF 1.2 pages as expected

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

    Sudda
    Participant

    Hi Support,

    When I open XHTML page using MyEclipse JSF visual designer, content assist is not working as expected.

    I DO get contect assist for available tags, attributes for each tag. However no content assist for following scenarios:

    1) I do not get list of available bean properties when I enter ctrl+space after qpConfig. . I’m expecting to see list of available bean properties:

    
    <h:inputText  value="#{qpConfig.}"  id='qaPercentage' />

    2) qpConfig.percentage is valid. However nothing shows up on page to indicate error when I enter wrong property percentage123 as follows:

    
    <h:inputText  value="#{qpConfig.percentage123}"  id='qaPercentage' />

    3) No error when I use incorrect tag h:inputText123 as follows:

    
    <h:inputText123  value="#{qpConfig.percentage123}"  id='qaPercentage' />

    Above features are very important if we want to use MyEclipse for JSF development.

    I’m using MyEclipse 8.6.1. I used all-in-one-installer to install 8.6 and just updated to 8.6.1 using Configuration center. I have also cleared .log file.

    Below are install details:

    
    *** Date: 
    Wednesday, January 12, 2011 1:09:19 PM EST
    
    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6.1
    Build id: 8.6.1-20101117
    
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 8.6.1
    Build id: 8.6.1-20101117
    
    
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\InstallSource\Genuitec\MyEclipse-8.6\myeclipse.exe
    -name
    Myeclipse
    --launcher.library
    C:\InstallSource\Genuitec\MyEclipse-8.6\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\InstallSource\Genuitec\MyEclipse-8.6\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/InstallSource/Genuitec/MyEclipse-8.6
    -configuration
    configuration
    -vm
    C:/InstallSource/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
    
    
    

    Thanks,
    Sudda

    #313691 Reply

    support-swapna
    Moderator

    Sudda,

    I could replicate it at my end. I will raise a PR for the dev team.

    Do let us know if you have any other issues.

    #314378 Reply

    Sudda
    Participant

    For anyone searching this forum for above problem I have a solution.

    You can get content assist working by adding following line to your .project file. You can find .project file at the root of your MyEclipse project.

    Add to <natures> section:
    <nature>com.genuitec.eclipse.jsf.jsfnature</nature>

    Hope this helps.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Content assist now working for JSF 1.2 pages as expected

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