Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-1) was last changed on 02-Aug-2007 08:50 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 40 lines
%%(font-size:2em;color:red;)
To_Be_Removed: This page is not helpful to RSF users
%%
%%( background-color: #c0c0c0; border: 1px dotted black; padding: 0.2em; font-size: 200%; text-align: center)
--= OLD=--
%%
%%( background-color: #c0c0c0; text-align: center)
This page predates the release of RSF 0.6 - TemplateResolver has since been factored into TemplateResolverStrategy and TemplateExtensionInferrer
%%
A very simple implementation of the TemplateResolver interface that just looks at the current [viewID] and consumer ID to look up a single template file in a specified directory. An application may configure one of these by entering the following stanza into an application scope Spring configuration file (usually {{/WEB-INF/applicationContext.xml}}):
{{{
<bean id="viewTemplateResolver"
class="uk.org.ponder.rsf.templateresolver.BasicTemplateResolver">
<property name="templateExtensionInferrer" ref="templateExtensionInferrer" />
<property name="templateResolverStrategy" ref="templateResolverStrategy" />
</bean>
<bean id="templateResolverStrategy" parent="CRITemplateResolverStrategy"/>
<bean id="templateExtensionInferrer"
class="uk.org.ponder.rsf.templateresolver.StaticTemplateExtensionInferrer">
<property name="extension" value="html" />
</bean>
<bean id="CRITemplateResolverStrategy"
class="uk.org.ponder.rsf.templateresolver.CRITemplateResolverStrategy"
lazy-init="true">
<property name="baseDirectory">
<value>/content/templates/</value>
</property>
<property name="consumerInfo">
<ref bean="consumerInfoProxy" />
</property>
</bean>
}}}
Version Date Modified Size Author Changes ... Change note
02-Aug-2007 08:50 1.677 kB UnknownAuthor
« This page (revision-) was last changed on 02-Aug-2007 08:50 by UnknownAuthor