Return-Path: Delivered-To: apmail-incubator-beehive-user-archive@www.apache.org Received: (qmail 53194 invoked from network); 11 Jun 2005 23:46:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jun 2005 23:46:02 -0000 Received: (qmail 82074 invoked by uid 500); 11 Jun 2005 23:46:01 -0000 Delivered-To: apmail-incubator-beehive-user-archive@incubator.apache.org Received: (qmail 82056 invoked by uid 500); 11 Jun 2005 23:46:01 -0000 Mailing-List: contact beehive-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list beehive-user@incubator.apache.org Received: (qmail 82031 invoked by uid 99); 11 Jun 2005 23:46:01 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 60-240-98-225-nsw-pppoe.tpgi.com.au (HELO main.adamjenkins.net) (60.240.98.225) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 11 Jun 2005 16:45:59 -0700 Received: from localhost ([127.0.0.1]) by main.adamjenkins.net (JAMES SMTP Server 2.2.0) with SMTP ID 211 for ; Sun, 12 Jun 2005 09:47:48 +1000 (EST) Subject: Re: can use tiles? From: Adam Jenkins Reply-To: mail@adamjenkins.net To: Beehive Users In-Reply-To: <42AB5CFA.3010505@apache.org> References: <1118469281.28823.105.camel@main.adamjenkins.net> <42AB5CFA.3010505@apache.org> Content-Type: text/plain Date: Sun, 12 Jun 2005 09:47:47 +1000 Message-Id: <1118533667.10781.6.camel@main.adamjenkins.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Rich, Found the tiles example about 20 minutes ago, am trying out now (huge learning curve, but beehive is rad). I'll check out (2). I'm not yet confident with shared flows...but their next on my todo list :) Cheers Adam On Sat, 2005-06-11 at 15:51 -0600, Rich Feit wrote: > Yes! I actually have two answers for this: > > 1) Page Flow supports Tiles directly. There's a sample of this in > the distribution at samples/netui-samples/tiles. > > 2) I use "shared flows" to provide actions that go along with UI in > page templates. There's a sample of this in the dist at > samples/netui-samples/templateactions. Note that this is basically the > *exact* same sample as the Tiles example, using templates instead. > > Let me know if you have any questions about this. > > Rich > > Adam Jenkins wrote: > > >Can beehive use struts tiles? > > > >Is there an example on this? > > > >I've tried using 'template' but I keep stuffing things up because > >template executes from the directory of the flow, so all the action > >links keep erroring out. For example, my header has a logout > >action...which is in the main Controller.java. But when I go to a > >controller in a different directory which uses the same template I get > >"Action 'logout' is not a valid action.". > > > >Anyone can help out with this? > > > >Cheers > >Adam > > > > > > > >