That's in Tapestry 3, right?
Well, in that version, you could use FieldLabel
only with ValidField... i can't remember myself if this is 100% true,
but that's what's
described at
http://tapestry.apache.org/tapestry3/doc/ComponentReference/FieldLabel.html
However, you can move the
<message-binding name="displayName"
key="jobTitle-label"/>
to the FieldLabel and it should work.
wong wayne wrote:
Hi all
Can FieldLabel expression using displayName of
PropertySelection parameter? I would like to get the
display Name of PropertySelection and used for
FieldLabel display somewhere at the same html. Even I
specified the displayName but system still saying that
"Display name not specified and not provided by field
Registration/_jobTitleSelection"
component id="_fieldLabel_jobTitle" type="FieldLabel">
<binding name="field"
expression="components._jobTitleSelection"/>
/component>
component id="_jobTitleSelection"
type="PropertySelection">
<message-binding name="displayName"
key="jobTitle-label"/>
<binding name ="model" expression="jobTitleModel"/>
<binding name="value"
expression="userAttributes.jobTitleEnumObj"/>
<binding name="disabled"
expression="confirmationPhase"/>
/component>
Anything I missed? or such action are not available?
Any hints would be appreciate, thanks.
regards
wayne
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]