- This topic has 35 replies, 15 voices, and was last updated 14 years ago by
Brian Fernandes.
-
AuthorPosts
-
jfroschParticipantThis message has not been recovered.
November 14, 2007 at 1:50 am #278526
Loyal WaterMemberIn your designer window, add the TextInput from the palette under “JFS HTML”. Is it still marked as an unknown attribute ?
November 15, 2007 at 11:57 am #278624
Robert JewettMemberI posted the identical problem under the topic “Post subject: Apparently bogus errors on JSP files “. Nipun responded with a screen clip showing the label tag without the error. I assumed it must be my configuration problem, but I can create a new JEE5, JSF, Facelets application from scratch as Nipun purported to do and I get the error.
I just tried adding from the palette under JFS-H and I get the error.
I no longer believe this is a configuration problem, I think it is an intermittent bug, because I use this tag/label consistently. Normally the first time I add it to an xhtml file, I get the line flagged as an error. But after some time the marker may go away. I have multiple files in the same project, some of which exhibit the failure some not. Once the flag goes away it does not seem to come back but I can’t find any pattern as to what causes it, or causes it to clear up.
November 15, 2007 at 5:16 pm #278645
jfroschParticipant@support-nipun wrote:
In your designer window, add the TextInput from the palette under “JFS HTML”. Is it still marked as an unknown attribute ?
Yes it is.
I dragged the TextInput control onto the design canvas and got an opening and closing h:inputText element. I added the attribute, label=”Name: “, and the attribute was flagged as being an unknown attribute. Ditto for converterMessage, requiredMessage, etc.
All the JSF 1.2 attributes are unrecognized, even though my build path includes the JEE 5 library with (presumably) JSF 1.2 jars. The following entry is from my .classpath file:
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
It’s not a huge issue at this moment, but I’d sure like to figure out why I can use JSF 1.2 in a JSP, but not in a Facelets XHTML page.
Thanks for any help.
November 21, 2007 at 12:28 pm #278864
Riyad KallaMemberGuys, thanks for your patience. It looks like a bug on our end with the Facelets editor not recognizing the 1.2 taglibs. I am filing it ASAP.
November 21, 2007 at 4:39 pm #278872
jfroschParticipantExcellent. Thanks!
To everyone in the USA – have a happy Thanksgiving.
December 13, 2007 at 10:57 am #279629
Frank WeismantelMemberI having the same problem. But it is not only restricted to the jsf 1.2 taglib. Every additional taglib is ignored by the content assistant.
I have as additonal tag libs the richfaces included. The designer add the taglibs correctly in the header. But the contant assistant takes
no notice of this.December 13, 2007 at 12:39 pm #279646
Riyad KallaMemberfrweisma,
The facelets editor, due to how facelets taglibs are designed, cannot pickup the validation and content-assist definitions for the taglibs on the fly, it’s a process we have to support and include in the editor at this time.December 15, 2007 at 6:49 am #279707
Frank WeismantelMemberSo this means that you have completly different implementations between JSP and XHTML. Because when i design a JSP site,
all properties of foreign taglibs are supported.December 15, 2007 at 9:24 am #279708
Riyad KallaMemberJSP, XHTML and Facelets are all similar in structure/syntax highlighting, but if you are asking about grammars for the languages and content-assist/taglib support, they are all very different.
January 29, 2008 at 9:44 am #281255
jfroschParticipantGuys, thanks for your patience. It looks like a bug on our end with the Facelets editor not recognizing the 1.2 taglibs. I am filing it ASAP.
Has there been any progress on this?
January 29, 2008 at 12:45 pm #281276
Riyad KallaMemberNo, we haven’t had a release since it was filed. I am going to push for it to get fixed in 6.5 or 7.0 later this year.
January 29, 2008 at 1:49 pm #281278
jfroschParticipant@support-rkalla wrote:
No, we haven’t had a release since it was filed. I am going to push for it to get fixed in 6.5 or 7.0 later this year.
Ouch! I truly hope the fix is sooner than later.
IMO, one of the biggest advantage of JSF 1.2 is the introduction of time-saving, code-saving attributes on the HTML tags.
For instance, in JSF 1.1, one had to create a separate h:message element for each input field, but JSF 1.2 allows one to specify the message value, and even Severity level styles, on the same element. This not only saves coding an extra element, but when the form is composed in a 2-column gridPanel, I usually wrap the input field and h:message element into an h:panelGroup to keep the message rendered close to the field. Being able to have a 2-column, label/field table without the extra h:panelGroup is an additional time savings.
Of course, there’s much more in JSF 1.2 that saves times and makes coding easier.
So not having JSF 1.2 support in the Facelets editor isn’t just inconvenient; it’s causing a lot of extra code to be written while we await this important fix.
If the code for this editor is open source, perhaps we can all take a look to see if there’s a way to slipstream in a fix before the next big release?
Thanks for your understanding.
February 14, 2008 at 10:20 am #281781
Anthony EstelitaMembervote +6 (we have 6 licenses) to get this fix/addressed sooner. 🙂
We too are using JSF 1.2 and we currently have to live with the validation errors. And we have to manually type in the new JSF 1.2 attributes/tags. Not much of a big deal, just some times a pain (it gets hard to see real bugs in your code when your problems tab has 20+ items about invalid tags/attributes).
Hopefully we don’t have to wait till the end of this year for this!
Anthony
February 14, 2008 at 10:40 am #281785
Riyad KallaMemberIMO, one of the biggest advantage of JSF 1.2 is the introduction of time-saving, code-saving attributes on the HTML tags.
I just want to clarify, we support JSF 1.2 with standard JSP pages, but not in Facelets yet. (I realize your request is for Facelets, I just want to clarify for anyone running through the thread and reading it quickly)
We too are using JSF 1.2 and we currently have to live with the validation errors.
Anthony, do you mean JSF in straight JSP pages, or Facelets/XHTML pages? Our JSP editor will correctly parse the updated definitions from the TLDs for JSF 1.2 in Java EE 5, so you shouldn’t be seeing problems in a plain JSP, but in Facelets I understand.
-
AuthorPosts