You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "DI Florian Hackenberger (JIRA)" <ji...@apache.org> on 2011/05/11 12:36:47 UTC
[jira] [Created] (TAP5-1522) Tapestry-spring does not support using
Spring JavaConfig (AnnotationConfigWebApplicationContext)
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
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
[jira] [Updated] (TAP5-1522) Tapestry-spring does not support using
Spring JavaConfig (AnnotationConfigWebApplicationContext)
Posted by "DI Florian Hackenberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DI Florian Hackenberger updated TAP5-1522:
------------------------------------------
Attachment: java-config-support.patch
This patch changes tapestry to require a context class which implements the ITapestryApplicationContext instead and add an AnnotationConfigTapestryApplicationContext class which provides support for JavaConfig based spring configuration.
> 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
[jira] [Commented] (TAP5-1522) Tapestry-spring does not support
using Spring JavaConfig (AnnotationConfigWebApplicationContext)
Posted by "Igor Drobiazko (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179508#comment-13179508 ]
Igor Drobiazko commented on TAP5-1522:
--------------------------------------
Florian, the patch is more likely to be applied if it contains a test.
Apart from that, we could fix it in 5.4 and a 5.3.x bug fix 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] [Updated] (TAP5-1522) Tapestry-spring does not support using
Spring JavaConfig (AnnotationConfigWebApplicationContext)
Posted by "DI Florian Hackenberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DI Florian Hackenberger updated TAP5-1522:
------------------------------------------
Attachment: java-config-support.patch
This patch changes tapestry to require a context class which implements the ITapestryApplicationContext instead and add an AnnotationConfigTapestryApplicationContext class which provides support for JavaConfig based spring configuration.
> 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
[jira] [Commented] (TAP5-1522) Tapestry-spring does not support
using Spring JavaConfig (AnnotationConfigWebApplicationContext)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179495#comment-13179495 ]
Markus Schmitt commented on TAP5-1522:
--------------------------------------
Hello Florian,
do you know when this patch is planned to be released.
Best regards,
Markus
> 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)
Posted by "DI Florian Hackenberger (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "DI Florian Hackenberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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
[jira] [Commented] (TAP5-1522) Tapestry-spring does not support
using Spring JavaConfig (AnnotationConfigWebApplicationContext)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "DI Florian Hackenberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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
[jira] [Commented] (TAP5-1522) Tapestry-spring does not support
using Spring JavaConfig (AnnotationConfigWebApplicationContext)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "DI Florian Hackenberger (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179495#comment-13179495 ]
Markus Schmitt commented on TAP5-1522:
--------------------------------------
Hello Florian,
do you know when this patch is planned to be released.
Best regards,
Markus
> 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)
Posted by "Igor Drobiazko (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179508#comment-13179508 ]
Igor Drobiazko commented on TAP5-1522:
--------------------------------------
Florian, the patch is more likely to be applied if it contains a test.
Apart from that, we could fix it in 5.4 and a 5.3.x bug fix 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)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
Posted by "Markus Schmitt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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