Ken nashua a écrit :
I declared an id to a widget and trying to reference a property of
that widget further below in html.
Here is the code..
<html jwcid="[EMAIL PROTECTED]"
title="ognl:page.components.headComponent.title"
stylesheet="ognl:assets.stylesheet">
<body jwcid="@Body">
<div id="page">
<div id="header" class="clearfix">
<a href="#" jwcid="@PageLink" page="Home">
<h1 style="padding: 5px;">
<span class="right" jwcid="@Insert"
value="ognl:page.components.headComponent.title"/>
</h1>
</a>
</div>
The widget in question is headComponent...
Now the widget CustomHead has no problem referencing
ognl:page.components.headComponent.title
but thereafter down below in html... it fails nosuchproperty
<span class="right" jwcid="@Insert"
value="ognl:page.components.headComponent.title"/>
Did you try
<span class="right" jwcid="@Insert" value="ognl:title"/>
or
<span class="right" jwcid="@Insert" value="ognl:getTitle()"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]