This page (revision-184) was last changed on 21-Apr-2017 08:27 by Dieter Käppel

This page was created on 09-Aug-2012 13:29 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
184 21-Apr-2017 08:27 36 KB Dieter Käppel to previous
183 21-Apr-2017 08:27 36 KB Dieter Käppel to previous | to last
182 15-Jan-2016 10:18 36 KB Dieter Käppel to previous | to last
181 15-Jan-2016 10:16 36 KB Dieter Käppel to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 677 changed 12 lines
<bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
<property name="scopes">
<map>
<entry key="view">
<bean class="com.intersult.jsf.spring.ViewScope"/>
</entry>
<entry key="scope">
<bean class="com.intersult.jsf.spring.CustomScope"/>
</entry>
</map>
</property>
</bean>
<import resource="classpath:/META-INF/extContext.xml"/>
At line 691 changed one line
__Hinweis:__ [JSF Ext] enthält zusätzlich noch einen Scope, mit dem der ViewScope von JSF registriert werden kann.
__Hinweis:__ [JSF Ext] registriert zusätzlich den ViewScope von JSF.
At line 693 removed 7 lines
Um Werte aus Scopes in Beans zu injizieren, können die Scopes
{{{
<bean name="scopes" class="com.intersult.jsf.Scopes" factory-method="instance" scope="session" lazy-init="true"/>
<bean name="scope" factory-bean="scopes" factory-method="getScope" scope="prototype" lazy-init="true"/>
}}}
At line 722 added 21 lines
!Ablegen einer Spring-Bean im Scope
Spring Beans können auch im Custom-Scope abgelegt werden:
{{{
@Component
@Scope(Scopes.CUSTOM_SCOPE)
public class Popup {
...
}
}}}
Oder im View-Scope:
{{{
@Component
@Scope(Scopes.VIEW_SCOPE)
public class Popup {
...
}
}}}