|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
|
|
|
Re: Facelets 1.2Hi Jason,
When you say attach the patch, can we simply copy and paste
source code into the issue report, or is there a specific format you are looking
for (eg. diff command output)?
For example, here is an issue I filed back in January
complete with source code that has yet to be resolved:
I would love to be a Facelets committer and have been
around on the list reporting issues since well before Facelets 1.0.
:-)
Where do I sign up for CVS commit
rights?
Ian
--
Ian Hlavats FaceletsTools for Dreamweaver
From: Jason Lee [mailto:jason@...] Sent: Friday, June 01, 2007 9:54 AM To: users@... Subject: Re: Re: Re: Re: Facelets 1.2
-- Jason Lee, SCJP JSF RI Dev Team http://blogs.steeplesoft.com |
|
|
Re: Facelets 1.21. Facelets source tag (which is very important feature) have problems with EL expression evaluation such as validation doesn't work if component is defined in the source tag 2. Source tag only support value binding. So if you need to pass action binding into tag via EL get ready to do some hacks in Java 3. Packaging of user defined source tag into jar is not documented (so there is a lot of time required to resolve this if you need to) 4. c:if causes major confusion (as it is evaluated not at render time) 5. It would be nicer if EL functions library was more elaborate than now. I have to constantly create new very basic functions as concat, trim and so on 6. Including output of legacy JSP output into produced page is a pain 7. All JSF components libraries have to have taglib.xml file to work with facelets (and they usually do not provide it in distributions ex: tomahawk, woodstock) So the barrier to start using it is quite steep due to configuration issues 8. Let's imagine you wrote big library of source tags. How would you document it for you customer? input attributes are not defined anywhere. 9. There is no way to validate things at compile time. You actually have to test every page for things like if your bean or property exists and you spelled it properly. This is largely JSF problem too. 10. There are many things which could be improved (ex something like defining common interface (set of attributes) for number of tags) Currently there is no way of doing it. And there is no progress in improvements 11. Performance and memory utilization could have been better (as always, and which is largely JSF problem (look at Google web toolkit)). 12. Might it is time to take some advantage in facelets of using Java 5 features I'm sure other people can add to this list JBoss Seam progress is heavily dependent on facelets so might be JBoss could to something to remedy the situation with lack of evolution in current facelets. Facelets is a very good project which now suffers due to lack of evolution which it needs. Please, keep it going... Thanks On 6/1/07, Ian Hlavats
<ian@...> wrote:
|
|
|
Re: Facelets 1.2Reply in line
On 6/1/07, Mikhail Grushinskiy <mgrushinskiy@...> wrote: > I've been using facelets with JSF over a year and it IS much better than JSP > with JSF. However there is number of limitations: > > 1. Facelets source tag (which is very important feature) have problems with > EL expression evaluation such as validation > doesn't work if component is defined in the source tag I haven't had this issue, are you trying to pass validator method bindings? If, so see response to #2 > 2. Source tag only support value binding. So if you need to pass action > binding into tag via EL get ready to do some hacks in Java See my blog for a solution to this: http://andrewfacelets.blogspot.com/2006/06/creating-composite-controls-with-jsf.html or http://tinyurl.com/3a2hr7 > 3. Packaging of user defined source tag into jar is not documented (so there > is a lot of time required to resolve this if you need to) Isn't a taglib.xml file documentation enough on where to find the source tags? > 4. c:if causes major confusion (as it is evaluated not at render time) That is only because people fail to read the facelets documentation which states that you should avoid using JSTL tags unless you know exactly what you are doing > 5. It would be nicer if EL functions library was more elaborate than now. I > have to constantly create new very basic functions > as concat, trim and so on I don't fee that this is the job of facelets (or at least the main job), but rather an EL utility library. Maybe something like jsf-facelets-el.jar > 6. Including output of legacy JSP output into produced page is a pain Sounds like an easy fix. Perhaps a <ui:includeDispatch src="url" /> tag? > 7. All JSF components libraries have to have taglib.xml file to work with > facelets (and they usually do not provide it in > distributions ex: tomahawk, woodstock) So the barrier to start using it > is quite steep due to configuration issues This is due to lack of support from the community, not facelets. I have been trying to get MyFaces to provide this, but I can't get a movement started there. > 8. Let's imagine you wrote big library of source tags. How would you > document it for you customer? input attributes are not defined > anywhere. This one could be harder. Perhaps something that can produce TLD files from parsing taglib.xml and source tag files and then use the TLD to generate the docs from? > 9. There is no way to validate things at compile time. You actually have to > test every page for things like if your bean or property exists > and you spelled it properly. This is largely JSF problem too. This is a problem with any code that crosses a boundary. SQL for example doesn't have compile time checking either. This is a EL issue not a facelets issue though. > 10. There are many things which could be improved (ex something like > defining common interface (set of attributes) for number of tags) > Currently there is no way of doing it. And there is no progress in > improvements What do you mean for this? Facelets lets you add attribute arbitrarily to components. If you mean a common set of attributes for components, than that is a component library issue not a facelets one. Tomahawk and A4J use component code generators to build theirs, perhaps this is what you want? I don't see that as a role of facelets though as it is not a component library, but a JSF view handler library. > 11. Performance and memory utilization could have been better (as always, > and which is largely JSF problem (look at Google web toolkit)). Agreed, but I think we can wait for JSF 2.0 to address this and this is also more of a JSF issue than a facelets one. In fact facelet's performance is better than JSF's > 12. Might it is time to take some advantage in facelets of using Java 5 > features See my 1.5 support for facelets: http://jsf-comp.sourceforge.net/components/facelets-deployment/index.html or http://tinyurl.com/2k55u4 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Facelets 1.2Reply inline
On 6/2/07, Andrew Robinson <andrew.rw.robinson@...> wrote: Reply in line > 2. Source tag only support value binding. So if you need to pass action Yes this is working solution which looks like a hack. Facelets should have had something so no java coding is needed for that on the part of facelets user. > 3. Packaging of user defined source tag into jar is not documented (so there And if you jar all your source tags will the app pick it up from jar archive or you need to do extra work? > 4. c:if causes major confusion (as it is evaluated not at render time) Still for most people when they see 'if' they expect it work different way than it behaves now. And when they see it it is hard to understand what is going on cause it is kinda 'works but sometimes' > 5. It would be nicer if EL functions library was more elaborate than now. I Maybe source tag should include definition of parameters (as it was in jstl source tags)? > 9. There is no way to validate things at compile time. You actually have to Writing JSF component in Java is not easy, that's why there are not that many component libraries out there. Facelets allows you simplify it with source tags. But source tags do not have definition of their attributes. So if you like to create a library of those tags and integrate it with IDE as eclipse so in editor you would type first letters of the tag attribute and it gives you dropdown of what attributes are available. How would you do that? > 11. Performance and memory utilization could have been better (as always, |
|
|
Re: Facelets 1.2> 9. There is no way to validate things at compile time. You actually have to > test every page for things like if your bean or property exists > and you spelled it properly. This is largely JSF problem too. This is a problem with any code that crosses a boundary. SQL for example doesn't have compile time checking either. This is a EL issue not a facelets issue though. MG> Java 5 generics introduced typed collections into java which is a big leap. Less errors at runtime. The way EL/JSF handles bean properties (no checks at deploy time, or at some stage before runtime) is a step backward. And these checks could be done before run-time. Ex in seam you would annotate bean using @Name so name of the bean is known at compile time. And you have EL expression #{myBean.typoInProperty }. The typo in property name could be found out before run-time, but there is nothing currently which would do it. Right now you will only discover such mistakes when you access the page, which could have been avoided and prevented well in advance. On 6/2/07, Mikhail Grushinskiy <mgrushinskiy@...> wrote: Reply inline |
|
|
Re: Facelets 1.2On 6/2/07, Andrew Robinson <andrew.rw.robinson@...> wrote:
> > 7. All JSF components libraries have to have taglib.xml file to work with > > facelets (and they usually do not provide it in > > distributions ex: tomahawk, woodstock) So the barrier to start using it > > is quite steep due to configuration issues > > This is due to lack of support from the community, not facelets. I > have been trying to get MyFaces to provide this, but I can't get a > movement started there. This has been due to a lack of build infrastructure in Tomahawk capable of dynamically-generating taglib (and tld, jsp tag handler, faces-config) files. I saw a new scratch branch created for Tomahawk 2 last week, and one of the discussed goals of that branch is to use the Trinidad build infrastructure to for Tomahawk. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Facelets/MyFaces/Spring/Hibern |
|
|
Re: Facelets/MyFaces/Spring/Hibern |
|
|
Re: Facelets/MyFaces/Spring/Hibern |
|
|
Re: Facelets/MyFaces/Spring/Hibern |
|
|
RE: Facelets/MyFaces/Spring/Hibern |
|
|
|
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |