Is the "rendered" attribute valid for ui:fragment?

View: New views
6 Messages — Rating Filter:   Alert me  

Is the "rendered" attribute valid for ui:fragment?

by pbaker01 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In eclipse I get an error when I use the "rendered" attribute with ui:fragment.  The code works as expected but the page is flaged as an error.  Am I missing a tag lib?

I'm using: facelets-1.1.15.b1

Thanks in advance!

Error as seen from Eclipse:



Header:

<!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"
        xmlns:rich="http://richfaces.ajax4jsf.org/rich"
        xmlns:a4j="http://richfaces.org/a4j"
        xmlns:c="http://java.sun.com/jstl/core"
        xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">

        <style>
.Cbc {
        background-color: #CAE1F8
}
</style>

Re: Is the "rendered" attribute valid for ui:fragment?

by pbaker01 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does anybody else have this problem?
I am using myEclipse.  
I see other folks have used the rendered attribute without problem.  

I don't see the "rendered" attribute documented with ui:fragement either.

Everything works, I just want to get rid of the error notification....

PB

Re: Is the "rendered" attribute valid for ui:fragment?

by Mike Kienenberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd say it's a MyEclipse issue (or whatever IDE plugin is generating the error).


On Tue, Oct 28, 2008 at 7:01 PM, pbaker01@...
<pbaker01@...> wrote:

>
> Does anybody else have this problem?
> I am using myEclipse.
> I see other folks have used the rendered attribute without problem.
>
> I don't see the "rendered" attribute documented with ui:fragement either.
>
> Everything works, I just want to get rid of the error notification....
>
> PB
> --
> View this message in context: http://www.nabble.com/Is-the-%22rendered%22-attribute-valid-for-ui%3Afragment--tp20199963p20217802.html
> Sent from the java.net - facelets users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Is the "rendered" attribute valid for ui:fragment?

by ghadami :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i use ui:fragement with the rendered attribute without any warnings or error
in eclipse. For development I use the current Eclipse "IDE for Java EE Developers" and Jboss tools
http://download.jboss.org/jbosstools/updates/development.

By the way this environment still have several bugs and sometime errors solved them them self, when refreshing or cleaning the projekt.


-------- Original-Nachricht --------
> Datum: Tue, 28 Oct 2008 19:04:14 -0400
> Von: "Mike Kienenberger" <mkienenb@...>
> An: users@...
> Betreff: Re: Is the "rendered" attribute valid for ui:fragment?

> I'd say it's a MyEclipse issue (or whatever IDE plugin is generating the
> error).
>
>
> On Tue, Oct 28, 2008 at 7:01 PM, pbaker01@...
> <pbaker01@...> wrote:
> >
> > Does anybody else have this problem?
> > I am using myEclipse.
> > I see other folks have used the rendered attribute without problem.
> >
> > I don't see the "rendered" attribute documented with ui:fragement
> either.
> >
> > Everything works, I just want to get rid of the error notification....
> >
> > PB
> > --
> > View this message in context:
> http://www.nabble.com/Is-the-%22rendered%22-attribute-valid-for-ui%3Afragment--tp20199963p20217802.html
> > Sent from the java.net - facelets users mailing list archive at
> Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Is the "rendered" attribute valid for ui:fragment?

by pbaker01 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the replies.  I am using myEclipse and I am not sure if the facelets validator is different for myEclipse than for standard Eclipse JEE.

Question:
Does Eclipse (for JEE) have a facelets validator?
Is there anyone using myEclipse that does not have the problem described above?

btw - Cleaning the project did not help...

Thx, PB


Re: Is the "rendered" attribute valid for ui:fragment?

by pbaker01 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I posted a reference to this problem on a myEclipse forum.
http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=98200#98200

The myEclipse team is asking for a reference to documention that shows "rendered" is a valid attribute for ui:fragment.  Does anyone have a reference to this?

Paul