Return-Path: Delivered-To: apmail-wicket-users-archive@locus.apache.org Received: (qmail 12047 invoked from network); 1 Apr 2008 20:43:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 20:43:50 -0000 Received: (qmail 12896 invoked by uid 500); 1 Apr 2008 20:43:49 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 12272 invoked by uid 500); 1 Apr 2008 20:43:47 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 12263 invoked by uid 99); 1 Apr 2008 20:43:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 13:43:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alastair.maw@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 20:42:57 +0000 Received: by wr-out-0506.google.com with SMTP id 50so1571992wri.2 for ; Tue, 01 Apr 2008 13:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=INyr67j2px60hI/fJHv/++lKDvT+gaUSVOXhNNRbDHM=; b=e4BReodBi5tYjvi3y6aezPCvrc9LVkgKvPyGOC+dIkuVb+LTZnsaje+MstZIHiQtigSI0y5Vpz0aBi2DFovhB5VOfn0x+pny7eTzW8SdouSwx46QAC8d5zk/Wx1F5bhDmUCMSur1LdJMXgEWUyyaTCmz/gEj7J3NL3XcZkiNm50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=DqeW4IB2T3Tk9G98O5glWRmjlyl/FU634D/GcysO0KZ2VyPrxVUMnlvxNA+WNKbedJgo6q8FebbZyWx2+G3e9AHTBrQBJMhATP0kjEzGijubptICCa0tsRx2Eru2gn0U9g7KBjib7dezKxVlF28+hjWMdvQEpA/6mDBJC0JSXMc= Received: by 10.141.189.4 with SMTP id r4mr4706378rvp.98.1207082575552; Tue, 01 Apr 2008 13:42:55 -0700 (PDT) Received: by 10.141.27.13 with HTTP; Tue, 1 Apr 2008 13:42:55 -0700 (PDT) Message-ID: <9989c0590804011342k733f634ai10c62a18e39e0194@mail.gmail.com> Date: Tue, 1 Apr 2008 21:42:55 +0100 From: "Al Maw" Sender: alastair.maw@gmail.com To: users@wicket.apache.org Subject: Re: Advance RadioChoice Examples In-Reply-To: <003c01c89437$14b22330$b101a8c0@shelli> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13837_28783849.1207082575527" References: <003c01c89437$14b22330$b101a8c0@shelli> X-Google-Sender-Auth: 0e8bdd11cc81a2f9 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13837_28783849.1207082575527 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You have to use the constructor that takes an IChoiceRenderer, same as any other AbstractChoice component like a DropDownChoice. You should be able to figure the rest out from the JavaDocs and examples for that. Regards, Al On Tue, Apr 1, 2008 at 9:29 PM, Shelli D. Orton wrote: > I'm trying to figure out how to have a RadioChoice's display value be > different from the option value. For example, I want to display: > > (x) Display Options on Single Page > ( ) Display Options on Mulitple Pages > > But I want the value saved to the model to be either "single" or > "multiple". I'm guessing it has to do with using a RadioChoice constructor > that takes a IChoiceRenderer that has overridden methods that do what I > want. But I can't find any but the simplest of of RadioChoice examples. > > Can someone point me to web resource or show me how this is done? > > Thanks in advance! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org > For additional commands, e-mail: users-help@wicket.apache.org > > ------=_Part_13837_28783849.1207082575527--