cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Legg <david.l...@searchevent.co.uk>
Subject Re: Java bean puzzle. using ecliplse plugin or not.
Date Tue, 22 Jul 2008 10:21:04 GMT
Hi Ken,

> It depends which way I do things, but I am still having
> problems with 'Your first Cocoon 2.2 Application'
> because the Java Bean doesn't work.
>
> Can anyone explain this behaviour, in terms that a
> non-java-speaker might understand?

I think the problem is that the 
'src/main/resources/COB-INF/demo/spring-bean.jx.xml' file contains an 
old version of the JX syntax for getting hold of a javabean's property.

Try editing the file so that instead of: -

  <spring>#message</spring>

It should say this: -

  <spring>#{message}</spring>


Regards,
David Legg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message