This could be the reason why... @Override protected void prepareForRender(IRequestCycle cycle) { super.prepareForRender(cycle);
setCollection(loadCollection(getCollectionType())); if ( getTableSize() == null ) setTableSize(tableSizeModel.getOption(0).toString()); if ( getPagingSpan() == null ) setPagingSpan(pagingSpanModel.getOption(0).toString()); } But I still do not know what the solution is. @parameter or @Persist... it needs to be initialized regardless. Can someone tell me what is going to make this guy persist across REFRESH's? Is there a tapestry parameters/properties tech doc for dummies? Best regards Ken in nashua From: [EMAIL PROTECTED] To: users@tapestry.apache.org Subject: RE: is not bound and can not be updated or BINDINGEXCEPTION ? Date: Tue, 9 Oct 2007 16:40:25 -0400 This is tapestry-101 stuff... and I am still wrestling with it. I decided to use @Persist instead of @Parameter and now I get An exception has occurred. You may continue by restarting the session. [ +/- ] Exception: Error: Change to persistent property tableSize of Home/theWidget has been ignored. Persistent properties may only be changed prior to the rendering of the response page. org.apache.hivemind.ApplicationRuntimeException Error: Change to persistent property tableSize of Home/theWidget has been ignored. Persistent properties may only be changed prior to the rendering of the response page. Stack Trace: org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39) org.apache.hivemind.impl.ErrorLogImpl.error(ErrorLogImpl.java:40) org.apache.tapestry.record.PageRecorderImpl.observeChange(PageRecorderImpl.java:101) org.apache.tapestry.Tapestry.fireObservedChange(Tapestry.java:677) $Gallery_17.setTableSize($Gallery_17.java) org.trails.demo.components.Gallery.prepareForRender(Gallery.java:121) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723) org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:179) org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:539) org.apache.tapestry.components.RenderBody.renderComponent(RenderBody.java:39) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:179) org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:539) org.apache.tapestry. Best regards Ken in nashua From: [EMAIL PROTECTED] To: users@tapestry.apache.org Subject: is not bound and can not be updated or BINDINGEXCEPTION ? Date: Tue, 9 Oct 2007 16:17:29 -0400 Folks, I am thrashing back and forth from is not bound and can not be updated exception to a BindingException Originally the app is runnable with public abstract String getTableSize(); public abstract void setTableSize(String tableSize); public abstract String getPagingSpan(); public abstract void setPagingSpan(String pagingSpan); Then i decide to do this... @Parameter(required = false, cache = true) public abstract String getTableSize(); public abstract void setTableSize(String tableSize); @Parameter(required = false, cache = true) public abstract String getPagingSpan(); public abstract void setPagingSpan(String pagingSpan); and I receive tableSize is not bound and can not be updated exception So then i decide to goto the definition of the widget in the template... and specify the parameters there in OGNL Home.html <div jwcid="[EMAIL PROTECTED]:Gallery" collectionType="ognl:@[EMAIL PROTECTED]" component="theWidget" collectionContent="collectionContent" autoPagingContent="autoPagingContent" tableSize="ognl:theWidget.tableSize" pagingSpan="ognl:theWidget.pagingSpan" > Now I receive a bindingexception. Can someone set me straight here? Do I need to edit my JWC file and add the following: <parameter name="collectionContent"/> I should think not... but not sure? Can someone elaborate on whats going on with this? Best regards Ken in nashua Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now! Help yourself to FREE treats served up daily at the Messenger Café. Stop by today! _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Café. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline