[JBoss JIRA] Created: (SEAMFACES-122) Find a way to use the @ViewConfig enums to provide yype-safe navigation rules
by Brian Leathem (JIRA)
Find a way to use the @ViewConfig enums to provide yype-safe navigation rules
-----------------------------------------------------------------------------
Key: SEAMFACES-122
URL: https://issues.jboss.org/browse/SEAMFACES-122
Project: Seam Faces
Issue Type: Feature Request
Components: View Configuration
Reporter: Brian Leathem
Fix For: 3.0.1
Option 1) instead of using a @ViewPattern annotation, instead pass it to the constructor of the enum, to be stored as a property of the enum.
Problem: the application developer would have to implement the constructor
Option 2) require the developer to implement an interfaces, that specifies a setViewId method for an enum value, programmatically set that viewId with what is in the @ViewPattern annotation
Feel free to provide more implementation options in the comments!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months
[JBoss JIRA] Created: (SEAMFACES-108) Add producer for UIViewRoot
by Dan Allen (JIRA)
Add producer for UIViewRoot
---------------------------
Key: SEAMFACES-108
URL: https://issues.jboss.org/browse/SEAMFACES-108
Project: Seam Faces
Issue Type: Feature Request
Components: CDI Integration
Affects Versions: 3.0.0.CR1
Reporter: Dan Allen
Priority: Minor
Add producer for UIViewRoot so that it can be injected. It should be dependent-scoped as it may change at any time during the request lifecycle.
Injected into an object:
{code:java}
@Inject Instance<UIViewRoot> viewRootProvider;
{code}
or into an observer:
{code:java}
public void beforeRender(@Observes @Before @RenderResponse PhaseEvent e, UIViewRoot viewRoot) {
...
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBSEAM-4778) Valid URLs are ignored on Excel Stylesheet ULink components (CSSParser.java)
by Juan Francisco Ara Monzon (JIRA)
Valid URLs are ignored on Excel Stylesheet ULink components (CSSParser.java)
----------------------------------------------------------------------------
Key: JBSEAM-4778
URL: https://issues.jboss.org/browse/JBSEAM-4778
Project: Seam
Issue Type: Bug
Components: Excel
Affects Versions: 2.2.1.Final
Environment: Standard
Reporter: Juan Francisco Ara Monzon
Priority: Trivial
Fix For: 2.3.0.ALPHA
Valid URLs are not being processed correctly by CSSParser
If you load a URL with ftp/http format (http://) works perfectly, but if you reference a resource inside the application (i.e. classLoader.getResource("whatever").toString()) the parser doesn't recognices it as a valid URL
CSSParser discriminates between resources or urls by "://" but should be doing by ":/" (as in jar:/.... or vfszip:// returned from WEB-INF/classes/ files.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months