Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » facelets xhtml tag support
facelets xhtml tag support [message #470398] Tue, 23 August 2005 06:14 Go to next message
Eclipse UserFriend
Originally posted by: red-3.shaw.ca

Hi,

I have been using JSF for a few months now (Eclipse and WTP) and I am
disappointed with JSP's broken implementation when combining HTML and JSF
tags, which I have encountered in Tiles-based applications. (See
http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)

I have been converting my latest JSF project to use Facelets instead of JSPs
eith Tiles for view definition and find it much better.
Facelets recommends using the .xhtml extension for view source files and I
have found that Eclipse WTP does not carry forward correct code completion
for XML tags defined in files of this type, as it does so well for JSP
files. (Eclipse offers the HTML editor as the default editor for this file
type, which does not seem to suffice, unless I'm doing something wrong!)

I am convinced that facelets will soon be the technology of choice over JSPs
for developing JSF views.
I would suggest seriously considering Facelets support in Eclipse JSF, even
if to just initially provide an editor which will better support the .xhtml
format for editing facelet source files. (Code completion, etc.)

Alan Biggs
red-3@shaw.ca
Re: facelets xhtml tag support [message #470399 is a reply to message #470398] Tue, 23 August 2005 17:02 Go to previous messageGo to next message
Ian Trimble is currently offline Ian TrimbleFriend
Messages: 137
Registered: July 2009
Senior Member
Thanks for the posting, Alan. Sorry to hear you're not having much luck. I would
suggest posting XHTML-related questions to the eclipse.webtools newsgroup, as it
sounds like it may be a bug (from what I've seen, it doesn't hurt to ask if you're
encountering a bug or if it's a known issue, as someone will likely politely ask
you to create a bug for it if it's a new one or point you to the bug in Bugzilla
if it already exists). The JSF Project doesn't sound (to me, at least) like the
right place to fix what would seem to be (again, to me) breakage in webtools.

I will take a look at Facelets, to see what support could/should be provided in
the JSF Project.

--
Ian Trimble (Oracle)

Alan Biggs wrote:
> Hi,
>
> I have been using JSF for a few months now (Eclipse and WTP) and I am
> disappointed with JSP's broken implementation when combining HTML and JSF
> tags, which I have encountered in Tiles-based applications. (See
> http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)
>
> I have been converting my latest JSF project to use Facelets instead of JSPs
> eith Tiles for view definition and find it much better.
> Facelets recommends using the .xhtml extension for view source files and I
> have found that Eclipse WTP does not carry forward correct code completion
> for XML tags defined in files of this type, as it does so well for JSP
> files. (Eclipse offers the HTML editor as the default editor for this file
> type, which does not seem to suffice, unless I'm doing something wrong!)
>
> I am convinced that facelets will soon be the technology of choice over JSPs
> for developing JSF views.
> I would suggest seriously considering Facelets support in Eclipse JSF, even
> if to just initially provide an editor which will better support the .xhtml
> format for editing facelet source files. (Code completion, etc.)
>
> Alan Biggs
> red-3@shaw.ca
>
>
Re: facelets xhtml tag support [message #470401 is a reply to message #470399] Tue, 23 August 2005 17:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: red-3.shaw.ca

Excellent. Thanks for your response Ian.

I think that Facelets should definitely be a consideration for a JSF tools
initaitive within Eclipse.
My experience with it so far is that it solves many of the problems
experienced when using JSP as a view technology, and makes for better
integration between developer & web designer tasks.

The fact that it's library package name is 'com.sun.facelets.*' must also
give it reason for serious consideration! ;)

Alan Biggs

"Ian Trimble" <ian.trimble@oracle.com> wrote in message
news:defkrk$p6m$1@news.eclipse.org...
> Thanks for the posting, Alan. Sorry to hear you're not having much luck. I
would
> suggest posting XHTML-related questions to the eclipse.webtools newsgroup,
as it
> sounds like it may be a bug (from what I've seen, it doesn't hurt to ask
if you're
> encountering a bug or if it's a known issue, as someone will likely
politely ask
> you to create a bug for it if it's a new one or point you to the bug in
Bugzilla
> if it already exists). The JSF Project doesn't sound (to me, at least)
like the
> right place to fix what would seem to be (again, to me) breakage in
webtools.
>
> I will take a look at Facelets, to see what support could/should be
provided in
> the JSF Project.
>
> --
> Ian Trimble (Oracle)
>
> Alan Biggs wrote:
> > Hi,
> >
> > I have been using JSF for a few months now (Eclipse and WTP) and I am
> > disappointed with JSP's broken implementation when combining HTML and
JSF
> > tags, which I have encountered in Tiles-based applications. (See
> > http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)
> >
> > I have been converting my latest JSF project to use Facelets instead of
JSPs
> > eith Tiles for view definition and find it much better.
> > Facelets recommends using the .xhtml extension for view source files and
I
> > have found that Eclipse WTP does not carry forward correct code
completion
> > for XML tags defined in files of this type, as it does so well for JSP
> > files. (Eclipse offers the HTML editor as the default editor for this
file
> > type, which does not seem to suffice, unless I'm doing something wrong!)
> >
> > I am convinced that facelets will soon be the technology of choice over
JSPs
> > for developing JSF views.
> > I would suggest seriously considering Facelets support in Eclipse JSF,
even
> > if to just initially provide an editor which will better support the
..xhtml
> > format for editing facelet source files. (Code completion, etc.)
> >
> > Alan Biggs
> > red-3@shaw.ca
> >
> >
Re: facelets xhtml tag support [message #470403 is a reply to message #470401] Tue, 23 August 2005 18:41 Go to previous messageGo to next message
Ian Trimble is currently offline Ian TrimbleFriend
Messages: 137
Registered: July 2009
Senior Member
You're welcome.

Unfortunately, the fact that its package name is "com.sun.facelets.*"
doesn't automatically make it suitable for the JSF Project. Once accepted
and all the other fun things that have to happen during the JSF Project's
lifecycle, the JSF Project will become part of WTP. The WTP charter and PMC
are pretty clear on what comes out-of-the-box and what doesn't, with respect
to the fact that technologies used must be standards-based. Just 'cos
Facelets comes from Sun and just 'cos it's open-source doesn't make it a
standard (yet, anyway).

We've also discussed Shale and Tiles in this newsgroup and in status
meetings, and I think at least for right now Facelets falls into the same
camp. That is, we should do nothing in the JSF Project that *prevents* the
use of such technologies; moreover, we should do all that we can to
*support* and *enable* such technologies that are layered on top of JSF.

To summarize, I guess what I'm saying is that the JSF Project should let you
work with Facelets (and Shale, and Tiles, and...), but I wouldn't expect
them to be there "out-of-the-box". Of course, someone could always propose
additional projects to Eclipse.org to build upon Webtools and JSF...

Ian Trimble (Oracle)

Alan Biggs wrote:
> Excellent. Thanks for your response Ian.
>
> I think that Facelets should definitely be a consideration for a JSF tools
> initaitive within Eclipse.
> My experience with it so far is that it solves many of the problems
> experienced when using JSP as a view technology, and makes for better
> integration between developer & web designer tasks.
>
> The fact that it's library package name is 'com.sun.facelets.*' must also
> give it reason for serious consideration! ;)
>
> Alan Biggs
>
> "Ian Trimble" <ian.trimble@oracle.com> wrote in message
> news:defkrk$p6m$1@news.eclipse.org...
>
>>Thanks for the posting, Alan. Sorry to hear you're not having much luck. I
>
> would
>
>>suggest posting XHTML-related questions to the eclipse.webtools newsgroup,
>
> as it
>
>>sounds like it may be a bug (from what I've seen, it doesn't hurt to ask
>
> if you're
>
>>encountering a bug or if it's a known issue, as someone will likely
>
> politely ask
>
>>you to create a bug for it if it's a new one or point you to the bug in
>
> Bugzilla
>
>>if it already exists). The JSF Project doesn't sound (to me, at least)
>
> like the
>
>>right place to fix what would seem to be (again, to me) breakage in
>
> webtools.
>
>>I will take a look at Facelets, to see what support could/should be
>
> provided in
>
>>the JSF Project.
>>
>>--
>>Ian Trimble (Oracle)
>>
>>Alan Biggs wrote:
>>
>>>Hi,
>>>
>>>I have been using JSF for a few months now (Eclipse and WTP) and I am
>>>disappointed with JSP's broken implementation when combining HTML and
>
> JSF
>
>>>tags, which I have encountered in Tiles-based applications. (See
>>>http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)
>>>
>>>I have been converting my latest JSF project to use Facelets instead of
>
> JSPs
>
>>>eith Tiles for view definition and find it much better.
>>>Facelets recommends using the .xhtml extension for view source files and
>
> I
>
>>>have found that Eclipse WTP does not carry forward correct code
>
> completion
>
>>>for XML tags defined in files of this type, as it does so well for JSP
>>>files. (Eclipse offers the HTML editor as the default editor for this
>
> file
>
>>>type, which does not seem to suffice, unless I'm doing something wrong!)
>>>
>>>I am convinced that facelets will soon be the technology of choice over
>
> JSPs
>
>>>for developing JSF views.
>>>I would suggest seriously considering Facelets support in Eclipse JSF,
>
> even
>
>>>if to just initially provide an editor which will better support the
>
> .xhtml
>
>>>format for editing facelet source files. (Code completion, etc.)
>>>
>>>Alan Biggs
>>>red-3@shaw.ca
>>>
>>>
>
>
>
Re: facelets xhtml tag support [message #470405 is a reply to message #470398] Wed, 24 August 2005 21:10 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Tue, 23 Aug 2005 02:14:31 -0400, Alan Biggs <red-3@shaw.ca> wrote:

> ...even if to just initially provide an editor which will better suppo=
rt the .xhtml
> format for editing facelet source files. (Code completion, etc.)
>

Thanks Alan, we (in WTP, especially as we support JSF) do want to do a b=
etter job of
this. Feel free to open bugs/enhancements in wtp component and we'll inv=
estigate and
prioritize ... and who kknows ... maybe someone on JSF can help us out :=
)
Re: facelets xhtml tag support [message #572424 is a reply to message #470398] Tue, 23 August 2005 17:02 Go to previous message
Ian Trimble is currently offline Ian TrimbleFriend
Messages: 137
Registered: July 2009
Senior Member
Thanks for the posting, Alan. Sorry to hear you're not having much luck. I would
suggest posting XHTML-related questions to the eclipse.webtools newsgroup, as it
sounds like it may be a bug (from what I've seen, it doesn't hurt to ask if you're
encountering a bug or if it's a known issue, as someone will likely politely ask
you to create a bug for it if it's a new one or point you to the bug in Bugzilla
if it already exists). The JSF Project doesn't sound (to me, at least) like the
right place to fix what would seem to be (again, to me) breakage in webtools.

I will take a look at Facelets, to see what support could/should be provided in
the JSF Project.

--
Ian Trimble (Oracle)

Alan Biggs wrote:
> Hi,
>
> I have been using JSF for a few months now (Eclipse and WTP) and I am
> disappointed with JSP's broken implementation when combining HTML and JSF
> tags, which I have encountered in Tiles-based applications. (See
> http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)
>
> I have been converting my latest JSF project to use Facelets instead of JSPs
> eith Tiles for view definition and find it much better.
> Facelets recommends using the .xhtml extension for view source files and I
> have found that Eclipse WTP does not carry forward correct code completion
> for XML tags defined in files of this type, as it does so well for JSP
> files. (Eclipse offers the HTML editor as the default editor for this file
> type, which does not seem to suffice, unless I'm doing something wrong!)
>
> I am convinced that facelets will soon be the technology of choice over JSPs
> for developing JSF views.
> I would suggest seriously considering Facelets support in Eclipse JSF, even
> if to just initially provide an editor which will better support the .xhtml
> format for editing facelet source files. (Code completion, etc.)
>
> Alan Biggs
> red-3@shaw.ca
>
>
Re: facelets xhtml tag support [message #572478 is a reply to message #470399] Tue, 23 August 2005 17:51 Go to previous message
Eclipse UserFriend
Originally posted by: red-3.shaw.ca

Excellent. Thanks for your response Ian.

I think that Facelets should definitely be a consideration for a JSF tools
initaitive within Eclipse.
My experience with it so far is that it solves many of the problems
experienced when using JSP as a view technology, and makes for better
integration between developer & web designer tasks.

The fact that it's library package name is 'com.sun.facelets.*' must also
give it reason for serious consideration! ;)

Alan Biggs

"Ian Trimble" <ian.trimble@oracle.com> wrote in message
news:defkrk$p6m$1@news.eclipse.org...
> Thanks for the posting, Alan. Sorry to hear you're not having much luck. I
would
> suggest posting XHTML-related questions to the eclipse.webtools newsgroup,
as it
> sounds like it may be a bug (from what I've seen, it doesn't hurt to ask
if you're
> encountering a bug or if it's a known issue, as someone will likely
politely ask
> you to create a bug for it if it's a new one or point you to the bug in
Bugzilla
> if it already exists). The JSF Project doesn't sound (to me, at least)
like the
> right place to fix what would seem to be (again, to me) breakage in
webtools.
>
> I will take a look at Facelets, to see what support could/should be
provided in
> the JSF Project.
>
> --
> Ian Trimble (Oracle)
>
> Alan Biggs wrote:
> > Hi,
> >
> > I have been using JSF for a few months now (Eclipse and WTP) and I am
> > disappointed with JSP's broken implementation when combining HTML and
JSF
> > tags, which I have encountered in Tiles-based applications. (See
> > http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)
> >
> > I have been converting my latest JSF project to use Facelets instead of
JSPs
> > eith Tiles for view definition and find it much better.
> > Facelets recommends using the .xhtml extension for view source files and
I
> > have found that Eclipse WTP does not carry forward correct code
completion
> > for XML tags defined in files of this type, as it does so well for JSP
> > files. (Eclipse offers the HTML editor as the default editor for this
file
> > type, which does not seem to suffice, unless I'm doing something wrong!)
> >
> > I am convinced that facelets will soon be the technology of choice over
JSPs
> > for developing JSF views.
> > I would suggest seriously considering Facelets support in Eclipse JSF,
even
> > if to just initially provide an editor which will better support the
..xhtml
> > format for editing facelet source files. (Code completion, etc.)
> >
> > Alan Biggs
> > red-3@shaw.ca
> >
> >
Re: facelets xhtml tag support [message #572507 is a reply to message #470401] Tue, 23 August 2005 18:41 Go to previous message
Ian Trimble is currently offline Ian TrimbleFriend
Messages: 137
Registered: July 2009
Senior Member
You're welcome.

Unfortunately, the fact that its package name is "com.sun.facelets.*"
doesn't automatically make it suitable for the JSF Project. Once accepted
and all the other fun things that have to happen during the JSF Project's
lifecycle, the JSF Project will become part of WTP. The WTP charter and PMC
are pretty clear on what comes out-of-the-box and what doesn't, with respect
to the fact that technologies used must be standards-based. Just 'cos
Facelets comes from Sun and just 'cos it's open-source doesn't make it a
standard (yet, anyway).

We've also discussed Shale and Tiles in this newsgroup and in status
meetings, and I think at least for right now Facelets falls into the same
camp. That is, we should do nothing in the JSF Project that *prevents* the
use of such technologies; moreover, we should do all that we can to
*support* and *enable* such technologies that are layered on top of JSF.

To summarize, I guess what I'm saying is that the JSF Project should let you
work with Facelets (and Shale, and Tiles, and...), but I wouldn't expect
them to be there "out-of-the-box". Of course, someone could always propose
additional projects to Eclipse.org to build upon Webtools and JSF...

Ian Trimble (Oracle)

Alan Biggs wrote:
> Excellent. Thanks for your response Ian.
>
> I think that Facelets should definitely be a consideration for a JSF tools
> initaitive within Eclipse.
> My experience with it so far is that it solves many of the problems
> experienced when using JSP as a view technology, and makes for better
> integration between developer & web designer tasks.
>
> The fact that it's library package name is 'com.sun.facelets.*' must also
> give it reason for serious consideration! ;)
>
> Alan Biggs
>
> "Ian Trimble" <ian.trimble@oracle.com> wrote in message
> news:defkrk$p6m$1@news.eclipse.org...
>
>>Thanks for the posting, Alan. Sorry to hear you're not having much luck. I
>
> would
>
>>suggest posting XHTML-related questions to the eclipse.webtools newsgroup,
>
> as it
>
>>sounds like it may be a bug (from what I've seen, it doesn't hurt to ask
>
> if you're
>
>>encountering a bug or if it's a known issue, as someone will likely
>
> politely ask
>
>>you to create a bug for it if it's a new one or point you to the bug in
>
> Bugzilla
>
>>if it already exists). The JSF Project doesn't sound (to me, at least)
>
> like the
>
>>right place to fix what would seem to be (again, to me) breakage in
>
> webtools.
>
>>I will take a look at Facelets, to see what support could/should be
>
> provided in
>
>>the JSF Project.
>>
>>--
>>Ian Trimble (Oracle)
>>
>>Alan Biggs wrote:
>>
>>>Hi,
>>>
>>>I have been using JSF for a few months now (Eclipse and WTP) and I am
>>>disappointed with JSP's broken implementation when combining HTML and
>
> JSF
>
>>>tags, which I have encountered in Tiles-based applications. (See
>>>http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html)
>>>
>>>I have been converting my latest JSF project to use Facelets instead of
>
> JSPs
>
>>>eith Tiles for view definition and find it much better.
>>>Facelets recommends using the .xhtml extension for view source files and
>
> I
>
>>>have found that Eclipse WTP does not carry forward correct code
>
> completion
>
>>>for XML tags defined in files of this type, as it does so well for JSP
>>>files. (Eclipse offers the HTML editor as the default editor for this
>
> file
>
>>>type, which does not seem to suffice, unless I'm doing something wrong!)
>>>
>>>I am convinced that facelets will soon be the technology of choice over
>
> JSPs
>
>>>for developing JSF views.
>>>I would suggest seriously considering Facelets support in Eclipse JSF,
>
> even
>
>>>if to just initially provide an editor which will better support the
>
> .xhtml
>
>>>format for editing facelet source files. (Code completion, etc.)
>>>
>>>Alan Biggs
>>>red-3@shaw.ca
>>>
>>>
>
>
>
Re: facelets xhtml tag support [message #572524 is a reply to message #470398] Wed, 24 August 2005 21:10 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Tue, 23 Aug 2005 02:14:31 -0400, Alan Biggs <red-3@shaw.ca> wrote:

> ...even if to just initially provide an editor which will better suppo=
rt the .xhtml
> format for editing facelet source files. (Code completion, etc.)
>

Thanks Alan, we (in WTP, especially as we support JSF) do want to do a b=
etter job of
this. Feel free to open bugs/enhancements in wtp component and we'll inv=
estigate and
prioritize ... and who kknows ... maybe someone on JSF can help us out :=
)
Previous Topic:facelets xhtml tag support
Next Topic:Creation Review Conference Call info
Goto Forum:
  


Current Time: Fri Apr 26 04:14:09 GMT 2024

Powered by FUDForum. Page generated in 0.04207 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top