< isn't well formed character data. You can replace it with &lt; and it'll
probably work then.

On 5/1/07, Ajit Raj <[EMAIL PROTECTED]> wrote:

Hi,

I try to use "for" or "while" in the scirpt of a tapestry page as shown
below. But it keeps give the error of "Unable to parse
jndi:/localhost/WebRpt/WEB-INF/secure/PageRender.script: The content of
elements must consist of well-formed character data or markup." Could
anyone
let me know what the problem is?

Thanks,


Ajit

<!DOCTYPE script PUBLIC
        "-//Apache Software Foundation//Tapestry Script Specification 4.0
//EN"
        "http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>
...

402 var i=0;
403 var msg = "";
404 var x = 1;
405 while (x <= 10)   <=========== complaining error here
406 {
407 msg = msg + x + "\n";
408 x++;
409 }
410

_________________________________________________________________
Don't quit your job – Take Classes Online and Earn your Degree in 1 year.
Start Today!

http://www.classesusa.com/clickcount.cfm?id=866146&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866144


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to