Re: Element type "property-specification" must be declared.

2006-07-13 Thread Rui Pacheco

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:
>
> 
>  Foundation//Tapestry
> Specification 4.0//EN" "
> http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> 
>
>
> 
>
>
> 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


Re: Element type "property-specification" must be declared.

2006-07-13 Thread Andreas Andreou

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:


Foundation//Tapestry

Specification 4.0//EN" "
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>

   
   



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]