Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 56727 invoked from network); 10 Oct 2010 16:05:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Oct 2010 16:05:07 -0000 Received: (qmail 65056 invoked by uid 500); 10 Oct 2010 16:05:05 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 65030 invoked by uid 500); 10 Oct 2010 16:05:05 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 65022 invoked by uid 99); 10 Oct 2010 16:05:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 16:05:05 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.48] (HELO mail-vw0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 16:04:58 +0000 Received: by vws20 with SMTP id 20so1334951vws.35 for ; Sun, 10 Oct 2010 09:04:37 -0700 (PDT) Received: by 10.220.180.136 with SMTP id bu8mr1593010vcb.62.1286726677527; Sun, 10 Oct 2010 09:04:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.72.5 with HTTP; Sun, 10 Oct 2010 09:04:17 -0700 (PDT) In-Reply-To: References: <136590646-1286725910-cardhu_decombobulator_blackberry.rim.net-1426349198-@bda013.bisx.prodap.on.blackberry> From: Frans Thamura Date: Sun, 10 Oct 2010 23:04:17 +0700 Message-ID: Subject: Re: advanced theme To: Dave Newton Cc: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org this is the logic strutsaction -> JSON -> javascript -> rich page how many json we need to make 1 rich page, 10 jsons? if we need 10 jsons, any idea to make effective struts2 programming, 10 action or 1 action which trow 1 object collection (with 1 values inside the collection) F On Sun, Oct 10, 2010 at 11:01 PM, Dave Newton wrote: > I'm not really sure what you're saying: JSON can represent an arbitrary > collection of data, and a page can do whatever it wants with that data. > Struts was designed as an action-based framework, not component-based. it > can be used to serve a component-based framework, just like anything else > that can shovel data back to a view layer. > Dave > > On Sun, Oct 10, 2010 at 11:24 AM, Frans Thamura wrote: >> >> Based on david's theme thread >> >> I just have several question that may be interest all of u. This is my >> long standing question which I believe jsf is reposition as the best >> framework for this model >> >> We know every advanced page now based on advanced javascript. We need more >> than just one json to make a rich page >> >> Usually we here make an collection object that inside this object have a >> lot of information that we can make every value inside collection become a >> variable inside a rich page >> >> There will be a lot of variables that we need to represent in the page >> >> We try to make a struts action to map every variable but I feel this is >> not an effective way >> >> >> /m/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org