facebook

Facelets support

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 15 posts - 76 through 90 (of 163 total)
  • Author
    Posts
  • #257846 Reply

    +1 for facelets

    #257897 Reply

    donvini
    Member

    +1 for facelets from me too !!

    #258058 Reply

    lfrohman
    Member

    another +1 for facelets.

    #258151 Reply

    esmierciak
    Member

    +1 for facelets

    #258201 Reply

    AJesse
    Member

    +1 for facelets…

    Having licenses for some tools (NitroX, Exadel AND MyEclipse)…
    Currently I use Exadel for UI-stuff (facelets with JSF 1.2 on a J2EE 1.4 container). MyEclipse has advantages in the EJB, UML and WS corners.

    facelets-support should allow also for exchanging the versions of those libraries… I think that is now included in the WTP (library-stuff) where I can define and configure a new library set.

    #258379 Reply

    moshebs
    Member

    And another one for facelets 🙂

    #258390 Reply

    Alex Bath
    Participant

    You can add my voice to the throng! 😀

    #258399 Reply

    Riyad Kalla
    Member

    Is anyone here using MyEclipse 5.0 successfully to do facelets development, or is the tool still not “Aware” of any of the tags or necessary parts of JSF to help? I’m going to try and push as hard as I can to get this considered for 5.1 or atleast some portion of it. That is *not* a commitment by management, just that I will push for it, this is the longest feature request thread I think we’ve ever had.

    #258414 Reply

    Max Stoaks
    Member

    @support-rkalla wrote:

    Is anyone here using MyEclipse 5.0 successfully to do facelets development, or is the tool still not “Aware” of any of the tags or necessary parts of JSF to help? I’m going to try and push as hard as I can to get this considered for 5.1 or atleast some portion of it. That is *not* a commitment by management, just that I will push for it, this is the longest feature request thread I think we’ve ever had.

    We’re about to, though considering using Exadel for the Facelets stuff. We’ll probably stick with MyEclipse for our backend Spring/Hibernate work though. We really like MyEclipse, but Exadel’s support for Facelets really helps developers new to the technology get started quickly.

    Thanks for considering Facelets for the next release.

    #258430 Reply

    arjan.tijms
    Member

    We’re currently evaluating facelets and already came to a preliminary conclusion that’s its much better than JSP. If only MyEclipse had support for it…

    So a +7 vote from our entire MyEclipse-using team for facelets support 🙂

    #258447 Reply

    williamreg
    Member

    I has no problem running facelet on MyEclipse 5.0

    here are the steps,

    1. Copy el-api.jar, el-ri.jar and jsf-facelets.jar to /webRoot/WEB-INF/lib

    2. Update /webRoot/WEB-INF/web.xml config file

      <!-- facelet configurations - Use Documents Saved as *.xhtml -->    
      <context-param>
        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
        <param-value>.xhtml</param-value>
      </context-param>
      
      <!-- facelet configurations - Special Debug Output for Development -->
      <context-param>
        <param-name>facelets.DEVELOPMENT</param-name>
        <param-value>true</param-value>
      </context-param>
      
      <!-- facelet configurations - facelet JSF-RI Parameters to Help Debug -->
      <context-param>
        <param-name>com.sun.faces.validateXml</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>com.sun.faces.verifyObjects</param-name>
        <param-value>true</param-value>
      </context-param>
    

    2. Update /webRoot/WEB-INF/faces-config.xml config file

    <!-- from project setup -->
      <application>
        <view-handler>
          com.sun.facelets.FaceletViewHandler
        </view-handler>    
      </application>
    

    3. create template.xtml page in /webRoot

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets">
    <head>
        <title>#{title}</title>    
    </head>
    
    <body>
       <h1><ui:insert name="header">Default Title</ui:insert></h1>
       <p><ui:insert name="body">Default Body</ui:insert></p>     
    </body>
    </html>

    4. create welcome.xtml page in /webRoot

    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html">
    <body>
    
    
    <ui:composition template="template.xhtml">
    
      <ui:param name="title" value="Welcome to Facelet"/>    
        
      <ui:define name="header">
        Welcome Page
      </ui:define>
    
      <ui:define name="body">
        Hello World
      </ui:define>
       
    </ui:composition>
    
    </body>
    </html>

    4. Test it at Tomcat
    http:\\localhost:8080\your_web_application_name\welcome.jsf

    😀

    #258449 Reply

    Riyad Kalla
    Member

    William,
    Awesome followup. For the Facelets folks out there that are using William’s methods, what other things are you wanting from MyEclipse? I’m thinking low hanging fruit, you want Capabilities wizards I imagine, but what else would really help you besides a full visual Facelets designer?

    #258458 Reply

    David Orriss Jr
    Participant

    Riyad,

    I, for one, would like to see tag-insight for the “ui” tags. I figured it would just be a TLD file somewhere, but facelets doesn’t seem to have one. So typing <ui: doesn’t give me any information on the available tags.

    However, I did the “William’s method” last night (prior to reading this thread). I just copied the code snippets from the Facelets tutorial and made a new JSF project. Easy as pie.

    https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-setup

    #258463 Reply

    Riyad Kalla
    Member

    Anyone want to write a getting started with MyEclipse and Facelets tutorial for the tutorial section? Full credits will be included of course.

    #258464 Reply

    David Orriss Jr
    Participant

    Riyad,

    Any chance you can come up with a way to get the tag-insight to work for the facelets tags? Just curious..

    IF I can take the time to write up the steps I will. Things are hopping crazy at the office before software releases this november.

Viewing 15 posts - 76 through 90 (of 163 total)
Reply To: Facelets support

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