On Thu, 01 Aug 2013 13:50:48 -0300, rukmini n <rukmini...@gmail.com> wrote:
HI All,
Hi!
Currently in our organization we use Tapestry for UI and version is 5.0.15, jboss 4 .
Quite old versions . . .
So we upgraded tapestry version to 5.2.5 and still we see the problem. Main problem is .tml files components are not getting resolved.
What you're describing is component classes not being resolved, not templates not being resolved. A component doesn't need a template to be valid and work. Templates are only read if the corresponding component class exists and not the other way around.
I'm getting " unable to resolve *outputraw to *component class name". And none of component classes which we created(for example sh.layout) are working. Please help us finding solution to the problem. Exception stack trace: Caused by: org.apache.tapestry5.ioc.util.UnknownValueException: Unable to resolve 'outputraw' to a component class name.
This is weird. I'd check whether there are other exceptions (and posting the whole stack trace is always recommended when searching for help). I'd also check whether the tapestry-core JAR isn't truncated or corrupted. Could you post the full stack trace please?
In addition, take a look at this: http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss7Dot1. This does look like your problem and it provides a solution.
<t:OutputRaw value="${spiderfood}"/>
Never, ever, ever use expansions when passing values to parameters in Tapestry. This is the correct way of doing it: <t:OutputRaw value="spiderfood"/>
-- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org