I'm posting this for future searches on similiar problems:

After renaming the package of my app I had strage effects in the output:
Part of the pages where missing, depending on the follow-up tags, e.g., in the 
tml

<p>PrintOrNor<p>
<t:form>
....
</t:form>

the PrintOrNot paragraph only got printed, when the form was deleted from the 
tml. Similiar effect occurred with elements in or below the form.
When only an expansion like ${message:searchButton} was on the page, the system 
printed an expection saying that "This markup writer did not have a current 
element", but I didn't use any markup writer myself.

Finally I found that I did not rename the directory of the .tml file which was 
used as a global layout around the page. The component tmls had to be placed 
under WEB-INF/classes for jetty to find them when run under eclipse, so I 
simply forget them.

Nevertheless I think that those issues are a big downside of "convention over 
configuration" and the general design of tapestry: since almost all hooks and 
other things, like tmls, are not required, and pages are not derived from a 
base page, the system cannot tell you that they are missing / not found. Hooks 
like @SetupRender can be verified by logs, but a missing tml will not show up 
anywhere.

Regards,
Udo.

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

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

Reply via email to