I'm trying to use the @Bean annotation. I have a very simple
Bean with a no-arg constructor that I'm trying to create.

@Bean
public abstract InpoweredErrorDelegate getInpoweredErrorDelegate();

The page loads just fine on the first pass.
If I try to reload the page, there after I get an exception.
The error message states that my bean has already been declared.

Here is the error message I'm getting:

Error: An error occured processing annotation @
org.apache.tapestry.annotations.Bean(value=class java.lang.Object,
lifecycle=REQUEST, initializer=) of public abstract
inpowered.common.tapestry.InpoweredErrorDelegate
inpowered.admin.dynamic_validation.pages.SalesScreenFieldValidations.getInpoweredErrorDelegate():
Bean inpoweredErrorDelegate has already been declared (at Annotation @
org.apache.tapestry.annotations.Bean(value=class java.lang.Object,
lifecycle=REQUEST, initializer=) of public abstract
inpowered.common.tapestry.InpoweredErrorDelegate
inpowered.admin.dynamic_validation.pages.SalesScreenFieldValidations.getInpoweredErrorDelegate
()).

Reply via email to