Many thanks. I was following a tutorial that used Tapestry 3.0 and got lost in these small details.
On 7/13/06, Andreas Andreou <[EMAIL PROTECTED]> wrote:
If you want to use the 4.0 DTD, take a look at this doc first http://tapestry.apache.org/tapestry4/UsersGuide/spec.html Rui Pacheco wrote: > Hi all > > This is strange. > > Yesterday I tried to declare a context-asset on a .page file and received > the same error as today, except instead of property-specification it > obviously mentioned context-asset. > > Today I created a select on my template, named it query (jwcid=query), > and > declared it to be of type String on my .page file: > > <?xml version="1.0"?> > <!DOCTYPE page-specification PUBLIC "-//Apache Software > Foundation//Tapestry > Specification 4.0//EN" " > http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"> > <page-specification class=" > pt.textoeditores.universal.agc.pages.homepage.HomepageList"> > <bean name="evenOdd" class="org.apache.tapestry.bean.EvenOdd"/> > <property-specification name="query" type="java.lang.String"/> > </page-specification> > > > I receive the same error once again. Can anyone explain this to me? Do I > have to declare the other elements on the page too, or is there some > configuration I'm missing? > > I know I could create the select with a PropertySelection but I want to > create it in html instead of Java code. It's values won't change > regularly > and when they do, its much simpler to fire up a text editor and change > them > on the template. > > > Any help is more than welcome. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Cumprimentos, Rui Pacheco