You need to define "logoutToPage" in your component specification as a parameter, not a property.
Paul Pickerel Yee wrote: >I have a component, and define it in the .jwc as below: ><component-specification class="org.adds.web.compontents.LogoutComponent" >allow-body="no" allow-informal-parameters="no"> > <property name="LogoutToPage" initial-value="index"/> ></component-specification> > >and this component is be used in a page as blow: > > <component id="logout" type="LogoutComponent"> > <binding name="LogoutToPage" value="literal:index1"/> > </component> > >and below it the code of LogoutComponent: > >public abstract class LogoutComponent extends BaseComponent >{ > abstract String getLogoutToPage(); > > abstract void setLogoutToPage(String page); > > > public void doLogout(RequestCycle cycle) > { > .... > } >} > >when i visit the page, i got the errors: >Error at context:/WEB-INF/components/LogoutComponent.jwc, line 6: Method >'abstract java.lang.String >org.adds.web.compontents.LogoutComponent.getLogoutToPage()' (declared in >class org.adds.web.compontents.LogoutComponent) has no implementation in >class org.adds.web.compontents.LogoutComponent (or enhanced subclass >$LogoutComponent_17). > >i don't know what's wrong in it > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]