My apologies if this is asked every week. I can't find
a similar example.
I am creating a Header component that will be included
at the top of each page. For example, Home.html will
have:
<span jwcid="@Header"/>
This component will have a logout link. Here is a
simplified version of the Header component:
<tr>
<td>
<a href="#" jwcid="@DirectLink"
listener="ognl:listeners.logout">Logout</a>
</td>
</tr>
The problem is that ognl:listeners.logout (logout
lives in Home.java) doesn't work. I get his error:
Unable to resolve expression 'listeners.logout' for
[EMAIL PROTECTED]/$Header].
How do I put a listener method in the component?
Putting the standard listener method in Header.java
didn't work, nor did putting the listener method in
Home.java work.
I've tried the Tapestry book, but can't find a similar
scenario there.
Thanks,
Larry Sherrill
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]