Now I have another error on my first page: Render queue error in BeginRender[Index:layout.header.pagelink_0]: Error persisting field Submit:formSuccess: Persistent fields may not be updated until after the page has finished loading. This may be due to a persistent field with a default value. The default value should be removed.
Header.java public class Header { /*-------------------------------------------*\ | I N S T A N C E V A R I A B L E S | \*-------------------------------------------*/ @Inject @Service("IniParameterManager") private IniParameterManager paramMgr; /*-------------------------------------------*\ | P R O P E R T I E S | \*-------------------------------------------*/ public String getshortPortalName() { return paramMgr.getValue("ShortPortalName"); } } And template: header.tml <html xmlns="http://www.w3.org/1999/xhtml" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <div id="header"> <div id="logo"> <h1>${shortPortalName}</h1> </div> <div id="menu"> <ul> <li> Home </li> <li> Submit </li> <li> Browse </li> <li> Links </li> <li> About </li> <li> Contact </li> </ul> </div> </div> </html> Is there are any changes in Persistence fields since T5.0.12? Artur_eol wrote: > > I think problem was with spring-web module. I completely rewrite pom.xml. > Now it looks like this: > > <dependencies> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>t5c-commons</artifactId> > <version>0.5.18</version> > </dependency> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-core</artifactId> > <version>5.0.18</version> > </dependency> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-spring</artifactId> > <version>5.0.18</version> > </dependency> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-upload</artifactId> > <version>5.0.18</version> > </dependency> > <dependency> > <groupId>nu.localhost.tapestry</groupId> > <artifactId>tapestry5-acegi</artifactId> > <version>1.1.1</version> > </dependency> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring</artifactId> > <version>2.5.2</version> > </dependency> > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate-entitymanager</artifactId> > <version>3.3.1.ga</version> > </dependency> > <dependency> > <groupId>concurrent</groupId> > <artifactId>concurrent</artifactId> > <version>1.3.4</version> > </dependency> > </dependencies> > > I have changes version of spring from 2.0 to 2.5.2 and tapestry-acegi from > 1.1.0 to 1.1.1. And did deployed the application. > > > > Thiago H. de Paula Figueiredo wrote: >> >> Em Tue, 10 Feb 2009 17:50:09 -0300, Artur_eol <ar.abdul...@gmail.com> >> escreveu: >> >>> I`m using T5components and tapestry5-acegi. >> >> I guess they have dependencies in old (pre 5.0.18) versions of Tapestry. >> If you're using Maven, use the <exclusions> tag to prevent it to put old >> Tapestry versions in the classpath. By the way, T5Components became >> ChenilleKit and there is Tapestry5-Spring Security, and, AFAIK, both have >> up-to-date Tapestry dependencies. >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java consultant, developer, and instructor >> http://www.arsmachina.com.br/thiago >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> > > -- View this message in context: http://www.nabble.com/Tapestry-update-from-T5.0.12-to-T5.0.18-tp21939289p21943495.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org