Multiple path on Optimus CONTEXT_SCAN_PATH

UI Components for JSF
Post Reply
jmcollin92
Posts: 145
Joined: 05 Nov 2009, 22:32

20 Nov 2009, 23:50

Hi there,

I would like to do something like :

Code: Select all

<context-param>
	<param-name>optimus.CONTEXT_SCAN_PATH</param-name>
	<param-value>jmcnet.atipa.ksoft.presentation,org.andromda.presentation.jsf2</param-value>
</context-param>
but this leads to a :

Code: Select all

java.lang.NullPointerException
	at org.primefaces.optimus.config.DefaultAnnotationScanner.scanWebInfClasses(DefaultAnnotationScanner.java:123)
	at org.primefaces.optimus.config.DefaultAnnotationScanner.scan(DefaultAnnotationScanner.java:53)
	at org.primefaces.optimus.config.OptimusBeanContext.initialize(OptimusBeanContext.java:42)
	at org.primefaces.optimus.listener.ContextListener.initializeOptimusBeanContext(ContextListener.java:70)
	at org.primefaces.optimus.listener.ContextListener.contextInitialized(ContextListener.java:51)
Is there any way to specify multiple package name in the CONTEXT_SCAN_PATH param ?
If not perhaps you should implement this ?

Thank's in advance.
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Nov 2009, 01:51

Hi,

You're right, it doesn't support multiple paths right now, it should be easy to implement though.

I'll add it as a new feature for 0.9.0 release.

Thanks for the feedback.

jmcollin92
Posts: 145
Joined: 05 Nov 2009, 22:32

23 Nov 2009, 23:57

How can I be aware when the update is done in the 0.9.0-SNAPSHOT version ?
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Nov 2009, 18:21

You only need to vote following issue than you can get email notifications regarding any updates.

http://code.google.com/p/primefaces-ext ... etail?id=1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests