- This topic has 162 replies, 89 voices, and was last updated 16 years, 8 months ago by Karsten Gresch.
-
AuthorPosts
-
Brent BrockmanMember+1 for facelets
donviniMember+1 for facelets from me too !!
lfrohmanMemberanother +1 for facelets.
esmierciakMember+1 for facelets
AJesseMember+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.
moshebsMemberAnd another one for facelets 🙂
Alex BathParticipantYou can add my voice to the throng! 😀
Riyad KallaMemberIs 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.
Max StoaksMember@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.
arjan.tijmsMemberWe’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 🙂
williamregMemberI 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😀
Riyad KallaMemberWilliam,
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?
David Orriss JrParticipantRiyad,
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
Riyad KallaMemberAnyone want to write a getting started with MyEclipse and Facelets tutorial for the tutorial section? Full credits will be included of course.
David Orriss JrParticipantRiyad,
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.
-
AuthorPosts