Here is the only methods in my Border.java file: /** * Listener method to show terms of use popup * @return */ public IPage termsOfUsePopup(){ return getTermsOfUse(); } /** * Listener method to show privacy popup * @return */ public IPage privacyPopup(){ return getPrivacy(); }
/** * @return Returns the loggedIn. */ public abstract boolean isLoggedIn(); /** * @param loggedIn * The loggedIn to set. */ public abstract void setLoggedIn(boolean loggedIn); /** * @return Returns the showNavLogin. */ public abstract boolean isShowNavLogin(); /** * @param showNavLogin * The showNavLogin to set. */ public abstract void setShowNavLogin(boolean showNavLogin); @InjectState("visit") public abstract Visit getVisitObject(); @InjectPage("TermsOfUse") public abstract IPage getTermsOfUse(); @InjectPage("Privacy") public abstract IPage getPrivacy(); On 3/12/06, James Carman <[EMAIL PROTECTED]> wrote: > What annotations do you have on your getTermsOfUse() method? What does your > Border.java look like (just that one property getter of course)? > > > -----Original Message----- > From: Mul [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 12, 2006 3:39 AM > To: Tapestry users > Subject: Re: Anyone have any idea about this exception? > > I've encounter this exception before, with the page caching set to > disabled. One thing that I did and thought may have caused the exception if > both the page and component are injected with the same object, such as > Visit. I had the page and component both injecting the visit object; I > can't say that was really the actual cause of the problem though, but try > it. You can always get the value of the injected object in component > through the page it's referring to. > > Muljadi > > On 3/10/06, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > > > I posted this a while back on jira: > > http://issues.apache.org/jira/browse/TAPESTRY-848 > > > > This exception occurs only when page caching is set to false, This is > > an annoyance because development time slows down having to redeploy > > after ever little html change. > > > > Anyone know the reason why this is occurring? > > > > org.apache.tapestry.BindingException > > Exception invoking listener method formSubmit of component OpenCase: > > Error: An error occured processing annotation > > @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) of > > public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse(): > > Property termsOfUse has already been accounted for by the element at > > Annotation @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) > > of public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse(). > > binding: [EMAIL PROTECTED] > > [template > > parameter listener, component=OpenCase, methodName=formSubmit, > > location=context:/WEB-INF/OpenCase.html, line 35] > > component: [EMAIL PROTECTED] > > location: context:/WEB-INF/OpenCase.html, line 35 > > 30 <tr class="hiBlue"> > > 31 <td><span DEFANGED_STYLE="font-weight: bold;"><h2><span > > key="pageHeader">PageHeader</span></h2><br> > > 32 <br> > > 33 </span> > > 34 <span jwcid="@ShowError" delegate="ognl:beans.delegate" /> > > 35 <DEFANGED_form jwcid="@Form" delegate="ognl:beans.delegate" > > listener="listener:formSubmit"> > > 36 <table class="TapTable"> > > 37 > > 38 <tr> > > 39 <td class="infohead" colspan="2"> > > 40 > > > > org.apache.hivemind.ApplicationRuntimeException > > Error: An error occured processing annotation > > @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) of > > public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse(): > > Property termsOfUse has already been accounted for by the element at > > Annotation @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) > > of public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse(). > > location: Annotation > > @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) of > > public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse() > > > > org.apache.hivemind.ApplicationRuntimeException > > Property termsOfUse has already been accounted for by the element at > > Annotation @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) > > of public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse(). > > location: Annotation > > @org.apache.tapestry.annotations.InjectPage(value=TermsOfUse) of > > public abstract org.apache.tapestry.IPage > > com.atwcorp.trustedresponse.view.components.Border.getTermsOfUse() > > Stack Trace: > > > > * org.apache.tapestry.spec.ComponentSpecification.claimProperty( > > ComponentSpecification.java:674) > > * > > org.apache.tapestry.spec.ComponentSpecification.addInjectSpecification( > > ComponentSpecification.java:645) > > * > > > org.apache.tapestry.annotations.InjectPageAnnotationWorker.performEnhancemen > t > > (InjectPageAnnotationWorker.java:50) > > * > > > org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnh > ancement > > (AnnotationEnhancementWorker.java:142) > > * > > > org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnh > ancement > > (AnnotationEnhancementWorker.java:110) > > * > > > org.apache.tapestry.annotations.AnnotationEnhancementWorker.performEnhanceme > nt > > (AnnotationEnhancementWorker.java:70) > > > > -- > > ~chris > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]