[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2235) Making Seam work with urlrewritefilter's outbound-rules
by Adam Warski (JIRA)
Making Seam work with urlrewritefilter's outbound-rules
--------------------------------------------------------
Key: JBSEAM-2235
URL: http://jira.jboss.com/jira/browse/JBSEAM-2235
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 2.0.0.GA
Reporter: Adam Warski
Currently, it is not possible to use urlrewritefilter to handle outbound-rules which depend on query parameters, and thus have full support for "friendly" urls.
The fix is quite simple; attached you'll find the modified org.jboss.seam.ui.util.ViewUrlBuilder class, which is modified in 2 places:
- lines 27-29 of the constructor are changed not to call httpServletResponse.encodeURL().
- the method getEncodedUrl() is overriden, so that is encodes the URL (when the parameters are known).
With these changed, not only links generated by <s:link> will be translated, but also any redirects from navigation rules in pages.xml will be correct.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 3 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1781) Add support for Spring @Component and @Repository annotations
by Michael Youngstrom (JIRA)
Add support for Spring @Component and @Repository annotations
-------------------------------------------------------------
Key: JBSEAM-1781
URL: http://jira.jboss.com/jira/browse/JBSEAM-1781
Project: JBoss Seam
Issue Type: Feature Request
Components: Spring
Affects Versions: 2.0.0.BETA1
Reporter: Michael Youngstrom
Assigned To: Michael Youngstrom
Fix For: 2.0.1.GA
Once Spring 2.1 is released it might be nice to add support for the spring annotations doing something like:
@org.springframework.stereotype.Component
@Name("someName")
public class SomeComponent {
....
}
Which would make a standard installed Seam component spring instantiated allowing for creation time injection using spring injection annotations, SpringAOP/aspectj support to Seam components, etc. As well as provide a bunch of Seam features to spring beans, @Synchronized, @Asynchronous, bijection, etc. Basically would provide the same functionality that currently exists with <seam:component/> but with an easier to use annotation and with correct Seam @Install semantics.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 4 months