Your comment led me to the answer.
I have a custom Shell component where i define the html and head elements.
In my page i again have the html element declared because i need to
declare the tapestry namespace, but problem is that the html gets
rendered twice, so my resulting html is:
<html>
<html>
<head>
</head>
....
</html>
</html>
and it's this that's causing the problem.
Still, i can't figure out how to solve this. There's no $content$ in T5
so how i tell Tapestry to not render the html tag from the page and only
the one from the component ?
Josh Canfield wrote:
Hmm... can you give us a little code that reproduces the problem? I've seen
this when I don't have my layout included properly. I believe that your
rendered page isn't getting the default css/js included from tapestry. Could
it be that you don't have a <head> or <body> element defined? I can't
compile anything right now or I'd be able to check it out myself...
Josh
On 10/8/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
I have the namespace defined.....
Josh Canfield wrote:
I think this happens when you don't have the tapestry xmlns defined:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
Josh
On 10/8/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
I must be doing something really dumb because i'm getting displayed
next
to every single form element(even the submit button) the field error
marker. This happens as soon as i render the page, so i haven't even
submitted the form yet. Also, the form validations seem to be running
before i submit the form as i get "You must provide a value for.." as
soon as i render the page, even if the form field aren't required.
Any ideas ?