Hi Ron,
I've tried to do what you suggest to no avail.
I have a component that takes a parameter "address", and some properties
that need initial values based on some values with the object represented by
parameter "address".
However, when the methods specified in the initial-value parameter of
You don't need to.
lets say your parent component P takes a parameter A.
you want to manipulate A and pass it to one or more components inside of
P (child components, C1..Cx).
So, you don't use the A binding directly, instead you use a property in
your component class which delivers the manip
hi you can do that in your AddressElements component specification itself
by declaring the "default-value" to that parameter .
Muralidhar Y
Software Engineer,
Adastrum technologies-Nikai groups,
EmiratesGroup-I.T Division,
Dubai, UAE.
Mobile : 00971-50-2256149.
http://www.adastrumtech.com
http
Can you mail the component specification of your custom component.
Muralidhar Y
Software Engineer,
Adastrum technologies-Nikai groups,
EmiratesGroup-I.T Division,
Dubai, UAE.
Mobile : 00971-50-2256149.
http://www.adastrumtech.com
http://www.mercator.aero
(Keep Smiling. Be happy All The Time.
Hello
once in the render method it's too late to change the properties.
Your component could implement
org.apache.tapestry.event.PageRenderListener with method
pageBeginRender(PageEvent event) {
if ( !event.getRequestCycle().isRewinding() ) {
initStateCode();
}
}
the page should au