Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 87531 invoked from network); 18 Jul 2010 07:51:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Jul 2010 07:51:26 -0000 Received: (qmail 17972 invoked by uid 500); 18 Jul 2010 07:51:24 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 16656 invoked by uid 500); 18 Jul 2010 07:51:23 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 15842 invoked by uid 99); 18 Jul 2010 07:51:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jul 2010 07:51:22 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FREEMAIL_FROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcwcd-click-development-2@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jul 2010 07:51:12 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OaOeA-0001wk-1B for dev@click.apache.org; Sun, 18 Jul 2010 09:50:50 +0200 Received: from 85.121.189.169 ([85.121.189.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Jul 2010 09:50:50 +0200 Received: from a.adrian.tech by 85.121.189.169 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Jul 2010 09:50:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@click.apache.org From: "Adrian A." Subject: Re: Rename Partial Date: Sun, 18 Jul 2010 09:50:36 +0200 Lines: 37 Message-ID: References: <4C4188D3.4080509@gmail.com> <4C419540.5080003@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.121.189.169 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <4C419540.5080003@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org >> Fragment, (Snippet, Slice, Brick, Pagelet, Partlet, Slicelet) ? >> >> The "binary" content returned, it's indeed "complete", not "partial", >> but maybe the problem (and user confusion) is not with the naming, but >> the fact that "Partial" renders non-Ajax binary content too? For those >> binary resources, a much better name could be e.g. "Resource", so >> >> E.g. Something like >> public class Partial extends/implements Resource { >> ... >> } >> thus for "complete" binary responses to return a Resource, not a Partial? >> >> Could this be an approach? > > > Not sure that Resource is the proper name though. It might be binary > content that is generated on the fly. "Resource would be the "Browser"/"User" view on that generated content - being static or dynamic. The same way a HTML Page is the same from the Browser/User perspective even if it's dynamically created or not. The same wording seem to be used by REST and RESTful web services (what comes back is a "resource") > Both JSF and Wicket have settled on Behaviors so I think we should leverage it as well. That was the first issue mentioned to me by some users: it's just too Wicket like :). > Callbacks > might be more familiar to programmers but not as a means to handle Ajax requests. Callbacks are > normally used for inter object invocations not handling browser requests. Something familiar to most Windows users (but present in many programming languages) might be "Handle" or "AjaxHandle". Adrian.