Are you sure you made your form use that bean?
jwcid="@Form" delegate="bean:delegate" ?
Skorpien126 wrote:
Hmm I´ve a strange behaviour in my app...
I´ve build an own ValidationDelegate because I want to display the
errorMessage in the Label. Therefor I thought ... extend a Subclass
(http://tapestry.apache.org/tapestry4.1/usersguide/validation.html) should
be easy. My subclass extends from the orginal
org.apache.tapestry.valid.ValidationDelegate class.
The Delegate is defined in the .page:
<bean name="delegate" class="myPackage.ErrorValidationDelegate"/>
I´ve several other "workarounds" like "FriendlyUrls" so I turned them of to
find the error.
Furthermore I extend the FieldLabel Component. (took a look to the appfuse
startup-application)
There I set a breakPoint to find out what the app is doing:
I set this code in the renderComponent-method:
if (form.getDelegate() instanceof myPackage.ErrorValidationDelegate)
{
//breakpoint here
}
The Thread never reach the breakPoint.... and the Bean is never of type
ErrorValidationDelegate ... it´s always the basic ValidationDelegate.
Maybe it´s a very simple Problem... but i can´t figure out. Can someone help
me??? ideas??? Would should I check???
--
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]