You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Kuni <ku...@muschkoten-berlin.de> on 2006/07/22 13:02:54 UTC
breadcrumb navigation
Hello,
i need a breadcrumb-navigation for my actual project. i have no ideas
how to realize this and i don't can find such components in the net.
any ideas?
thanks,
kuni
Re: breadcrumb navigation ---> configuring existing webapp for adf-trinidad
Posted by Kuni <ku...@muschkoten-berlin.de>.
hey matthias,
thanks for your fast help!! i solved the problem by setting
<context-param>
<param-name>
org.apache.myfaces.adf.CLIENT_STATE_METHOD
</param-name>
<param-value>all</param-value>
</context-param>
i've to analyze the results of property in the nexnt time..
Matthias Wessendorf schrieb:
> Try to look at
> http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-demo/src/main/webapp/WEB-INF/web.xml?view=markup
>
>
> and please move Trinidad/ADF related questions to the
> adffaces-incubator list.
> thx,
> matt
>
> On 7/23/06, Kuni <ku...@muschkoten-berlin.de> wrote:
>> greetings back to from germany :-)
>>
>> the build was quite easy. i've installed the dependencies into my local
>> repository. but
>> i have a litte problem so configure my webapp. tomcat always sais:
>>
>> 24.07.2006 00:13:44
>> org.apache.myfaces.adfinternal.application.StateManagerImpl restoreView
>> SCHWERWIEGEND: Could not find saved view state for token
>> H4sIAAAAAAAAAAFIALf/POmn19M74tfCuzLrUbFMEp9
>> nT0YtjFPRtsa95hdFeQwi9sVb14EbvVe/0VUI/tYqeK9ofBXQ1UTeSBM88wxc2IVJHwg3A6u6Yb0cDkgAAAA=
>>
>> [webreport-finance] [ERROR] 2006-07-24 00:13:44
>> HtmlResponseStateManager.writeState(): No component
>> states to be saved in client response!
>>
>> i don't changed any related stuff in my app. i only added
>>
>> <context-param>
>> <param-name>
>> org.apache.myfaces.adf.USE_APPLICATION_VIEW_CACHE
>> </param-name>
>> <param-value>false</param-value>
>> </context-param>
>> <context-param>
>> <param-name>
>> org.apache.myfaces.adf.CHECK_FILE_MODIFICATION
>> </param-name>
>> <param-value>true</param-value>
>> </context-param>
>> <context-param>
>> <param-name>
>> org.apache.myfaces.adf.CHANGE_PERSISTENCE
>> </param-name>
>> <param-value>session</param-value>
>> </context-param>and <filter>
>> <filter-name>adfFaces</filter-name>
>> <filter-class>
>> org.apache.myfaces.adf.webapp.AdfFacesFilter
>> </filter-class>
>> </filter>
>>
>> <filter-mapping>
>> <filter-name>adfFaces</filter-name>
>> <servlet-name>Faces Servlet</servlet-name>
>> </filter-mapping>
>>
>> to my web.xml and also i added the adf-faces-config.xml to my web-inf
>> dir.
>> what else??
>>
>> i simply try to use the <af:navigationPath id="breadcrumb" /> component.
>>
>> regards,
>> Kuni
>>
>>
>>
>> Matthias Wessendorf schrieb:
>> >>
>> >> i'll try to build trinidad myself
>> >
>> > no big deal w/ maven :) After the mentioned renaming and some
>> > repackaging (getting rid of "adf" inside the namespaces/packages,
>> > we'll ask the incubator_pmc for a "milestone" release.
>> >
>> > greetings to berlin :)
>> >
>> > HTH,
>> > Matthias
>> >
>> >
>>
>>
>
>
Re: breadcrumb navigation ---> configuring existing webapp for adf-trinidad
Posted by Matthias Wessendorf <ma...@apache.org>.
Try to look at
http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-demo/src/main/webapp/WEB-INF/web.xml?view=markup
and please move Trinidad/ADF related questions to the adffaces-incubator list.
thx,
matt
On 7/23/06, Kuni <ku...@muschkoten-berlin.de> wrote:
> greetings back to from germany :-)
>
> the build was quite easy. i've installed the dependencies into my local
> repository. but
> i have a litte problem so configure my webapp. tomcat always sais:
>
> 24.07.2006 00:13:44
> org.apache.myfaces.adfinternal.application.StateManagerImpl restoreView
> SCHWERWIEGEND: Could not find saved view state for token
> H4sIAAAAAAAAAAFIALf/POmn19M74tfCuzLrUbFMEp9
> nT0YtjFPRtsa95hdFeQwi9sVb14EbvVe/0VUI/tYqeK9ofBXQ1UTeSBM88wxc2IVJHwg3A6u6Yb0cDkgAAAA=
> [webreport-finance] [ERROR] 2006-07-24 00:13:44
> HtmlResponseStateManager.writeState(): No component
> states to be saved in client response!
>
> i don't changed any related stuff in my app. i only added
>
> <context-param>
> <param-name>
> org.apache.myfaces.adf.USE_APPLICATION_VIEW_CACHE
> </param-name>
> <param-value>false</param-value>
> </context-param>
> <context-param>
> <param-name>
> org.apache.myfaces.adf.CHECK_FILE_MODIFICATION
> </param-name>
> <param-value>true</param-value>
> </context-param>
> <context-param>
> <param-name>
> org.apache.myfaces.adf.CHANGE_PERSISTENCE
> </param-name>
> <param-value>session</param-value>
> </context-param>and <filter>
> <filter-name>adfFaces</filter-name>
> <filter-class>
> org.apache.myfaces.adf.webapp.AdfFacesFilter
> </filter-class>
> </filter>
>
> <filter-mapping>
> <filter-name>adfFaces</filter-name>
> <servlet-name>Faces Servlet</servlet-name>
> </filter-mapping>
>
> to my web.xml and also i added the adf-faces-config.xml to my web-inf dir.
> what else??
>
> i simply try to use the <af:navigationPath id="breadcrumb" /> component.
>
> regards,
> Kuni
>
>
>
> Matthias Wessendorf schrieb:
> >>
> >> i'll try to build trinidad myself
> >
> > no big deal w/ maven :) After the mentioned renaming and some
> > repackaging (getting rid of "adf" inside the namespaces/packages,
> > we'll ask the incubator_pmc for a "milestone" release.
> >
> > greetings to berlin :)
> >
> > HTH,
> > Matthias
> >
> >
>
>
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: breadcrumb navigation ---> configuring existing webapp for adf-trinidad
Posted by Kuni <ku...@muschkoten-berlin.de>.
greetings back to from germany :-)
the build was quite easy. i've installed the dependencies into my local
repository. but
i have a litte problem so configure my webapp. tomcat always sais:
24.07.2006 00:13:44
org.apache.myfaces.adfinternal.application.StateManagerImpl restoreView
SCHWERWIEGEND: Could not find saved view state for token
H4sIAAAAAAAAAAFIALf/POmn19M74tfCuzLrUbFMEp9
nT0YtjFPRtsa95hdFeQwi9sVb14EbvVe/0VUI/tYqeK9ofBXQ1UTeSBM88wxc2IVJHwg3A6u6Yb0cDkgAAAA=
[webreport-finance] [ERROR] 2006-07-24 00:13:44
HtmlResponseStateManager.writeState(): No component
states to be saved in client response!
i don't changed any related stuff in my app. i only added
<context-param>
<param-name>
org.apache.myfaces.adf.USE_APPLICATION_VIEW_CACHE
</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>
org.apache.myfaces.adf.CHECK_FILE_MODIFICATION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>
org.apache.myfaces.adf.CHANGE_PERSISTENCE
</param-name>
<param-value>session</param-value>
</context-param>and <filter>
<filter-name>adfFaces</filter-name>
<filter-class>
org.apache.myfaces.adf.webapp.AdfFacesFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
to my web.xml and also i added the adf-faces-config.xml to my web-inf dir.
what else??
i simply try to use the <af:navigationPath id="breadcrumb" /> component.
regards,
Kuni
Matthias Wessendorf schrieb:
>>
>> i'll try to build trinidad myself
>
> no big deal w/ maven :) After the mentioned renaming and some
> repackaging (getting rid of "adf" inside the namespaces/packages,
> we'll ask the incubator_pmc for a "milestone" release.
>
> greetings to berlin :)
>
> HTH,
> Matthias
>
>
Re: breadcrumb navigation
Posted by Matthias Wessendorf <ma...@apache.org>.
>
> i'll try to build trinidad myself
no big deal w/ maven :) After the mentioned renaming and some
repackaging (getting rid of "adf" inside the namespaces/packages,
we'll ask the incubator_pmc for a "milestone" release.
greetings to berlin :)
HTH,
Matthias
Re: breadcrumb navigation
Posted by Kuni <ku...@muschkoten-berlin.de>.
the people.apache doesn't work... look at mvn output:
Downloading:
http://snapshots.maven.codehaus.org/maven2//org/apache/myfaces/adf/adf-faces/incubator-m1-SNAPSHOT/adf-faces-incubator-m1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository Maven Snapshots
(http://snapshots.maven.codehaus.org/maven2/)
Downloading:
http://myfaces.zones.apache.org/dist/maven-repository/org/apache/myfaces/adf/adf-faces/incubator-m1-SNAPSHOT/adf-faces-incubator-m1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository myfaces.staging
(http://myfaces.zones.apache.org/dist/maven-repository)
Downloading:
http://www.ibiblio.org/maven2/org/apache/myfaces/adf/adf-faces/incubator-m1-SNAPSHOT/adf-faces-incubator-m1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository ibiblio
(http://www.ibiblio.org/maven2)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/adf/adf-faces/incubator-m1-SNAPSHOT/adf-faces-incubator-m1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository)
[ERROR] An error occurred during dependency resolution of the following
artifact:
org.apache.myfaces.adf:adf-faces-api:incubator-m1-SNAPSHOT
Caused by: Unable to get dependency information: Unable to read the
metadata file for artifact 'org.apache.myfaces.adf:adf-faces-api:jar':
Cannot find parent: org.apache.myfaces.adf:adf-faces for proj
ect: null:adf-faces-api:jar:incubator-m1-SNAPSHOT
org.apache.myfaces.adf:adf-faces-api:jar:incubator-m1-SNAPSHOT
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
ibiblio (http://www.ibiblio.org/maven2),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
myfaces.staging (http://myfaces.zones.apache.org/dist/maven-repository)
i'll try to build trinidad myself
Matthias Wessendorf schrieb:
> Try that repository
>
> http://people.apache.org/repo/m2-snapshot-repository
>
>
> Or see wiki howto build it yourself
>
> http://wiki.apache.org/myfaces/Building_ADF_With_Maven
>
> -Matt
>
> On 7/23/06, Kuni <ku...@muschkoten-berlin.de> wrote:
>> thats sounds good. it seems that trinidad has some nice components that
>> i'll need.
>> but how can i include trinidad in an existing project? maven returns
>> alway's an error.
>>
>> here is my pom;
>>
>> <repositories>
>> <repository>
>> <id>Maven Snapshots</id>
>> <url>http://snapshots.maven.codehaus.org/maven2/</url>
>> </repository>
>> <repository>
>> <id>myfaces.staging</id>
>> <name>MyFaces Staging Repository</name>
>> <url>
>> http://myfaces.zones.apache.org/dist/maven-repository
>> </url>
>> </repository>
>> <repository>
>> <id>ibiblio</id>
>> <name>ibiblio</name>
>> <url>http://www.ibiblio.org/maven2</url>
>> </repository>
>> <repository>
>> <releases>
>> <enabled>false</enabled>
>> </releases>
>> <snapshots>
>> <enabled>true</enabled>
>> </snapshots>
>> <id>apache.snapshots</id>
>> <name>Apache Snapshot Repository</name>
>> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>> </repository>
>> </repositories>
>> ...
>> <dependency>
>> <groupId>org.apache.myfaces.core</groupId>
>> <artifactId>myfaces-api</artifactId>
>> <version>1.1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.myfaces.core</groupId>
>> <artifactId>myfaces-impl</artifactId>
>> <version>1.1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.myfaces.tomahawk</groupId>
>> <artifactId>tomahawk</artifactId>
>> <version>1.1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.myfaces.tomahawk</groupId>
>> <artifactId>tomahawk-sandbox</artifactId>
>> <version>1.1.3</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.myfaces.adf</groupId>
>> <artifactId>adf-faces-api</artifactId>
>> <version>incubator-m1-SNAPSHOT</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.myfaces.adf</groupId>
>> <artifactId>adf-faces-impl</artifactId>
>> <version>incubator-m1-SNAPSHOT</version>
>> </dependency>
>>
>>
>>
>> Matthias Wessendorf schrieb:
>> > Apache Trinidad Podling (that OS donation from Oracle)
>> > has such a component.
>> >
>> > Currently its name is navigationPath, but will be renamed as
>> > "breadCrumbs"
>> >
>> > -Matthias
>> >
>> > On 7/22/06, Kuni <ku...@muschkoten-berlin.de> wrote:
>> >> let me know if a solution exists :-)
>> >>
>> >>
>> >>
>> >> Julian Ray schrieb:
>> >> > This would be a good topic for the wiki.
>> >> >
>> >> > -----Original Message-----
>> >> > From: Kuni [mailto:kuni@muschkoten-berlin.de]
>> >> > Sent: Saturday, July 22, 2006 7:03 AM
>> >> > To: MyFaces Discussion
>> >> > Subject: breadcrumb navigation
>> >> >
>> >> > Hello,
>> >> >
>> >> > i need a breadcrumb-navigation for my actual project. i have no
>> >> ideas how to
>> >> > realize this and i don't can find such components in the net.
>> >> >
>> >> > any ideas?
>> >> >
>> >> >
>> >> > thanks,
>> >> > kuni
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>
Re: breadcrumb navigation
Posted by Matthias Wessendorf <ma...@apache.org>.
Try that repository
http://people.apache.org/repo/m2-snapshot-repository
Or see wiki howto build it yourself
http://wiki.apache.org/myfaces/Building_ADF_With_Maven
-Matt
On 7/23/06, Kuni <ku...@muschkoten-berlin.de> wrote:
> thats sounds good. it seems that trinidad has some nice components that
> i'll need.
> but how can i include trinidad in an existing project? maven returns
> alway's an error.
>
> here is my pom;
>
> <repositories>
> <repository>
> <id>Maven Snapshots</id>
> <url>http://snapshots.maven.codehaus.org/maven2/</url>
> </repository>
> <repository>
> <id>myfaces.staging</id>
> <name>MyFaces Staging Repository</name>
> <url>
> http://myfaces.zones.apache.org/dist/maven-repository
> </url>
> </repository>
> <repository>
> <id>ibiblio</id>
> <name>ibiblio</name>
> <url>http://www.ibiblio.org/maven2</url>
> </repository>
> <repository>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <id>apache.snapshots</id>
> <name>Apache Snapshot Repository</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> </repository>
> </repositories>
> ...
> <dependency>
> <groupId>org.apache.myfaces.core</groupId>
> <artifactId>myfaces-api</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.core</groupId>
> <artifactId>myfaces-impl</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.tomahawk</groupId>
> <artifactId>tomahawk</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.tomahawk</groupId>
> <artifactId>tomahawk-sandbox</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.adf</groupId>
> <artifactId>adf-faces-api</artifactId>
> <version>incubator-m1-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.adf</groupId>
> <artifactId>adf-faces-impl</artifactId>
> <version>incubator-m1-SNAPSHOT</version>
> </dependency>
>
>
>
> Matthias Wessendorf schrieb:
> > Apache Trinidad Podling (that OS donation from Oracle)
> > has such a component.
> >
> > Currently its name is navigationPath, but will be renamed as
> > "breadCrumbs"
> >
> > -Matthias
> >
> > On 7/22/06, Kuni <ku...@muschkoten-berlin.de> wrote:
> >> let me know if a solution exists :-)
> >>
> >>
> >>
> >> Julian Ray schrieb:
> >> > This would be a good topic for the wiki.
> >> >
> >> > -----Original Message-----
> >> > From: Kuni [mailto:kuni@muschkoten-berlin.de]
> >> > Sent: Saturday, July 22, 2006 7:03 AM
> >> > To: MyFaces Discussion
> >> > Subject: breadcrumb navigation
> >> >
> >> > Hello,
> >> >
> >> > i need a breadcrumb-navigation for my actual project. i have no
> >> ideas how to
> >> > realize this and i don't can find such components in the net.
> >> >
> >> > any ideas?
> >> >
> >> >
> >> > thanks,
> >> > kuni
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
>
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: breadcrumb navigation
Posted by Kuni <ku...@muschkoten-berlin.de>.
thats sounds good. it seems that trinidad has some nice components that
i'll need.
but how can i include trinidad in an existing project? maven returns
alway's an error.
here is my pom;
<repositories>
<repository>
<id>Maven Snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
</repository>
<repository>
<id>myfaces.staging</id>
<name>MyFaces Staging Repository</name>
<url>
http://myfaces.zones.apache.org/dist/maven-repository
</url>
</repository>
<repository>
<id>ibiblio</id>
<name>ibiblio</name>
<url>http://www.ibiblio.org/maven2</url>
</repository>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
</repository>
</repositories>
...
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.tomahawk</groupId>
<artifactId>tomahawk</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.tomahawk</groupId>
<artifactId>tomahawk-sandbox</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.adf</groupId>
<artifactId>adf-faces-api</artifactId>
<version>incubator-m1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.adf</groupId>
<artifactId>adf-faces-impl</artifactId>
<version>incubator-m1-SNAPSHOT</version>
</dependency>
Matthias Wessendorf schrieb:
> Apache Trinidad Podling (that OS donation from Oracle)
> has such a component.
>
> Currently its name is navigationPath, but will be renamed as
> "breadCrumbs"
>
> -Matthias
>
> On 7/22/06, Kuni <ku...@muschkoten-berlin.de> wrote:
>> let me know if a solution exists :-)
>>
>>
>>
>> Julian Ray schrieb:
>> > This would be a good topic for the wiki.
>> >
>> > -----Original Message-----
>> > From: Kuni [mailto:kuni@muschkoten-berlin.de]
>> > Sent: Saturday, July 22, 2006 7:03 AM
>> > To: MyFaces Discussion
>> > Subject: breadcrumb navigation
>> >
>> > Hello,
>> >
>> > i need a breadcrumb-navigation for my actual project. i have no
>> ideas how to
>> > realize this and i don't can find such components in the net.
>> >
>> > any ideas?
>> >
>> >
>> > thanks,
>> > kuni
>> >
>> >
>> >
>> >
>>
>>
>
>
Re: breadcrumb navigation
Posted by Matthias Wessendorf <ma...@apache.org>.
Apache Trinidad Podling (that OS donation from Oracle)
has such a component.
Currently its name is navigationPath, but will be renamed as "breadCrumbs"
-Matthias
On 7/22/06, Kuni <ku...@muschkoten-berlin.de> wrote:
> let me know if a solution exists :-)
>
>
>
> Julian Ray schrieb:
> > This would be a good topic for the wiki.
> >
> > -----Original Message-----
> > From: Kuni [mailto:kuni@muschkoten-berlin.de]
> > Sent: Saturday, July 22, 2006 7:03 AM
> > To: MyFaces Discussion
> > Subject: breadcrumb navigation
> >
> > Hello,
> >
> > i need a breadcrumb-navigation for my actual project. i have no ideas how to
> > realize this and i don't can find such components in the net.
> >
> > any ideas?
> >
> >
> > thanks,
> > kuni
> >
> >
> >
> >
>
>
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: breadcrumb navigation
Posted by Kuni <ku...@muschkoten-berlin.de>.
let me know if a solution exists :-)
Julian Ray schrieb:
> This would be a good topic for the wiki.
>
> -----Original Message-----
> From: Kuni [mailto:kuni@muschkoten-berlin.de]
> Sent: Saturday, July 22, 2006 7:03 AM
> To: MyFaces Discussion
> Subject: breadcrumb navigation
>
> Hello,
>
> i need a breadcrumb-navigation for my actual project. i have no ideas how to
> realize this and i don't can find such components in the net.
>
> any ideas?
>
>
> thanks,
> kuni
>
>
>
>
RE: breadcrumb navigation
Posted by Julian Ray <ju...@yahoo.com>.
This would be a good topic for the wiki.
-----Original Message-----
From: Kuni [mailto:kuni@muschkoten-berlin.de]
Sent: Saturday, July 22, 2006 7:03 AM
To: MyFaces Discussion
Subject: breadcrumb navigation
Hello,
i need a breadcrumb-navigation for my actual project. i have no ideas how to
realize this and i don't can find such components in the net.
any ideas?
thanks,
kuni