Thanks Paul! Bruno
On 6/26/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
Based on post to this thread and some trail & error, I have found a solution and documented it in the wiki. http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns Paul Spencer Paul Spencer wrote: > I thought about using a <t:dataTable> inside <h:selectOneRadio>, see > below. No error where produced and no output. > > <h:selectOneRadio id="reportName" value="selectedReport"> > <t:dataTable newspaperColumns="2" value="#{predefinedReports}" > var="report" > > <h:column> > <f:selectItem itemValue="#{report.name}" /> > </h:column> > </t:dataTable> > </h:selectOneRadio> > > Should this work? > > > Paul Spencer > > > Paul Spencer wrote: >> Volker, >> >> The examples are in panelstack.jsp and selectbox.jsp. <t:radio> does >> not appear to be work well with a dynamic list of selectItems, i.e. >> the select items are from a backing bean and they are to be displayed >> in 2 columns. >> >> >> Paul Spencer >> >> Volker Weber wrote: >>> Hi, >>> >>> see >>> http://myfaces.apache.org/tomahawk/tlddoc/t/radio.html >>> >>> there should be an example in simple.war >>> >>> regards, >>> >>> Volker >>> >>> >>> 2006/6/14, Paul Spencer <[EMAIL PROTECTED]>: >>>> Fintan, >>>> Visually is it is the same concept, but how do I implement it with with >>>> radio buttons? >>>> >>>> I have seen references to the layout "spread", but I have not seen an >>>> example of it's use. So I am not sure if this is the solution. >>>> >>>> BTW the Newspaper Table has been deprecated. >>>> >>>> Paul Spencer >>>> >>>> >>>> Conway. Fintan (IT Solutions) wrote: >>>> > Hi Paul, >>>> > >>>> > Would the Newspaper Table component work? >>>> > http://myfaces.apache.org/tomahawk/newspaperTable.html >>>> > >>>> > Regards, >>>> > >>>> > Fintan >>>> > >>>> > -----Original Message----- >>>> > From: Paul Spencer [mailto:[EMAIL PROTECTED] >>>> > Sent: 13 June 2006 17:57 >>>> > To: MyFaces Discussion >>>> > Subject: How can I display radio buttons in 2 columns? >>>> > >>>> > >>>> > I would like to display a long list of radio buttons in 3 columns? >>>> > >>>> > Paul Spencer >>>> > >>>> > >>>> > * ** *** ** * ** *** ** * ** *** ** * >>>> > This email and any files transmitted with it are confidential and >>>> > intended solely for the use of the individual or entity to whom they >>>> > are addressed. >>>> > Any views or opinions presented are solely those of the author, >>>> and do not necessarily represent those of ESB. >>>> > If you have received this email in error please notify the sender. >>>> > >>>> > Although ESB scans e-mail and attachments for viruses, it does not >>>> guarantee >>>> > that either are virus-free and accepts no liability for any damage >>>> sustained >>>> > as a result of viruses. >>>> > >>>> > * ** *** ** * ** *** ** * ** *** ** * >>>> > >>>> > >>>> >>>> >>> >> >> > >

