- This topic has 162 replies, 89 voices, and was last updated 17 years, 3 months ago by
Karsten Gresch.
-
AuthorPosts
-
August 30, 2006 at 5:31 pm #257846
Brent BrockmanMember+1 for facelets
August 31, 2006 at 5:29 am #257897
donviniMember+1 for facelets from me too !!
September 3, 2006 at 5:57 pm #258058
lfrohmanMemberanother +1 for facelets.
September 5, 2006 at 2:36 pm #258151
esmierciakMember+1 for facelets
September 7, 2006 at 5:17 am #258201
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.
September 11, 2006 at 8:49 am #258379
moshebsMemberAnd another one for facelets 🙂
September 11, 2006 at 10:43 am #258390You can add my voice to the throng! 😀
September 11, 2006 at 12:14 pm #258399
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.
September 11, 2006 at 5:05 pm #258414
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.
September 12, 2006 at 5:02 am #258430
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 🙂
September 12, 2006 at 9:08 am #258447
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😀
September 12, 2006 at 9:19 am #258449
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?September 12, 2006 at 12:47 pm #258458
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
September 12, 2006 at 2:29 pm #258463
Riyad KallaMemberAnyone want to write a getting started with MyEclipse and Facelets tutorial for the tutorial section? Full credits will be included of course.
September 12, 2006 at 3:04 pm #258464
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