RE: Missing messages when using handleNavigation during a PPR

2007-04-21 Thread William Hoover
Thanks Mike/Adam! I will look into your suggestions and see what I can come up 
with.

-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 10:26 PM
To: adffaces-user@incubator.apache.org
Subject: Re: Missing messages when using handleNavigation during a PPR


Keeping in mind that I may be completely wrong, you might take a look
at the Tomahawk sandbox RedirectTracker to solve this problem.

Unfortunately, it's pretty light on documention right now.

Try here:

http://issues.apache.org/jira/browse/TOMAHAWK-503

http://mail-archives.apache.org/mod_mbox/myfaces-dev/200606.mbox/[EMAIL 
PROTECTED]

On 4/20/07, Adam Winer [EMAIL PROTECTED] wrote:
 It can't be done, not currently.  Navigating during PPR
 *always* does a client-side redirect, which means
 you lose the messages.

 You'd have to save and restore the messages manually.

 -- Adam


 On 4/20/07, William Hoover [EMAIL PROTECTED] wrote:
  Does anyone know how to maintain faces messages when handling navigation 
  programmatically durring a PPR?
 
  FacesContext.getCurrentInstance().getApplication().getNavigationHandler().handleNavigation(context,
   fromAction, outcome)
 
 




Re: Installing Maven Trinidad Archetype

2007-04-21 Thread Matthias Wessendorf

Hey Andy,

I was updating a minor thing inside the archetype; nothing related to
your issue.
In oder to get the archetype working I did this:
-checkout of adffaces folder
cd plugin
mvn clean install
cd ../trinidad
mvn clean install

...go somewhere, where you'd like to have your projects...

mvn archetype:create
-DarchetypeGroupId=org.apache.myfaces.trinidadbuild
-DarchetypeArtifactId=myfaces-archetype-trinidad
-DarchetypeVersion=1.0.1-incubating-SNAPSHOT
-DgroupId=com.apachecon.amsterdam.workshop
-DartifactId=trinidad

that generates a project skeleton. Now,
mvn -PjettyConfig clean jetty:run

the jetty container comes up and servers your page

http://localhost:8080/trinidad/faces/index.jspx

Does that solve your issues ?

Greetings,
Matthias

On 4/17/07, Andy Birchall [EMAIL PROTECTED] wrote:

So is there something wrong with the Archtype?
FYI after I build Trinidad I have the
maven-plugin-parent\1.0.0-incubating directory in my local repository,
but with no jar file.
Thanks a lot
Andy

On 4/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
 yeah, I'll check the archetype

 On 4/14/07, Adam Winer [EMAIL PROTECTED] wrote:
  Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
  not 1.0.1-SNAPSHOT?
 
  -- Adam
 
 
  On 4/14/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
   perhaps it hasn't the incubator repo in.
  
   -M
  
   On 4/14/07, Simon Lessard [EMAIL PROTECTED] wrote:
Hello,
   
mvn install in the plugins directory to build it. However, I don't see 
why
this is needed, if this is really the issue since he built plugin can be
found in maven repos.
   
On 4/14/07, Andy Birchall [EMAIL PROTECTED] wrote:

 Ah, I wasn't aware that I had to do that.
 I thought that these instructions were building the Archetype plugin:
 http://wiki.apache.org/myfaces/Trinidad_Archetype
 No?
 Can you point me to the page which tells me how to build the plugins?
 Thanks a lot
 Andy

 On 4/14/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
  did you build the plugins as well ?
 
  On 4/13/07, Andy Birchall [EMAIL PROTECTED] wrote:
   Yes I did.
   I built it using the instructions here:
   http://wiki.apache.org/myfaces/Building_ADF_With_Maven
   and it all built fine.
   Thanks
  
   On 4/13/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
did you build trinidad ?
   
On 4/13/07, Andy Birchall [EMAIL PROTECTED] wrote:
 Hello,
 I've been trying to install the Trinidad Archetype to my 
Maven 2
 installation but without success.
 I have followed the instructions on here:
 http://wiki.apache.org/myfaces/Trinidad_Archetype

 i.e. I have checked out the source and typed 'mvn install' in 
the
 trinidad-archetype directory

 But this results in this error:

 C:\Temp\trinidad-archetypemvn install
 [INFO] Scanning for projects...
 [INFO]
 

 [ERROR] FATAL ERROR
 [INFO]
 

 [INFO] Failed to resolve artifact.

 GroupId: org.apache.myfaces.trinidadbuild
 ArtifactId: maven-plugin-parent
 Version: 1.0.1-incubating-SNAPSHOT

 Reason: Unable to download the artifact from any repository


 
org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

 [INFO]
 

 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Cannot find
 parent:
 org.apache.myfaces.trinidadbuild:maven-plugin-parent for 
project:
 org.apache.myfaces.trinidadbuild:myfaces-arc
 hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT

 So it seems it is looking for the Trinidad artifact in the 
central
 maven repository but obviously can't find it.
 Do I have to set another repository for it to look in to 
download?
 I'm probably missing something obvious but can't seem to find 
a
 solution.
 Sorry, I'm pretty new to this.
 Thanks
 Andy

   
   
--
Matthias Wessendorf
http://tinyurl.com/fmywh
   
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
   
  
 
 
  --
  Matthias Wessendorf
  http://tinyurl.com/fmywh
 
  further stuff:
  blog: http://jroller.com/page/mwessendorf
  mail: mwessendorf-at-gmail-dot-com
 

   
  
  
   --
   Matthias Wessendorf
   http://tinyurl.com/fmywh
  
   

Re: [Graduation] Trinidad voted out of Incubator

2007-04-21 Thread Gary VanMatre
From: Matthias Wessendorf [EMAIL PROTECTED] 

 Dear Trinidad community, 
 
 The Trinidad PPMC is pleased to let you know, that Trinidad has been 
 voted out of the Apache Incubator. We got 12 binding +1 votes by the 
 Apache Incubator PMC, and two more non-binding by the Incubator 
 community (see [1]). Trinidad graduates as a subproject of the Apache 
 MyFaces community. The next steps are allocating a SVN folder w/in the 
 MyFaces SVN repo. The mailing lists will also be moved to myfaces. 
 
 I think I can speak for all of us, that we have 13 interesting month 
 (11,5 with sources in the SVN ;)) behind us, and we are happy to 
 announce that leaving the Incubator has become reality. 
 
 Thanks to all of you for participating in this community. Without that 
 this never had been possible. This project has proven that 
 Apache-style OpenSource (community-focused) is a good choice! 
 

Congratulations to the Oracle ADF Faces Team. Rock on! 


 -Matthias 
 
 [1] 
 -- 
 Matthias Wessendorf 
 http://tinyurl.com/fmywh 
 
 further stuff: 
 blog: http://jroller.com/page/mwessendorf 
 mail: mwessendorf-at-gmail-dot-com