-
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 think it matters where you define it within
: Thursday, 26 October 2006 9:33 PM
To: 'Tapestry users'
Subject: RE: Dynamic Radiogroup
I ran into this problem too. FieldLabel does not work with Radio because it
is not an IFormComponent.
The order of FieldLabel the component it refers to doesn't matter. Except
that if you put the FieldLabel
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
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
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
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
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
I've tried the jwc approach with no luck.
JWC:
component id=amountGroup type=RadioGroup
binding name=selected value=ognl:suggestedAmount /
/component
component id=amountList type=For
binding name=source value=ognl:suggestedAmounts/
binding name=value
I'm having trouble getting the radiogroup component to handle a nested
For component. The following is nested within a Form component:
div jwcid=@RadioGroup selected=ognl:suggestedAmount
ul
li jwcid=@For source=ognl:suggestedAmounts element=li
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:
div jwcid=@RadioGroup selected=ognl:suggestedAmount
ul
li
Okay, new problem. When attempting to create labels for the radio
inputs I am getting exceptions:
li jwcid=@For source=ognl:suggestedAmounts element=li
value=ognl:currentSuggestedAmount
label jwcid=@FieldLabel field=sugspan jwcid=@Insert
value=ognl:currentSuggestedAmount.label //label
11 matches
Mail list logo