Thanks, I did define the navigationPage property, and I did define
"engine" to be my particular engine (someone else had asked if I did
this), but still the same result. I WAS able to use the
@[EMAIL PROTECTED] though, as you suggested below.
However, the links were blank until I put a <span jwcid="@Insert"
value="ognl:navigationPage"/> inside the <span
jwcid="@PageLink">...</span>. I had expected some sort of default
"filling in" of the text for the link, but oh well. Again, thanks
very much to all of you for your help.
Gene
On May 7, 2005, at 2:34 PM, Jamie Orchard-Hays wrote:
you can use:
@[EMAIL PROTECTED]
to reference static properties with ognl. In your case, I'd make a
convenience getter so you could refer to the property like this:
engine.navitaionPages
Also, have you defined the navigationPage property in your .page
specification?
jamie
On May 7, 2005, at 2:06 PM, Gene Volovich wrote:
Perhaps this is more of an OGNL question, but I'm just starting to
look at Tapestry, and in making a simple page, I hit upon the
following problem: I'm taking the PageLink example from the Tapestry
3.0.3 documentation (
Tapestry-3.0.3/web/doc/ComponentReference/PageLink.html ) and trying
to do the example at the bottom. I'm getting a OGNL Malformed
Exception: "[EMAIL PROTECTED]" from doing:
<div id="topnav">
<table id="pagelist">
<tr jwcid="@Foreach" source="ognl:[EMAIL PROTECTED]"
value="ognl:navigationPage" element="tr">
<td><span jwcid="@PageLink" page="ognl:navigationPage"/></td>
</tr>
</table>
</div>
which is basically exactly the same as the example. I tried doing my
full Engine class name, with the package name prepended, instead of
just the name, and various other changes, but this seems to be some
very basic OGNL problem. Is there something I'm missing here?
Thanks in advance for any info on this.
Gene
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]