[jira] [Commented] (TAP5-1522) Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)

2012-02-02 Thread Markus Schmitt (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13198703#comment-13198703
 ] 

Markus Schmitt commented on TAP5-1522:
--

I found a workaround for that issue:

Defining one spring beans configuration file:

  Here you can either declare a component-scan with the root package of the 
Config class that defines
  the @Configuration annotation or a directly the bean that declares it.

  beans
  context:annotation-config /

  context:component-scan
 base-package=org.yourcomp.yourapp.config /
  or
  bean class=org.yourcomp.yourapp.conf.BeanWithAtConfiguration /
  /beans

So hereby we have a small xml config and the whole configuration starts with 
our main configuration class


 Tapestry-spring does not support using Spring JavaConfig 
 (AnnotationConfigWebApplicationContext)
 

 Key: TAP5-1522
 URL: https://issues.apache.org/jira/browse/TAP5-1522
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-spring
Affects Versions: 5.2
Reporter: DI Florian Hackenberger
 Attachments: java-config-support.patch


 Tapestry-spring currently requires that the context class extends 
 TapestryApplicationContext. In order to use JavaConfig support (without going 
 through an intermediate spring xml file), you would have to use 
 AnnotationConfigWebApplicationContext as a base class and add the tapestry 
 features on top (like TapestryApplicationContext does). Unfortunately that's 
 impossible, as TapestryApplicationContext is not an interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TAP5-1522) Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)

2012-01-27 Thread Markus Schmitt (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13194615#comment-13194615
 ] 

Markus Schmitt commented on TAP5-1522:
--

So the issue is still not on the roadmap of 5.4...
In my opinion it will be a great improvement, concerning java bases config, 
having the issue into a release candidate.


 Tapestry-spring does not support using Spring JavaConfig 
 (AnnotationConfigWebApplicationContext)
 

 Key: TAP5-1522
 URL: https://issues.apache.org/jira/browse/TAP5-1522
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-spring
Affects Versions: 5.2
Reporter: DI Florian Hackenberger
 Attachments: java-config-support.patch


 Tapestry-spring currently requires that the context class extends 
 TapestryApplicationContext. In order to use JavaConfig support (without going 
 through an intermediate spring xml file), you would have to use 
 AnnotationConfigWebApplicationContext as a base class and add the tapestry 
 features on top (like TapestryApplicationContext does). Unfortunately that's 
 impossible, as TapestryApplicationContext is not an interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TAP5-1522) Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)

2012-01-04 Thread DI Florian Hackenberger (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13179499#comment-13179499
 ] 

DI Florian Hackenberger commented on TAP5-1522:
---

Markus,

Sorry, I don't know. I find it strange myself that nobody responded to the bug 
report.

 Tapestry-spring does not support using Spring JavaConfig 
 (AnnotationConfigWebApplicationContext)
 

 Key: TAP5-1522
 URL: https://issues.apache.org/jira/browse/TAP5-1522
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-spring
Affects Versions: 5.2
Reporter: DI Florian Hackenberger
 Attachments: java-config-support.patch


 Tapestry-spring currently requires that the context class extends 
 TapestryApplicationContext. In order to use JavaConfig support (without going 
 through an intermediate spring xml file), you would have to use 
 AnnotationConfigWebApplicationContext as a base class and add the tapestry 
 features on top (like TapestryApplicationContext does). Unfortunately that's 
 impossible, as TapestryApplicationContext is not an interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TAP5-1522) Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)

2011-12-21 Thread Markus Schmitt (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173980#comment-13173980
 ] 

Markus Schmitt commented on TAP5-1522:
--

Are there any plans for embedding the solution inside of a release ?

 Tapestry-spring does not support using Spring JavaConfig 
 (AnnotationConfigWebApplicationContext)
 

 Key: TAP5-1522
 URL: https://issues.apache.org/jira/browse/TAP5-1522
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-spring
Affects Versions: 5.2
Reporter: DI Florian Hackenberger
 Attachments: java-config-support.patch


 Tapestry-spring currently requires that the context class extends 
 TapestryApplicationContext. In order to use JavaConfig support (without going 
 through an intermediate spring xml file), you would have to use 
 AnnotationConfigWebApplicationContext as a base class and add the tapestry 
 features on top (like TapestryApplicationContext does). Unfortunately that's 
 impossible, as TapestryApplicationContext is not an interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TAP5-1522) Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)

2011-05-11 Thread DI Florian Hackenberger (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13031634#comment-13031634
 ] 

DI Florian Hackenberger commented on TAP5-1522:
---

BTW, this patch is against 
https://svn.apache.org/repos/asf/tapestry/tapestry5/tags/releases/5.2.5/tapestry-spring

 Tapestry-spring does not support using Spring JavaConfig 
 (AnnotationConfigWebApplicationContext)
 

 Key: TAP5-1522
 URL: https://issues.apache.org/jira/browse/TAP5-1522
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-spring
Affects Versions: 5.2.5
Reporter: DI Florian Hackenberger
 Attachments: java-config-support.patch


 Tapestry-spring currently requires that the context class extends 
 TapestryApplicationContext. In order to use JavaConfig support (without going 
 through an intermediate spring xml file), you would have to use 
 AnnotationConfigWebApplicationContext as a base class and add the tapestry 
 features on top (like TapestryApplicationContext does). Unfortunately that's 
 impossible, as TapestryApplicationContext is not an interface.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira