[JBoss JIRA] Created: (SEAMINTL-50) Faces messages should be passed to JSF in the order they were added
by Matija Mazi (JIRA)
Faces messages should be passed to JSF in the order they were added
-------------------------------------------------------------------
Key: SEAMINTL-50
URL: https://issues.jboss.org/browse/SEAMINTL-50
Project: Seam International
Issue Type: Bug
Components: Messages
Affects Versions: 3.0.0.Final
Environment: JBAS7
Mojarra 2.0.4 (FCS b09-jbossorg-4)
Reporter: Matija Mazi
Assignee: Ken Finnigan
Priority: Minor
The MessagesImpl bean does not preserve messages in the order they were added; the order they are output (using <h:messages>) is random.
I've submitted a github pull request; the fix simply uses LinkedHashSet's instead of HashSets. I've tested it, it works for me.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] Created: (SEAMINTL-44) BundleTemplateMessage breaks with non-String ResourceBundles
by Nicklas Karlsson (JIRA)
BundleTemplateMessage breaks with non-String ResourceBundles
------------------------------------------------------------
Key: SEAMINTL-44
URL: https://issues.jboss.org/browse/SEAMINTL-44
Project: Seam International
Issue Type: Bug
Components: Messages
Affects Versions: 3.0.0.Final
Reporter: Nicklas Karlsson
Assignee: Ken Finnigan
BundleTemplateMessages has in build()
{code}
try {
text = bundles.get(clientLocale, textKey.getBundle()).getString(textKey.getKey());
} catch (Exception e) {
log.warn("Could not load bundle: " + textKey);
text = textDefault;
}
{code}
which will result in a ClassCastException if the resource is non-string (because ResourceBundle.getString implementation casts getObject to String) and is further translated to a "Could not load bundle" warning followed by the BundleKey being outputted.
Since ResourceBundle.getString is final, there is no way of overloading this behaviour. Using toString on a non-null resource would give some flexibility to this, perhaps.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] Created: (SEAMFACES-177) Misc documentation issues
by Jozef Hartinger (JIRA)
Misc documentation issues
-------------------------
Key: SEAMFACES-177
URL: https://issues.jboss.org/browse/SEAMFACES-177
Project: Seam Faces
Issue Type: Bug
Components: Documentation
Affects Versions: 3.0.2
Reporter: Jozef Hartinger
Priority: Minor
Typos:
Section 1.1
* inadvertantly
Section 1.3
* beacuse
Section 7.1
* suport
* annotatins
Section 7.2
* explilcitly
Sectio 7.2.2
* annoation
* annoations
* supoort
Section 7.2.3
* Restrcition
* lifecylce
* qualying
* annoation
* annoations
Other:
Sectio 2.1
* ?fid=... should be wrapped within <literal/>
Book info
* 3.0.0-SNAPSHOT - See SEAM-14
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 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
12 years, 10 months