Let me rephrase my question -

"/Lightweight intialization:/ A concept borrowed from HiveMind where simple properties of the bean can be configured in-line, as a comma-separated list of property=value pairs."

Does this mean that the value of the name-value pair cannot be the result of an ognl:, or message: expression?

Thanks,
-J.

Jesse Kuhnert wrote:
Not sure - you can do whatever it says you can here
http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html .

If there is something more that needs to be done a JIRA issue is probably
needed.

On 6/8/07, Jan Vissers <[EMAIL PROTECTED]> wrote:

Can I create a @Bean annotation that achieves this:

<bean name="fromPeriodBeforeTo"
class="com.cumquatit.refapp.view.tapestry.pages.forms.DateCompareValidator
"
lifecycle="none">
        <set name="otherDate" value="ognl:researchCard.period.to" />
        <set name="direction"
value="
ognl:@com.cumquatit.refapp.view.tapestry.pages.forms.DateCompareValidator
@BEFOREEQUALS"
/>
        <set name="validationErrorMessage"
value="message:from-period-before-to" />
</bean>

Thanks,
-J.

--
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
W http://www.cumquat.nl

E [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml



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





--
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
W http://www.cumquat.nl

E [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml



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

Reply via email to