Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 68088 invoked from network); 27 Jan 2006 12:09:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jan 2006 12:09:01 -0000 Received: (qmail 53380 invoked by uid 500); 27 Jan 2006 12:08:57 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 53354 invoked by uid 500); 27 Jan 2006 12:08:57 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 53343 invoked by uid 99); 27 Jan 2006 12:08:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2006 04:08:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [67.104.97.130] (HELO ns01.exadel.com) (67.104.97.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2006 04:08:55 -0800 Received: from [192.168.2.180] ([81.23.103.46]) (authenticated bits=0) by ns01.exadel.com (8.13.1/8.13.1) with ESMTP id k0RC8QZm038075 for ; Fri, 27 Jan 2006 04:08:27 -0800 (PST) Message-ID: <43DA0EE6.6030108@exadel.com> Date: Fri, 27 Jan 2006 15:15:34 +0300 From: Alexander Smirnov Organization: Exadel Inc User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: MyFaces Development Subject: Re: Bookmarking, History and JSF References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on ns.exadel.com X-Virus-Status: Clean X-Spam-Report: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on ns.exadel.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: 0.0 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Due to navigation caases, you page after GET request may be different from request to request, depend on application state. For bookmarkable links, best case to use redirect navigation options . May be, for such cases best solution will be save/restore request state for redirect, simulate single request processing for redirects ? After such processing, You will have right ( bookmarkable ) uri in browser for page. Second part for such solution can be ability for define "default" action methods for non-faces requested pages. In such, when re-visiting bookmarked page, in case of non-actual page client can be forward to different view ( as I see, such functions exist in Struts/Shale ). " not submitting a form and loosing all JSF state but having a bookmarkable link? " - already exist in with nested Jesse Alexander (KBSA 21) : > to put it in a nutshell: > > add GET-processing to JSF... > > +100 ;-) > > regards > Alexander > > -----Original Message----- > From: Martin Marinschek [mailto:martin.marinschek@gmail.com] > Sent: Friday, January 27, 2006 10:35 AM > To: MyFaces Development > Subject: Bookmarking, History and JSF > > Hi all, > > I'm having ideas again. Must come from too much work with JSF ;) > > My idea: > > Bookmarking is a problem with JSF, right? Except you use h:outputLink, > but then there's this slight problem with not being in the action > system anymore ;) > > Now, what do I want to be able to see in my history or to bookmark? I > want to bookmark simple pages, where state is not so important at all. > Or only a small portion of the state is important... > > Those simple pages I usually refer to with an "action" attribute that > is put (as a string) directly on the or > tag, right? > > Why not render out this action attribute as a parameter to the URL of > the link optionally, not submitting a form and loosing all JSF state, > but having a bookmarkable link? > > The developer can decide then: > - do I need this link to be bookmarked > - do I want this link to use the plain old JSF posting system with > state-saving. > > Enhancement: we could additionally render out params to this link as - > yes, right, params to the URL. So people can optionally build there > web-apps just like they were used to when JSF wasn't around. > > Good idea - bad idea - better idea ;) ? > > regards, > > Martin > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces -- Alexander Smirnov Software developer Exadel Inc. http://www.exadel.com/ mail-to:asmirnov@exadel.com