RE: Dynamic Radiogroup

2006-10-26 Thread Ben Sommerville
(!isDisabled() && !group.isDisabled() && group.isSelected(option)) group.updateSelection(getValue()); } } -Original Message- From: Ben Sommerville [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 October 2006 9:33 PM To: 'Tapestry users' Subject: RE: Dyna

RE: Dynamic Radiogroup

2006-10-26 Thread Ben Sommerville
--Original Message- From: Todd Orr [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 October 2006 1:44 AM To: Tapestry users Subject: Re: Dynamic Radiogroup Reversing the radio and the label still causes this exception. On 10/25/06, James Carman <[EMAIL PROTECTED]> wrote: > I don't thin

Re: Dynamic Radiogroup

2006-10-25 Thread Patrick Moore
Your experence maybe different. but I found that if I had a component that was not mentioned in java code nor in the .jwc file I would get problems when using FieldLabel... On 10/25/06, James Carman <[EMAIL PROTECTED]> wrote: I don't think it matters where you define it within the HTML. Quite o

Re: Dynamic Radiogroup

2006-10-25 Thread Todd Orr
Reversing the radio and the label still causes this exception. On 10/25/06, James Carman <[EMAIL PROTECTED]> wrote: I don't think it matters where you define it within the HTML. Quite often, the field label will come before the field it labels. I've never had to resort to a .page/.jwc file in

Re: Dynamic Radiogroup

2006-10-25 Thread James Carman
I don't think it matters where you define it within the HTML. Quite often, the field label will come before the field it labels. I've never had to resort to a .page/.jwc file in this case. On 10/24/06, Patrick Moore <[EMAIL PROTECTED]> wrote: your FieldLabel's field parameter is wrong, it sho

Re: Dynamic Radiogroup

2006-10-24 Thread Todd Orr
I've tried the jwc approach with no luck. JWC: HTML: TITLE TEST

Re: Dynamic Radiogroup

2006-10-24 Thread Patrick Moore
your FieldLabel's field parameter is wrong, it should look like this: but if I remember correctly this will not work anyhow because sug is defined in the html after the FieldLabel. You will need to specify sug in your java or .jwc. -Pat

Re: Dynamic Radiogroup

2006-10-24 Thread Todd Orr
That's certainly going to make this difficult. Why is the easy stuff so hard? I suppose I'll have to hack through and implement a replacement for Radio. Any other suggestions? On 10/24/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: In the component FieldLabel, the parameter field expects an obje

Re: Dynamic Radiogroup

2006-10-24 Thread Shing Hing Man
In the component FieldLabel, the parameter field expects an object of type IFormcomponent. (Please see http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/FieldLabel.html) It looks as though the Java class for the Radio component is not of type IFormcomponent. Shing --- Todd Orr

Re: Dynamic Radiogroup

2006-10-23 Thread Todd Orr
Okay, new problem. When attempting to create labels for the radio inputs I am getting exceptions: Produces: Error converting value for template parameter field: No type converter for type org.apache.tapestry.form.IFormComponent is available Any thoughts? It says also "No type converte

Re: Dynamic Radiogroup

2006-10-23 Thread Todd Orr
nevermind, im an ass On 10/23/06, Todd Orr <[EMAIL PROTECTED]> wrote: I'm having trouble getting the radiogroup component to handle a nested For component. The following is nested within a Form component: