Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 28215 invoked from network); 29 Nov 2005 15:50:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 15:50:54 -0000 Received: (qmail 83930 invoked by uid 500); 29 Nov 2005 15:50:45 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 83842 invoked by uid 500); 29 Nov 2005 15:50:44 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 83809 invoked by uid 99); 29 Nov 2005 15:50:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:50:44 -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 [216.23.125.30] (HELO mx.scriptall.com) (216.23.125.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:52:13 -0800 Received: (qmail 23397 invoked by uid 512); 29 Nov 2005 10:50:26 -0500 Received: from david@bluesunrise.com by edison by uid 509 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.63. Clear:RC:1(64.105.95.102):. Processed in 0.030951 secs); 29 Nov 2005 15:50:26 -0000 X-Antivirus-MYDOMAIN-Mail-From: david@bluesunrise.com via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(64.105.95.102):. Processed in 0.030951 secs Process 23393) Received: from h-64-105-95-102.snvacaid.covad.net (HELO [192.168.1.113]) (david@bluesunrise.com@64.105.95.102) by mx.scriptall.com with SMTP; Tue, 29 Nov 2005 10:50:25 -0500 Message-ID: <438C78B9.9080402@bluesunrise.com> Date: Tue, 29 Nov 2005 07:50:17 -0800 From: David Sean Taylor User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Developers List Subject: Re: Ajax References: <3b728ee90511240229w46f97a42g806ac5f541bae1d2@mail.gmail.com> <4385E4E3.7050903@bluesunrise.com> <3b728ee90511241127y35103751l951fe4182d2068b3@mail.gmail.com> <4386190C.1020109@bluesunrise.com> <3b728ee90511280128i5e3b4366tf6e2cbda2ebd90a5@mail.gmail.com> <438B360C.2070104@bluesunrise.com> <3b728ee90511281208t5f167790hb4e657413189d62b@mail.gmail.com> In-Reply-To: <3b728ee90511281208t5f167790hb4e657413189d62b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christophe Lombart wrote: > On 11/28/05, David Sean Taylor wrote: > >>Here we configure the security constraint or RBAC >>I think I may simply go with RBAC for now >>Let me know what you think, I should be able to get this into the Ajax >>Pipeline today >> > > > RBAC is also ok for me. In your example, what kind of component is > AjaxGetRoles ? is it a simple portal service ? > No, although arguably it could be. Instead we have Ajax Actions and Builders: public class AddGetRoles implements AjaxAction, AjaxBuilder working very much like a portlet, in that its two-phase. First phase is the action, second phase is the builder, building the Ajax XML response. > > I like the solution #1 but I expect to write more javascript no ? > Solution #2 avoid to write a lot of java script. A simple ajax respond > with Rico can be (to update a group listbox) : > > > > > > > > > > But I'm ok the solution #1 is better in point of view design. Do you > make a choice for an ajax framework ? > I think you can use either way with this Ajax framework. As long as there is some way to know the content type of the response -- David Sean Taylor Bluesunrise Software david@bluesunrise.com [office] +01 707 773-4646 [mobile] +01 707 529 9194 --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org