Question: How do I put iterated radio buttons in the same group?

2004-01-14 Thread Eric Hodges
I'm using nested:iterate to display a list of items in a table.  Each row
shows on element of the list like this:

nested:iterate id=account property=accounts
  tr
td
  nested:radio property=master value=Master/
/td
  /tr
/nested:iterate


I'd like to have one column that shows radio buttons and I'd like all of
those buttons to be in the same group so only one of them can be selected at
a time.  To do this I need them to have the same name property in the
resulting HTML.  The problem is that their names take the form
account[index].master, where index has a different value on each row.
This puts each radio button in it's own group and allows all of them to be
selected at the same time.

Any ideas about how to make this work?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question: How do I put iterated radio buttons in the same group?

2004-01-14 Thread Kris Schneider
Try:

html:radio property=master idName=account/

Quoting Eric Hodges [EMAIL PROTECTED]:

 I'm using nested:iterate to display a list of items in a table.  Each row
 shows on element of the list like this:
 
 nested:iterate id=account property=accounts
   tr
 td
   nested:radio property=master value=Master/
 /td
   /tr
 /nested:iterate
 
 
 I'd like to have one column that shows radio buttons and I'd like all of
 those buttons to be in the same group so only one of them can be selected
 at
 a time.  To do this I need them to have the same name property in the
 resulting HTML.  The problem is that their names take the form
 account[index].master, where index has a different value on each row.
 This puts each radio button in it's own group and allows all of them to be
 selected at the same time.
 
 Any ideas about how to make this work?

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]