incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: ADF Faces component with facelets
Date Thu, 01 Jun 2006 15:59:57 GMT
Looks like its not XML parser related - I was just trying
to rule out any weirdness in an XML parser implementation,
but that doesn't look like its the case here.  This seems
like a Facelets issue, so lets take it over to the facelets-user
mailing list...

Thanks,
Adam


On 6/1/06, Cosma Colanicchia <cosmacol@gmail.com> wrote:
> The IndexOutOf problem is more related to the first than it seems.
> Check if you have any whitespace after the closing tag of components
> nested in your <af:table> (columns, commandLinks, rowLayouts, etc).
>
> The exception is thrown because it seems that the <af:table> does some
> work to save and restore a "state" for each of its child components,
> and the extra spaces confuse this logic (like trying to restore the
> state a component that doesn't exists in the page).
>
> There must be some problem in parsing of facelets pages.
>
> Cosma
>
>
> 2006/6/1, Cosma Colanicchia <cosmacol@gmail.com>:
> > OC4J has by default the Oracle XDK's XML parser (xmlparserv2.jar). If
> > it is a parser related issue, isn't it strange that two different
> > parser implementations produce the same error?
> >
> >
> >
> > 2006/6/1, Frank Felix Debatin <ffd@gmx.net>:
> > > Pretty ugly, isn't it?
> > >
> > > Adam asked in one of his posts for the XML parser used
> > > because that might be the cause of the problem. In my JBoss
> > > environment it's Xerces. What alternatives are there?
> > >
> > > Frank Felix
> > >
> > >
> > > > -----Original Message-----
> > > > From: Cosma Colanicchia [mailto:cosmacol@gmail.com]
> > > > Sent: Thursday, June 01, 2006 11:25 AM
> > > > To: adffaces-user@incubator.apache.org
> > > > Subject: Re: ADF Faces component with facelets
> > > >
> > > > Frank, as I replied in another your post, I'm having the
> > > very
> > > > same problems using Facelets 1.1.7, latest ADF Faces and
> > > > MyFaces from SVN, and OC4J as app server.
> > > >
> > > > Cosma
> > > >
> > > >
> > > > 2006/5/31, Cosma Colanicchia <cosmacol@gmail.com>:
> > > > > Ops, it was a typo :-) yes, I mean <f:facet>.
> > > > >
> > > > > You're right, I changed the namespace and now it works,
> > > > thank you very
> > > > > much Noah.
> > > > >
> > > > > Cosma
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 2006/5/31, Sloan, Noah M <Noah_Sloan@baylor.edu>:
> > > > > > Just checking, but you mean 'f:facet' and not
> > > 'facelet' right?
> > > > > >
> > > > > > I think the namespace is supposed to be
> > > > > > xmlns:f=http://java.sun.com/jsf/core
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > >
> > > > > > From: Cosma Colanicchia [mailto:cosmacol@gmail.com]
> > > > > > Sent: Wed 31-May-06 6:09 AM
> > > > > > To: adffaces-user@incubator.apache.org
> > > > > > Subject: Re: ADF Faces component with facelets
> > > > > >
> > > > > >
> > > > > >
> > > > > > I have a problem either with 1.1.7 and 1.0.14.
> > > > > >
> > > > > > First, I had to manually add to the adf-faces jar the
> > > > af.taglib.xml
> > > > > > file from the sources, because there was only yhe
> > > afh.taglib.xml
> > > > > > one... strange thing. Anyway I use the latest sources
> > > > from apache to
> > > > > > build the adf-faces jars.
> > > > > >
> > > > > > Now, I have a test page that seems to work, <h:*>
> > > <af:*>
> > > > <afh:*> and
> > > > > > <t:*> tags get replaced in my output by the generated
> > > > HTML, but my
> > > > > > <f:*> ones does not. I have <f:facelet>s in my output
> > > > page. What's
> > > > > > wrong?
> > > > > >
> > > > > > This is the libraries I set for my project:
> > > > > >
> > > > > > adf-faces-api-11-m7-SNAPSHOT.jar
> > > > > > adf-faces-impl-11-m7-SNAPSHOT.jar
> > > > > > myfaces-api-1.1.4-SNAPSHOT.jar
> > > > > > myfaces-impl-1.1.4-SNAPSHOT.jar
> > > > > > tomahawk-1.1.4-SNAPSHOT.jar
> > > > > > jsf-facelets-1.1.7.jar
> > > > > > el-api.jar
> > > > > > el-ri.jar
> > > > > > commons-beanutils-1.7.0.jar
> > > > > > commons-codec-1.3.jar
> > > > > > commons-collections-3.1.jar
> > > > > > commons-digester-1.6.jar
> > > > > > commons-el-1.0.jar
> > > > > > commons-fileupload-1.0.jar
> > > > > > commons-lang-2.1.jar
> > > > > > commons-logging-1.0.4.jar
> > > > > > commons-validator-1.1.4.jar
> > > > > > jakarta-oro-2.0.7.jar
> > > > > > jstl-1.1.0.jar
> > > > > >
> > > > > > In my facelets page, I declared the namespaces this
> > > way:
> > > > > >
> > > > > > <html
> > > > > >     xmlns="http://www.w3.org/1999/xhtml"
> > > > > >     xmlns:ui="http://java.sun.com/jsf/facelets"
> > > > > >     xmlns:f="http://java.sun.com/jsf"
> > > > > >     xmlns:h="http://java.sun.com/jsf/html"
> > > > > >     xmlns:t="http://myfaces.apache.org/tomahawk"
> > > > > >     xmlns:af="http://myfaces.apache.org/adf/faces"
> > > > > >
> > > xmlns:afh="http://myfaces.apache.org/adf/faces/html">
> > > > > >
> > > > > > What's wrong?
> > > > > >
> > > > > >
> > > > > > 2006/5/31, Cosma Colanicchia <cosmacol@gmail.com>:
> > > > > > > 2006/5/31, Frank Felix Debatin <ffd@gmx.net>:
> > > > > > > > > I'm was starting with the latest release, 1.1.7,
> > > but I'll
> > > > > > > > > follow your hint and try 1.0.14 first.
> > > > > > > >
> > > > > > > > I was actually hoping you start with 1.1.x to see
> > > if you find
> > > > > > > > the same problems ;-)
> > > > > > >
> > > > > > > Ok, I promise that, if I can work out without
> > > problems 1.0.14,
> > > > > > > I'll try switch to 1.1.7 :-)
> > > > > > >
> > > > > > > > > So,  the only required
> > > > > > > > > libraries are those for tomahawk and for the
> > > sandbox,
> > > > > > > > right?
> > > > > > > >
> > > > > > > > The facelets page mentions a tomahawk taglib
> > > contribution.
> > > > > > > > I'm just using the ADF component, so I can't tell.
> > > > > > >
> > > > > > > I'll probably leave the tomahawk and sandbox in the
> > > future, it
> > > > > > > seems that ADF Faces has a rather complete feature
> > > set..
> > > > > > >
> > > > > > > > Frank Felix
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > >
> >
>

Mime
View raw message