Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 36440 invoked from network); 14 Apr 2005 09:40:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Apr 2005 09:40:20 -0000 Received: (qmail 83063 invoked by uid 500); 14 Apr 2005 09:40:04 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 83001 invoked by uid 500); 14 Apr 2005 09:40:04 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 82982 invoked by uid 99); 14 Apr 2005 09:40:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from v07274.home.net.pl (HELO v07274.home.net.pl) (212.85.125.162) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 14 Apr 2005 02:40:02 -0700 Received: from sj162.internetdsl.tpnet.pl (HELO ?192.168.1.62?) (lgawron.mobilebox@home@80.55.87.162) by matrix15.home.net.pl with SMTP; 14 Apr 2005 09:39:58 -0000 Message-ID: <425E3A71.1000204@mobilebox.pl> Date: Thu, 14 Apr 2005 11:40:01 +0200 From: Leszek Gawron User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Problem getting an object out of a drop down list References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N beyanet.com wrote: > Ok, > let me explain. I have a html page which presents a selection of > previous orders made by a client. In the option value section I place > the associated order objects of a user like so: > > > > > > The rendered html page looks like so: > > > > > > As you can see the problem I have is that test.OrderXXX is now a string > value, but I want it to remain an object. > > What I wanted to do was take the orderitem object, when the user selects > an option from the drop-down list, pass it into another flow function > which in turn then displays the orderitem details in another html page. > > So how can I do this so that when it reaches the next flow function it > is still an object and not a string? It cannot be an object. do something like: > > > then in flowscript: sendPageAndWait( "showOrders.jx", { userGlobal: userGlobal } ); var orderId = cocoon.request.getParameter( "order" ); var order = resolverOrderById( orderId ); that's all. -- Leszek Gawron lgawron@mobilebox.pl IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org