Removed a framework dependency on the Content component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2011-03-16 00:46:40 +00:00
parent 050ef03215
commit be4e05447a
2 changed files with 7 additions and 5 deletions
@@ -43,6 +43,11 @@ under the License.
<set field="layoutSettings.middleTopLink2" value="${linkStart}${resultNote.lastSystemInfoNote2.moreInfoPortletId}&amp;amp;id=${resultNote.lastSystemInfoNote2.moreInfoItemId}"/>
<set field="layoutSettings.middleTopMessage3" value="${groovy:resultNote.lastSystemInfoNote3!=null?resultNote.lastSystemInfoNote3.noteDateTime.toString().substring(0,16) + &quot; &quot; + resultNote.lastSystemInfoNote3.noteInfo:&quot;&quot;}"/>
<set field="layoutSettings.middleTopLink3" value="${linkStart}${resultNote.lastSystemInfoNote3.moreInfoPortletId}&amp;amp;id=${resultNote.lastSystemInfoNote3.moreInfoItemId}"/>
<!-- Help link actions -->
<set field="helpTopic" from-field="webSiteId + '_' + requestAttributes._CURRENT_VIEW_"/>
<entity-and list="pageAvail" entity-name="ContentAssoc">
<field-map field-name="mapKey" from-field="helpTopic"/>
</entity-and>
</actions>
<widgets>
<section>
@@ -17,10 +17,7 @@ specific language governing permissions and limitations
under the License.
-->
<#assign helpTopic = webSiteId + "_" + requestAttributes._CURRENT_VIEW_ />
<#-- uncomment this to show the current screen help topic key (this is usefull to cut and paste in the help link resources files
${helpTopic}
<#-- uncomment this to show the current screen help topic key (this is useful to cut and paste in the help link resources files
${helpTopic?if_exists}
-->
<#assign pageAvail = delegator.findByAnd("ContentAssoc", {"mapKey" : helpTopic})/>